summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-28 19:51:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-12-28 19:51:59 -0500
commitf37fe1f6c5416fd7de9020eee45152af9ca72282 (patch)
tree31e85c6de4fc75470469fc1086ddb3b3b30b3b4e /pcr
parent71be857556677b5bb85a616b3a77dac6cfb3db93 (diff)
downloadabslibre-f37fe1f6c5416fd7de9020eee45152af9ca72282.tar.gz
abslibre-f37fe1f6c5416fd7de9020eee45152af9ca72282.tar.bz2
abslibre-f37fe1f6c5416fd7de9020eee45152af9ca72282.zip
openrc-devel-20151228-1: updating version
Diffstat (limited to 'pcr')
-rw-r--r--pcr/openrc-devel/PKGBUILD52
1 files changed, 28 insertions, 24 deletions
diff --git a/pcr/openrc-devel/PKGBUILD b/pcr/openrc-devel/PKGBUILD
index 6118b417c..3fb8e10b6 100644
--- a/pcr/openrc-devel/PKGBUILD
+++ b/pcr/openrc-devel/PKGBUILD
@@ -7,9 +7,9 @@ pkgbase=openrc-devel
pkgname=('git-openrc'
'mysql-openrc'
'postgresql-openrc'
- 'subversion-openrc'
- 'php-fpm-openrc')
-pkgver=20151122
+ 'subversion-openrc')
+ # 'php-fpm-openrc')
+pkgver=20151228
pkgrel=1
pkgdesc="OpenRC init scripts"
arch=('any')
@@ -24,8 +24,8 @@ source=("git-daemon.confd::${_gentoo_uri}/dev-vcs/git/files/git-daemon.confd"
"svn.confd::${_gentoo_uri}/dev-vcs/subversion/files/svnserve.confd"
"svn.initd::${_gentoo_uri}/dev-vcs/subversion/files/svnserve.initd3"
"postgresql.confd::${_gentoo_uri}/dev-db/postgresql/files/postgresql.confd"
- "postgresql.initd::${_gentoo_uri}/dev-db/postgresql/files/postgresql.init-9.3"
- "php-fpm.initd::${_gentoo_uri}/dev-lang/php/files/php-fpm-r4.init")
+ "postgresql.initd::${_gentoo_uri}/dev-db/postgresql/files/postgresql.init-9.3")
+ # "php-fpm.initd::${_gentoo_uri}/dev-lang/php/files/php-fpm-r4.init")
sha256sums=('4703ba2372c661fb674a29fea7f64983f8b1b3136d971663509249655bca6e21'
'069878aba8d7c7f229b6049f679d1f93873bdada1107b77fc9a9b2bd8be94516'
'6f8720ccbb241b08e5f9abb4be0899f55c857f6308ac82c7f12417ee2c02c1a5'
@@ -33,8 +33,8 @@ sha256sums=('4703ba2372c661fb674a29fea7f64983f8b1b3136d971663509249655bca6e21'
'45f2dc1a718aed885559e71d98112e670c92bd6b4f19c5cf593eced6cd2bbd97'
'9e0eabfd8f07e0c77c4addf21b963b254c84432dd1983083b7da79216f4df80f'
'57c1ad0b14e8458024c713dd8cc2390023b95c27ba4cbd637333b1020f11f398'
- 'fd3d3cd1913969edf51a98189cdb9b166eef52c9ea984ae467c6036194c0aef1'
- '37e34461babfb5881169f9729fbdde7d4aba533f123e2c480fe25ac3b863d3e7')
+ 'fd3d3cd1913969edf51a98189cdb9b166eef52c9ea984ae467c6036194c0aef1')
+ # '37e34461babfb5881169f9729fbdde7d4aba533f123e2c480fe25ac3b863d3e7')
pkgver() {
date +%Y%m%d
@@ -79,23 +79,23 @@ package_mysql-openrc() {
sed -e 's|/sbin/mysqld|/bin/mysqld|g' -i "${pkgdir}/etc/init.d/mysql"
}
-package_php-fpm-openrc() {
- pkgdesc="OpenRC php-fpm init script"
- depends=('php-fpm' 'openrc')
- optdepends=('apache-openrc: apache initscript'
- 'lighttp-openrc: lighttp initscript'
- 'nginx-openrc: nginx initscript')
- install=php-fpm.install
-
- _inst_initd 'php-fpm'
-
- sed -e 's|/lib/${PHPSLOT}||g' \
- -e 's|/etc/php/fpm-${PHPSLOT}|/etc/php|' \
- -e 's|/run/php-fpm-${PHPSLOT}|/run/php-fpm|' \
- -e 's|PHPSLOT=${SVCNAME#php-fpm-}||' \
- -e 's|^.*${PHPSLOT}.*||' \
- -i "${pkgdir}/etc/init.d/php-fpm"
-}
+# package_php-fpm-openrc() {
+# pkgdesc="OpenRC php-fpm init script"
+# depends=('php-fpm' 'openrc')
+# optdepends=('apache-openrc: apache initscript'
+# 'lighttp-openrc: lighttp initscript'
+# 'nginx-openrc: nginx initscript')
+# install=php-fpm.install
+#
+# _inst_initd 'php-fpm'
+#
+# sed -e 's|/lib/${PHPSLOT}||g' \
+# -e 's|/etc/php/fpm-${PHPSLOT}|/etc/php|' \
+# -e 's|/run/php-fpm-${PHPSLOT}|/run/php-fpm|' \
+# -e 's|PHPSLOT=${SVCNAME#php-fpm-}||' \
+# -e 's|^.*${PHPSLOT}.*||' \
+# -i "${pkgdir}/etc/init.d/php-fpm"
+# }
package_postgresql-openrc() {
pkgdesc="OpenRC postgresql init script"
@@ -106,6 +106,10 @@ package_postgresql-openrc() {
_inst_confd 'postgresql'
_inst_initd 'postgresql'
+ sed -e 's|/etc/postgresql-@SLOT@/|/var/lib/postgres/data/|' \
+ -e 's|/var/lib/postgresql/@SLOT@/data|/var/lib/postgres/data|' \
+ -i "${pkgdir}/etc/conf.d/postgresql"
+
sed -e 's|/@LIBDIR@/postgresql-@SLOT@||g' \
-e 's|/etc/conf.d/postgresql-@SLOT@|/etc/conf.d/postgresql|' \
-i "${pkgdir}/etc/init.d/postgresql"