[notify] php: update to 7.4.2

Note:
-----
as of version 7.4.2 php removed some bundled libraries which
adds new dependencies:

- the mbstring module depends on oniguruma now, to avoid
  that dependency for several php ports I've created a new
  port php-mbstring
- the zip module depends on libzip now, here we have a new
  php-zip port
This commit is contained in:
Juergen Daubert 2020-02-15 13:48:56 +01:00
parent c843457f8e
commit e5b24ea3e8
3 changed files with 15 additions and 48 deletions

View File

@ -16,11 +16,6 @@ drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/php/
drwxr-xr-x root/root usr/include/php/TSRM/
-rw-r--r-- root/root usr/include/php/TSRM/TSRM.h
-rw-r--r-- root/root usr/include/php/TSRM/readdir.h
-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config.h
-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config.w32.h
-rw-r--r-- root/root usr/include/php/TSRM/tsrm_config_common.h
-rw-r--r-- root/root usr/include/php/TSRM/tsrm_strtok_r.h
-rw-r--r-- root/root usr/include/php/TSRM/tsrm_win32.h
drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend.h
@ -35,7 +30,6 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_closures.h
-rw-r--r-- root/root usr/include/php/Zend/zend_compile.h
-rw-r--r-- root/root usr/include/php/Zend/zend_config.h
-rw-r--r-- root/root usr/include/php/Zend/zend_config.nw.h
-rw-r--r-- root/root usr/include/php/Zend/zend_config.w32.h
-rw-r--r-- root/root usr/include/php/Zend/zend_constants.h
-rw-r--r-- root/root usr/include/php/Zend/zend_cpuinfo.h
@ -65,6 +59,7 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_list.h
-rw-r--r-- root/root usr/include/php/Zend/zend_llist.h
-rw-r--r-- root/root usr/include/php/Zend/zend_long.h
-rw-r--r-- root/root usr/include/php/Zend/zend_map_ptr.h
-rw-r--r-- root/root usr/include/php/Zend/zend_modules.h
-rw-r--r-- root/root usr/include/php/Zend/zend_multibyte.h
-rw-r--r-- root/root usr/include/php/Zend/zend_multiply.h
@ -98,6 +93,7 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_vm_opcodes.h
-rw-r--r-- root/root usr/include/php/Zend/zend_vm_trace_handlers.h
-rw-r--r-- root/root usr/include/php/Zend/zend_vm_trace_map.h
-rw-r--r-- root/root usr/include/php/Zend/zend_weakrefs.h
drwxr-xr-x root/root usr/include/php/ext/
drwxr-xr-x root/root usr/include/php/ext/date/
drwxr-xr-x root/root usr/include/php/ext/date/lib/
@ -141,30 +137,6 @@ drwxr-xr-x root/root usr/include/php/ext/json/
-rw-r--r-- root/root usr/include/php/ext/json/php_json_scanner.h
drwxr-xr-x root/root usr/include/php/ext/libxml/
-rw-r--r-- root/root usr/include/php/ext/libxml/php_libxml.h
drwxr-xr-x root/root usr/include/php/ext/mbstring/
drwxr-xr-x root/root usr/include/php/ext/mbstring/libmbfl/
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/config.h
drwxr-xr-x root/root usr/include/php/ext/mbstring/libmbfl/mbfl/
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/mbstring.h
drwxr-xr-x root/root usr/include/php/ext/mbstring/oniguruma/
-rw-r--r-- root/root usr/include/php/ext/mbstring/oniguruma/oniguruma.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/php_mbregex.h
-rw-r--r-- root/root usr/include/php/ext/mbstring/php_onig_compat.h
drwxr-xr-x root/root usr/include/php/ext/pcre/
-rw-r--r-- root/root usr/include/php/ext/pcre/php_pcre.h
drwxr-xr-x root/root usr/include/php/ext/pdo/
@ -309,26 +281,24 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/php/
drwxr-xr-x root/root usr/lib/php/build/
-rw-r--r-- root/root usr/lib/php/build/Makefile.global
-rw-r--r-- root/root usr/lib/php/build/acinclude.m4
-rw-r--r-- root/root usr/lib/php/build/ax_check_compile_flag.m4
-rw-r--r-- root/root usr/lib/php/build/ax_gcc_func_attribute.m4
-rwxr-xr-x root/root usr/lib/php/build/config.guess
-rwxr-xr-x root/root usr/lib/php/build/config.sub
-rw-r--r-- root/root usr/lib/php/build/libtool.m4
-rw-r--r-- root/root usr/lib/php/build/ltmain.sh
-rw-r--r-- root/root usr/lib/php/build/mkdep.awk
-rw-r--r-- root/root usr/lib/php/build/php.m4
-rw-r--r-- root/root usr/lib/php/build/php_cxx_compile_stdcxx.m4
-rw-r--r-- root/root usr/lib/php/build/phpize.m4
-rw-r--r-- root/root usr/lib/php/build/pkg.m4
-rw-r--r-- root/root usr/lib/php/build/run-tests.php
-rw-r--r-- root/root usr/lib/php/build/scan_makefile_in.awk
-rwxr-xr-x root/root usr/lib/php/build/shtool
drwxr-xr-x root/root usr/lib/php/extensions/
-rwxr-xr-x root/root usr/lib/php/extensions/bz2.so
-rwxr-xr-x root/root usr/lib/php/extensions/curl.so
-rwxr-xr-x root/root usr/lib/php/extensions/dba.so
-rwxr-xr-x root/root usr/lib/php/extensions/mbstring.so
-rwxr-xr-x root/root usr/lib/php/extensions/opcache.so
-rwxr-xr-x root/root usr/lib/php/extensions/openssl.so
-rwxr-xr-x root/root usr/lib/php/extensions/zip.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/R44PeUIhurDilil8Z0w211Cu/Yz6yxAeRiFMG4uqOjRv7Zs6mwGbw9feaIcS4y19Ns4OPZta9uWydT+OQPR5Qc=
SHA256 (Pkgfile) = 47ee3188b0772c834125f358689e71f698ed6de72bdfc147c5f444a203cbf732
SHA256 (.footprint) = 8e08d64653fa1287c4d66ecf8cf42ec340c1b823df1335ea794081f4dd609907
SHA256 (php-7.3.14.tar.xz) = cc05dd373ca5d36652800762f65c10e828a17de35aaf246262e3efa99d00cdb0
RWSE3ohX2g5d/W8pp1Wti/iYQD9MShB7sn1nReZ0GnMCFE8qqzxWvs6tMs9LUds7QqRjFGVXqXOHVTouuH868As3iRtYAYiS8wA=
SHA256 (Pkgfile) = 35b3daecc3ee7aee014ac8799a0018fa1b1b7b90379fd9632545cdeca64fa66c
SHA256 (.footprint) = e758686f584e052d2ba7c2b3a13d35acdab52873afd260bc64c8032d7ff3812b
SHA256 (php-7.4.2.tar.xz) = 98284deac017da0d426117ecae7599a1f1bf62ae3911e8bc16c4403a8f4bdf13

View File

@ -1,10 +1,10 @@
# Description: PHP interpreter, extension modules and support stuff
# URL: http://www.php.net
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libpcre2 libxml2 curl db gdbm
# Depends on: bzip2 libpcre2 libxml2 curl db gdbm
name=php
version=7.3.14
version=7.4.2
release=1
source=(http://php.net/distributions/php-$version.tar.xz)
@ -18,20 +18,17 @@ build () {
--with-config-file-path=/etc/php \
--with-config-file-scan-dir=/etc/php/conf.d \
--with-zlib \
--with-pcre-regex=/usr \
--with-external-pcre \
--disable-static --disable-debug \
--without-sqlite3 --without-pdo-sqlite \
--without-libzip \
--without-pear"
local PHP_SHARED="
--enable-dba=shared --with-gdbm --with-db4 \
--with-bz2=shared \
--with-curl=shared \
--with-openssl=shared \
--enable-zip=shared \
--enable-mbstring=shared"
--with-openssl=shared"
EXTENSION_DIR=/usr/lib/php/extensions \
./configure \
$PHP_CONFIG \
@ -50,6 +47,6 @@ build () {
install -m 644 php.ini-* $PKG/etc/php
# order matters !
printf 'extension=%s\n' {zip,bz2,curl,openssl,dba,mbstring}.so \
printf 'extension=%s\n' {bz2,curl,openssl,dba}.so \
> $PKG/etc/php/conf.d/extensions.ini
}