summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/openrc-devel/PKGBUILD13
-rw-r--r--pcr/openrc-devel/distcc.install16
-rw-r--r--pcr/openrc-devel/git.install16
-rw-r--r--pcr/openrc-devel/mysql.install14
-rw-r--r--pcr/openrc-devel/php-fpm.install16
-rw-r--r--pcr/openrc-devel/postgresql.install14
-rw-r--r--pcr/openrc-devel/subversion.install16
7 files changed, 5 insertions, 100 deletions
diff --git a/pcr/openrc-devel/PKGBUILD b/pcr/openrc-devel/PKGBUILD
index e8ea63b4a..f0cbb55e0 100644
--- a/pcr/openrc-devel/PKGBUILD
+++ b/pcr/openrc-devel/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=('git-openrc'
'subversion-openrc'
'distcc-openrc')
# 'php-fpm-openrc')
-pkgver=20160504
+pkgver=20160528
pkgrel=1
pkgdesc="OpenRC init scripts"
arch=('any')
@@ -32,13 +32,13 @@ source=("git-daemon.confd::${_url}/dev-vcs/git/files/git-daemon.confd"
sha256sums=('4703ba2372c661fb674a29fea7f64983f8b1b3136d971663509249655bca6e21'
'efa30f5db5b837ed9febd09af29f3740a9d479d098d5c3f8e4dcf334e01f77a3'
'6f8720ccbb241b08e5f9abb4be0899f55c857f6308ac82c7f12417ee2c02c1a5'
- '9fbee10105b6be9dd128a11cc9ed67f85ba92fac8f3640628e6cd6356824511b'
+ '7dba4a45d1c4d609576b9fe06fd5c8097941fa46da58242b9775eccdb608baa4'
'45f2dc1a718aed885559e71d98112e670c92bd6b4f19c5cf593eced6cd2bbd97'
- '9e0eabfd8f07e0c77c4addf21b963b254c84432dd1983083b7da79216f4df80f'
+ '06dbad411ed4c0db67685143822a095549e85e54a5166c8e568b219e88c9839e'
'57c1ad0b14e8458024c713dd8cc2390023b95c27ba4cbd637333b1020f11f398'
- 'fd3d3cd1913969edf51a98189cdb9b166eef52c9ea984ae467c6036194c0aef1'
+ 'ae547732e2e1fd1adac40bd30fd79b83a5ba3bb1de4a553b8d0f09500cb2d082'
'253cfaa5b53fe4943a9db83e76ff6d6e8855665f69c2f7beca124af3ec63c88a'
- '9751beb31cc41b04414b654ae7d5e0da3a766b24744d206c33a4d594cb340db2')
+ '92a4931b0241b2ddb9d7771f14c880802bdff9c44fadb2c6671387e08cea0c7c')
pkgver() {
date +%Y%m%d
@@ -62,7 +62,6 @@ package_git-openrc() {
pkgdesc="OpenRC git-daemon init script"
depends=('git' 'openrc')
backup=('etc/conf.d/git-daemon')
- install=git.install
_inst_confd 'git-daemon'
_inst_initd 'git-daemon'
@@ -123,7 +122,6 @@ package_subversion-openrc() {
pkgdesc="OpenRC svnserve init script"
depends=('subversion' 'openrc')
backup=('etc/conf.d/svn')
- install=subversion.install
_inst_confd 'svn'
_inst_initd 'svn'
@@ -141,7 +139,6 @@ package_distcc-openrc() {
pkgdesc="OpenRC distcc init script"
depends=('distcc' 'openrc')
backup=('etc/conf.d/distccd')
- install=distcc.install
_inst_confd 'distccd'
_inst_initd 'distccd'
diff --git a/pcr/openrc-devel/distcc.install b/pcr/openrc-devel/distcc.install
deleted file mode 100644
index 24a142e9e..000000000
--- a/pcr/openrc-devel/distcc.install
+++ /dev/null
@@ -1,16 +0,0 @@
-_svc="distccd"
-_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}'"
-}
diff --git a/pcr/openrc-devel/git.install b/pcr/openrc-devel/git.install
deleted file mode 100644
index 397e97d7d..000000000
--- a/pcr/openrc-devel/git.install
+++ /dev/null
@@ -1,16 +0,0 @@
-_svc="git-daemon"
-_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}'"
-}
diff --git a/pcr/openrc-devel/mysql.install b/pcr/openrc-devel/mysql.install
index e0c28d025..d001ae23e 100644
--- a/pcr/openrc-devel/mysql.install
+++ b/pcr/openrc-devel/mysql.install
@@ -1,6 +1,3 @@
-_svc="mysql"
-_rlvl="default"
-
post_install() {
conf1='basedir = /usr'
conf2='pid-file = /var/run/mysqld/mysqld.pid'
@@ -9,15 +6,4 @@ post_install() {
echo " ==> $file requires $conf1"
echo " ==> $file requires $conf2"
echo " ==> $file requires $conf3"
- _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}'"
}
diff --git a/pcr/openrc-devel/php-fpm.install b/pcr/openrc-devel/php-fpm.install
deleted file mode 100644
index 2f2b7061e..000000000
--- a/pcr/openrc-devel/php-fpm.install
+++ /dev/null
@@ -1,16 +0,0 @@
-_svc="php-fpm"
-_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}'"
-}
diff --git a/pcr/openrc-devel/postgresql.install b/pcr/openrc-devel/postgresql.install
index e54258ecb..46084091f 100644
--- a/pcr/openrc-devel/postgresql.install
+++ b/pcr/openrc-devel/postgresql.install
@@ -1,19 +1,5 @@
-_svc="postgresql"
-_rlvl="default"
-
post_install() {
local datadir="/var/lib/data"
echo " ==> requires datadir $datadir"
echo " ==> run as user postgres: 'initdb -D $datadir'"
- _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}'"
}
diff --git a/pcr/openrc-devel/subversion.install b/pcr/openrc-devel/subversion.install
deleted file mode 100644
index b83c73ebd..000000000
--- a/pcr/openrc-devel/subversion.install
+++ /dev/null
@@ -1,16 +0,0 @@
-_svc="svn"
-_rlvl="default"
-
-post_install() {
- _cmd="rc-update add ${_svc} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-pre_remove() {
- _cmd="rc-update del ${_svc} ${_rlvl}"
- echo " ==> run '${_cmd}'"
-}