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 | |
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')
-rw-r--r-- | php-fpm/.signature | 6 | ||||
-rw-r--r-- | php-fpm/Pkgfile | 82 |
2 files changed, 44 insertions, 44 deletions
diff --git a/php-fpm/.signature b/php-fpm/.signature index af1c98ab3..5b5eb2b64 100644 --- a/php-fpm/.signature +++ b/php-fpm/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/fXVwaeJvKvlBznLo8vgxg0B77lr/umf3NGDglkgHu39Kw22fsl4Wt+DaLc9GUFObNPyBQogC0PBcDazbMRMtwA= -SHA256 (Pkgfile) = e63d75bdf6bca1aae0742d8c9e2813d429ee178357368dd5cb2d299b242882f8 +RWSE3ohX2g5d/VH4IonP2zOXggVPugbbZVT2luklPJ1HBcLKe3INxPl6EzDjvFO3xfbf0wj5hLpkbut3mEVaGIV6MCG1diMjugQ= +SHA256 (Pkgfile) = 19535698276aad1727838a6e09b9ec9c7749b310a8440f858829b6232982ea78 SHA256 (.footprint) = a26b7d8af42742c284dd40e96fb4c4d1ba451ac9bf4f714c8f12fb6975ffa5fe -SHA256 (php-7.4.18.tar.xz) = ab97f22b128d21dcbc009b50a37aaea0051b2721cbcd122d9e00e6ffc3c4b7e1 +SHA256 (php-8.0.7.tar.xz) = d5fc2e4fc780a32404d88c360e3e0009bc725d936459668e9c2ac992f2d83654 SHA256 (php-fpm) = a1fde2295e819a33d492cfdeca8d4e0e8de08b8d051c95c4758ba01da38354b7 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 } |