summaryrefslogtreecommitdiff
path: root/extra/php/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-06-04 00:01:23 +0000
commit1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch)
tree29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /extra/php/PKGBUILD
parent80053e720288b6205a59c52c1b31c14a0f830989 (diff)
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'extra/php/PKGBUILD')
-rw-r--r--extra/php/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD
index 35039e75b..2796f3f38 100644
--- a/extra/php/PKGBUILD
+++ b/extra/php/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 158788 2012-05-09 18:48:29Z pierre $
+# $Id: PKGBUILD 160455 2012-06-02 08:38:48Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgbase=php
@@ -22,7 +22,7 @@ pkgname=('php'
'php-tidy'
'php-xsl')
pkgver=5.4.3
-pkgrel=1
+pkgrel=4
arch=('i686' 'x86_64')
license=('PHP')
url='http://www.php.net'
@@ -32,13 +32,15 @@ makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'libvpx'
'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'freetype2')
source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
'php.ini.patch' 'apache.conf' 'rc.d.php-fpm' 'php-fpm.conf.in.patch'
- 'logrotate.d.php-fpm')
+ 'logrotate.d.php-fpm' 'php-fpm.service' 'php-fpm.tmpfiles')
md5sums=('51f9488bf8682399b802c48656315cac'
'0b0bc7a917fc592bdf11dcd3c5c255e9'
'dec2cbaad64e3abf4f0ec70e1de4e8e9'
- 'b01be5f816988fcee7e78225836e5e27'
- '59b3a25f9eb3afc02f1adf9ee699808c'
- '07c4e412909ac65a44ec90e7a2c4bade')
+ 'aabda9f3f2f8b9d8fdc9558c31c718db'
+ '825e580dd5708d959b50944afa1b12b6'
+ 'f56b5bb7e93c802ae8519182fbea3387'
+ '86c73d481f3099e740e602869bacf637'
+ 'c60343df74f8e1afb13b084d5c0e47ed')
build() {
phpconfig="--srcdir=../${pkgbase}-${pkgver} \
@@ -233,6 +235,7 @@ package_php-fpm() {
pkgdesc='FastCGI Process Manager for PHP'
depends=('php')
backup=('etc/php/php-fpm.conf')
+ install='php-fpm.install'
install -D -m755 ${srcdir}/build-fpm/sapi/fpm/php-fpm ${pkgdir}/usr/sbin/php-fpm
install -D -m644 ${srcdir}/build-fpm/sapi/fpm/php-fpm.8 ${pkgdir}/usr/share/man/man8/php-fpm.8
@@ -240,6 +243,8 @@ package_php-fpm() {
install -D -m755 ${srcdir}/rc.d.php-fpm ${pkgdir}/etc/rc.d/php-fpm
install -D -m644 ${srcdir}/logrotate.d.php-fpm ${pkgdir}/etc/logrotate.d/php-fpm
install -d -m755 ${pkgdir}/etc/php/fpm.d
+ install -D -m644 ${srcdir}/php-fpm.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/php-fpm.conf
+ install -D -m644 ${srcdir}/php-fpm.service ${pkgdir}/usr/lib/systemd/system/php-fpm.service
}
package_php-embed() {