summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2021-06-05 17:02:30 +0200
committerJuergen Daubert <jue@jue.li>2021-06-05 17:02:30 +0200
commite67dc4ac370b9f8cc63c8f7c060d81d0ff478719 (patch)
tree20d0db79f05f9595b17b8eb2ea24e5a32ed7c317 /php
parent75cc271693544a437acb00542ad4a89d5c57bf06 (diff)
downloadopt-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')
-rw-r--r--php/.footprint40
-rw-r--r--php/.signature8
-rw-r--r--php/Pkgfile88
3 files changed, 69 insertions, 67 deletions
diff --git a/php/.footprint b/php/.footprint
index 8b8d3d3eb..7373e869c 100644
--- a/php/.footprint
+++ b/php/.footprint
@@ -24,10 +24,14 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_alloc_sizes.h
-rw-r--r-- root/root usr/include/php/Zend/zend_arena.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ast.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_attributes.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_attributes_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_bitset.h
-rw-r--r-- root/root usr/include/php/Zend/zend_build.h
-rw-r--r-- root/root usr/include/php/Zend/zend_builtin_functions.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_builtin_functions_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_closures.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_closures_arginfo.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.w32.h
@@ -36,11 +40,14 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_dtrace.h
-rw-r--r-- root/root usr/include/php/Zend/zend_errors.h
-rw-r--r-- root/root usr/include/php/Zend/zend_exceptions.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_exceptions_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_execute.h
-rw-r--r-- root/root usr/include/php/Zend/zend_extensions.h
-rw-r--r-- root/root usr/include/php/Zend/zend_float.h
-rw-r--r-- root/root usr/include/php/Zend/zend_gc.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_gdb.h
-rw-r--r-- root/root usr/include/php/Zend/zend_generators.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_generators_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_globals.h
-rw-r--r-- root/root usr/include/php/Zend/zend_globals_macros.h
-rw-r--r-- root/root usr/include/php/Zend/zend_hash.h
@@ -51,6 +58,7 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_ini_scanner.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ini_scanner_defs.h
-rw-r--r-- root/root usr/include/php/Zend/zend_interfaces.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_interfaces_arginfo.h
-rw-r--r-- root/root usr/include/php/Zend/zend_istdiostream.h
-rw-r--r-- root/root usr/include/php/Zend/zend_iterators.h
-rw-r--r-- root/root usr/include/php/Zend/zend_language_parser.h
@@ -66,6 +74,7 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_object_handlers.h
-rw-r--r-- root/root usr/include/php/Zend/zend_objects.h
-rw-r--r-- root/root usr/include/php/Zend/zend_objects_API.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_observer.h
-rw-r--r-- root/root usr/include/php/Zend/zend_operators.h
-rw-r--r-- root/root usr/include/php/Zend/zend_portability.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ptr_stack.h
@@ -81,6 +90,7 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_string.h
-rw-r--r-- root/root usr/include/php/Zend/zend_strtod.h
-rw-r--r-- root/root usr/include/php/Zend/zend_strtod_int.h
+-rw-r--r-- root/root usr/include/php/Zend/zend_system_id.h
-rw-r--r-- root/root usr/include/php/Zend/zend_ts_hash.h
-rw-r--r-- root/root usr/include/php/Zend/zend_type_info.h
-rw-r--r-- root/root usr/include/php/Zend/zend_types.h
@@ -92,9 +102,13 @@ drwxr-xr-x root/root usr/include/php/Zend/
-rw-r--r-- root/root usr/include/php/Zend/zend_vm_handlers.h
-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_lines.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
+-rw-r--r-- root/root usr/include/php/Zend/zend_weakrefs_arginfo.h
drwxr-xr-x root/root usr/include/php/ext/
+drwxr-xr-x root/root usr/include/php/ext/curl/
+-rw-r--r-- root/root usr/include/php/ext/curl/php_curl.h
drwxr-xr-x root/root usr/include/php/ext/date/
drwxr-xr-x root/root usr/include/php/ext/date/lib/
-rw-r--r-- root/root usr/include/php/ext/date/lib/timelib.h
@@ -120,17 +134,8 @@ drwxr-xr-x root/root usr/include/php/ext/hash/
-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_tiger.h
-rw-r--r-- root/root usr/include/php/ext/hash/php_hash_whirlpool.h
drwxr-xr-x root/root usr/include/php/ext/iconv/
--rw-r--r-- root/root usr/include/php/ext/iconv/php_have_bsd_iconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_have_glibc_iconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_have_ibm_iconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_have_iconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_have_libiconv.h
+-rw-r--r-- root/root usr/include/php/ext/iconv/iconv_arginfo.h
-rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv_aliased_libiconv.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv_broken_ignore.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_iconv_supports_errno.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_php_iconv_h_path.h
--rw-r--r-- root/root usr/include/php/ext/iconv/php_php_iconv_impl.h
drwxr-xr-x root/root usr/include/php/ext/json/
-rw-r--r-- root/root usr/include/php/ext/json/php_json.h
-rw-r--r-- root/root usr/include/php/ext/json/php_json_parser.h
@@ -167,16 +172,19 @@ drwxr-xr-x root/root usr/include/php/ext/spl/
drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/base64.h
-rw-r--r-- root/root usr/include/php/ext/standard/basic_functions.h
+-rw-r--r-- root/root usr/include/php/ext/standard/basic_functions_arginfo.h
-rw-r--r-- root/root usr/include/php/ext/standard/crc32.h
+-rw-r--r-- root/root usr/include/php/ext/standard/crc32_x86.h
-rw-r--r-- root/root usr/include/php/ext/standard/credits.h
-rw-r--r-- root/root usr/include/php/ext/standard/credits_ext.h
-rw-r--r-- root/root usr/include/php/ext/standard/credits_sapi.h
-rw-r--r-- root/root usr/include/php/ext/standard/crypt_blowfish.h
-rw-r--r-- root/root usr/include/php/ext/standard/crypt_freesec.h
-rw-r--r-- root/root usr/include/php/ext/standard/css.h
--rw-r--r-- root/root usr/include/php/ext/standard/cyr_convert.h
-rw-r--r-- root/root usr/include/php/ext/standard/datetime.h
+-rw-r--r-- root/root usr/include/php/ext/standard/dir_arginfo.h
-rw-r--r-- root/root usr/include/php/ext/standard/dl.h
+-rw-r--r-- root/root usr/include/php/ext/standard/dl_arginfo.h
-rw-r--r-- root/root usr/include/php/ext/standard/exec.h
-rw-r--r-- root/root usr/include/php/ext/standard/file.h
-rw-r--r-- root/root usr/include/php/ext/standard/flock_compat.h
@@ -187,7 +195,6 @@ drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/html_tables.h
-rw-r--r-- root/root usr/include/php/ext/standard/info.h
-rw-r--r-- root/root usr/include/php/ext/standard/md5.h
--rw-r--r-- root/root usr/include/php/ext/standard/microtime.h
-rw-r--r-- root/root usr/include/php/ext/standard/pack.h
-rw-r--r-- root/root usr/include/php/ext/standard/pageinfo.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_array.h
@@ -200,16 +207,12 @@ drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/php_ext_syslog.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_filestat.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_fopen_wrappers.h
--rw-r--r-- root/root usr/include/php/ext/standard/php_ftok.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_http.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_image.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_incomplete_class.h
--rw-r--r-- root/root usr/include/php/ext/standard/php_iptc.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_lcg.h
--rw-r--r-- root/root usr/include/php/ext/standard/php_link.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_mail.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_math.h
--rw-r--r-- root/root usr/include/php/ext/standard/php_metaphone.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_mt_rand.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_net.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_password.h
@@ -219,7 +222,6 @@ drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/php_smart_string_public.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_standard.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_string.h
--rw-r--r-- root/root usr/include/php/ext/standard/php_type.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_uuencode.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_var.h
-rw-r--r-- root/root usr/include/php/ext/standard/php_versioning.h
@@ -228,13 +230,14 @@ drwxr-xr-x root/root usr/include/php/ext/standard/
-rw-r--r-- root/root usr/include/php/ext/standard/scanf.h
-rw-r--r-- root/root usr/include/php/ext/standard/sha1.h
-rw-r--r-- root/root usr/include/php/ext/standard/streamsfuncs.h
--rw-r--r-- root/root usr/include/php/ext/standard/uniqid.h
-rw-r--r-- root/root usr/include/php/ext/standard/url.h
-rw-r--r-- root/root usr/include/php/ext/standard/url_scanner_ex.h
+-rw-r--r-- root/root usr/include/php/ext/standard/user_filters_arginfo.h
-rw-r--r-- root/root usr/include/php/ext/standard/winver.h
drwxr-xr-x root/root usr/include/php/ext/xml/
-rw-r--r-- root/root usr/include/php/ext/xml/expat_compat.h
-rw-r--r-- root/root usr/include/php/ext/xml/php_xml.h
+-rw-r--r-- root/root usr/include/php/ext/xml/xml_arginfo.h
drwxr-xr-x root/root usr/include/php/include/
drwxr-xr-x root/root usr/include/php/main/
-rw-r--r-- root/root usr/include/php/main/SAPI.h
@@ -285,6 +288,7 @@ drwxr-xr-x root/root usr/lib/php/build/
-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/gen_stub.php
-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/php.m4
diff --git a/php/.signature b/php/.signature
index 1f2e0a2ab..06efe5cd5 100644
--- a/php/.signature
+++ b/php/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/QksM3seZ5vrdVFysdE8fk7oap/Sz8++yUP9NVfMTjL1gfioXiv366A/3vBYurEmLuVJJWbCJSz6VL8y1pfx/gw=
-SHA256 (Pkgfile) = a0bdf068ac72eff266f116934a57d1bd756f1634c13ce16212c692b752f25be0
-SHA256 (.footprint) = e758686f584e052d2ba7c2b3a13d35acdab52873afd260bc64c8032d7ff3812b
-SHA256 (php-7.4.18.tar.xz) = ab97f22b128d21dcbc009b50a37aaea0051b2721cbcd122d9e00e6ffc3c4b7e1
+RWSE3ohX2g5d/Q7nxPv+NaYk3K5VFh7noe1eZs0CY+IOG9fqpr2u4r/SWI2T4946q801WEACmTL3eKr+/a001fzDmiGL2166UAQ=
+SHA256 (Pkgfile) = dacd42c89feae82fe9ce944d9176d6890d7086b05f71aa5b85e0dc5e371ce4f2
+SHA256 (.footprint) = b9886c1be197b61c9899615eacc7ff77b0e1b6be62a6f0892d2e6d73cda5d0b0
+SHA256 (php-8.0.7.tar.xz) = d5fc2e4fc780a32404d88c360e3e0009bc725d936459668e9c2ac992f2d83654
diff --git a/php/Pkgfile b/php/Pkgfile
index 2dbcc5d0a..8d0f0a0a9 100644
--- a/php/Pkgfile
+++ b/php/Pkgfile
@@ -1,52 +1,50 @@
# Description: PHP interpreter, extension modules and support stuff
-# URL: https://www.php.net
-# Maintainer: Juergen Daubert, jue at crux dot nu
-# Depends on: bzip2 libpcre2 libxml2 curl db gdbm
+# URL: https://www.php.net
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: bzip2 libpcre2 libxml2 curl db gdbm
name=php
-version=7.4.18
+version=8.0.7
release=1
source=(https://php.net/distributions/php-$version.tar.xz)
-build () {
- cd php-$version
-
- local PHP_CONFIG="
- --prefix=/usr \
- --mandir=/usr/share/man \
- --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"
-
- local PHP_SHARED="
- --enable-dba=shared --with-gdbm --with-db4 \
- --with-bz2=shared \
- --with-curl=shared \
- --with-openssl=shared"
-
- EXTENSION_DIR=/usr/lib/php/extensions \
- ./configure \
- $PHP_CONFIG \
- $PHP_SHARED \
- --enable-cli \
- --disable-cgi \
- --with-readline
-
- make
- make -j1 INSTALL_ROOT=$PKG install
- rm $PKG/usr/lib/php/extensions/*.a
- ln -sf phar.phar $PKG/usr/bin/phar
-
- sed -i '/^extension_dir/s|=.*$|= "/usr/lib/php/extensions"|' php.ini-*
- install -d $PKG/etc/php/conf.d
- install -m 644 php.ini-* $PKG/etc/php
-
- # order matters !
- printf 'extension=%s\n' {bz2,curl,openssl,dba}.so \
- > $PKG/etc/php/conf.d/extensions.ini
+build() {
+ cd php-$version
+
+ local PHP_CONFIG="
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --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"
+
+ local PHP_SHARED="
+ --enable-dba=shared --with-gdbm --with-db4 \
+ --with-bz2=shared \
+ --with-curl=shared \
+ --with-openssl=shared"
+
+ EXTENSION_DIR=/usr/lib/php/extensions \
+ ./configure \
+ $PHP_CONFIG \
+ $PHP_SHARED \
+ --enable-cli \
+ --disable-cgi \
+ --with-readline
+
+ make
+ make -j1 INSTALL_ROOT=$PKG install
+ ln -sf phar.phar $PKG/usr/bin/phar
+
+ sed -i '/^extension_dir/s|=.*$|= "/usr/lib/php/extensions"|' php.ini-*
+ install -d $PKG/etc/php/conf.d
+ install -m 644 php.ini-* $PKG/etc/php
+
+ printf 'extension=%s\n' {bz2,curl,openssl,dba}.so \
+ > $PKG/etc/php/conf.d/extensions.ini
}

Generated by cgit