summaryrefslogtreecommitdiff
path: root/php-fpm/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2018-03-30 12:49:31 +0200
committerJuergen Daubert <jue@jue.li>2018-03-30 12:49:31 +0200
commit2d7e666bfed2692defc0c8cfaa55eee9e554891a (patch)
tree8254d7f0a8cd1b5cc4cbf9bd237e8a6fb9208eb0 /php-fpm/Pkgfile
parenta773a007834efa8cb6d7d35aee1d35e6c12c456e (diff)
downloadopt-2d7e666bfed2692defc0c8cfaa55eee9e554891a.tar.gz
opt-2d7e666bfed2692defc0c8cfaa55eee9e554891a.tar.xz
php-fpm: update to 7.2.4
Diffstat (limited to 'php-fpm/Pkgfile')
-rw-r--r--php-fpm/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/php-fpm/Pkgfile b/php-fpm/Pkgfile
index 3c4783dfa..eb18a0557 100644
--- a/php-fpm/Pkgfile
+++ b/php-fpm/Pkgfile
@@ -4,7 +4,7 @@
# Depends on: libpcre libxml2
name=php-fpm
-version=5.6.34
+version=7.2.4
release=1
source=(http://php.net/distributions/php-$version.tar.xz
php-fpm)
@@ -34,11 +34,14 @@ build () {
make
- install -d $PKG/{usr/{sbin,share/man/man8},etc/{rc.d,php}}
+ install -d $PKG/usr/{sbin,share/man/man8}
+ install -d $PKG/etc/{rc.d,php/php-fpm.d}
+
install -m 755 sapi/fpm/php-fpm $PKG/usr/sbin/
install -m 644 sapi/fpm/php-fpm.conf $PKG/etc/php/
+ install -m 644 sapi/fpm/www.conf $PKG/etc/php/php-fpm.d/
install -m 644 sapi/fpm/php-fpm.8 $PKG/usr/share/man/man8/
install -m 755 $SRC/php-fpm $PKG/etc/rc.d/
- sed -i '/;pid =/s/;//' $PKG/etc/php/php-fpm.conf
+ sed '/;pid =/s/;//' -i $PKG/etc/php/php-fpm.conf
}

Generated by cgit