system/openrc-services: Updated for version 20190917.

This commit is contained in:
Aaditya Bagga 2019-09-17 10:48:54 +05:30 committed by Willy Sudiarto Raharjo
parent 736327182a
commit 955e89a252
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 15 additions and 18 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"