diff options
author | Juergen Daubert <jue@jue.li> | 2021-06-05 17:02:30 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2021-06-05 17:02:30 +0200 |
commit | e67dc4ac370b9f8cc63c8f7c060d81d0ff478719 (patch) | |
tree | 20d0db79f05f9595b17b8eb2ea24e5a32ed7c317 /php-fpm/Pkgfile | |
parent | 75cc271693544a437acb00542ad4a89d5c57bf06 (diff) | |
download | opt-e67dc4ac370b9f8cc63c8f7c060d81d0ff478719.tar.gz opt-e67dc4ac370b9f8cc63c8f7c060d81d0ff478719.tar.xz |
[notify] php: update to 8.0.7
new major version, several applications needs probably some
adjustments.
See https://www.php.net/releases/8.0/en.php
Diffstat (limited to 'php-fpm/Pkgfile')
-rw-r--r-- | php-fpm/Pkgfile | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/php-fpm/Pkgfile b/php-fpm/Pkgfile index 4ed181d81..6e31001b3 100644 --- a/php-fpm/Pkgfile +++ b/php-fpm/Pkgfile @@ -1,47 +1,47 @@ # Description: FastCGI Process Manager for PHP -# URL: https://www.php.net -# Maintainer: Juergen Daubert, jue at crux dot nu -# Depends on: libpcre2 libxml2 +# URL: https://www.php.net +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: libpcre2 libxml2 name=php-fpm -version=7.4.18 +version=8.0.7 release=1 source=(https://php.net/distributions/php-$version.tar.xz - php-fpm) - -build () { - cd php-$version - - local PHP_CONFIG=" - --prefix=/usr \ - --sysconfdir=/etc/php \ - --localstatedir=/var \ - --with-config-file-path=/etc/php \ - --with-config-file-scan-dir=/etc/php/conf.d \ - --with-zlib \ - --with-external-pcre \ - --disable-static --disable-debug \ - --without-sqlite3 --without-pdo-sqlite \ - --without-pear" - - EXTENSION_DIR=/usr/lib/php/extensions \ - ./configure \ - $PHP_CONFIG \ - --enable-fpm \ - --disable-cli \ - --with-fpm-user=www \ - --with-fpm-group=www - - make - - 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 '/;pid =/s/;//' -i $PKG/etc/php/php-fpm.conf + php-fpm) + +build() { + cd php-$version + + local PHP_CONFIG=" + --prefix=/usr \ + --sysconfdir=/etc/php \ + --localstatedir=/var \ + --with-config-file-path=/etc/php \ + --with-config-file-scan-dir=/etc/php/conf.d \ + --with-zlib \ + --with-external-pcre \ + --disable-static --disable-debug \ + --without-sqlite3 --without-pdo-sqlite \ + --without-pear" + + EXTENSION_DIR=/usr/lib/php/extensions \ + ./configure \ + $PHP_CONFIG \ + --enable-fpm \ + --disable-cli \ + --with-fpm-user=www \ + --with-fpm-group=www + + make + + 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 '/;pid =/s/;//' -i $PKG/etc/php/php-fpm.conf } |