aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2019-09-17 10:48:54 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-21 06:29:54 +0700
commit955e89a25283997c2bbb650d3843cc643edd6017 (patch)
treeeba639111d235ffe53546f7ca859a253ec832cc8
parent736327182a5333131553bfefa86751d984f991c2 (diff)
system/openrc-services: Updated for version 20190917.
-rw-r--r--system/openrc-services/README.Slackware3
-rw-r--r--system/openrc-services/doinst.sh18
-rw-r--r--system/openrc-services/openrc-services.SlackBuild6
-rw-r--r--system/openrc-services/openrc-services.info6
4 files changed, 15 insertions, 18 deletions
diff --git a/system/openrc-services/README.Slackware b/system/openrc-services/README.Slackware
index 99623a5175e09..64b6e41f3b2db 100644
--- a/system/openrc-services/README.Slackware
+++ b/system/openrc-services/README.Slackware
@@ -7,6 +7,9 @@ Some common services that could be enabled:
# rc-update add dcron default
# rc-update add alsasound boot
# rc-update add consolekit default
+# rc-update add NetworkManager default
+# rc-update add dmeventd default # if using lvm
+# rc-update add lvmetad default # lvm
Enabled services for current runlevel can be queried with:
$ rc-status
diff --git a/system/openrc-services/doinst.sh b/system/openrc-services/doinst.sh
index e628cb12e8de4..0d935bab1f137 100644
--- a/system/openrc-services/doinst.sh
+++ b/system/openrc-services/doinst.sh
@@ -23,22 +23,12 @@ preserve_perms() {
config $NEW
}
-openrc_accessibility=(espeakup)
-openrc_base=(device-mapper dmcrypt lvm mdadm mdraid udev udev-settle udev-trigger)
-openrc_desktop=(acpid alsasound xdm gpm wpa_supplicant)
-openrc_devel=(git-daemon influxdb mysqld postgresql svn distccd jenkins redis)
-openrc_misc=(bitlbee cpupower connman ntpd ntp-client sntp rsyslog saned metalog pulseaudio syslog-ng sensord fancontrol lm_sensors lircd irexec haveged salt-master salt-minion salt-syncdic hdparm clamd boinc atd libvirtd docker)
-openrc_net=(named dhcpd dhcrelay dhcrelay6 hostapd dnsmasq iptables ip6tables rpcbind nfs nfsclient nginx openntpd slapd sshd openvpn quota rsyncd samba saslauthd squid transmission-daemon ufw vnstatd xinetd tor NetworkManager httpd syncthing tftpd-hpa)
-openrc_slack=(dcron sendmail snmpd snmptrapd sysklogd fail2ban)
-openrc_video=(vgl bumblebee nvidia-persistenced)
-
-for file in "${openrc_accessibility[@]}" "${openrc_base[@]}" "${openrc_desktop[@]}" "${openrc_devel[@]}" "${openrc_misc[@]}" "${openrc_net[@]}" "${openrc_slack[@]}" "${openrc_video[@]}"; do
- config "etc/openrc/conf.d/${file}.new"
+for file in etc/openrc/conf.d/*.new; do
+ config "${file}"
done
-BACKUP_LOCAL=(rcM.start)
-for file in "${BACKUP_LOCAL[@]}"; do
- preserve_perms "etc/openrc/local.d/${file}.new"
+for file in etc/openrc/local.d/*.new; do
+ preserve_perms "${file}"
done
# disable udev-postmount
diff --git a/system/openrc-services/openrc-services.SlackBuild b/system/openrc-services/openrc-services.SlackBuild
index f900e3af19cf2..c9e3b1319df73 100644
--- a/system/openrc-services/openrc-services.SlackBuild
+++ b/system/openrc-services/openrc-services.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openrc-services
-VERSION=${VERSION:-20190907}
+VERSION=${VERSION:-20190917}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,6 +92,10 @@ for file in $PKG/etc/openrc/local.d/*; do
done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/openrc-services/openrc-services.info b/system/openrc-services/openrc-services.info
index e2f5da6c4f8e2..c52dd5ae896dc 100644
--- a/system/openrc-services/openrc-services.info
+++ b/system/openrc-services/openrc-services.info
@@ -1,8 +1,8 @@
PRGNAM="openrc-services"
-VERSION="20190907"
+VERSION="20190917"
HOMEPAGE="https://gitlab.com/aadityabagga/openrc-services"
-DOWNLOAD="https://gitlab.com/aadityabagga/openrc-services/-/archive/20190907/openrc-services-20190907.tar.gz"
-MD5SUM="6863bdd33d046ac3d22710a6f90f18e7"
+DOWNLOAD="https://gitlab.com/aadityabagga/openrc-services/-/archive/20190917/openrc-services-20190917.tar.gz"
+MD5SUM="96aa3c1c9380b67ae61565baf3f123a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openrc"