summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-29 11:41:28 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-29 11:41:28 -0500
commit94268f9c5fc1a7377bdf027ef83e30f502c9288b (patch)
treee03c0c9a985bbeef491cba4943ab20410b921ae8 /pcr
parentf224cb449d1e24d0537299fd2748bbb0bd8cfbf4 (diff)
downloadabslibre-94268f9c5fc1a7377bdf027ef83e30f502c9288b.tar.gz
abslibre-94268f9c5fc1a7377bdf027ef83e30f502c9288b.tar.bz2
abslibre-94268f9c5fc1a7377bdf027ef83e30f502c9288b.zip
openrc-misc-20151229-1.parabola1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openrc-misc/PKGBUILD61
-rw-r--r--pcr/openrc-misc/clamav.install2
-rw-r--r--pcr/openrc-misc/pulseaudio.install16
3 files changed, 56 insertions, 23 deletions
diff --git a/pcr/openrc-misc/PKGBUILD b/pcr/openrc-misc/PKGBUILD
index 22ef19afd..6265b1770 100644
--- a/pcr/openrc-misc/PKGBUILD
+++ b/pcr/openrc-misc/PKGBUILD
@@ -27,9 +27,10 @@ pkgname=('cpupower-openrc'
'clamav-openrc'
'networkmanager-openrc'
'at-openrc'
- 'libvirt-openrc')
-pkgver=20151015
-pkgrel=1
+ # 'libvirt-openrc'
+ 'pulseaudio-openrc')
+pkgver=20151229
+pkgrel=1.parabola1
pkgdesc="OpenRC init scripts"
arch=('any')
url="https://github.com/manjaro/packages-openrc"
@@ -89,11 +90,16 @@ source=("fcron.initd::${_gentoo_uri}/sys-process/fcron/files/fcron.init.3"
"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-r4"
- "libvirtd.initd::${_gentoo_uri}/app-emulation/libvirt/files/libvirtd.init-r14"
- "virtlockd.initd::${_gentoo_uri}/app-emulation/libvirt/files/virtlockd.init-r1"
+# "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
"zfs.initd"
- "thermald.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")
sha256sums=('4102ff09ba022994e37922634f937ef5f59acf6736e45c729de930f0da95c30d'
'f0b15a0334f6177a6cf23cb9b169302c75745dc30857f24a7d11892feb6b1ee4'
'99724a799a7bd56e07e8e01adda6e6de184d6455876fab6aa21ee104976621ba'
@@ -146,11 +152,10 @@ sha256sums=('4102ff09ba022994e37922634f937ef5f59acf6736e45c729de930f0da95c30d'
'f8ed424818b866a0bf882c569f4484e8b1485ce7ac8c472f060fd877f2dcfe65'
'f7d5a1d313041ffba2bba3db704976fb9ad8083964eaccaf0767124402e0810e'
'44da98a003d5657e69436c9617e568eb9b15715c8f673d1fef79df25caad2c3c'
- 'c2ca5d9a2d4ed433e91bd215c2ca678109cc981072897a497955e36760dc3b9f'
- 'ed8514d347d3a8a0b243cfc25a85dedb1e595f1e29e874bcadd14ef5f5d03e58'
- '3d61a6a2b25b15999720a9218e76cec64aceebaf281fbb9ed2f042e5a2bdbf71'
'7321272190ea9846ab7e19b034649c1cd711d4f94a6bdcaaaec2f683bb822e7d'
- '4bbb4e610d2d6bb22d83aa2980dca052a23b90fa6985c8245601b716dec986f4')
+ '4bbb4e610d2d6bb22d83aa2980dca052a23b90fa6985c8245601b716dec986f4'
+ '06a4c3effeb3d30df6d384f7405a5c3297a04d7f1db17b511a77702007c95c95'
+ 'eab592643ae66ad9ce2fe11f3279d42fdfbe3a9fca3fc5c3008699e76a0a884b')
pkgver() {
date +%Y%m%d
@@ -206,7 +211,7 @@ package_connman-openrc() {
package_cups-openrc() {
pkgdesc="OpenRC cups init script"
depends=('cups' 'dbus-openrc')
- optdepends=('avahi-openrc: avahi initscripts')
+ optdepends=('avahi-openrc: avahi initscript')
install=cups.install
_inst_initd 'cupsd'
@@ -424,7 +429,7 @@ package_networkmanager-openrc() {
package_at-openrc() {
pkgdesc="OpenRC at init script"
- depends=('at')
+ depends=('openrc' 'at')
backup=('etc/conf.d/atd')
install=at.install
@@ -435,13 +440,25 @@ package_at-openrc() {
-i "${pkgdir}/etc/conf.d/atd"
}
-package_libvirt-openrc() {
- pkgdesc="OpenRC libvirt init script"
- depends=('libvirt')
- backup=('etc/conf.d/libvirtd')
- install=libvirt.install
-
- _inst_confd 'libvirtd'
- _inst_initd 'libvirtd'
- _inst_initd 'virtlockd'
+# package_libvirt-openrc() {
+# pkgdesc="OpenRC libvirt init script"
+# depends=('openrc' 'libvirt')
+# backup=('etc/conf.d/libvirtd')
+# install=libvirt.install
+#
+# _inst_confd 'libvirtd'
+# _inst_initd 'libvirtd'
+# _inst_initd 'virtlockd'
+# }
+
+package_pulseaudio-openrc() {
+ pkgdesc="OpenRC pulseaudio init script"
+ depends=('openrc' 'pulseaudio')
+ optdepends=('alsa-utils-openrc: alsa-utils initscript'
+ 'consolekit-openrc: pulseaudio initscript')
+ backup=('etc/conf.d/pulseaudio')
+ install=pulseaudio.install
+
+ _inst_confd 'pulseaudio'
+ _inst_initd 'pulseaudio'
}
diff --git a/pcr/openrc-misc/clamav.install b/pcr/openrc-misc/clamav.install
index a7ee73e48..e89b606d4 100644
--- a/pcr/openrc-misc/clamav.install
+++ b/pcr/openrc-misc/clamav.install
@@ -1,4 +1,4 @@
-_svc="calmd"
+_svc="clamd"
_rlvl="default"
post_install() {
diff --git a/pcr/openrc-misc/pulseaudio.install b/pcr/openrc-misc/pulseaudio.install
new file mode 100644
index 000000000..f1b1b698f
--- /dev/null
+++ b/pcr/openrc-misc/pulseaudio.install
@@ -0,0 +1,16 @@
+_svc="pulseaudio"
+_rlvl="default"
+
+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}'"
+}