summaryrefslogtreecommitdiff
path: root/pcr/openrc-misc
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openrc-misc')
-rw-r--r--pcr/openrc-misc/PKGBUILD147
-rw-r--r--pcr/openrc-misc/brltty.install15
2 files changed, 96 insertions, 66 deletions
diff --git a/pcr/openrc-misc/PKGBUILD b/pcr/openrc-misc/PKGBUILD
index 6265b1770..fd283e349 100644
--- a/pcr/openrc-misc/PKGBUILD
+++ b/pcr/openrc-misc/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer (Manjaro): artoo <artoo@manjaro.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_gentoo_uri="https://raw.githubusercontent.com/gentoo/gentoo/master"
+_url="https://raw.githubusercontent.com/gentoo/gentoo/master"
pkgbase=openrc-misc
pkgname=('cpupower-openrc'
@@ -28,8 +28,9 @@ pkgname=('cpupower-openrc'
'networkmanager-openrc'
'at-openrc'
# 'libvirt-openrc'
- 'pulseaudio-openrc')
-pkgver=20151229
+ 'pulseaudio-openrc'
+ 'brltty-openrc')
+pkgver=20160123
pkgrel=1.parabola1
pkgdesc="OpenRC init scripts"
arch=('any')
@@ -37,69 +38,70 @@ url="https://github.com/manjaro/packages-openrc"
license=('GPL2')
groups=('openrc-misc')
conflicts=('systemd-sysvcompat')
-source=("fcron.initd::${_gentoo_uri}/sys-process/fcron/files/fcron.init.3"
- "rsyslog.confd::${_gentoo_uri}/app-admin/rsyslog/files/8-stable/rsyslog.confd"
- "rsyslog.initd::${_gentoo_uri}/app-admin/rsyslog/files/8-stable/rsyslog.initd"
- "saned.confd::${_gentoo_uri}/media-gfx/sane-backends/files/saned.confd"
- "saned.initd::${_gentoo_uri}/media-gfx/sane-backends/files/saned.initd"
- "fuse.initd::${_gentoo_uri}/sys-fs/fuse/files/fuse.init"
- "metalog.confd::${_gentoo_uri}/app-admin/metalog/files/metalog.confd"
- "metalog.initd::${_gentoo_uri}/app-admin/metalog/files/metalog.initd"
- "syslog-ng.confd::${_gentoo_uri}/app-admin/syslog-ng/files/3.6/syslog-ng.confd"
- "syslog-ng.initd::${_gentoo_uri}/app-admin/syslog-ng/files/3.6/syslog-ng.rc6"
- "lircd.confd::${_gentoo_uri}/app-misc/lirc/files/lircd.conf.4"
- "irexec.confd::${_gentoo_uri}/app-misc/lirc/files/irexec-confd"
- "lircd.initd::${_gentoo_uri}/app-misc/lirc/files/lircd-0.8.6-r2"
- "irexec.initd::${_gentoo_uri}/app-misc/lirc/files/irexec-initd-0.8.6-r2"
- "lircmd.initd::${_gentoo_uri}/app-misc/lirc/files/lircmd"
- "cpupower.confd::${_gentoo_uri}/sys-power/cpupower/files/conf.d-r2"
- "cpupower.initd::${_gentoo_uri}/sys-power/cpupower/files/init.d-r4"
- #"sensord.confd::${_gentoo_uri}/sys-apps/lm_sensors/files/sensord-conf.d"
- "sensord.initd::${_gentoo_uri}/sys-apps/lm_sensors/files/sensord-4-init.d"
- "fancontrol.initd::${_gentoo_uri}/sys-apps/lm_sensors/files/fancontrol-init.d-2"
- "lm_sensors.initd::${_gentoo_uri}/sys-apps/lm_sensors/files/lm_sensors-3-init.d"
- "ntpd.confd::${_gentoo_uri}/net-misc/ntp/files/ntpd.confd"
- "ntp-client.confd::${_gentoo_uri}/net-misc/ntp/files/ntp-client.confd"
- "sntp.confd::${_gentoo_uri}/net-misc/ntp/files/sntp.confd"
- "ntpd.initd::${_gentoo_uri}/net-misc/ntp/files/ntpd.rc-r1"
- "ntp-client.initd::${_gentoo_uri}/net-misc/ntp/files/ntp-client.rc"
- "sntp.initd::${_gentoo_uri}/net-misc/ntp/files/sntp.rc"
- "cupsd.initd::${_gentoo_uri}/net-print/cups/files/cupsd.init.d-r1"
- "connman.confd::${_gentoo_uri}/net-misc/connman/files/connman.confd"
- "connman.initd::${_gentoo_uri}/net-misc/connman/files/connman.initd2"
- "haveged.confd::${_gentoo_uri}/sys-apps/haveged/files/haveged-conf.d"
- "haveged.initd::${_gentoo_uri}/sys-apps/haveged/files/haveged-init.d.3"
- "salt-master.confd::${_gentoo_uri}/app-admin/salt/files/master-confd-1"
- "salt-master.initd::${_gentoo_uri}/app-admin/salt/files/master-initd-4"
- "salt-minion.confd::${_gentoo_uri}/app-admin/salt/files/minion-confd-1"
- "salt-minion.initd::${_gentoo_uri}/app-admin/salt/files/minion-initd-4"
- "salt-syncdic.confd::${_gentoo_uri}/app-admin/salt/files/syndic-confd-1"
- "salt-syncdic.initd::${_gentoo_uri}/app-admin/salt/files/syndic-initd-4"
- "salt-api.confd::${_gentoo_uri}/app-admin/salt/files/api-confd-1"
- "salt-api.initd::${_gentoo_uri}/app-admin/salt/files/api-initd-4"
- "mpd.initd::${_gentoo_uri}/media-sound/mpd/files/mpd2.init"
- "hdparm.confd::${_gentoo_uri}/sys-apps/hdparm/files/hdparm-conf.d.3"
- "hdparm.initd::${_gentoo_uri}/sys-apps/hdparm/files/hdparm-init-8"
- "bitlbee.confd::${_gentoo_uri}/net-im/bitlbee/files/bitlbee.confd"
- "bitlbee.initd::${_gentoo_uri}/net-im/bitlbee/files/bitlbee.initd"
- "xe-daemon.initd::${_gentoo_uri}/app-emulation/xe-guest-utilities/files/xe-daemon.initd"
- "clamd.confd::${_gentoo_uri}/app-antivirus/clamav/files/clamd.conf-r1"
- "clamd.initd::${_gentoo_uri}/app-antivirus/clamav/files/clamd.initd-r6"
- "NetworkManager.confd::${_gentoo_uri}/net-misc/networkmanager/files/conf.d.NetworkManager"
- "NetworkManager.initd::${_gentoo_uri}/net-misc/networkmanager/files/init.d.NetworkManager"
- "10-openrc-status::${_gentoo_uri}/net-misc/networkmanager/files/10-openrc-status-r4"
- "atd.confd::${_gentoo_uri}/sys-process/at/files/atd.confd"
- "atd.initd::${_gentoo_uri}/sys-process/at/files/atd.rc8"
-# "libvirtd.confd::${_gentoo_uri}/app-emulation/libvirt/files/libvirtd.confd-r5"
-# "libvirtd.initd::${_gentoo_uri}/app-emulation/libvirt/files/libvirtd.init-r15"
-# "virtlockd.initd::${_gentoo_uri}/app-emulation/libvirt/files/virtlockd.init-r1"
-# ${_gentoo_uri}/app-emulation/libvirt/files/virtlogd.init-r1
-# ${_gentoo_uri}/app-emulation/libvirt/files/libvirt-guests.init-r1
-# ${_gentoo_uri}/app-emulation/libvirt/files/libvirt-guests.confd
+source=("fcron.initd::${_url}/sys-process/fcron/files/fcron.init.3"
+ "rsyslog.confd::${_url}/app-admin/rsyslog/files/8-stable/rsyslog.confd"
+ "rsyslog.initd::${_url}/app-admin/rsyslog/files/8-stable/rsyslog.initd"
+ "saned.confd::${_url}/media-gfx/sane-backends/files/saned.confd"
+ "saned.initd::${_url}/media-gfx/sane-backends/files/saned.initd"
+ "fuse.initd::${_url}/sys-fs/fuse/files/fuse.init"
+ "metalog.confd::${_url}/app-admin/metalog/files/metalog.confd"
+ "metalog.initd::${_url}/app-admin/metalog/files/metalog.initd"
+ "syslog-ng.confd::${_url}/app-admin/syslog-ng/files/3.6/syslog-ng.confd"
+ "syslog-ng.initd::${_url}/app-admin/syslog-ng/files/3.6/syslog-ng.rc6"
+ "lircd.confd::${_url}/app-misc/lirc/files/lircd.conf.4"
+ "irexec.confd::${_url}/app-misc/lirc/files/irexec-confd"
+ "lircd.initd::${_url}/app-misc/lirc/files/lircd-0.8.6-r2"
+ "irexec.initd::${_url}/app-misc/lirc/files/irexec-initd-0.8.6-r2"
+ "lircmd.initd::${_url}/app-misc/lirc/files/lircmd"
+ "cpupower.confd::${_url}/sys-power/cpupower/files/conf.d-r2"
+ "cpupower.initd::${_url}/sys-power/cpupower/files/init.d-r4"
+ #"sensord.confd::${_url}/sys-apps/lm_sensors/files/sensord-conf.d"
+ "sensord.initd::${_url}/sys-apps/lm_sensors/files/sensord-4-init.d"
+ "fancontrol.initd::${_url}/sys-apps/lm_sensors/files/fancontrol-init.d-2"
+ "lm_sensors.initd::${_url}/sys-apps/lm_sensors/files/lm_sensors-3-init.d"
+ "ntpd.confd::${_url}/net-misc/ntp/files/ntpd.confd"
+ "ntp-client.confd::${_url}/net-misc/ntp/files/ntp-client.confd"
+ "sntp.confd::${_url}/net-misc/ntp/files/sntp.confd"
+ "ntpd.initd::${_url}/net-misc/ntp/files/ntpd.rc-r1"
+ "ntp-client.initd::${_url}/net-misc/ntp/files/ntp-client.rc"
+ "sntp.initd::${_url}/net-misc/ntp/files/sntp.rc"
+ "cupsd.initd::${_url}/net-print/cups/files/cupsd.init.d-r1"
+ "connman.confd::${_url}/net-misc/connman/files/connman.confd"
+ "connman.initd::${_url}/net-misc/connman/files/connman.initd2"
+ "haveged.confd::${_url}/sys-apps/haveged/files/haveged-conf.d"
+ "haveged.initd::${_url}/sys-apps/haveged/files/haveged-init.d.3"
+ "salt-master.confd::${_url}/app-admin/salt/files/master-confd-1"
+ "salt-master.initd::${_url}/app-admin/salt/files/master-initd-4"
+ "salt-minion.confd::${_url}/app-admin/salt/files/minion-confd-1"
+ "salt-minion.initd::${_url}/app-admin/salt/files/minion-initd-4"
+ "salt-syncdic.confd::${_url}/app-admin/salt/files/syndic-confd-1"
+ "salt-syncdic.initd::${_url}/app-admin/salt/files/syndic-initd-4"
+ "salt-api.confd::${_url}/app-admin/salt/files/api-confd-1"
+ "salt-api.initd::${_url}/app-admin/salt/files/api-initd-4"
+ "mpd.initd::${_url}/media-sound/mpd/files/mpd2.init"
+ "hdparm.confd::${_url}/sys-apps/hdparm/files/hdparm-conf.d.3"
+ "hdparm.initd::${_url}/sys-apps/hdparm/files/hdparm-init-8"
+ "bitlbee.confd::${_url}/net-im/bitlbee/files/bitlbee.confd"
+ "bitlbee.initd::${_url}/net-im/bitlbee/files/bitlbee.initd"
+ "xe-daemon.initd::${_url}/app-emulation/xe-guest-utilities/files/xe-daemon.initd"
+ "clamd.confd::${_url}/app-antivirus/clamav/files/clamd.conf-r1"
+ "clamd.initd::${_url}/app-antivirus/clamav/files/clamd.initd-r6"
+ "NetworkManager.confd::${_url}/net-misc/networkmanager/files/conf.d.NetworkManager"
+ "NetworkManager.initd::${_url}/net-misc/networkmanager/files/init.d.NetworkManager"
+ "10-openrc-status::${_url}/net-misc/networkmanager/files/10-openrc-status-r4"
+ "atd.confd::${_url}/sys-process/at/files/atd.confd"
+ "atd.initd::${_url}/sys-process/at/files/atd.rc8"
+# "libvirtd.confd::${_url}/app-emulation/libvirt/files/libvirtd.confd-r5"
+# "libvirtd.initd::${_url}/app-emulation/libvirt/files/libvirtd.init-r15"
+# "virtlockd.initd::${_url}/app-emulation/libvirt/files/virtlockd.init-r1"
+# ${_url}/app-emulation/libvirt/files/virtlogd.init-r1
+# ${_url}/app-emulation/libvirt/files/libvirt-guests.init-r1
+# ${_url}/app-emulation/libvirt/files/libvirt-guests.confd
"zfs.initd"
"thermald.initd"
- "pulseaudio.confd::${_gentoo_uri}/media-sound/pulseaudio/files/pulseaudio.conf.d"
- "pulseaudio.initd::${_gentoo_uri}/media-sound/pulseaudio/files/pulseaudio.init.d-5")
+ "pulseaudio.confd::${_url}/media-sound/pulseaudio/files/pulseaudio.conf.d"
+ "pulseaudio.initd::${_url}/media-sound/pulseaudio/files/pulseaudio.init.d-5"
+ "brltty.initd::${_url}/app-accessibility/brltty/files/brltty.rc")
sha256sums=('4102ff09ba022994e37922634f937ef5f59acf6736e45c729de930f0da95c30d'
'f0b15a0334f6177a6cf23cb9b169302c75745dc30857f24a7d11892feb6b1ee4'
'99724a799a7bd56e07e8e01adda6e6de184d6455876fab6aa21ee104976621ba'
@@ -155,7 +157,8 @@ sha256sums=('4102ff09ba022994e37922634f937ef5f59acf6736e45c729de930f0da95c30d'
'7321272190ea9846ab7e19b034649c1cd711d4f94a6bdcaaaec2f683bb822e7d'
'4bbb4e610d2d6bb22d83aa2980dca052a23b90fa6985c8245601b716dec986f4'
'06a4c3effeb3d30df6d384f7405a5c3297a04d7f1db17b511a77702007c95c95'
- 'eab592643ae66ad9ce2fe11f3279d42fdfbe3a9fca3fc5c3008699e76a0a884b')
+ 'eab592643ae66ad9ce2fe11f3279d42fdfbe3a9fca3fc5c3008699e76a0a884b'
+ '89cfca974c3b997c4f13df5835cffb75e2bb92932e8c8163bfce700da9f533a3')
pkgver() {
date +%Y%m%d
@@ -436,7 +439,7 @@ package_at-openrc() {
_inst_confd 'atd'
_inst_initd 'atd'
- sed -e "${_runpath}" \
+ sed -e 's|/var/run|/run|g' \
-i "${pkgdir}/etc/conf.d/atd"
}
@@ -462,3 +465,15 @@ package_pulseaudio-openrc() {
_inst_confd 'pulseaudio'
_inst_initd 'pulseaudio'
}
+
+
+package_brltty-openrc() {
+ pkgdesc="OpenRC brltty init script"
+ depends=('openrc' 'brltty')
+ install=brltty.install
+
+ _inst_initd 'brltty'
+
+ sed -e 's|/bin/brltty|/usr/bin/brltty|' \
+ -i "${pkgdir}/etc/init.d/brltty"
+}
diff --git a/pcr/openrc-misc/brltty.install b/pcr/openrc-misc/brltty.install
new file mode 100644
index 000000000..3b7f6a298
--- /dev/null
+++ b/pcr/openrc-misc/brltty.install
@@ -0,0 +1,15 @@
+_svc="brltty"
+_rlvl="boot"
+
+post_install() {
+ _cmd="rc-update add ${_svc} ${_rlvl}"
+ echo " ==> run '${_cmd}'"
+}
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ _cmd="rc-update del ${_svc} ${_rlvl}"
+ echo " ==> run '${_cmd}'"
+}