diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-03 23:20:29 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-04 18:17:34 +0000 |
| commit | 63b6120db0b8290c6b7d0b91d16c94bfe617ebfe (patch) | |
| tree | 42a3677813ab22779d41b57c2940bf062cba08a4 | |
| parent | fcf89426ed566513f17ca8a8d04b99b19a64c364 (diff) | |
*/*php86*: Sunrise
Please DO NOT use this version in production, it is an early test version.
For upgrade notes please visit:
https://github.com/php/php-src/blob/php-8.6.0alpha1/UPGRADING
Changelog: https://github.com/php/php-src/blob/php-8.6.0alpha1/NEWS
232 files changed, 2564 insertions, 29 deletions
diff --git a/Mk/Uses/nextcloud.mk b/Mk/Uses/nextcloud.mk index 436345c98539..aac1747681ef 100644 --- a/Mk/Uses/nextcloud.mk +++ b/Mk/Uses/nextcloud.mk @@ -30,7 +30,7 @@ LICENSE?= AGPLv3 RUN_DEPENDS= nextcloud${PHP_PKGNAMESUFFIX}>=${NEXTCLOUD_RUN_DEPENDS}:www/nextcloud@${PHP_FLAVOR} USES+= php:flavors -IGNORE_WITH_PHP= 82 +IGNORE_WITH_PHP= 82 86 NO_BUILD= yes NO_ARCH= yes diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 9c6ffe6ea701..0c13662946fb 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -110,7 +110,7 @@ DIST_SUBDIR= PECL PHPBASE?= ${LOCALBASE} -_ALL_PHP_VERSIONS= 82 83 84 85 +_ALL_PHP_VERSIONS= 82 83 84 85 86 # Make the already installed PHP the default one. . if exists(${PHPBASE}/etc/php.conf) @@ -179,7 +179,10 @@ PHP_VER= ${FLAVOR:S/^php//} (${FLAVOR:Mphp[0-9][0-9]} && ${FLAVOR} != ${FLAVORS:[1]}) # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -. if ${PHP_VER} == 85 +. if ${PHP_VER} == 86 +PHP_EXT_DIR= 20250926 +PHP_EXT_INC= hash json opcache openssl pcre random spl +. elif ${PHP_VER} == 85 PHP_EXT_DIR= 20250925 PHP_EXT_INC= hash json opcache openssl pcre random spl . elif ${PHP_VER} == 84 @@ -372,21 +375,22 @@ add-plist-phpext: # Extensions . if defined(USE_PHP) && ${USE_PHP:tl} != "yes" # non-version specific components -_USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \ +_USE_PHP_ALL= bcmath bz2 calendar ctype curl dba dom \ enchant exif ffi fileinfo filter ftp gd gettext gmp \ hash iconv igbinary imap intl json ldap mbstring mcrypt \ memcache memcached mysqli odbc \ openssl pcntl pcre pdo pdo_dblib pdo_firebird pdo_mysql \ pdo_odbc pdo_pgsql pdo_sqlite phar pgsql posix \ - pspell radius random readline redis session shmop simplexml snmp \ + pspell radius random readline session shmop simplexml snmp \ soap sockets sodium spl sqlite3 sysvmsg sysvsem sysvshm \ tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \ zip zlib # version specific components -_USE_PHP_VER82= ${_USE_PHP_ALL} opcache -_USE_PHP_VER83= ${_USE_PHP_ALL} opcache -_USE_PHP_VER84= ${_USE_PHP_ALL} opcache -_USE_PHP_VER85= ${_USE_PHP_ALL} +_USE_PHP_VER82= ${_USE_PHP_ALL} bitset imagick opcache redis +_USE_PHP_VER83= ${_USE_PHP_ALL} bitset imagick opcache redis +_USE_PHP_VER84= ${_USE_PHP_ALL} bitset imagick opcache redis +_USE_PHP_VER85= ${_USE_PHP_ALL} bitset imagick redis +_USE_PHP_VER86= ${_USE_PHP_ALL} bcmath_DEPENDS= math/php${PHP_VER}-bcmath bitset_DEPENDS= math/pecl-bitset@${PHP_FLAVOR} @@ -407,6 +411,7 @@ gettext_DEPENDS=devel/php${PHP_VER}-gettext gmp_DEPENDS= math/php${PHP_VER}-gmp iconv_DEPENDS= converters/php${PHP_VER}-iconv igbinary_DEPENDS= converters/pecl-igbinary@${PHP_FLAVOR} +imagick_DEPENDS= graphics/pecl-imagick@${PHP_FLAVOR} . if ${PHP_VER} <= 83 imap_DEPENDS= mail/php${PHP_VER}-imap . else diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 39edc5ec1929..146663b0d696 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -142,7 +142,7 @@ PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} . endif # Possible values: 13, 14, 15, 16, 17, 18 PGSQL_DEFAULT?= 18 -# Possible values: 8.2, 8.3, 8.4, 8.5 +# Possible values: 8.2, 8.3, 8.4, 8.5, 8.6 PHP_DEFAULT?= 8.4 # Possible values: rust, legacy . if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64) diff --git a/archivers/Makefile b/archivers/Makefile index 05d6ea0918bc..90eee16989af 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -180,6 +180,10 @@ SUBDIR += php85-phar SUBDIR += php85-zip SUBDIR += php85-zlib + SUBDIR += php86-bz2 + SUBDIR += php86-phar + SUBDIR += php86-zip + SUBDIR += php86-zlib SUBDIR += pigz SUBDIR += pixz SUBDIR += plakar diff --git a/archivers/pecl-lzf/Makefile b/archivers/pecl-lzf/Makefile index 5f7e3ba436df..b25dd2fbcc00 100644 --- a/archivers/pecl-lzf/Makefile +++ b/archivers/pecl-lzf/Makefile @@ -12,6 +12,7 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --enable-lzf diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile index 0a4adcaf0e27..96d7542ac23c 100644 --- a/archivers/pecl-rar/Makefile +++ b/archivers/pecl-rar/Makefile @@ -18,6 +18,7 @@ WWW= https://pecl.php.net/package/rar LICENSE= PHP301 USES= compiler:c11 php:build,pecl +IGNORE_WITH_PHP= 86 CFLAGS+= -Wno-error=incompatible-function-pointer-types diff --git a/archivers/pecl-zstd/Makefile b/archivers/pecl-zstd/Makefile index 62bf4db6baff..ef319b4247cb 100644 --- a/archivers/pecl-zstd/Makefile +++ b/archivers/pecl-zstd/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzstd.so:archivers/zstd USES= php:pecl pkgconfig +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-libzstd diff --git a/archivers/php-brotli/Makefile b/archivers/php-brotli/Makefile index 489eac6b0351..7fa6d19b57d2 100644 --- a/archivers/php-brotli/Makefile +++ b/archivers/php-brotli/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libbrotlienc.so:archivers/brotli USES= php:ext pkgconfig +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= kjdev diff --git a/archivers/php-lz4/Makefile b/archivers/php-lz4/Makefile index 37e133c8a8cb..d01018794410 100644 --- a/archivers/php-lz4/Makefile +++ b/archivers/php-lz4/Makefile @@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= liblz4.so:archivers/liblz4 USES= php:ext +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= kjdev diff --git a/archivers/php-zstd/Makefile b/archivers/php-zstd/Makefile index 017b59e8ecfc..8fe965477c1a 100644 --- a/archivers/php-zstd/Makefile +++ b/archivers/php-zstd/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzstd.so:archivers/zstd USES= php:ext pkgconfig +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= kjdev diff --git a/archivers/php86-bz2/Makefile b/archivers/php86-bz2/Makefile new file mode 100644 index 000000000000..4d428be63999 --- /dev/null +++ b/archivers/php86-bz2/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -bz2 + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php86-phar/Makefile b/archivers/php86-phar/Makefile new file mode 100644 index 000000000000..9d5750b8a501 --- /dev/null +++ b/archivers/php86-phar/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -phar + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php86-phar/files/patch-config.m4 b/archivers/php86-phar/files/patch-config.m4 new file mode 100644 index 000000000000..13ba9cf818b4 --- /dev/null +++ b/archivers/php86-phar/files/patch-config.m4 @@ -0,0 +1,11 @@ +--- config.m4.orig 2025-07-01 21:58:05 UTC ++++ config.m4 +@@ -32,8 +32,4 @@ if test "$PHP_PHAR" != "no"; then + PHP_ADD_EXTENSION_DEP(phar, spl) + PHP_ADD_MAKEFILE_FRAGMENT + +- AC_CONFIG_FILES([ +- $ext_dir/phar.1 +- $ext_dir/phar.phar.1 +- ]) + fi diff --git a/archivers/php86-phar/files/patch-phar__internal.h b/archivers/php86-phar/files/patch-phar__internal.h new file mode 100644 index 000000000000..8e78b1e703f8 --- /dev/null +++ b/archivers/php86-phar/files/patch-phar__internal.h @@ -0,0 +1,18 @@ +--- phar_internal.h.orig 2025-08-19 05:47:26 UTC ++++ phar_internal.h +@@ -17,6 +17,9 @@ + +----------------------------------------------------------------------+ + */ + ++#ifndef PHAR_PHAR_INTERNAL_H ++#define PHAR_PHAR_INTERNAL_H ++ + #ifdef HAVE_CONFIG_H + #include <config.h> + #endif +@@ -487,3 +490,5 @@ END_EXTERN_C() + phar_path_check_result phar_path_check(char **p, size_t *len, const char **error); + + END_EXTERN_C() ++ ++#endif /* PHAR_PHAR_INTERNAL_H */ diff --git a/archivers/php86-phar/files/patch-pharzip.h b/archivers/php86-phar/files/patch-pharzip.h new file mode 100644 index 000000000000..5e0e89f2a844 --- /dev/null +++ b/archivers/php86-phar/files/patch-pharzip.h @@ -0,0 +1,19 @@ +--- pharzip.h.orig 2025-08-19 05:41:37 UTC ++++ pharzip.h +@@ -17,6 +17,10 @@ + +----------------------------------------------------------------------+ + */ + ++/* Add missing include guard to avoid multiple inclusion */ ++#ifndef PHAR_PHARZIP_H ++#define PHAR_PHARZIP_H ++ + typedef struct _phar_zip_file_header { + char signature[4]; /* local file header signature 4 bytes (0x04034b50) */ + char zipversion[2]; /* version needed to extract 2 bytes */ +@@ -238,3 +242,5 @@ typedef struct _phar_zip_dir_end { + char comment_len[2]; /* .ZIP file comment length 2 bytes */ + /* .ZIP file comment (variable size) */ + } phar_zip_dir_end; ++ ++#endif /* PHAR_PHARZIP_H */ diff --git a/archivers/php86-zip/Makefile b/archivers/php86-zip/Makefile new file mode 100644 index 000000000000..6c8680b591b6 --- /dev/null +++ b/archivers/php86-zip/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -zip + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php86-zlib/Makefile b/archivers/php86-zlib/Makefile new file mode 100644 index 000000000000..5c4c52a42954 --- /dev/null +++ b/archivers/php86-zlib/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= archivers + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -zlib + +.include "${MASTERDIR}/Makefile" diff --git a/archivers/php86-zlib/files/patch-zlib.c b/archivers/php86-zlib/files/patch-zlib.c new file mode 100644 index 000000000000..fb0e9e44311a --- /dev/null +++ b/archivers/php86-zlib/files/patch-zlib.c @@ -0,0 +1,10 @@ +--- zlib.c.orig 2023-06-06 15:54:29 UTC ++++ zlib.c +@@ -1380,6 +1380,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib) + /* {{{ PHP_RINIT_FUNCTION */ + static PHP_RINIT_FUNCTION(zlib) + { ++ ZLIBG(output_compression) = 0; + ZLIBG(compression_coding) = 0; + if (!ZLIBG(handler_registered)) { + ZLIBG(output_compression) = ZLIBG(output_compression_default); diff --git a/converters/Makefile b/converters/Makefile index 67f72414690a..7c92c2e35959 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -147,6 +147,8 @@ SUBDIR += php84-mbstring SUBDIR += php85-iconv SUBDIR += php85-mbstring + SUBDIR += php86-iconv + SUBDIR += php86-mbstring SUBDIR += psiconv SUBDIR += py-bencode.py SUBDIR += py-bencoder diff --git a/converters/php-bsdconv/Makefile b/converters/php-bsdconv/Makefile index 61c13c1f4558..fb2e81227a56 100644 --- a/converters/php-bsdconv/Makefile +++ b/converters/php-bsdconv/Makefile @@ -16,6 +16,7 @@ GH_ACCOUNT= buganini GH_PROJECT= php-${PORTNAME} USES= php:ext +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-bsdconv=${LOCALBASE} .include <bsd.port.mk> diff --git a/converters/php86-iconv/Makefile b/converters/php86-iconv/Makefile new file mode 100644 index 000000000000..0c57261af00f --- /dev/null +++ b/converters/php86-iconv/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= converters + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -iconv + +.include "${MASTERDIR}/Makefile" diff --git a/converters/php86-mbstring/Makefile b/converters/php86-mbstring/Makefile new file mode 100644 index 000000000000..76db950bd332 --- /dev/null +++ b/converters/php86-mbstring/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= converters + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -mbstring + +.include "${MASTERDIR}/Makefile" diff --git a/databases/Makefile b/databases/Makefile index ef726a69c7ff..c4372454de55 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -645,6 +645,18 @@ SUBDIR += php85-pdo_sqlite SUBDIR += php85-pgsql SUBDIR += php85-sqlite3 + SUBDIR += php86-dba + SUBDIR += php86-mysqli + SUBDIR += php86-odbc + SUBDIR += php86-pdo + SUBDIR += php86-pdo_dblib + SUBDIR += php86-pdo_firebird + SUBDIR += php86-pdo_mysql + SUBDIR += php86-pdo_odbc + SUBDIR += php86-pdo_pgsql + SUBDIR += php86-pdo_sqlite + SUBDIR += php86-pgsql + SUBDIR += php86-sqlite3 SUBDIR += phpliteadmin SUBDIR += phpminiadmin SUBDIR += phpmyadmin diff --git a/databases/dalmp/Makefile b/databases/dalmp/Makefile index b73a5e3237d1..52095f912270 100644 --- a/databases/dalmp/Makefile +++ b/databases/dalmp/Makefile @@ -14,6 +14,7 @@ GH_ACCOUNT= nbari GH_PROJECT= ${PORTNAME:tu} USES= php +IGNORE_WITH_PHP= 86 NO_BUILD= yes NO_ARCH= yes diff --git a/databases/pear-Horde_Memcache/Makefile b/databases/pear-Horde_Memcache/Makefile index 44b886b9a6ad..626d0656f58d 100644 --- a/databases/pear-Horde_Memcache/Makefile +++ b/databases/pear-Horde_Memcache/Makefile @@ -8,6 +8,7 @@ WWW= https://pear.horde.org USES= horde php USE_PHP= memcache +IGNORE_WITH_PHP= 86 USE_HORDE_RUN= Horde_Exception .include <bsd.port.mk> diff --git a/databases/pecl-couchbase/Makefile b/databases/pecl-couchbase/Makefile index 2ffe6a665cbc..ff093e91c663 100644 --- a/databases/pecl-couchbase/Makefile +++ b/databases/pecl-couchbase/Makefile @@ -13,6 +13,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:indirect compiler:c++17-lang php:build,pecl +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= COUCHBASE_CMAKE_EXTRA="-DCOUCHBASE_CXX_CLIENT_EMBED_MOZILLA_CA_BUNDLE=OFF" NO_SHLIB_REQUIRES_GLOB= libcouchbase_php_wrapper.so diff --git a/databases/pecl-leveldb/Makefile b/databases/pecl-leveldb/Makefile index df7488161922..9916e5a5bf78 100644 --- a/databases/pecl-leveldb/Makefile +++ b/databases/pecl-leveldb/Makefile @@ -12,5 +12,6 @@ LICENSE= PHP301 LIB_DEPENDS= libleveldb.so:databases/leveldb USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/databases/pecl-memcache/Makefile b/databases/pecl-memcache/Makefile index 4e9a9a40171c..0f7bdad8e9c8 100644 --- a/databases/pecl-memcache/Makefile +++ b/databases/pecl-memcache/Makefile @@ -12,6 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= dos2unix php:pecl USE_PHP= session:build zlib:build +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-zlib-dir=/usr USE_CSTD= gnu89 diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile index ae814f7c91e5..1b5fd999986e 100644 --- a/databases/pecl-memcached/Makefile +++ b/databases/pecl-memcached/Makefile @@ -15,6 +15,7 @@ LIB_DEPENDS= libmemcached.so:databases/libmemcached USES= cpe php:build,pecl pkgconfig USE_PHP= session:build +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --enable-memcached-json \ --enable-memcached-protocol \ diff --git a/databases/pecl-mongodb/Makefile b/databases/pecl-mongodb/Makefile index b48c277834ad..a0d415ab7423 100644 --- a/databases/pecl-mongodb/Makefile +++ b/databases/pecl-mongodb/Makefile @@ -9,5 +9,6 @@ WWW= https://docs.mongodb.org/ecosystem/drivers/php/ LICENSE= APACHE20 USES= gmake localbase php:build,pecl ssl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile index 2bba2b8a1a2b..a0b7dcea9f26 100644 --- a/databases/pecl-redis/Makefile +++ b/databases/pecl-redis/Makefile @@ -11,6 +11,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:build,pecl USE_PHP= session:build +IGNORE_WITH_PHP= 86 OPTIONS_DEFINE= IGBINARY LZ4 ZSTD OPTIONS_DEFAULT= LZ4 ZSTD diff --git a/databases/pecl-rrd/Makefile b/databases/pecl-rrd/Makefile index e813d1476e59..e49d09ef9000 100644 --- a/databases/pecl-rrd/Makefile +++ b/databases/pecl-rrd/Makefile @@ -11,6 +11,7 @@ LICENSE= PHP301 LIB_DEPENDS= librrd.so:databases/rrdtool USES= php:pecl localbase pkgconfig +IGNORE_WITH_PHP= 86 .include <bsd.port.pre.mk> diff --git a/databases/php-tarantool/Makefile b/databases/php-tarantool/Makefile index 32c968b9f9c2..4c42759d2e6b 100644 --- a/databases/php-tarantool/Makefile +++ b/databases/php-tarantool/Makefile @@ -11,6 +11,7 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:ext +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-tarantool diff --git a/databases/php-xapian/Makefile b/databases/php-xapian/Makefile index 5169352542d4..dc854d037c96 100644 --- a/databases/php-xapian/Makefile +++ b/databases/php-xapian/Makefile @@ -17,6 +17,7 @@ BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core LIB_DEPENDS= libxapian.so:databases/xapian-core USES= compiler:c++17-lang libtool php:build,flavors tar:xz +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --docdir=${DOCSDIR} \ diff --git a/databases/php86-dba/Makefile b/databases/php86-dba/Makefile new file mode 100644 index 000000000000..e362a2eaa31a --- /dev/null +++ b/databases/php86-dba/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -dba + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-dba/files/patch-config.m4 b/databases/php86-dba/files/patch-config.m4 new file mode 100644 index 000000000000..7449b1a88029 --- /dev/null +++ b/databases/php86-dba/files/patch-config.m4 @@ -0,0 +1,25 @@ +--- config.m4.orig 2024-09-10 16:10:06 UTC ++++ config.m4 +@@ -433,6 +433,14 @@ if test "$PHP_DB4" != "no"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.3/db.h + break ++ elif test -f "$i/include/db5/db.h"; then ++ THIS_PREFIX=$i ++ THIS_INCLUDE=$i/include/db5/db.h ++ break ++ elif test -f "$i/include/db18/db.h"; then ++ THIS_PREFIX=$i ++ THIS_INCLUDE=$i/include/db18/db.h ++ break + elif test -f "$i/include/db5.1/db.h"; then + THIS_PREFIX=$i + THIS_INCLUDE=$i/include/db5.1/db.h +@@ -480,6 +488,7 @@ if test "$PHP_DB4" != "no"; then + db-5.3 + db-5.1 + db-5.0 ++ db-5 + db-4.8 + db-4.7 + db-4.6 diff --git a/databases/php86-mysqli/Makefile b/databases/php86-mysqli/Makefile new file mode 100644 index 000000000000..09fa9e16849f --- /dev/null +++ b/databases/php86-mysqli/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -mysqli + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-odbc/Makefile b/databases/php86-odbc/Makefile new file mode 100644 index 000000000000..5b2edda988fe --- /dev/null +++ b/databases/php86-odbc/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -odbc + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-odbc/files/patch-config.m4 b/databases/php86-odbc/files/patch-config.m4 new file mode 100644 index 000000000000..82855f945656 --- /dev/null +++ b/databases/php86-odbc/files/patch-config.m4 @@ -0,0 +1,29 @@ +--- config.m4.orig 2025-09-09 11:09:59 UTC ++++ config.m4 +@@ -15,7 +15,7 @@ PHP_ARG_WITH([ibm-db2], + PHP_ARG_WITH([ibm-db2], + [for IBM DB2 support], + [AS_HELP_STRING([[--with-ibm-db2[=DIR]]], +- [Include IBM DB2 support [/home/db2inst1/sqllib]])]) ++ [Include IBM DB2 support [/home/db2inst1/sqllib]])], [no], [no]) + + AS_VAR_IF([PHP_IBM_DB2], [no], [], [ + AS_VAR_IF([PHP_IBM_DB2], [yes], [ +@@ -57,7 +57,7 @@ PHP_ARG_WITH([custom-odbc], + your include dirs. For example, you should define following for Sybase SQL + Anywhere 5.5.00 on QNX, prior to running this configure script: + CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" LDFLAGS=-lunix +- CUSTOM_ODBC_LIBS="-ldblib -lodbc"])]) ++ CUSTOM_ODBC_LIBS="-ldblib -lodbc"])], [no], [no]) + + AS_VAR_IF([PHP_CUSTOM_ODBC], [no], [], [ + AS_VAR_IF([PHP_CUSTOM_ODBC], [yes], [PHP_CUSTOM_ODBC=/usr/local]) +@@ -76,7 +76,7 @@ PHP_ARG_WITH([iodbc], + PHP_ARG_WITH([iodbc], + [whether to build with iODBC support], + [AS_HELP_STRING([--with-iodbc], +- [Include iODBC support])]) ++ [Include iODBC support])], [no], [no]) + + AS_VAR_IF([PHP_IODBC], [no], [], [ + PKG_CHECK_MODULES([ODBC], [libiodbc]) diff --git a/databases/php86-pdo/Makefile b/databases/php86-pdo/Makefile new file mode 100644 index 000000000000..b313df4329f8 --- /dev/null +++ b/databases/php86-pdo/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_dblib/Makefile b/databases/php86-pdo_dblib/Makefile new file mode 100644 index 000000000000..6b7510a52d63 --- /dev/null +++ b/databases/php86-pdo_dblib/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_dblib + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_firebird/Makefile b/databases/php86-pdo_firebird/Makefile new file mode 100644 index 000000000000..b478a344a088 --- /dev/null +++ b/databases/php86-pdo_firebird/Makefile @@ -0,0 +1,9 @@ +CATEGORIES= databases + +PORTREVISION= 0 + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_firebird + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_mysql/Makefile b/databases/php86-pdo_mysql/Makefile new file mode 100644 index 000000000000..1ec4d7d97c35 --- /dev/null +++ b/databases/php86-pdo_mysql/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_mysql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_odbc/Makefile b/databases/php86-pdo_odbc/Makefile new file mode 100644 index 000000000000..6d06a94b9f8c --- /dev/null +++ b/databases/php86-pdo_odbc/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_odbc + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_pgsql/Makefile b/databases/php86-pdo_pgsql/Makefile new file mode 100644 index 000000000000..cd5a1ecbabc6 --- /dev/null +++ b/databases/php86-pdo_pgsql/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_pgsql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pdo_sqlite/Makefile b/databases/php86-pdo_sqlite/Makefile new file mode 100644 index 000000000000..a3df6c1f5ff5 --- /dev/null +++ b/databases/php86-pdo_sqlite/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pdo_sqlite + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-pgsql/Makefile b/databases/php86-pgsql/Makefile new file mode 100644 index 000000000000..20e4530c7d80 --- /dev/null +++ b/databases/php86-pgsql/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pgsql + +.include "${MASTERDIR}/Makefile" diff --git a/databases/php86-sqlite3/Makefile b/databases/php86-sqlite3/Makefile new file mode 100644 index 000000000000..15b5ec191ba8 --- /dev/null +++ b/databases/php86-sqlite3/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= databases + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sqlite3 + +.include "${MASTERDIR}/Makefile" diff --git a/databases/xapian-bindings/Makefile b/databases/xapian-bindings/Makefile index c4baafcc0092..f46b59d953da 100644 --- a/databases/xapian-bindings/Makefile +++ b/databases/xapian-bindings/Makefile @@ -20,6 +20,7 @@ LUA_USES= lua:run PERL_RUN_DEPENDS= p5-Xapian>=${PORTVERSION}:databases/p5-Xapian PHP_RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/php-xapian@${PHP_FLAVOR} PHP_USES= php +PHP_VARS= IGNORE_WITH_PHP=86 PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/py-xapian@${PY_FLAVOR} PYTHON_USES= python:run RUBY_RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}xapian>=${PORTVERSION}:databases/ruby-xapian diff --git a/devel/Makefile b/devel/Makefile index 8089198e6006..001c1692179f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4355,6 +4355,16 @@ SUBDIR += php85-sysvsem SUBDIR += php85-sysvshm SUBDIR += php85-tokenizer + SUBDIR += php86-ffi + SUBDIR += php86-gettext + SUBDIR += php86-intl + SUBDIR += php86-pcntl + SUBDIR += php86-readline + SUBDIR += php86-shmop + SUBDIR += php86-sysvmsg + SUBDIR += php86-sysvsem + SUBDIR += php86-sysvshm + SUBDIR += php86-tokenizer SUBDIR += phpunit10 SUBDIR += phpunit11 SUBDIR += phpunit12 diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile index c9060a121758..b4f803d0920f 100644 --- a/devel/arcanist-lib/Makefile +++ b/devel/arcanist-lib/Makefile @@ -11,7 +11,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:cli,flavors python:env shebangfix -IGNORE_WITH_PHP= 85 +IGNORE_WITH_PHP= 85 86 USE_GITHUB= yes GH_ACCOUNT= phacility GH_TAGNAME= e50d1bc diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile index 98d1e30507f9..cc402ecef0bf 100644 --- a/devel/ioncube/Makefile +++ b/devel/ioncube/Makefile @@ -24,6 +24,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept IGNORE_DragonFly= is unsupported on DragonFly ONLY_FOR_ARCHS= amd64 i386 USES= php:flavors +IGNORE_WITH_PHP= 86 NO_BUILD= yes SUB_FILES= pkg-message diff --git a/devel/pecl-APCu/Makefile b/devel/pecl-APCu/Makefile index e5366597f4b1..0cba7fe47aaf 100644 --- a/devel/pecl-APCu/Makefile +++ b/devel/pecl-APCu/Makefile @@ -12,6 +12,7 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase php:pecl +IGNORE_WITH_PHP= 86 PHP_MODNAME= apcu diff --git a/devel/pecl-ast/Makefile b/devel/pecl-ast/Makefile index 2d25e181d0b5..84e6727dbd9c 100644 --- a/devel/pecl-ast/Makefile +++ b/devel/pecl-ast/Makefile @@ -11,5 +11,6 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-ds/Makefile b/devel/pecl-ds/Makefile index c64e65148e71..81f64886f37d 100644 --- a/devel/pecl-ds/Makefile +++ b/devel/pecl-ds/Makefile @@ -11,5 +11,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase php:build,pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-ev/Makefile b/devel/pecl-ev/Makefile index bf9793915899..96fc37da34a5 100644 --- a/devel/pecl-ev/Makefile +++ b/devel/pecl-ev/Makefile @@ -10,5 +10,6 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-event/Makefile b/devel/pecl-event/Makefile index 6bc639665ef3..94dde0c25348 100644 --- a/devel/pecl-event/Makefile +++ b/devel/pecl-event/Makefile @@ -15,5 +15,6 @@ USES= php:pecl ssl CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-lssl -lcrypto" USE_PHP= sockets:build +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-excimer/Makefile b/devel/pecl-excimer/Makefile index abf31a7686e0..156e1efff98c 100644 --- a/devel/pecl-excimer/Makefile +++ b/devel/pecl-excimer/Makefile @@ -10,5 +10,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-expect/Makefile b/devel/pecl-expect/Makefile index a2c86e323c9b..a9836f322f59 100644 --- a/devel/pecl-expect/Makefile +++ b/devel/pecl-expect/Makefile @@ -13,6 +13,7 @@ LICENSE= PHP301 LIB_DEPENDS= libexpect.so:lang/expect USES= php:pecl tcl +IGNORE_WITH_PHP= 86 CFLAGS+= -I${TCL_INCLUDEDIR} CONFIGURE_ARGS= --with-expect=${LOCALBASE} diff --git a/devel/pecl-grpc/Makefile b/devel/pecl-grpc/Makefile index 59ebc30515f1..f703267048b5 100644 --- a/devel/pecl-grpc/Makefile +++ b/devel/pecl-grpc/Makefile @@ -10,5 +10,6 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lang php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-json_post/Makefile b/devel/pecl-json_post/Makefile index b38d7a27c1f0..df9bc0f073b6 100644 --- a/devel/pecl-json_post/Makefile +++ b/devel/pecl-json_post/Makefile @@ -10,5 +10,6 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:build,pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-msgpack/Makefile b/devel/pecl-msgpack/Makefile index 7f3a4e342875..88e593818fc0 100644 --- a/devel/pecl-msgpack/Makefile +++ b/devel/pecl-msgpack/Makefile @@ -9,6 +9,7 @@ WWW= https://pecl.php.net/package/msgpack LICENSE= BSD3CLAUSE USES= php:pecl +IGNORE_WITH_PHP= 86 OPTIONS_DEFINE= OPCACHE OPTIONS_DEFAULT= OPCACHE diff --git a/devel/pecl-mustache/Makefile b/devel/pecl-mustache/Makefile index e194cdba60d9..9f3d2b3af2b4 100644 --- a/devel/pecl-mustache/Makefile +++ b/devel/pecl-mustache/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libmustache.so:devel/libmustache USES= compiler:c++11-lang php:pecl +IGNORE_WITH_PHP= 86 USE_CXXSTD= c++11 diff --git a/devel/pecl-opentelemetry/Makefile b/devel/pecl-opentelemetry/Makefile index 87cfc5ef8fc7..6b84bbbca76d 100644 --- a/devel/pecl-opentelemetry/Makefile +++ b/devel/pecl-opentelemetry/Makefile @@ -9,5 +9,6 @@ WWW= https://pecl.php.net/package/opentelemetry LICENSE= APACHE20 USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-pcov/Makefile b/devel/pecl-pcov/Makefile index e0618aa6e2d1..74616bad2b7c 100644 --- a/devel/pecl-pcov/Makefile +++ b/devel/pecl-pcov/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= php:phpize,pecl pkgconfig +IGNORE_WITH_PHP= 86 CFLAGS+= -I${PREFIX}/include CONFIGURE_ARGS= --enable-pcov diff --git a/devel/pecl-raphf2/Makefile b/devel/pecl-raphf2/Makefile index cdccc9139f5c..e7fb32255d69 100644 --- a/devel/pecl-raphf2/Makefile +++ b/devel/pecl-raphf2/Makefile @@ -10,6 +10,7 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake php:pecl +IGNORE_WITH_PHP= 86 PORTSCOUT= limit:^2.* diff --git a/devel/pecl-runkit7/Makefile b/devel/pecl-runkit7/Makefile index 92e3ffed99db..8a6ec240476b 100644 --- a/devel/pecl-runkit7/Makefile +++ b/devel/pecl-runkit7/Makefile @@ -9,6 +9,6 @@ WWW= https://github.com/runkit7/runkit7 LICENSE= PHP301 USES= compiler:c11 php:pecl -IGNORE_WITH_PHP= 83 84 85 +IGNORE_WITH_PHP= 83 84 85 86 .include <bsd.port.mk> diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile index 550f7ab70f22..a19ef483abdb 100644 --- a/devel/pecl-swoole/Makefile +++ b/devel/pecl-swoole/Makefile @@ -14,6 +14,7 @@ NOT_FOR_ARCHS= i386 powerpc NOT_FOR_ARCHS_REASON= upstream drop 32 bits support USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS+= --enable-mysqlnd \ --enable-openssl diff --git a/devel/pecl-sync/Makefile b/devel/pecl-sync/Makefile index b1b7efd9dc8f..b4f185dc0634 100644 --- a/devel/pecl-sync/Makefile +++ b/devel/pecl-sync/Makefile @@ -10,6 +10,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.pre.mk> diff --git a/devel/pecl-uploadprogress/Makefile b/devel/pecl-uploadprogress/Makefile index 65d42dfa80ab..25be25e981ad 100644 --- a/devel/pecl-uploadprogress/Makefile +++ b/devel/pecl-uploadprogress/Makefile @@ -10,5 +10,6 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-uv/Makefile b/devel/pecl-uv/Makefile index 036e4a03e2ec..8f9cd471ea85 100644 --- a/devel/pecl-uv/Makefile +++ b/devel/pecl-uv/Makefile @@ -12,5 +12,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libuv.so:devel/libuv USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/devel/pecl-xdebug/Makefile b/devel/pecl-xdebug/Makefile index b6d30518f8c6..6530eece0c78 100644 --- a/devel/pecl-xdebug/Makefile +++ b/devel/pecl-xdebug/Makefile @@ -10,6 +10,7 @@ LICENSE= PHP30 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl,zend tar:tgz +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --enable-xdebug diff --git a/devel/pecl-yac/Makefile b/devel/pecl-yac/Makefile index a3a924994c0f..74e189b8eec0 100644 --- a/devel/pecl-yac/Makefile +++ b/devel/pecl-yac/Makefile @@ -10,6 +10,7 @@ WWW= https://github.com/laruence/yac/wiki LICENSE= PHP301 USES= php:pecl +IGNORE_WITH_PHP= 86 OPTIONS_DEFINE= MSGPACK MSGPACK_DESC= Enable MSGPACK module diff --git a/devel/pecl-zookeeper/Makefile b/devel/pecl-zookeeper/Makefile index c3bef68a87ec..b461ddb3390d 100644 --- a/devel/pecl-zookeeper/Makefile +++ b/devel/pecl-zookeeper/Makefile @@ -15,6 +15,7 @@ LIB_DEPENDS= libzookeeper_mt.so:devel/libzookeeper USES= php:pecl USE_PHP= session:build +IGNORE_WITH_PHP= 86 PORTDATA= zookeeper-api.php diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile index b2b3b8a4b976..a1d50f696c17 100644 --- a/devel/phabricator/Makefile +++ b/devel/phabricator/Makefile @@ -14,7 +14,7 @@ RUN_DEPENDS= arcanist-lib${PHP_PKGNAMESUFFIX}>=20210113_4:devel/arcanist-lib@${P git:devel/git USES= cpe dos2unix php:cli,flavors shebangfix -IGNORE_WITH_PHP= 85 +IGNORE_WITH_PHP= 85 86 CPE_VENDOR= phacility DOS2UNIX_FILES= externals/phpmailer/class.smtp.php externals/phpqrcode/phpqrcode.php USE_GITHUB= yes diff --git a/devel/phorgeit-arcanist-lib/Makefile b/devel/phorgeit-arcanist-lib/Makefile index 8bf02f545b28..3594235ed76c 100644 --- a/devel/phorgeit-arcanist-lib/Makefile +++ b/devel/phorgeit-arcanist-lib/Makefile @@ -16,7 +16,7 @@ USES= php:cli,flavors python:env shebangfix USE_GITHUB= yes GH_ACCOUNT= phorgeit USE_PHP= curl dom simplexml zlib -IGNORE_WITH_PHP= 85 +IGNORE_WITH_PHP= 85 86 PHP_DESTDIR= lib/php/arcanist SHEBANG_FILES= bin/arc bin/phage scripts/*.php scripts/hgdaemon/*.php \ diff --git a/devel/phorgeit-phorge/Makefile b/devel/phorgeit-phorge/Makefile index a44387ee2ae0..ac5b960fbcf4 100644 --- a/devel/phorgeit-phorge/Makefile +++ b/devel/phorgeit-phorge/Makefile @@ -20,7 +20,7 @@ USE_GITHUB= yes GH_ACCOUNT= phorgeit USE_PHP= ctype curl fileinfo filter iconv mbstring mysqli pcntl posix \ zip -IGNORE_WITH_PHP= 85 +IGNORE_WITH_PHP= 85 86 USE_RC_SUBR= phd SHEBANG_FILES= resources/timezones/*.php scripts/*.php scripts/almanac/*.php \ diff --git a/devel/php-ice37/Makefile b/devel/php-ice37/Makefile index 2de74d14f8d4..585617f7f329 100644 --- a/devel/php-ice37/Makefile +++ b/devel/php-ice37/Makefile @@ -21,6 +21,7 @@ PLIST= ${.CURDIR}/pkg-plist MAKE_ARGS+= PHP_EXT_DIR=${PHP_EXT_DIR} ICE_HOME=${LOCALBASE} \ PHP_HOME=${LOCALBASE} OPTIMIZE=yes USES+= php:build,flavors +IGNORE_WITH_PHP= 86 BUILD_WRKSRC= ${WRKSRC}/php INSTALL_WRKSRC= ${WRKSRC}/php diff --git a/devel/php-maxminddb/Makefile b/devel/php-maxminddb/Makefile index 7e6dde22dba2..06099893566e 100644 --- a/devel/php-maxminddb/Makefile +++ b/devel/php-maxminddb/Makefile @@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb USES= compiler:c11 localbase:ldflags php:ext +IGNORE_WITH_PHP= 86 WRKSRC_SUBDIR= ext diff --git a/devel/php86-ffi/Makefile b/devel/php86-ffi/Makefile new file mode 100644 index 000000000000..79b13d9962a6 --- /dev/null +++ b/devel/php86-ffi/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -ffi + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-gettext/Makefile b/devel/php86-gettext/Makefile new file mode 100644 index 000000000000..f482c79d7af2 --- /dev/null +++ b/devel/php86-gettext/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -gettext + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-intl/Makefile b/devel/php86-intl/Makefile new file mode 100644 index 000000000000..90563b03b43d --- /dev/null +++ b/devel/php86-intl/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -intl + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-pcntl/Makefile b/devel/php86-pcntl/Makefile new file mode 100644 index 000000000000..0f3e8c14e36d --- /dev/null +++ b/devel/php86-pcntl/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -pcntl + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-readline/Makefile b/devel/php86-readline/Makefile new file mode 100644 index 000000000000..9a0cd725a0ce --- /dev/null +++ b/devel/php86-readline/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -readline + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-shmop/Makefile b/devel/php86-shmop/Makefile new file mode 100644 index 000000000000..05400c3ad8ac --- /dev/null +++ b/devel/php86-shmop/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -shmop + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-sysvmsg/Makefile b/devel/php86-sysvmsg/Makefile new file mode 100644 index 000000000000..a82e1a974809 --- /dev/null +++ b/devel/php86-sysvmsg/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sysvmsg + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-sysvsem/Makefile b/devel/php86-sysvsem/Makefile new file mode 100644 index 000000000000..1f6f35a7177c --- /dev/null +++ b/devel/php86-sysvsem/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sysvsem + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-sysvshm/Makefile b/devel/php86-sysvshm/Makefile new file mode 100644 index 000000000000..55fecfaa67ea --- /dev/null +++ b/devel/php86-sysvshm/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sysvshm + +.include "${MASTERDIR}/Makefile" diff --git a/devel/php86-tokenizer/Makefile b/devel/php86-tokenizer/Makefile new file mode 100644 index 000000000000..f85535fe204c --- /dev/null +++ b/devel/php86-tokenizer/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= devel + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -tokenizer + +.include "${MASTERDIR}/Makefile" diff --git a/finance/prestashop/Makefile b/finance/prestashop/Makefile index c64b9bb1f8a8..0e5b671a4479 100644 --- a/finance/prestashop/Makefile +++ b/finance/prestashop/Makefile @@ -16,6 +16,7 @@ USE_PHP= ctype curl dom fileinfo filter gd intl \ mbstring mcrypt mysqli \ pdo_mysql posix session simplexml \ soap tokenizer zip +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message diff --git a/ftp/Makefile b/ftp/Makefile index e53c67a44ce8..5c00b9b9cda3 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -59,6 +59,8 @@ SUBDIR += php84-ftp SUBDIR += php85-curl SUBDIR += php85-ftp + SUBDIR += php86-curl + SUBDIR += php86-ftp SUBDIR += phpwebftp SUBDIR += proftpd SUBDIR += proftpd-mod_vroot diff --git a/ftp/php86-curl/Makefile b/ftp/php86-curl/Makefile new file mode 100644 index 000000000000..6da99f44266b --- /dev/null +++ b/ftp/php86-curl/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= ftp + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -curl + +.include "${MASTERDIR}/Makefile" diff --git a/ftp/php86-ftp/Makefile b/ftp/php86-ftp/Makefile new file mode 100644 index 000000000000..99d82b47d9e1 --- /dev/null +++ b/ftp/php86-ftp/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= ftp + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -ftp + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/Makefile b/graphics/Makefile index 0859f07f1e58..4f331be074b6 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -851,6 +851,8 @@ SUBDIR += php84-gd SUBDIR += php85-exif SUBDIR += php85-gd + SUBDIR += php86-exif + SUBDIR += php86-gd SUBDIR += phplot SUBDIR += picpuz SUBDIR += piddle diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index b5ea55a9f9f5..bc1949cbb83f 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -10,6 +10,7 @@ WWW= https://pecl.php.net/package/imagick LICENSE= PHP301 USES= cpe localbase magick php:pecl +IGNORE_WITH_PHP= 86 CPE_VENDOR= php diff --git a/graphics/pecl-vips/Makefile b/graphics/pecl-vips/Makefile index e499228cc954..5089df95ac4a 100644 --- a/graphics/pecl-vips/Makefile +++ b/graphics/pecl-vips/Makefile @@ -13,5 +13,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libvips.so:graphics/vips USES= compiler:c11 php:pecl pkgconfig +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/graphics/php-geos/Makefile b/graphics/php-geos/Makefile index 7762d8dd5bb3..b51b1cdf88cd 100644 --- a/graphics/php-geos/Makefile +++ b/graphics/php-geos/Makefile @@ -17,6 +17,7 @@ BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libgeos_c.so:graphics/geos USES= localbase:ldflags php:ext +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= libgeos diff --git a/graphics/php86-exif/Makefile b/graphics/php86-exif/Makefile new file mode 100644 index 000000000000..51408fe34612 --- /dev/null +++ b/graphics/php86-exif/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= graphics + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -exif + +.include "${MASTERDIR}/Makefile" diff --git a/graphics/php86-gd/Makefile b/graphics/php86-gd/Makefile new file mode 100644 index 000000000000..beb5650b2117 --- /dev/null +++ b/graphics/php86-gd/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= graphics + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -gd + +.include "${MASTERDIR}/Makefile" diff --git a/lang/Makefile b/lang/Makefile index f88803906c1e..dc9202271fc4 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -276,6 +276,8 @@ SUBDIR += php84-extensions SUBDIR += php85 SUBDIR += php85-extensions + SUBDIR += php86 + SUBDIR += php86-extensions SUBDIR += picoc SUBDIR += picolisp SUBDIR += pkl diff --git a/lang/php82-extensions/Makefile b/lang/php82-extensions/Makefile index 7992d2e2e880..b236bf94f158 100644 --- a/lang/php82-extensions/Makefile +++ b/lang/php82-extensions/Makefile @@ -9,7 +9,7 @@ WWW= https://www.php.net/ USES= metaport php -IGNORE_WITH_PHP= 83 84 85 +IGNORE_WITH_PHP= 83 84 85 86 PHP_VER= 82 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \ diff --git a/lang/php82/Makefile b/lang/php82/Makefile index 720e4b95b93c..83e478126490 100644 --- a/lang/php82/Makefile +++ b/lang/php82/Makefile @@ -177,7 +177,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 82 -IGNORE_WITH_PHP= 83 84 85 +IGNORE_WITH_PHP= 83 84 85 86 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} diff --git a/lang/php83-extensions/Makefile b/lang/php83-extensions/Makefile index 3b84a659ee76..bdb81885e9fc 100644 --- a/lang/php83-extensions/Makefile +++ b/lang/php83-extensions/Makefile @@ -9,7 +9,7 @@ WWW= https://www.php.net/ USES= metaport php -IGNORE_WITH_PHP= 82 84 85 +IGNORE_WITH_PHP= 82 84 85 86 PHP_VER= 83 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \ diff --git a/lang/php83/Makefile b/lang/php83/Makefile index f065564dd2a8..93c6237482c1 100644 --- a/lang/php83/Makefile +++ b/lang/php83/Makefile @@ -192,7 +192,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 83 -IGNORE_WITH_PHP= 82 84 85 +IGNORE_WITH_PHP= 82 84 85 86 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} diff --git a/lang/php84-extensions/Makefile b/lang/php84-extensions/Makefile index 91dcee4216c9..c96dd7806c17 100644 --- a/lang/php84-extensions/Makefile +++ b/lang/php84-extensions/Makefile @@ -9,7 +9,7 @@ WWW= https://www.php.net/ USES= metaport php -IGNORE_WITH_PHP= 82 83 85 +IGNORE_WITH_PHP= 82 83 85 86 PHP_VER= 84 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \ diff --git a/lang/php84/Makefile b/lang/php84/Makefile index 0328e0fee825..acceb81c8643 100644 --- a/lang/php84/Makefile +++ b/lang/php84/Makefile @@ -203,7 +203,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 84 -IGNORE_WITH_PHP= 82 83 85 +IGNORE_WITH_PHP= 82 83 85 86 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} diff --git a/lang/php85-extensions/Makefile b/lang/php85-extensions/Makefile index e8f3abaf15c9..428ec0d7c317 100644 --- a/lang/php85-extensions/Makefile +++ b/lang/php85-extensions/Makefile @@ -9,7 +9,7 @@ WWW= https://www.php.net/ USES= metaport php -IGNORE_WITH_PHP= 82 83 84 +IGNORE_WITH_PHP= 82 83 84 86 PHP_VER= 85 OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \ diff --git a/lang/php85/Makefile b/lang/php85/Makefile index a0c788a51a91..a2a5506fdd46 100644 --- a/lang/php85/Makefile +++ b/lang/php85/Makefile @@ -204,7 +204,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php USES+= php:ext,noflavors PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} PHP_VER= 85 -IGNORE_WITH_PHP= 82 83 84 +IGNORE_WITH_PHP= 82 83 84 86 EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} WRKSRC= ${WRKDIR}/${EXTSUBDIR} diff --git a/lang/php86-extensions/Makefile b/lang/php86-extensions/Makefile new file mode 100644 index 000000000000..bf781f286ec0 --- /dev/null +++ b/lang/php86-extensions/Makefile @@ -0,0 +1,88 @@ +PORTNAME= php86 +PORTVERSION= 1.0 +CATEGORIES= lang +PKGNAMESUFFIX= -extensions + +MAINTAINER= bofh@FreeBSD.org +COMMENT= "meta-port" to install PHP extensions (8.6.X branch) +WWW= https://www.php.net/ + +USES= metaport php + +IGNORE_WITH_PHP= 82 83 84 85 +PHP_VER= 86 + +OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \ + FILEINFO FILTER FTP GD GETTEXT GMP ICONV INTL LDAP \ + MBSTRING MYSQLI ODBC OPCACHE PCNTL PDO PDO_DBLIB \ + PDO_FIREBIRD PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE \ + PGSQL PHAR POSIX READLINE SESSION SHMOP SIMPLEXML SNMP \ + SOAP SOCKETS SODIUM SQLITE3 SYSVMSG SYSVSEM SYSVSHM \ + TIDY TOKENIZER XML XMLREADER XMLWRITER XSL ZIP ZLIB +OPTIONS_DEFAULT= CTYPE DOM FILTER ICONV OPCACHE PDO PDO_SQLITE PHAR \ + POSIX SESSION SIMPLEXML SQLITE3 TOKENIZER XML XMLREADER \ + XMLWRITER + +BCMATH_DESC= bc style precision math functions +BZ2_DESC= bzip2 library support +CALENDAR_DESC= calendar conversion support +CTYPE_DESC= ctype functions +CURL_DESC= CURL support +DBA_DESC= dba support +DOM_DESC= DOM support +ENCHANT_DESC= Enchant spelling support +EXIF_DESC= EXIF support +FFI_DESC= Foreign Function Interface support +FILEINFO_DESC= fileinfo support +FILTER_DESC= input filter support +FTP_DESC= FTP support +GD_DESC= GD library support +GETTEXT_DESC= gettext library support +GMP_DESC= GNU MP support +ICONV_DESC= iconv support +INTL_DESC= Internationalization(ICU) +LDAP_DESC= OpenLDAP support +MBSTRING_DESC= multibyte string support +MYSQLI_DESC= MySQLi database support +ODBC_DESC= ODBC support +OPCACHE_DESC= OPcache support +PCNTL_DESC= pcntl support (CLI only) +PDO_DBLIB_DESC= PDO DBLIB-DB driver +PDO_DESC= PHP Data Objects Interface (PDO) +PDO_FIREBIRD_DESC= PDO Firebird driver +PDO_MYSQL_DESC= PDO MySQL driver +PDO_ODBC_DESC= PDO ODBC driver +PDO_PGSQL_DESC= PDO PostgreSQL driver +PDO_SQLITE_DESC= PDO sqlite driver +PHAR_DESC= phar support +POSIX_DESC= POSIX-like functions +READLINE_DESC= readline support (CLI only) +SESSION_DESC= session support +SHMOP_DESC= shmop support +SIMPLEXML_DESC= simplexml support +SNMP_DESC= SNMP support +SOAP_DESC= SOAP support +SOCKETS_DESC= sockets support +SODIUM_DESC= Sodium encryption support +SQLITE3_DESC= sqlite3 support +SYSVMSG_DESC= System V message support +SYSVSEM_DESC= System V semaphore support +SYSVSHM_DESC= System V shared memory support +TIDY_DESC= TIDY support +TOKENIZER_DESC= tokenizer support +XMLREADER_DESC= XMLReader support +XMLWRITER_DESC= XMLWriter support +XML_DESC= XML support +XSL_DESC= XSL support (Implies DOM) +ZIP_DESC= ZIP support +ZLIB_DESC= ZLIB support + +.include <bsd.port.options.mk> + +.for opt in ${OPTIONS_DEFINE} +. if ${PORT_OPTIONS:M${opt}} +USE_PHP+= ${opt:tl} +. endif +.endfor + +.include <bsd.port.mk> diff --git a/lang/php86-extensions/pkg-descr b/lang/php86-extensions/pkg-descr new file mode 100644 index 000000000000..504ccc465bf7 --- /dev/null +++ b/lang/php86-extensions/pkg-descr @@ -0,0 +1,5 @@ +This is a "meta-port" to install the extensions for PHP 8.6 + +Defaults to: +ctype, dom, filter, iconv, json, opcache, pdo, pdo_sqlite, phar, posix, +session, simplexml, sqlite3, tokenizer, xml, xmlreader and xmlwriter. diff --git a/lang/php86/Makefile b/lang/php86/Makefile new file mode 100644 index 000000000000..90f295b1861e --- /dev/null +++ b/lang/php86/Makefile @@ -0,0 +1,610 @@ +PORTNAME= php86 +DISTVERSION= 8.6.0alpha1 +PORTREVISION?= 0 +CATEGORIES?= lang devel www +#MASTER_SITES= PHP/distributions +MASTER_SITES= https://downloads.php.net/~mbeccati/ +DISTNAME= php-${DISTVERSION} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= PHP Scripting Language (8.6.X branch) +WWW= https://www.php.net/ + +LICENSE= PHP301 + +USES+= compiler:c11 cpe gnome localbase pkgconfig tar:xz +CPE_PRODUCT= php +PHP_VER= 86 + +CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} + +.if !defined(PKGNAMESUFFIX) +LIB_DEPENDS= libpcre2-8.so:devel/pcre2 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= \ + --disable-all \ + --program-prefix="" \ + --with-config-file-scan-dir=${PREFIX}/etc/php \ + --with-layout=GNU \ + --with-libxml \ + --with-openssl + +USES+= autoreconf:build bison ssl +USE_GNOME= libxml2 + +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl +# PR230207 Allow relocations against read-only segments (override lld default) +LDFLAGS_i386= -Wl,-z,notext + +OPTIONS_DEFINE+=CGI CLI DEBUG DTRACE EMBED FPM IPV6 LINKTHR \ + MYSQLND NOASLR PCRE PHPDBG ZTS JIT +OPTIONS_DEFAULT= CGI CLI DTRACE EMBED FPM LINKTHR MYSQLND PCRE +OPTIONS_EXCLUDE_DragonFly= DTRACE +# ld(1) fails to link probes: Relocations in generic ELF (EM: 0) +OPTIONS_EXCLUDE_aarch64= DTRACE +# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented +OPTIONS_EXCLUDE_armv6= DTRACE +OPTIONS_EXCLUDE_armv7= DTRACE +OPTIONS_EXCLUDE_riscv64= DTRACE +NO_OPTIONS_SORT= yes +OPTIONS_SUB= yes + +CGI_DESC= Build CGI version +CLI_DESC= Build CLI version +EMBED_DESC= Build embedded library +FPM_DESC= Build FPM version +JIT_DESC= Enable JIT support for opcache +LINKTHR_DESC= Link thread lib (for threaded extensions) +MYSQLND_DESC= Build with MySQL Native Driver +PCRE_DESC= Use system pcre instead of bundled one +PHPDBG_DESC= Interactive PHP debugger +ZTS_DESC= Force Zend Thread Safety (ZTS) build + +CGI_CONFIGURE_OFF= --disable-cgi +CGI_VARS= PHP_SAPI+=cgi +CLI_CONFIGURE_OFF= --disable-cli +CLI_VARS= PHP_SAPI+=cli +DEBUG_CONFIGURE_ON= --enable-debug +DTRACE_CONFIGURE_ON= --enable-dtrace +EMBED_CONFIGURE_ON= --enable-embed +EMBED_VARS= PHP_SAPI+=embed +FPM_CONFIGURE_ON= --enable-fpm \ + --with-fpm-group=${WWWGRP} \ + --with-fpm-user=${WWWOWN} +FPM_VARS= PHP_SAPI+=fpm \ + USE_RC_SUBR+=php_fpm +IPV6_CONFIGURE_OFF= --disable-ipv6 +JIT_LIB_DEPENDS= libcapstone.so:devel/capstone +JIT_CONFIGURE_ON= --with-capstone --enable-opcache-jit=yes +LINKTHR_LIBS= -lpthread +MYSQLND_CONFIGURE_ON= --enable-mysqlnd +NOASLR_USES= elfctl +PCRE_BUILD_DEPENDS= re2c>0:devel/re2c +PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} +PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " +PCRE_PLIST_SUB_OFF= BUNDLED_PCRE="" +PHPDBG_CONFIGURE_ON= --enable-phpdbg +PHPDBG_VARS= PHP_SAPI+=phpdbg +ZTS_CONFIGURE_ON= --enable-zts +ZTS_CONFIGURE_ENV= pthreads_working="yes" + +DESTDIRNAME= INSTALL_ROOT + +. if defined(PKGNAMEPREFIX) +USES+= apache +PLIST= ${PKGDIR}/pkg-plist.mod +PKGMESSAGE= ${PKGDIR}/pkg-message.mod +MODULENAME= libphp +SHORTMODNAME= php +WARNING= "!!! If you have a threaded Apache, you must build ${PHP_PORT} with ZTS support to enable thread-safety in extensions !!!" +WARNING+= "!!! Consider switching to php-fpm and mod_proxy_fcgi as per Apache httpd recommendations !!!" +. endif + +.include <bsd.port.options.mk> + +. if ${PORT_OPTIONS:MNOASLR} +. if ${PORT_OPTIONS:MCLI} +ELF_FEATURES+=+noaslr:sapi/cli/php +. endif +. if ${PORT_OPTIONS:MCGI} +ELF_FEATURES+=+noaslr:sapi/cgi/php-cgi +. endif +. if ${PORT_OPTIONS:MPHPDBG} +ELF_FEATURES+=+noaslr:sapi/phpdbg/phpdbg +. endif +. if ${PORT_OPTIONS:MFPM} +ELF_FEATURES+=+noaslr:sapi/fpm/php-fpm +. endif +. endif + +.include <bsd.port.pre.mk> + +. if ${ARCH} == riscv64 +CONFIGURE_ARGS+= --without-pcre-jit +. endif + +. if ${PORT_OPTIONS:MPHPDBG} && ${PORT_OPTIONS:MDEBUG} +CONFIGURE_ARGS+= --enable-phpdbg-debug +. endif + +. if ${PORT_OPTIONS:MCLI} || ${PORT_OPTIONS:MEMBED} +PLIST_SUB+= SAPI_INC="" +. else +PLIST_SUB+= SAPI_INC="@comment " +. endif + +. if ((${OSVERSION} >= 1500059 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT:Mopenssl*} && ${OPENSSL_SHLIBVER} >= 15)) && empty(PORT_OPTIONS:MZTS) +CONFIGURE_ARGS+= --with-openssl-argon2 +. else +LIB_DEPENDS+= libargon2.so:security/libargon2 +CONFIGURE_ARGS+= --with-password-argon2=${LOCALBASE} +. endif + +CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ + lt_cv_path_SED="sed" \ + OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ + PHP_OPENSSL=yes + +post-patch: + @${TOUCH} ${WRKSRC}/ext/php_config.h + +post-patch-FPM-on: + @${REINPLACE_CMD} -e "s|^;\(pid\)|\1|;s|^;\(pm\.[a-z_]*_servers\)|\1|" \ + ${WRKSRC}/sapi/fpm/php-fpm.conf.in + +pre-configure: + @(cd ${WRKSRC} && ${SETENV} MAKE=${MAKE_CMD} ./buildconf --force) + +. if !defined(PKGNAMEPREFIX) +post-build: + @${ECHO_CMD} "PHP_VER=${PHP_VER}" > ${WRKDIR}/php.conf + @${ECHO_CMD} "PHP_VERSION=${PORTVERSION}" >> ${WRKDIR}/php.conf + @${ECHO_CMD} "PHP_SAPI=${PHP_SAPI}" >> ${WRKDIR}/php.conf + @${ECHO_CMD} -n "PHP_EXT_DIR=" >> ${WRKDIR}/php.conf + @${SH} ${WRKSRC}/scripts/php-config --extension-dir | ${SED} -ne 's,^${PREFIX}/lib/php/,,p' >> ${WRKDIR}/php.conf + @${ECHO_CMD} "PHP_EXT_INC=hash json opcache openssl pcre random spl" >> ${WRKDIR}/php.conf + +test: build + @(cd ${WRKSRC} && ${MAKE} test) + +post-install: + ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-production \ + ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/Zend/zend_property_hooks.h ${STAGEDIR}${PREFIX}/include/php/Zend + ${INSTALL_DATA} ${WRKSRC}/Zend/zend_lazy_objects.h ${STAGEDIR}${PREFIX}/include/php/Zend + (cd ${WRKSRC}/ext/lexbor && \ + ${COPYTREE_SHARE} lexbor ${STAGEDIR}${PREFIX}/include/php/ext "-name *\.h") + +post-install-CGI-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi + +post-install-CLI-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php + +post-install-EMBED-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so + +post-install-FPM-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm + +post-install-PHPDBG-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg + +. else +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} + ${INSTALL_LIB} ${WRKSRC}/libs/${MODULENAME}.so \ + ${STAGEDIR}${PREFIX}/${APACHEMODDIR} +. endif + +.else +COMMENT= The ${PHP_MODNAME} shared extension for php + +USES+= php:ext,noflavors +PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} +PHP_VER= 86 +IGNORE_WITH_PHP= 82 83 84 85 + +EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME} +WRKSRC= ${WRKDIR}/${EXTSUBDIR} +PATCHDIR= ${.CURDIR}/files +PLIST= ${NONEXISTENT} + +EXTRACT_AFTER_ARGS?= ${EXTSUBDIR} + +TEST_TARGET= test + +. if ${PHP_MODNAME} == "bcmath" +CONFIGURE_ARGS+= --enable-bcmath + +PHP_HEADER_DIRS= libbcmath/src +. endif + +. if ${PHP_MODNAME} == "bz2" +CONFIGURE_ARGS+= --with-bz2=/usr +. endif + +. if ${PHP_MODNAME} == "calendar" +CONFIGURE_ARGS+= --enable-calendar +. endif + +. if ${PHP_MODNAME} == "ctype" +CONFIGURE_ARGS+= --enable-ctype +. endif + +. if ${PHP_MODNAME} == "curl" +LIB_DEPENDS+= libcurl.so:ftp/curl + +CONFIGURE_ARGS+= --with-curl=${LOCALBASE} +USES+= pkgconfig +. endif + +. if ${PHP_MODNAME} == "dba" +CONFIGURE_ARGS+= --enable-dba + +OPTIONS_DEFINE= CDB DB4 FLATFILE GDBM INIFILE LMDB QDBM TOKYO +OPTIONS_DEFAULT= CDB FLATFILE INIFILE + +CDB_DESC= cdb database support +DB4_DESC= Berkeley DB4 support +FLATFILE_DESC= flatfile support +GDBM_DESC= GDBM database support +INIFILE_DESC= INI file support +LMDB_DESC= LMDB database support +QDBM_DESC= QDBM database support +TOKYO_DESC= Tokyo Cabinet database support + +CDB_CONFIGURE_OFF= --without-cdb +DB4_CONFIGURE_ON= --with-db4=${LOCALBASE} +DB4_USES= bdb +DB4_VARS= WITH_BDB_HIGHEST=yes +FLATFILE_CONFIGURE_ON= --disable-flatfile +GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm +GDBM_CONFIGURE_ARGS= --with-gdbm=${LOCALBASE} +INIFILE_CONFIGURE_OFF= --disable-inifile +LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb +LMDB_CONFIGURE_ARGS= --with-lmdb=${LOCALBASE} +QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm +QDBM_CONFIGURE_ARGS= --with-qdbm=${LOCALBASE} +TOKYO_LIB_DEPENDS= libtokyocabinet.so:databases/tokyocabinet +TOKYO_CONFIGURE_ON= --with-tcadb=${LOCALBASE} + +PHP_HEADER_DIRS= libcdb libflatfile libinifile +. endif + +. if ${PHP_MODNAME} == "dom" +CONFIGURE_ARGS+= --enable-dom + +USES+= pkgconfig +USE_GNOME= libxml2 +. endif + +. if ${PHP_MODNAME} == "enchant" +LIB_DEPENDS+= libenchant-2.so:textproc/enchant2 +CONFIGURE_ARGS+=--with-enchant=${LOCALBASE} +USES+= pkgconfig +. endif + +. if ${PHP_MODNAME} == "exif" +CONFIGURE_ARGS+= --enable-exif +. endif + +. if ${PHP_MODNAME} == "ffi" +LIB_DEPENDS= libffi.so:devel/libffi +CONFIGURE_ARGS+= --with-ffi +. endif + +. if ${PHP_MODNAME} == "fileinfo" +CONFIGURE_ARGS+= --enable-fileinfo + +PHP_HEADER_DIRS= libmagic +. endif + +. if ${PHP_MODNAME} == "filter" +CONFIGURE_ARGS+= --enable-filter +. endif + +. if ${PHP_MODNAME} == "ftp" +CONFIGURE_ARGS+= --enable-ftp + +CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ + PHP_OPENSSL=yes + +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl +USES+= pkgconfig ssl +. endif + +. if ${PHP_MODNAME} == "gd" +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libgd.so:graphics/gd \ + libpng.so:graphics/png +USES+= jpeg + +CONFIGURE_ARGS+= --enable-gd \ + --with-external-gd + +EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions --exclude libgd \ + php-${DISTVERSION}/ext/gd + +OPTIONS_DEFINE= JIS WEBP X11 + +JIS_DESC= Enable JIS-mapped Japanese font support +WEBP_DESC= Enable WebP image format support +X11_DESC= Enable XPM support +JIS_CONFIGURE_ON= --enable-gd-jis-conv +WEBP_CONFIGURE_ON= --with-webp +WEBP_LIB_DEPENDS= libwebp.so:graphics/webp +X11_CONFIGURE_ON= --with-xpm +X11_USE= XORG=xpm +X11_USES= xorg +. endif + +. if ${PHP_MODNAME} == "gettext" +CONFIGURE_ARGS+= --with-gettext=${LOCALBASE} + +USES+= gettext +. endif + +. if ${PHP_MODNAME} == "gmp" +LIB_DEPENDS+= libgmp.so:math/gmp + +CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} +. endif + +. if ${PHP_MODNAME} == "iconv" +CONFIGURE_ARGS+= --with-iconv=${LOCALBASE} + +USES+= iconv:translit +. endif + +. if ${PHP_MODNAME} == "intl" +LIB_DEPENDS= libicui18n.so:devel/icu +USES+= pkgconfig +CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 +. endif + +. if ${PHP_MODNAME} == "ldap" +LIB_DEPENDS+=libsasl2.so:security/cyrus-sasl2 +CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE} +USES+= ldap +. endif + +. if ${PHP_MODNAME} == "mbstring" + +CONFIGURE_ARGS+= --enable-mbstring + +OPTIONS_DEFINE= REGEX + +REGEX_DESC= Enable multibyte regex support +REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma +REGEX_CONFIGURE_OFF= --disable-mbregex + +PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls +. endif + +. if ${PHP_MODNAME} == "mysqli" +CONFIGURE_ARGS+= --with-mysqli +. endif + +. if ${PHP_MODNAME} == "odbc" +LIB_DEPENDS+= libodbc.so:databases/unixODBC + +CONFIGURE_ARGS+= --with-unixODBC=${LOCALBASE} +. endif + +. if ${PHP_MODNAME} == "pcntl" +CONFIGURE_ARGS+= --enable-pcntl +. endif + +. if ${PHP_MODNAME} == "pdo" +CONFIGURE_ARGS+= --enable-pdo +. endif + +. if ${PHP_MODNAME} == "pdo_dblib" +CONFIGURE_ARGS+= --with-pdo-dblib=${LOCALBASE} + +USE_PHP= pdo:build + +OPTIONS_DEFINE= MSSQL + +MSSQL_DESC= Enable Microsoft SQL Server support +MSSQL_LIB_DEPENDS= libsybdb.so:databases/freetds +MSSQL_LIB_DEPENDS_OFF= libct.so:databases/freetds +. endif + +. if ${PHP_MODNAME} == "pdo_firebird" +CONFIGURE_ARGS+= --with-pdo-firebird=${LOCALBASE} + +USES+= firebird +USE_PHP= pdo:build +. endif + +. if ${PHP_MODNAME} == "pdo_odbc" +LIB_DEPENDS+= libodbc.so:databases/unixODBC +CONFIGURE_ARGS+= --with-pdo-odbc=unixODBC,${LOCALBASE} + +USE_PHP= pdo:build +. endif + +. if ${PHP_MODNAME} == "pdo_mysql" +OPTIONS_DEFINE= MYSQLND +OPTIONS_DEFAULT= MYSQLND + +MYSQLND_DESC= Use MySQL Native Driver + +MYSQLND_CONFIGURE_ON= --with-pdo-mysql=mysqlnd +MYSQLND_CONFIGURE_OFF= --with-pdo-mysql=${LOCALBASE} \ + --with-zlib-dir=/usr +MYSQLND_USES_OFF= mysql + +USE_PHP= pdo:build +. endif + +. if ${PHP_MODNAME} == "pdo_pgsql" +USES+= pgsql + +CONFIGURE_ARGS+= --with-pdo-pgsql=${LOCALBASE} + +USE_PHP= pdo:build +. endif + +. if ${PHP_MODNAME} == "pdo_sqlite" +USES+= localbase sqlite +CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE} + +USE_PHP= pdo:build +. endif + +. if ${PHP_MODNAME} == "pgsql" +USES+= pgsql + +CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} +. endif + +. if ${PHP_MODNAME} == "phar" +CONFIGURE_ARGS+= --enable-phar +. endif + +. if ${PHP_MODNAME} == "posix" +CONFIGURE_ARGS+= --enable-posix +. endif + +. if ${PHP_MODNAME} == "readline" +CONFIGURE_ARGS+=--with-libedit +USES+= libedit +. endif + +. if ${PHP_MODNAME} == "session" +CONFIGURE_ARGS+= --enable-session +PHP_MOD_PRIO= 18 +. endif + +. if ${PHP_MODNAME} == "shmop" +CONFIGURE_ARGS+= --enable-shmop +. endif + +. if ${PHP_MODNAME} == "simplexml" +CONFIGURE_ARGS+= --enable-simplexml + +USES+= pkgconfig +USE_GNOME= libxml2 +. endif + +. if ${PHP_MODNAME} == "snmp" +CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} + +CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" + +LIB_DEPENDS+= libnetsnmp.so:net-mgmt/net-snmp +LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl +USES+= ssl +. endif + +. if ${PHP_MODNAME} == "soap" +CONFIGURE_ARGS+= --enable-soap + +USES+= pkgconfig +USE_GNOME= libxml2 +. endif + +. if ${PHP_MODNAME} == "sockets" +CONFIGURE_ARGS+= --enable-sockets +CONFIGURE_ENV+= LOCAL_CREDS_PERSISTENT=yes +. endif + +. if ${PHP_MODNAME} == "sodium" +CONFIGURE_ARGS+= --with-sodium=${LOCALBASE} +LIB_DEPENDS+= libsodium.so:security/libsodium +. endif + +. if ${PHP_MODNAME} == "sqlite3" +USES+= localbase pkgconfig sqlite +CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} +. endif + +. if ${PHP_MODNAME} == "sysvmsg" +CONFIGURE_ARGS+= --enable-sysvmsg +. endif + +. if ${PHP_MODNAME} == "sysvsem" +CONFIGURE_ARGS+= --enable-sysvsem +. endif + +. if ${PHP_MODNAME} == "sysvshm" +CONFIGURE_ARGS+= --enable-sysvshm +. endif + +. if ${PHP_MODNAME} == "tidy" +CONFIGURE_ARGS+= --with-tidy=${LOCALBASE} + +LIB_DEPENDS+= libtidy5.so:www/tidy-html5 +. endif + +. if ${PHP_MODNAME} == "tokenizer" +CONFIGURE_ARGS+= --enable-tokenizer +. endif + +. if ${PHP_MODNAME} == "xml" +CONFIGURE_ARGS+= --enable-xml + +USES+= pkgconfig +USE_GNOME= libxml2 +. endif + +. if ${PHP_MODNAME} == "xmlreader" +CONFIGURE_ARGS+= --enable-xmlreader + +USE_GNOME= libxml2 + +USE_PHP= dom:build +. endif + +. if ${PHP_MODNAME} == "xmlwriter" +CONFIGURE_ARGS+= --enable-xmlwriter + +USES+= pkgconfig +USE_GNOME= libxml2 +. endif + +. if ${PHP_MODNAME} == "xsl" +CONFIGURE_ARGS+= --with-xsl=${LOCALBASE} + +USE_GNOME= libxslt +USE_PHP= dom:build xml:build +. endif + +. if ${PHP_MODNAME} == "zip" +LIB_DEPENDS+= libzip.so:archivers/libzip + +CONFIGURE_ARGS+= --with-zip +USES+= pkgconfig +. endif + +. if ${PHP_MODNAME} == "zlib" +CONFIGURE_ARGS+= --with-zlib=/usr +USES+= pkgconfig +. endif + +.include <bsd.port.pre.mk> + +. if ${PHP_MODNAME} == "soap" +post-extract: + @${MKDIR} ${WRKSRC}/ext/session + @${CP} ${FILESDIR}/php_session.h ${WRKSRC}/ext/session +. endif + +. if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib" +post-extract: + @${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4 +. endif + +. if ${PHP_MODNAME} == "xml" +post-extract: + @${MKDIR} ${WRKSRC}/ext/xml + @${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml +. endif +.endif +.include <bsd.port.post.mk> diff --git a/lang/php86/distinfo b/lang/php86/distinfo new file mode 100644 index 000000000000..b0b3df4dcaa3 --- /dev/null +++ b/lang/php86/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783111738 +SHA256 (php-8.6.0alpha1.tar.xz) = 2d4cba8e5511b026b0c786c69b3272fe53dc8643f086cd10fc0e902c20a1757c +SIZE (php-8.6.0alpha1.tar.xz) = 14572124 diff --git a/lang/php86/files/patch-TSRM_TSRM.c b/lang/php86/files/patch-TSRM_TSRM.c new file mode 100644 index 000000000000..a5ad9dca4e8a --- /dev/null +++ b/lang/php86/files/patch-TSRM_TSRM.c @@ -0,0 +1,11 @@ +--- TSRM/TSRM.c.orig 2024-07-02 13:43:13 UTC ++++ TSRM/TSRM.c +@@ -792,7 +792,7 @@ TSRM_API size_t tsrm_get_ls_cache_tcb_offset(void) + asm ("leal _tsrm_ls_cache@ntpoff,%0" + : "=r" (ret)); + return ret; +-#elif defined(__aarch64__) ++#elif defined(__aarch64__) && !defined(__FreeBSD__) + size_t ret; + + # ifdef __APPLE__ diff --git a/lang/php86/files/patch-build_Makefile.global b/lang/php86/files/patch-build_Makefile.global new file mode 100644 index 000000000000..52531a83dabe --- /dev/null +++ b/lang/php86/files/patch-build_Makefile.global @@ -0,0 +1,19 @@ +--- build/Makefile.global.orig 2024-07-02 13:43:13 UTC ++++ build/Makefile.global +@@ -91,14 +91,14 @@ test: all + @if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ + INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \ + if test "$$INI_FILE"; then \ +- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini; \ ++ $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_FILE" > $(top_builddir)/tmp-php.ini || :; \ + else \ + echo > $(top_builddir)/tmp-php.ini; \ + fi; \ + INI_SCANNED_PATH=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r '$$a = explode(",\n", trim(php_ini_scanned_files())); echo $$a[0];' 2> /dev/null`; \ + if test "$$INI_SCANNED_PATH"; then \ + INI_SCANNED_PATH=`$(top_srcdir)/build/shtool path -d $$INI_SCANNED_PATH`; \ +- $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini; \ ++ $(EGREP) -h -v $(PHP_DEPRECATED_DIRECTIVES_REGEX) "$$INI_SCANNED_PATH"/*.ini >> $(top_builddir)/tmp-php.ini || :; \ + fi; \ + TEST_PHP_EXECUTABLE=$(PHP_EXECUTABLE) \ + TEST_PHP_SRCDIR=$(top_srcdir) \ diff --git a/lang/php86/files/patch-configure.ac b/lang/php86/files/patch-configure.ac new file mode 100644 index 000000000000..e9c038fd5b15 --- /dev/null +++ b/lang/php86/files/patch-configure.ac @@ -0,0 +1,27 @@ +--- configure.ac.orig 2024-09-10 16:10:06 UTC ++++ configure.ac +@@ -55,6 +55,7 @@ AH_BOTTOM([ + + #include <string.h> + ++#include <ext/php_config.h> + #endif /* PHP_CONFIG_H */ + ]) + +@@ -249,7 +250,6 @@ AS_VAR_APPEND([CPPFLAGS], [" -D_GNU_SOURCE"]) + dnl require extensions to C and POSIX. + AS_VAR_APPEND([CPPFLAGS], [" -D_GNU_SOURCE"]) + +-PTHREADS_CHECK + PHP_HELP_SEPARATOR([SAPI modules:]) + PHP_SHLIB_SUFFIX_NAMES + PHP_BUILD_PROGRAM +@@ -1368,7 +1368,7 @@ EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=$(eval echo "$PHP_CO + EXPANDED_DATADIR=$datadir + EXPANDED_PHP_CONFIG_FILE_PATH=$(eval echo "$PHP_CONFIG_FILE_PATH") + EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=$(eval echo "$PHP_CONFIG_FILE_SCAN_DIR") +-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR ++INCLUDE_PATH=.:${prefix}/share/pear + + exec_prefix=$old_exec_prefix + libdir=$old_libdir diff --git a/lang/php86/files/patch-ext_pcre_php__pcre.h b/lang/php86/files/patch-ext_pcre_php__pcre.h new file mode 100644 index 000000000000..56c6dc75f6e3 --- /dev/null +++ b/lang/php86/files/patch-ext_pcre_php__pcre.h @@ -0,0 +1,11 @@ +--- ext/pcre/php_pcre.h.orig 2024-07-28 11:55:02 UTC ++++ ext/pcre/php_pcre.h +@@ -20,7 +20,7 @@ + #ifdef HAVE_BUNDLED_PCRE + #include "pcre2lib/pcre2.h" + #else +-#include "pcre2.h" ++#include <pcre2.h> + #endif + + #include <locale.h> diff --git a/lang/php86/files/patch-sapi_fpm_www.conf.in b/lang/php86/files/patch-sapi_fpm_www.conf.in new file mode 100644 index 000000000000..c7465018244d --- /dev/null +++ b/lang/php86/files/patch-sapi_fpm_www.conf.in @@ -0,0 +1,17 @@ +--- sapi/fpm/www.conf.in.orig 2023-03-14 16:11:05 UTC ++++ sapi/fpm/www.conf.in +@@ -32,10 +32,14 @@ group = @php_fpm_group@ + ; Valid syntaxes are: + ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on + ; a specific port; ++; '0.0.0.0:port' - to listen on a TCP socket to all IPv4 addresses on ++; a specific port; + ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on + ; a specific port; + ; 'port' - to listen on a TCP socket to all addresses + ; (IPv6 and IPv4-mapped) on a specific port; ++; Note: IPv4-mapped addresses are disabled by-default in ++; FreeBSD for security reasons; + ; '/path/to/unix/socket' - to listen on a unix socket. + ; Note: This value is mandatory. + listen = 127.0.0.1:9000 diff --git a/lang/php86/files/php_fpm.in b/lang/php86/files/php_fpm.in new file mode 100644 index 000000000000..d8a70275f453 --- /dev/null +++ b/lang/php86/files/php_fpm.in @@ -0,0 +1,102 @@ +#!/bin/sh + +# PROVIDE: php_fpm +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable php_fpm: +# php_fpm_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable php_fpm +# php_fpm_profiles (str): Set to "" by default. +# Define your profiles here. +# php_fpm_pid_prefix (str): Set to "" by default. +# When using profiles manually assign value to "php_fpm_" +# for prevent collision with other PIDs names. + +. /etc/rc.subr + +name="php_fpm" +rcvar=php_fpm_enable + +start_precmd="php_fpm_prestart" +restart_precmd="php_fpm_checkconfig" +reload_precmd="php_fpm_checkconfig" +command="%%PREFIX%%/sbin/php-fpm" +configtest_cmd="php_fpm_checkconfig" +_pidprefix="/var/run" +pidfile="${_pidprefix}/php-fpm.pid" +required_files="%%PREFIX%%/etc/php-fpm.conf" + +load_rc_config "${name}" + +: ${php_fpm_enable="NO"} +: ${php_fpm_umask=""} +: ${php_fpm_svcj_options:="net_basic"} + +if [ -n "$2" ]; then + profile="$2" + if [ "x${php_fpm_profiles}" != "x" ]; then + pidfile="${_pidprefix}/${php_fpm_pid_prefix}php-fpm-${profile}.pid" + eval php_fpm_configfile="\${php_fpm_${profile}_configfile:-}" + if [ "x${php_fpm_configfile}" = "x" ]; then + echo "You must define a configuration file (php_fpm_${profile}_configfile)" + exit 1 + fi + required_files="${php_fpm_configfile}" + eval php_fpm_enable="\${php_fpm_${profile}_enable:-${php_fpm_enable}}" + php_fpm_flags="-y ${php_fpm_configfile} -g ${pidfile}" + else + echo "$0: extra argument ignored" + fi +else + if [ "x${php_fpm_profiles}" != "x" -a "x$1" != "x" ]; then + for profile in ${php_fpm_profiles}; do + echo "===> php_fpm profile: ${profile}" + %%PREFIX%%/etc/rc.d/php_fpm $1 ${profile} + retcode="$?" + if [ "0${retcode}" -ne 0 ]; then + failed="${profile} (${retcode}) ${failed:-}" + else + success="${profile} ${success:-}" + fi + done + exit 0 + fi +fi + +extra_commands="reload configtest logrotate" +sig_stop="QUIT" +sig_reload="USR2" +logrotate_cmd="php_fpm_logrotate" + +php_fpm_logrotate() { + if [ -z "$rc_pid" ]; then + _run_rc_notrunning + return 1 + fi + echo "Rotating logs $name." + kill -USR1 $rc_pid +} + +php_fpm_checkconfig() +{ + echo "Performing sanity check on php-fpm configuration:" + eval ${command} ${php_fpm_flags} -t +} + +php_fpm_prestart() +{ + php_fpm_checkconfig + checkconfig=$? + if [ $checkconfig -ne 0 ]; then + return $checkconfig + fi + + if [ ! -z "$php_fpm_umask" ]; then + echo "Setting umask to: ${php_fpm_umask}" + umask $php_fpm_umask + fi +} + +run_rc_command "$1" diff --git a/lang/php86/files/php_session.h b/lang/php86/files/php_session.h new file mode 100644 index 000000000000..65bf7de20449 --- /dev/null +++ b/lang/php86/files/php_session.h @@ -0,0 +1,328 @@ +/* + +----------------------------------------------------------------------+ + | Copyright (c) The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.01 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | https://www.php.net/license/3_01.txt | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Author: Sascha Schumann <sascha@schumann.cx> | + +----------------------------------------------------------------------+ + */ + +#ifndef PHP_SESSION_H +#define PHP_SESSION_H + +#include "ext/standard/php_var.h" +#include "ext/random/php_random.h" + +#define PHP_SESSION_API 20161017 + +#include "php_version.h" +#define PHP_SESSION_VERSION PHP_VERSION + +/* save handler macros */ +#define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name +#define PS_CLOSE_ARGS void **mod_data +#define PS_READ_ARGS void **mod_data, zend_string *key, zend_string **val, zend_long maxlifetime +#define PS_WRITE_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime +#define PS_DESTROY_ARGS void **mod_data, zend_string *key +#define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels +#define PS_CREATE_SID_ARGS void **mod_data +#define PS_VALIDATE_SID_ARGS void **mod_data, zend_string *key +#define PS_UPDATE_TIMESTAMP_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime + +typedef struct ps_module_struct { + const char *s_name; + zend_result (*s_open)(PS_OPEN_ARGS); + zend_result (*s_close)(PS_CLOSE_ARGS); + zend_result (*s_read)(PS_READ_ARGS); + zend_result (*s_write)(PS_WRITE_ARGS); + zend_result (*s_destroy)(PS_DESTROY_ARGS); + zend_long (*s_gc)(PS_GC_ARGS); + zend_string *(*s_create_sid)(PS_CREATE_SID_ARGS); + zend_result (*s_validate_sid)(PS_VALIDATE_SID_ARGS); + zend_result (*s_update_timestamp)(PS_UPDATE_TIMESTAMP_ARGS); +} ps_module; + +#define PS_GET_MOD_DATA() *mod_data +#define PS_SET_MOD_DATA(a) *mod_data = (a) + +#define PS_OPEN_FUNC(x) zend_result ps_open_##x(PS_OPEN_ARGS) +#define PS_CLOSE_FUNC(x) zend_result ps_close_##x(PS_CLOSE_ARGS) +#define PS_READ_FUNC(x) zend_result ps_read_##x(PS_READ_ARGS) +#define PS_WRITE_FUNC(x) zend_result ps_write_##x(PS_WRITE_ARGS) +#define PS_DESTROY_FUNC(x) zend_result ps_delete_##x(PS_DESTROY_ARGS) +#define PS_GC_FUNC(x) zend_long ps_gc_##x(PS_GC_ARGS) +#define PS_CREATE_SID_FUNC(x) zend_string *ps_create_sid_##x(PS_CREATE_SID_ARGS) +#define PS_VALIDATE_SID_FUNC(x) zend_result ps_validate_sid_##x(PS_VALIDATE_SID_ARGS) +#define PS_UPDATE_TIMESTAMP_FUNC(x) zend_result ps_update_timestamp_##x(PS_UPDATE_TIMESTAMP_ARGS) + +/* Legacy save handler module definitions */ +#define PS_FUNCS(x) \ + PS_OPEN_FUNC(x); \ + PS_CLOSE_FUNC(x); \ + PS_READ_FUNC(x); \ + PS_WRITE_FUNC(x); \ + PS_DESTROY_FUNC(x); \ + PS_GC_FUNC(x); \ + PS_CREATE_SID_FUNC(x) + +#define PS_MOD(x) \ + #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ + ps_delete_##x, ps_gc_##x, php_session_create_id, \ + php_session_validate_sid, php_session_update_timestamp + +/* Legacy SID creation enabled save handler module definitions */ +#define PS_FUNCS_SID(x) \ + PS_OPEN_FUNC(x); \ + PS_CLOSE_FUNC(x); \ + PS_READ_FUNC(x); \ + PS_WRITE_FUNC(x); \ + PS_DESTROY_FUNC(x); \ + PS_GC_FUNC(x); \ + PS_CREATE_SID_FUNC(x); \ + PS_VALIDATE_SID_FUNC(x); \ + PS_UPDATE_TIMESTAMP_FUNC(x); + +#define PS_MOD_SID(x) \ + #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ + ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ + php_session_validate_sid, php_session_update_timestamp + +/* Update timestamp enabled save handler module definitions + New save handlers should use this API */ +#define PS_FUNCS_UPDATE_TIMESTAMP(x) \ + PS_OPEN_FUNC(x); \ + PS_CLOSE_FUNC(x); \ + PS_READ_FUNC(x); \ + PS_WRITE_FUNC(x); \ + PS_DESTROY_FUNC(x); \ + PS_GC_FUNC(x); \ + PS_CREATE_SID_FUNC(x); \ + PS_VALIDATE_SID_FUNC(x); \ + PS_UPDATE_TIMESTAMP_FUNC(x); + +#define PS_MOD_UPDATE_TIMESTAMP(x) \ + #x, ps_open_##x, ps_close_##x, ps_read_##x, ps_write_##x, \ + ps_delete_##x, ps_gc_##x, ps_create_sid_##x, \ + ps_validate_sid_##x, ps_update_timestamp_##x + + +typedef enum { + php_session_disabled, + php_session_none, + php_session_active +} php_session_status; + +typedef struct _php_session_rfc1867_progress { + size_t sname_len; + zval sid; + smart_str key; + + zend_long update_step; + zend_long next_update; + double next_update_time; + bool cancel_upload; + bool apply_trans_sid; + size_t content_length; + + zval data; /* the array exported to session data */ + zval files; /* data["files"] array */ + zval *post_bytes_processed; /* data["bytes_processed"] */ + zval *current_file_bytes_processed; + zval current_file; /* array of currently uploading file */ +} php_session_rfc1867_progress; + +typedef struct _php_ps_globals { + char *save_path; + char *session_name; + zend_string *id; + char *extern_referer_chk; + char *cache_limiter; + zend_long cookie_lifetime; + char *cookie_path; + char *cookie_domain; + char *cookie_samesite; + bool cookie_secure; + bool cookie_httponly; + const ps_module *mod; + const ps_module *default_mod; + void *mod_data; + php_session_status session_status; + zend_string *session_started_filename; + uint32_t session_started_lineno; + int module_number; + php_random_status_state_pcgoneseq128xslrr64 random_state; + php_random_algo_with_state random; + zend_long gc_probability; + zend_long gc_divisor; + zend_long gc_maxlifetime; + zend_long cache_expire; + struct { + zval ps_open; + zval ps_close; + zval ps_read; + zval ps_write; + zval ps_destroy; + zval ps_gc; + zval ps_create_sid; + zval ps_validate_sid; + zval ps_update_timestamp; + } mod_user_names; + zend_string *mod_user_class_name; + bool mod_user_implemented; + bool mod_user_is_open; + bool auto_start; + bool use_cookies; + bool use_only_cookies; + bool use_trans_sid; /* contains the INI value of whether to use trans-sid */ + bool send_cookie; + bool define_sid; + + const struct ps_serializer_struct *serializer; + zval http_session_vars; + + zend_long sid_length; + zend_long sid_bits_per_character; + + php_session_rfc1867_progress *rfc1867_progress; + char *rfc1867_prefix; /* session.upload_progress.prefix */ + char *rfc1867_name; /* session.upload_progress.name */ + zend_long rfc1867_freq; /* session.upload_progress.freq */ + double rfc1867_min_freq; /* session.upload_progress.min_freq */ + bool rfc1867_enabled; /* session.upload_progress.enabled */ + bool rfc1867_cleanup; /* session.upload_progress.cleanup */ + + bool use_strict_mode; /* whether or not PHP accepts unknown session ids */ + bool lazy_write; /* omit session write when it is possible */ + bool in_save_handler; /* state if session is in save handler or not */ + bool set_handler; /* state if session module i setting handler or not */ + zend_string *session_vars; /* serialized original session data */ +} php_ps_globals; + +typedef php_ps_globals zend_ps_globals; + +extern zend_module_entry session_module_entry; +#define phpext_session_ptr &session_module_entry + +#ifdef ZTS +#define PS(v) ZEND_TSRMG(ps_globals_id, php_ps_globals *, v) +#ifdef COMPILE_DL_SESSION +ZEND_TSRMLS_CACHE_EXTERN() +#endif +#else +#define PS(v) (ps_globals.v) +#endif + +#define PS_SERIALIZER_ENCODE_ARGS void +#define PS_SERIALIZER_DECODE_ARGS const char *val, size_t vallen + +typedef struct ps_serializer_struct { + const char *name; + zend_string *(*encode)(PS_SERIALIZER_ENCODE_ARGS); + zend_result (*decode)(PS_SERIALIZER_DECODE_ARGS); +} ps_serializer; + +#define PS_SERIALIZER_ENCODE_NAME(x) ps_srlzr_encode_##x +#define PS_SERIALIZER_DECODE_NAME(x) ps_srlzr_decode_##x + +#define PS_SERIALIZER_ENCODE_FUNC(x) \ + zend_string *PS_SERIALIZER_ENCODE_NAME(x)(PS_SERIALIZER_ENCODE_ARGS) +#define PS_SERIALIZER_DECODE_FUNC(x) \ + zend_result PS_SERIALIZER_DECODE_NAME(x)(PS_SERIALIZER_DECODE_ARGS) + +#define PS_SERIALIZER_FUNCS(x) \ + PS_SERIALIZER_ENCODE_FUNC(x); \ + PS_SERIALIZER_DECODE_FUNC(x) + +#define PS_SERIALIZER_ENTRY(x) \ + { #x, PS_SERIALIZER_ENCODE_NAME(x), PS_SERIALIZER_DECODE_NAME(x) } + +/* default create id function */ +PHPAPI zend_string *php_session_create_id(PS_CREATE_SID_ARGS); +/* Dummy PS module functions */ +PHPAPI zend_result php_session_validate_sid(PS_VALIDATE_SID_ARGS); +PHPAPI zend_result php_session_update_timestamp(PS_UPDATE_TIMESTAMP_ARGS); + +PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len); + +PHPAPI zend_result php_session_destroy(void); +PHPAPI void php_add_session_var(zend_string *name); +PHPAPI zval *php_set_session_var(zend_string *name, zval *state_val, php_unserialize_data_t *var_hash); +PHPAPI zval *php_get_session_var(zend_string *name); +PHPAPI zval* php_get_session_var_str(const char *name, size_t name_len); + +PHPAPI zend_result php_session_register_module(const ps_module *); + +PHPAPI zend_result php_session_register_serializer(const char *name, + zend_string *(*encode)(PS_SERIALIZER_ENCODE_ARGS), + zend_result (*decode)(PS_SERIALIZER_DECODE_ARGS)); + +PHPAPI zend_result php_session_start(void); +PHPAPI zend_result php_session_flush(int write); +PHPAPI php_session_status php_get_session_status(void); + +PHPAPI const ps_module *_php_find_ps_module(const char *name); +PHPAPI const ps_serializer *_php_find_ps_serializer(const char *name); + +PHPAPI zend_result php_session_valid_key(const char *key); +PHPAPI zend_result php_session_reset_id(void); + +#define PS_ADD_VARL(name) do { \ + php_add_session_var(name); \ +} while (0) + +#define PS_ADD_VAR(name) PS_ADD_VARL(name) + +#define PS_DEL_VARL(name) do { \ + if (!Z_ISNULL(PS(http_session_vars))) { \ + zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \ + } \ +} while (0) + + +#define PS_ENCODE_VARS \ + zend_string *key; \ + zend_ulong num_key; \ + zval *struc; + +#define PS_ENCODE_LOOP(code) do { \ + HashTable *_ht = Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))); \ + ZEND_HASH_FOREACH_KEY(_ht, num_key, key) { \ + if (key == NULL) { \ + php_error_docref(NULL, E_WARNING, \ + "Skipping numeric key " ZEND_LONG_FMT, num_key);\ + continue; \ + } \ + if ((struc = php_get_session_var(key))) { \ + code; \ + } \ + } ZEND_HASH_FOREACH_END(); \ +} while(0) + +PHPAPI ZEND_EXTERN_MODULE_GLOBALS(ps) + +void php_session_auto_start(void *data); + +extern PHPAPI zend_class_entry *php_session_class_entry; + +extern PHPAPI zend_class_entry *php_session_iface_entry; + +extern PHPAPI zend_class_entry *php_session_id_iface_entry; + +extern PHPAPI zend_class_entry *php_session_update_timestamp_iface_entry; + +extern PHP_METHOD(SessionHandler, open); +extern PHP_METHOD(SessionHandler, close); +extern PHP_METHOD(SessionHandler, read); +extern PHP_METHOD(SessionHandler, write); +extern PHP_METHOD(SessionHandler, destroy); +extern PHP_METHOD(SessionHandler, gc); +extern PHP_METHOD(SessionHandler, create_sid); + +#endif diff --git a/lang/php86/pkg-descr b/lang/php86/pkg-descr new file mode 100644 index 000000000000..60a2137716fb --- /dev/null +++ b/lang/php86/pkg-descr @@ -0,0 +1,6 @@ +PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open +Source general-purpose scripting language that is especially suited for +Web development and can be embedded into HTML. Its syntax draws upon C, +Java, and Perl, and is easy to learn. The main goal of the language is to +allow web developers to write dynamically generated webpages quickly, but +you can do much more with PHP. diff --git a/lang/php86/pkg-message.mod b/lang/php86/pkg-message.mod new file mode 100644 index 000000000000..8ad98d25b4e6 --- /dev/null +++ b/lang/php86/pkg-message.mod @@ -0,0 +1,24 @@ +****************************************************************************** + +Consider switching to php-fpm and mod_fast_cgi as per Apache httpd project +recommendation. See https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM + +****************************************************************************** + +If you are building PHP-based ports in poudriere(8) or Synth with ZTS enabled, +add WITH_MPM=event to /etc/make.conf to prevent build failures. + +****************************************************************************** + +Make sure index.php is part of your DirectoryIndex. + +You should add the following to your Apache configuration file: + +<FilesMatch "\.php$"> + SetHandler application/x-httpd-php +</FilesMatch> +<FilesMatch "\.phps$"> + SetHandler application/x-httpd-php-source +</FilesMatch> + +****************************************************************************** diff --git a/lang/php86/pkg-plist b/lang/php86/pkg-plist new file mode 100644 index 000000000000..b59cc0aa30a0 --- /dev/null +++ b/lang/php86/pkg-plist @@ -0,0 +1,566 @@ +%%CLI%%bin/php +%%CGI%%bin/php-cgi +bin/php-config +%%PHPDBG%%bin/phpdbg +bin/phpize +%%FPM%%sbin/php-fpm +etc/php.conf +etc/php.ini-development +etc/php.ini-production +%%FPM%%@sample etc/php-fpm.conf.default etc/php-fpm.conf +%%FPM%%@sample etc/php-fpm.d/www.conf.default etc/php-fpm.d/www.conf +include/php/TSRM/TSRM.h +include/php/TSRM/tsrm_win32.h +include/php/Zend/Optimizer/zend_call_graph.h +include/php/Zend/Optimizer/zend_cfg.h +include/php/Zend/Optimizer/zend_dfg.h +include/php/Zend/Optimizer/zend_dump.h +include/php/Zend/Optimizer/zend_func_info.h +include/php/Zend/Optimizer/zend_inference.h +include/php/Zend/Optimizer/zend_optimizer.h +include/php/Zend/Optimizer/zend_ssa.h +include/php/Zend/Optimizer/zend_worklist.h +include/php/Zend/zend.h +include/php/Zend/zend_API.h +include/php/Zend/zend_alloc.h +include/php/Zend/zend_alloc_sizes.h +include/php/Zend/zend_arena.h +include/php/Zend/zend_ast.h +include/php/Zend/zend_atomic.h +include/php/Zend/zend_attributes.h +include/php/Zend/zend_attributes_arginfo.h +include/php/Zend/zend_autoload.h +include/php/Zend/zend_bitset.h +include/php/Zend/zend_build.h +include/php/Zend/zend_builtin_functions.h +include/php/Zend/zend_builtin_functions_arginfo.h +include/php/Zend/zend_call_stack.h +include/php/Zend/zend_closures.h +include/php/Zend/zend_closures_arginfo.h +include/php/Zend/zend_compile.h +include/php/Zend/zend_config.h +include/php/Zend/zend_config.w32.h +include/php/Zend/zend_constants.h +include/php/Zend/zend_constants_arginfo.h +include/php/Zend/zend_cpuinfo.h +include/php/Zend/zend_dtrace.h +%%DTRACE%%include/php/Zend/zend_dtrace_gen.h +include/php/Zend/zend_enum.h +include/php/Zend/zend_enum_arginfo.h +include/php/Zend/zend_errors.h +include/php/Zend/zend_exceptions.h +include/php/Zend/zend_exceptions_arginfo.h +include/php/Zend/zend_execute.h +include/php/Zend/zend_extensions.h +include/php/Zend/zend_fibers.h +include/php/Zend/zend_fibers_arginfo.h +include/php/Zend/zend_float.h +include/php/Zend/zend_frameless_function.h +include/php/Zend/zend_gc.h +include/php/Zend/zend_gdb.h +include/php/Zend/zend_generators.h +include/php/Zend/zend_generators_arginfo.h +include/php/Zend/zend_globals.h +include/php/Zend/zend_globals_macros.h +include/php/Zend/zend_hash.h +include/php/Zend/zend_highlight.h +include/php/Zend/zend_hrtime.h +include/php/Zend/zend_inheritance.h +include/php/Zend/zend_ini.h +include/php/Zend/zend_ini_parser.h +include/php/Zend/zend_ini_scanner.h +include/php/Zend/zend_ini_scanner_defs.h +include/php/Zend/zend_interfaces.h +include/php/Zend/zend_interfaces_arginfo.h +include/php/Zend/zend_iterators.h +include/php/Zend/zend_language_parser.h +include/php/Zend/zend_language_scanner.h +include/php/Zend/zend_language_scanner_defs.h +include/php/Zend/zend_lazy_objects.h +include/php/Zend/zend_list.h +include/php/Zend/zend_llist.h +include/php/Zend/zend_long.h +include/php/Zend/zend_map_ptr.h +include/php/Zend/zend_max_execution_timer.h +include/php/Zend/zend_mmap.h +include/php/Zend/zend_modules.h +include/php/Zend/zend_multibyte.h +include/php/Zend/zend_multiply.h +include/php/Zend/zend_object_handlers.h +include/php/Zend/zend_objects.h +include/php/Zend/zend_objects_API.h +include/php/Zend/zend_observer.h +include/php/Zend/zend_operators.h +include/php/Zend/zend_portability.h +include/php/Zend/zend_property_hooks.h +include/php/Zend/zend_ptr_stack.h +include/php/Zend/zend_range_check.h +include/php/Zend/zend_signal.h +include/php/Zend/zend_simd.h +include/php/Zend/zend_smart_str.h +include/php/Zend/zend_smart_str_public.h +include/php/Zend/zend_smart_string.h +include/php/Zend/zend_smart_string_public.h +include/php/Zend/zend_sort.h +include/php/Zend/zend_stack.h +include/php/Zend/zend_stream.h +include/php/Zend/zend_string.h +include/php/Zend/zend_strtod.h +include/php/Zend/zend_strtod_int.h +include/php/Zend/zend_system_id.h +include/php/Zend/zend_type_info.h +include/php/Zend/zend_types.h +include/php/Zend/zend_variables.h +include/php/Zend/zend_verify_type_inference.h +include/php/Zend/zend_virtual_cwd.h +include/php/Zend/zend_vm.h +include/php/Zend/zend_vm_def.h +include/php/Zend/zend_vm_execute.h +include/php/Zend/zend_vm_handlers.h +include/php/Zend/zend_vm_opcodes.h +include/php/Zend/zend_vm_trace_handlers.h +include/php/Zend/zend_vm_trace_lines.h +include/php/Zend/zend_vm_trace_map.h +include/php/Zend/zend_weakrefs.h +include/php/Zend/zend_weakrefs_arginfo.h +include/php/ext/date/lib/timelib.h +include/php/ext/date/lib/timelib_config.h +include/php/ext/date/php_date.h +include/php/ext/hash/php_hash.h +include/php/ext/hash/php_hash_adler32.h +include/php/ext/hash/php_hash_crc32.h +include/php/ext/hash/php_hash_fnv.h +include/php/ext/hash/php_hash_gost.h +include/php/ext/hash/php_hash_haval.h +include/php/ext/hash/php_hash_joaat.h +include/php/ext/hash/php_hash_md.h +include/php/ext/hash/php_hash_murmur.h +include/php/ext/hash/php_hash_ripemd.h +include/php/ext/hash/php_hash_sha.h +include/php/ext/hash/php_hash_sha3.h +include/php/ext/hash/php_hash_snefru.h +include/php/ext/hash/php_hash_tiger.h +include/php/ext/hash/php_hash_whirlpool.h +include/php/ext/hash/php_hash_xxhash.h +include/php/ext/hash/xxhash/xxhash.h +include/php/ext/json/php_json.h +include/php/ext/json/php_json_parser.h +include/php/ext/json/php_json_scanner.h +include/php/ext/lexbor/core/array.h +include/php/ext/lexbor/core/array_obj.h +include/php/ext/lexbor/core/avl.h +include/php/ext/lexbor/core/base.h +include/php/ext/lexbor/core/bst.h +include/php/ext/lexbor/core/bst_map.h +include/php/ext/lexbor/core/conv.h +include/php/ext/lexbor/core/core.h +include/php/ext/lexbor/core/def.h +include/php/ext/lexbor/core/diyfp.h +include/php/ext/lexbor/core/dobject.h +include/php/ext/lexbor/core/dtoa.h +include/php/ext/lexbor/core/fs.h +include/php/ext/lexbor/core/hash.h +include/php/ext/lexbor/core/in.h +include/php/ext/lexbor/core/lexbor.h +include/php/ext/lexbor/core/mem.h +include/php/ext/lexbor/core/mraw.h +include/php/ext/lexbor/core/perf.h +include/php/ext/lexbor/core/plog.h +include/php/ext/lexbor/core/print.h +include/php/ext/lexbor/core/sbst.h +include/php/ext/lexbor/core/serialize.h +include/php/ext/lexbor/core/shs.h +include/php/ext/lexbor/core/str.h +include/php/ext/lexbor/core/strtod.h +include/php/ext/lexbor/core/str_res.h +include/php/ext/lexbor/core/swar.h +include/php/ext/lexbor/core/types.h +include/php/ext/lexbor/core/utils.h +include/php/ext/lexbor/css/at_rule.h +include/php/ext/lexbor/css/at_rule/types.h +include/php/ext/lexbor/css/at_rule/const.h +include/php/ext/lexbor/css/at_rule/res.h +include/php/ext/lexbor/css/at_rule/state.h +include/php/ext/lexbor/css/base.h +include/php/ext/lexbor/css/blank.h +include/php/ext/lexbor/css/css.h +include/php/ext/lexbor/css/declaration.h +include/php/ext/lexbor/css/property.h +include/php/ext/lexbor/css/property/const.h +include/php/ext/lexbor/css/property/res.h +include/php/ext/lexbor/css/property/state.h +include/php/ext/lexbor/css/property/types.h +include/php/ext/lexbor/css/rule.h +include/php/ext/lexbor/css/selectors/base.h +include/php/ext/lexbor/css/selectors/pseudo.h +include/php/ext/lexbor/css/selectors/pseudo_const.h +include/php/ext/lexbor/css/selectors/pseudo_res.h +include/php/ext/lexbor/css/selectors/pseudo_state.h +include/php/ext/lexbor/css/selectors/selector.h +include/php/ext/lexbor/css/selectors/selectors.h +include/php/ext/lexbor/css/selectors/state.h +include/php/ext/lexbor/css/state.h +include/php/ext/lexbor/css/stylesheet.h +include/php/ext/lexbor/css/syntax/anb.h +include/php/ext/lexbor/css/syntax/base.h +include/php/ext/lexbor/css/syntax/parser.h +include/php/ext/lexbor/css/syntax/res.h +include/php/ext/lexbor/css/syntax/state.h +include/php/ext/lexbor/css/syntax/state_res.h +include/php/ext/lexbor/css/syntax/syntax.h +include/php/ext/lexbor/css/syntax/token.h +include/php/ext/lexbor/css/syntax/token_res.h +include/php/ext/lexbor/css/syntax/tokenizer.h +include/php/ext/lexbor/css/syntax/tokenizer/error.h +include/php/ext/lexbor/css/unit.h +include/php/ext/lexbor/css/unit/const.h +include/php/ext/lexbor/css/unit/res.h +include/php/ext/lexbor/css/value.h +include/php/ext/lexbor/css/value/const.h +include/php/ext/lexbor/css/value/res.h +include/php/ext/lexbor/dom/interfaces/attr.h +include/php/ext/lexbor/dom/interfaces/attr_const.h +include/php/ext/lexbor/dom/interfaces/attr_res.h +include/php/ext/lexbor/dom/interfaces/cdata_section.h +include/php/ext/lexbor/dom/interfaces/character_data.h +include/php/ext/lexbor/dom/interfaces/comment.h +include/php/ext/lexbor/dom/interfaces/document.h +include/php/ext/lexbor/dom/interfaces/document_fragment.h +include/php/ext/lexbor/dom/interfaces/document_type.h +include/php/ext/lexbor/dom/interfaces/element.h +include/php/ext/lexbor/dom/interfaces/event_target.h +include/php/ext/lexbor/dom/interfaces/processing_instruction.h +include/php/ext/lexbor/dom/interfaces/shadow_root.h +include/php/ext/lexbor/dom/interfaces/text.h +include/php/ext/lexbor/encoding/multi.h +include/php/ext/lexbor/encoding/range.h +include/php/ext/lexbor/encoding/single.h +include/php/ext/lexbor/html/encoding.h +include/php/ext/lexbor/html/html.h +include/php/ext/lexbor/html/interface.h +include/php/ext/lexbor/html/interface_res.h +include/php/ext/lexbor/html/interfaces/anchor_element.h +include/php/ext/lexbor/html/interfaces/area_element.h +include/php/ext/lexbor/html/interfaces/audio_element.h +include/php/ext/lexbor/html/interfaces/base_element.h +include/php/ext/lexbor/html/interfaces/body_element.h +include/php/ext/lexbor/html/interfaces/br_element.h +include/php/ext/lexbor/html/interfaces/button_element.h +include/php/ext/lexbor/html/interfaces/canvas_element.h +include/php/ext/lexbor/html/interfaces/d_list_element.h +include/php/ext/lexbor/html/interfaces/data_element.h +include/php/ext/lexbor/html/interfaces/data_list_element.h +include/php/ext/lexbor/html/interfaces/details_element.h +include/php/ext/lexbor/html/interfaces/dialog_element.h +include/php/ext/lexbor/html/interfaces/directory_element.h +include/php/ext/lexbor/html/interfaces/div_element.h +include/php/ext/lexbor/html/interfaces/document.h +include/php/ext/lexbor/html/interfaces/element.h +include/php/ext/lexbor/html/interfaces/embed_element.h +include/php/ext/lexbor/html/interfaces/field_set_element.h +include/php/ext/lexbor/html/interfaces/font_element.h +include/php/ext/lexbor/html/interfaces/form_element.h +include/php/ext/lexbor/html/interfaces/frame_element.h +include/php/ext/lexbor/html/interfaces/frame_set_element.h +include/php/ext/lexbor/html/interfaces/head_element.h +include/php/ext/lexbor/html/interfaces/heading_element.h +include/php/ext/lexbor/html/interfaces/hr_element.h +include/php/ext/lexbor/html/interfaces/html_element.h +include/php/ext/lexbor/html/interfaces/iframe_element.h +include/php/ext/lexbor/html/interfaces/image_element.h +include/php/ext/lexbor/html/interfaces/input_element.h +include/php/ext/lexbor/html/interfaces/label_element.h +include/php/ext/lexbor/html/interfaces/legend_element.h +include/php/ext/lexbor/html/interfaces/li_element.h +include/php/ext/lexbor/html/interfaces/link_element.h +include/php/ext/lexbor/html/interfaces/map_element.h +include/php/ext/lexbor/html/interfaces/marquee_element.h +include/php/ext/lexbor/html/interfaces/media_element.h +include/php/ext/lexbor/html/interfaces/menu_element.h +include/php/ext/lexbor/html/interfaces/meta_element.h +include/php/ext/lexbor/html/interfaces/meter_element.h +include/php/ext/lexbor/html/interfaces/mod_element.h +include/php/ext/lexbor/html/interfaces/o_list_element.h +include/php/ext/lexbor/html/interfaces/object_element.h +include/php/ext/lexbor/html/interfaces/opt_group_element.h +include/php/ext/lexbor/html/interfaces/option_element.h +include/php/ext/lexbor/html/interfaces/output_element.h +include/php/ext/lexbor/html/interfaces/paragraph_element.h +include/php/ext/lexbor/html/interfaces/param_element.h +include/php/ext/lexbor/html/interfaces/picture_element.h +include/php/ext/lexbor/html/interfaces/pre_element.h +include/php/ext/lexbor/html/interfaces/progress_element.h +include/php/ext/lexbor/html/interfaces/quote_element.h +include/php/ext/lexbor/html/interfaces/script_element.h +include/php/ext/lexbor/html/interfaces/search_element.h +include/php/ext/lexbor/html/interfaces/select_element.h +include/php/ext/lexbor/html/interfaces/selectedcontent_element.h +include/php/ext/lexbor/html/interfaces/slot_element.h +include/php/ext/lexbor/html/interfaces/source_element.h +include/php/ext/lexbor/html/interfaces/span_element.h +include/php/ext/lexbor/html/interfaces/style_element.h +include/php/ext/lexbor/html/interfaces/table_caption_element.h +include/php/ext/lexbor/html/interfaces/table_cell_element.h +include/php/ext/lexbor/html/interfaces/table_col_element.h +include/php/ext/lexbor/html/interfaces/table_element.h +include/php/ext/lexbor/html/interfaces/table_row_element.h +include/php/ext/lexbor/html/interfaces/table_section_element.h +include/php/ext/lexbor/html/interfaces/template_element.h +include/php/ext/lexbor/html/interfaces/text_area_element.h +include/php/ext/lexbor/html/interfaces/time_element.h +include/php/ext/lexbor/html/interfaces/title_element.h +include/php/ext/lexbor/html/interfaces/track_element.h +include/php/ext/lexbor/html/interfaces/u_list_element.h +include/php/ext/lexbor/html/interfaces/unknown_element.h +include/php/ext/lexbor/html/interfaces/video_element.h +include/php/ext/lexbor/html/interfaces/window.h +include/php/ext/lexbor/html/node.h +include/php/ext/lexbor/html/serialize.h +include/php/ext/lexbor/html/tag.h +include/php/ext/lexbor/html/tag_res.h +include/php/ext/lexbor/html/token.h +include/php/ext/lexbor/html/token_attr.h +include/php/ext/lexbor/html/tokenizer.h +include/php/ext/lexbor/html/tokenizer/error.h +include/php/ext/lexbor/html/tokenizer/res.h +include/php/ext/lexbor/html/tokenizer/state.h +include/php/ext/lexbor/html/tokenizer/state_comment.h +include/php/ext/lexbor/html/tokenizer/state_doctype.h +include/php/ext/lexbor/html/tokenizer/state_rawtext.h +include/php/ext/lexbor/html/tokenizer/state_rcdata.h +include/php/ext/lexbor/html/tokenizer/state_script.h +include/php/ext/lexbor/html/tree/active_formatting.h +include/php/ext/lexbor/html/tree/error.h +include/php/ext/lexbor/html/tree/insertion_mode.h +include/php/ext/lexbor/html/tree/open_elements.h +include/php/ext/lexbor/html/tree/template_insertion.h +include/php/ext/lexbor/html/tree_res.h +include/php/ext/lexbor/ns/base.h +include/php/ext/lexbor/ns/ns.h +include/php/ext/lexbor/ns/res.h +include/php/ext/lexbor/punycode/base.h +include/php/ext/lexbor/punycode/punycode.h +include/php/ext/lexbor/tag/base.h +include/php/ext/lexbor/tag/res.h +include/php/ext/lexbor/tag/tag.h +include/php/ext/lexbor/unicode/base.h +include/php/ext/lexbor/unicode/idna.h +include/php/ext/lexbor/unicode/res.h +include/php/ext/lexbor/unicode/unicode.h +include/php/ext/lexbor/url/base.h +include/php/ext/lexbor/url/url.h +include/php/ext/lexbor/css/log.h +include/php/ext/lexbor/css/parser.h +include/php/ext/lexbor/dom/base.h +include/php/ext/lexbor/dom/collection.h +include/php/ext/lexbor/dom/dom.h +include/php/ext/lexbor/dom/exception.h +include/php/ext/lexbor/dom/interface.h +include/php/ext/lexbor/dom/interfaces/node.h +include/php/ext/lexbor/encoding/base.h +include/php/ext/lexbor/encoding/const.h +include/php/ext/lexbor/encoding/decode.h +include/php/ext/lexbor/encoding/encode.h +include/php/ext/lexbor/encoding/encoding.h +include/php/ext/lexbor/encoding/res.h +include/php/ext/lexbor/html/base.h +include/php/ext/lexbor/html/parser.h +include/php/ext/lexbor/html/tree.h +include/php/ext/lexbor/ns/const.h +include/php/ext/lexbor/php_lexbor.h +include/php/ext/lexbor/selectors/base.h +include/php/ext/lexbor/tag/const.h +include/php/ext/libxml/php_libxml.h +%%MYSQLND%%include/php/ext/mysqlnd/config-win.h +%%MYSQLND%%include/php/ext/mysqlnd/mysql_float_to_double.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_alloc.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_auth.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_block_alloc.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_charset.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_commands.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_connection.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_debug.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_enum_n_def.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_ext_plugin.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_libmysql_compat.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_plugin.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_portability.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_priv.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_protocol_frame_codec.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_ps.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_read_buffer.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_result.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_result_meta.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_reverse_api.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_statistics.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_structs.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_vio.h +%%MYSQLND%%include/php/ext/mysqlnd/mysqlnd_wireprotocol.h +%%MYSQLND%%include/php/ext/mysqlnd/php_mysqlnd.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/config.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2_internal.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2_intmodedep.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2_jit_neon_inc.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2_jit_simd_inc.h +%%BUNDLED_PCRE%%include/php/ext/pcre/pcre2lib/pcre2_ucp.h +include/php/ext/opcache/zend_accelerator_api.h +include/php/ext/pcre/php_pcre.h +include/php/ext/random/php_random.h +include/php/ext/random/php_random_csprng.h +include/php/ext/random/random_decl.h +include/php/ext/random/php_random_uint128.h +include/php/ext/spl/php_spl.h +include/php/ext/spl/spl_array.h +include/php/ext/spl/spl_directory.h +include/php/ext/spl/spl_dllist.h +include/php/ext/spl/spl_exceptions.h +include/php/ext/spl/spl_fixedarray.h +include/php/ext/spl/spl_functions.h +include/php/ext/spl/spl_heap.h +include/php/ext/spl/spl_iterators.h +include/php/ext/spl/spl_observer.h +include/php/ext/standard/base64.h +include/php/ext/standard/basic_functions.h +include/php/ext/standard/basic_functions_arginfo.h +include/php/ext/standard/basic_functions_decl.h +include/php/ext/standard/crc32.h +include/php/ext/standard/crc32_x86.h +include/php/ext/standard/credits.h +include/php/ext/standard/credits_ext.h +include/php/ext/standard/credits_sapi.h +include/php/ext/standard/crypt_blowfish.h +include/php/ext/standard/crypt_freesec.h +include/php/ext/standard/css.h +include/php/ext/standard/dir_arginfo.h +include/php/ext/standard/dl.h +include/php/ext/standard/dl_arginfo.h +include/php/ext/standard/exec.h +include/php/ext/standard/file.h +include/php/ext/standard/file_arginfo.h +include/php/ext/standard/flock_compat.h +include/php/ext/standard/fsock.h +include/php/ext/standard/head.h +include/php/ext/standard/html.h +include/php/ext/standard/html_tables.h +include/php/ext/standard/info.h +include/php/ext/standard/io_poll_arginfo.h +include/php/ext/standard/io_poll_decl.h +include/php/ext/standard/md5.h +include/php/ext/standard/pageinfo.h +include/php/ext/standard/password_arginfo.h +include/php/ext/standard/php_array.h +include/php/ext/standard/php_assert.h +include/php/ext/standard/php_browscap.h +include/php/ext/standard/php_crypt.h +include/php/ext/standard/php_crypt_r.h +include/php/ext/standard/php_dir.h +include/php/ext/standard/php_dir_int.h +include/php/ext/standard/php_dns.h +include/php/ext/standard/php_ext_syslog.h +include/php/ext/standard/php_filestat.h +include/php/ext/standard/php_fopen_wrappers.h +include/php/ext/standard/php_http.h +include/php/ext/standard/php_image.h +include/php/ext/standard/php_incomplete_class.h +include/php/ext/standard/php_mail.h +include/php/ext/standard/php_math.h +include/php/ext/standard/php_math_round_mode.h +include/php/ext/standard/php_net.h +include/php/ext/standard/php_password.h +include/php/ext/standard/php_standard.h +include/php/ext/standard/php_string.h +include/php/ext/standard/php_uuencode.h +include/php/ext/standard/php_var.h +include/php/ext/standard/php_versioning.h +include/php/ext/standard/proc_open.h +include/php/ext/standard/quot_print.h +include/php/ext/standard/scanf.h +include/php/ext/standard/sha1.h +include/php/ext/standard/streamsfuncs.h +include/php/ext/standard/url.h +include/php/ext/standard/url_scanner_ex.h +include/php/ext/standard/user_filters_arginfo.h +include/php/ext/standard/winver.h +include/php/ext/uri/php_uri.h +include/php/ext/uri/php_uri_common.h +include/php/ext/uri/php_uri_decl.h +include/php/ext/uri/uri_parser_rfc3986.h +include/php/ext/uri/uri_parser_php_parse_url.h +include/php/ext/uri/uri_parser_whatwg.h +@touch include/php/ext/php_config.h +@rmempty include/php/ext/php_config.h +include/php/main/SAPI.h +include/php/main/build-defs.h +include/php/main/charclass.h +include/php/main/fastcgi.h +include/php/main/fopen_wrappers.h +include/php/main/http_status_codes.h +include/php/main/main_arginfo.h +include/php/main/php.h +include/php/main/php_compat.h +include/php/main/php_config.h +include/php/main/php_content_types.h +include/php/main/php_getopt.h +include/php/main/php_glob.h +include/php/main/php_globals.h +include/php/main/php_ini.h +include/php/main/php_ini_builder.h +include/php/main/php_main.h +include/php/main/php_memory_streams.h +include/php/main/php_network.h +include/php/main/php_odbc_utils.h +include/php/main/php_open_temporary_file.h +include/php/main/php_output.h +include/php/main/php_poll.h +include/php/main/php_reentrancy.h +include/php/main/php_scandir.h +include/php/main/php_streams.h +include/php/main/streams/php_stream_errors.h +include/php/main/php_syslog.h +include/php/main/php_ticks.h +include/php/main/php_variables.h +include/php/main/php_version.h +include/php/main/rfc1867.h +include/php/main/snprintf.h +include/php/main/spprintf.h +include/php/main/streams/php_stream_context.h +include/php/main/streams/stream_errors_arginfo.h +include/php/main/streams/stream_errors_decl.h +include/php/main/streams/php_stream_filter_api.h +include/php/main/streams/php_stream_glob_wrapper.h +include/php/main/streams/php_stream_mmap.h +include/php/main/streams/php_stream_plain_wrapper.h +include/php/main/streams/php_stream_transport.h +include/php/main/streams/php_stream_userspace.h +include/php/main/streams/php_streams_int.h +include/php/main/streams/userspace_arginfo.h +%%CLI%%include/php/sapi/cli/cli.h +%%EMBED%%include/php/sapi/embed/php_embed.h +%%EMBED%%lib/libphp.so +lib/php/build/Makefile.global +lib/php/build/ax_check_compile_flag.m4 +lib/php/build/ax_gcc_func_attribute.m4 +lib/php/build/config.guess +lib/php/build/config.sub +lib/php/build/gen_stub.php +lib/php/build/libtool.m4 +lib/php/build/ltmain.sh +lib/php/build/ltoptions.m4 +lib/php/build/ltsugar.m4 +lib/php/build/ltversion.m4 +lib/php/build/lt~obsolete.m4 +lib/php/build/php.m4 +lib/php/build/php_cxx_compile_stdcxx.m4 +lib/php/build/phpize.m4 +lib/php/build/pkg.m4 +lib/php/build/run-tests.php +lib/php/build/shtool +%%CGI%%share/man/man1/php-cgi.1.gz +share/man/man1/php-config.1.gz +%%CLI%%share/man/man1/php.1.gz +%%PHPDBG%%share/man/man1/phpdbg.1.gz +share/man/man1/phpize.1.gz +%%FPM%%share/man/man8/php-fpm.8.gz +%%FPM%%share/php/fpm/status.html diff --git a/lang/php86/pkg-plist.mod b/lang/php86/pkg-plist.mod new file mode 100644 index 000000000000..8939be6d3d5e --- /dev/null +++ b/lang/php86/pkg-plist.mod @@ -0,0 +1,3 @@ +%%APACHEMODDIR%%/%%AP_MODULE%% +@postexec %D/sbin/apxs -e -a -n %%AP_NAME%% %f +@preunexec %D/sbin/apxs -e -A -n %%AP_NAME%% %f diff --git a/mail/nocc/Makefile b/mail/nocc/Makefile index 5432fd4bc211..c4369d3b9bd3 100644 --- a/mail/nocc/Makefile +++ b/mail/nocc/Makefile @@ -14,6 +14,7 @@ USES= cpe php:web OPTIONS_DEFINE= DOCS USE_PHP= ctype iconv imap mbstring session +IGNORE_WITH_PHP= 86 SUB_FILES= pkg-message NO_ARCH= yes diff --git a/mail/pear-Horde_Imap_Client/Makefile b/mail/pear-Horde_Imap_Client/Makefile index 52cbb2ba46ed..2ec1975cd5f1 100644 --- a/mail/pear-Horde_Imap_Client/Makefile +++ b/mail/pear-Horde_Imap_Client/Makefile @@ -13,6 +13,7 @@ USE_HORDE_RUN= Horde_Exception \ Horde_Mime \ Horde_Stream \ Horde_Util +IGNORE_WITH_PHP= 86 NO_ARCH= yes diff --git a/mail/pear-Horde_Kolab_Storage/Makefile b/mail/pear-Horde_Kolab_Storage/Makefile index 3254d1bffbe6..752d1b1d6617 100644 --- a/mail/pear-Horde_Kolab_Storage/Makefile +++ b/mail/pear-Horde_Kolab_Storage/Makefile @@ -17,6 +17,8 @@ USE_HORDE_RUN= Horde_Cache \ # Optional but we want it USE_PHP+= imap +IGNORE_WITH_PHP= 86 + USE_HORDE_RUN+= Horde_Imap_Client .include <bsd.port.mk> diff --git a/mail/pear-Horde_Mail_Autoconfig/Makefile b/mail/pear-Horde_Mail_Autoconfig/Makefile index acb619a76567..790cc1743ec0 100644 --- a/mail/pear-Horde_Mail_Autoconfig/Makefile +++ b/mail/pear-Horde_Mail_Autoconfig/Makefile @@ -13,6 +13,7 @@ USE_HORDE_RUN= Horde_Exception \ Horde_Imap_Client \ Horde_Mail \ Horde_Smtp +IGNORE_WITH_PHP= 86 RUN_DEPENDS+= ${PEARDIR}/Net/DNS2.php:dns/pear-Net_DNS21@${PHP_FLAVOR} diff --git a/mail/pecl-imap/Makefile b/mail/pecl-imap/Makefile index 61616db44f50..90a2fc3a37ae 100644 --- a/mail/pecl-imap/Makefile +++ b/mail/pecl-imap/Makefile @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libc-client.so.2010:mail/panda-cclient USES= php:pecl localbase ssl -IGNORE_WITH_PHP= 82 83 +IGNORE_WITH_PHP= 82 83 86 CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} --with-imap=${LOCALBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" diff --git a/mail/phplist/Makefile b/mail/phplist/Makefile index ed03374a7864..a30ff5b7f583 100644 --- a/mail/phplist/Makefile +++ b/mail/phplist/Makefile @@ -15,6 +15,7 @@ RUN_DEPENDS= ${PEARDIR}/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR} USES= cpe tar:tgz php:web,flavors USE_PHP= curl gd gettext iconv imap mbstring mysqli session simplexml xml zlib +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile index b4ab81cb7f4f..834ca75bb6ed 100644 --- a/mail/postfixadmin/Makefile +++ b/mail/postfixadmin/Makefile @@ -21,6 +21,7 @@ CPE_PRODUCT= postfix_admin USE_GITHUB= yes GH_TAGNAME= d3bc1551 USE_PHP= mbstring session +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/mail/postfixadmin33/Makefile b/mail/postfixadmin33/Makefile index a83c33d4bd97..6cf733aad05f 100644 --- a/mail/postfixadmin33/Makefile +++ b/mail/postfixadmin33/Makefile @@ -23,6 +23,7 @@ USE_GITHUB= yes GH_ACCOUNT= ${DISTNAME} GH_PROJECT= ${DISTNAME} USE_PHP= mbstring session +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/mail/snappymail/Makefile b/mail/snappymail/Makefile index 0326c1950373..cf7bc166ad41 100644 --- a/mail/snappymail/Makefile +++ b/mail/snappymail/Makefile @@ -18,6 +18,7 @@ RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} \ USES= php:web,flavors USE_PHP= ctype curl dom fileinfo gd iconv intl mbstring phar simplexml \ sodium tidy xml zip zlib +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/math/Makefile b/math/Makefile index b5bb5c3e9154..ae981863797f 100644 --- a/math/Makefile +++ b/math/Makefile @@ -915,6 +915,8 @@ SUBDIR += php84-gmp SUBDIR += php85-bcmath SUBDIR += php85-gmp + SUBDIR += php86-bcmath + SUBDIR += php86-gmp SUBDIR += physcalc SUBDIR += picosat SUBDIR += piranha diff --git a/math/pecl-bitset/Makefile b/math/pecl-bitset/Makefile index d4637c3a4349..8ac8ca74067d 100644 --- a/math/pecl-bitset/Makefile +++ b/math/pecl-bitset/Makefile @@ -11,5 +11,6 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/math/php86-bcmath/Makefile b/math/php86-bcmath/Makefile new file mode 100644 index 000000000000..e00b4c04b982 --- /dev/null +++ b/math/php86-bcmath/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= math + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -bcmath + +.include "${MASTERDIR}/Makefile" diff --git a/math/php86-gmp/Makefile b/math/php86-gmp/Makefile new file mode 100644 index 000000000000..a3b5cff2bdaa --- /dev/null +++ b/math/php86-gmp/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= math + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -gmp + +.include "${MASTERDIR}/Makefile" diff --git a/misc/Makefile b/misc/Makefile index 2fb31e849e97..b292cd9935d1 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -432,6 +432,7 @@ SUBDIR += php83-calendar SUBDIR += php84-calendar SUBDIR += php85-calendar + SUBDIR += php86-calendar SUBDIR += picoclaw SUBDIR += pinfo SUBDIR += pipe diff --git a/misc/php86-calendar/Makefile b/misc/php86-calendar/Makefile new file mode 100644 index 000000000000..73307e434b37 --- /dev/null +++ b/misc/php86-calendar/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= misc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -calendar + +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile index 86fcc32fb3a6..22442427ba83 100644 --- a/multimedia/zoneminder/Makefile +++ b/multimedia/zoneminder/Makefile @@ -49,6 +49,7 @@ GH_TUPLE= FriendsOfCake:crud:1429237:crud/web/api/app/Plugin/Crud \ chmike:CxxUrl:eaf46c0:CxxUrl/dep/CxxUrl \ ZoneMinder:RtspServer:a071599:rtsp_server/dep/RtspServer USE_PHP= ctype gd intl opcache pdo_mysql session sockets sysvsem +IGNORE_WITH_PHP= 86 USE_RC_SUBR= ${PORTNAME} CMAKE_ARGS+= -DZM_PERL_MM_PARMS=INSTALLDIRS=site \ diff --git a/net-im/pecl-stomp2/Makefile b/net-im/pecl-stomp2/Makefile index 697dda0f44e8..9351fc8fde89 100644 --- a/net-im/pecl-stomp2/Makefile +++ b/net-im/pecl-stomp2/Makefile @@ -10,6 +10,7 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:pecl +IGNORE_WITH_PHP= 86 CONFLICTS= pecl-stomp-1* PORTSCOUT= limit:^2.* diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 32b3b030f2be..ec12ae2d3c08 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -304,6 +304,7 @@ SUBDIR += php83-snmp SUBDIR += php84-snmp SUBDIR += php85-snmp + SUBDIR += php86-snmp SUBDIR += phpfpm_exporter SUBDIR += phpipam SUBDIR += ping_exporter diff --git a/net-mgmt/icingaweb2-module-businessprocess/Makefile b/net-mgmt/icingaweb2-module-businessprocess/Makefile index 8d474790ed70..78e220b2c29f 100644 --- a/net-mgmt/icingaweb2-module-businessprocess/Makefile +++ b/net-mgmt/icingaweb2-module-businessprocess/Makefile @@ -16,6 +16,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FL icinga-php-library${PHP_PKGNAMESUFFIX}>=0.13.1:net-mgmt/icinga-php-library@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-cube/Makefile b/net-mgmt/icingaweb2-module-cube/Makefile index 1594ccc875fa..83af31d8cb5e 100644 --- a/net-mgmt/icingaweb2-module-cube/Makefile +++ b/net-mgmt/icingaweb2-module-cube/Makefile @@ -20,6 +20,7 @@ NO_BUILD= yes NO_ARCH= yes USES= php:web,flavors +IGNORE_WITH_PHP= 86 WWWDIR?= ${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//} diff --git a/net-mgmt/icingaweb2-module-director/Makefile b/net-mgmt/icingaweb2-module-director/Makefile index e502e664db12..3703704eedbd 100644 --- a/net-mgmt/icingaweb2-module-director/Makefile +++ b/net-mgmt/icingaweb2-module-director/Makefile @@ -15,6 +15,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FL USES= php:web,flavors USE_PHP= pcntl +IGNORE_WITH_PHP= 86 USE_RC_SUBR= icinga-director DIRECTOR_USER?= icingadirector diff --git a/net-mgmt/icingaweb2-module-elasticsearch/Makefile b/net-mgmt/icingaweb2-module-elasticsearch/Makefile index 64621ecd31ce..e07030e24287 100644 --- a/net-mgmt/icingaweb2-module-elasticsearch/Makefile +++ b/net-mgmt/icingaweb2-module-elasticsearch/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-fileshipper/Makefile b/net-mgmt/icingaweb2-module-fileshipper/Makefile index a5baa6faf1f1..fdd62c8f8c5b 100644 --- a/net-mgmt/icingaweb2-module-fileshipper/Makefile +++ b/net-mgmt/icingaweb2-module-fileshipper/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-generictts/Makefile b/net-mgmt/icingaweb2-module-generictts/Makefile index dcb477c0608c..7a37fb66b10e 100644 --- a/net-mgmt/icingaweb2-module-generictts/Makefile +++ b/net-mgmt/icingaweb2-module-generictts/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-grafana/Makefile b/net-mgmt/icingaweb2-module-grafana/Makefile index a8ed6fbb723c..bf7361608f67 100644 --- a/net-mgmt/icingaweb2-module-grafana/Makefile +++ b/net-mgmt/icingaweb2-module-grafana/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= NETWAYS diff --git a/net-mgmt/icingaweb2-module-graphite/Makefile b/net-mgmt/icingaweb2-module-graphite/Makefile index 6d82b46cc32c..860ea14cf009 100644 --- a/net-mgmt/icingaweb2-module-graphite/Makefile +++ b/net-mgmt/icingaweb2-module-graphite/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-icingadb/Makefile b/net-mgmt/icingaweb2-module-icingadb/Makefile index e10d8c7b45f8..8462c42aca7a 100644 --- a/net-mgmt/icingaweb2-module-icingadb/Makefile +++ b/net-mgmt/icingaweb2-module-icingadb/Makefile @@ -21,6 +21,7 @@ RUN_DEPENDS= icinga-php-library${PHP_PKGNAMESUFFIX}>=0.9:net-mgmt/icinga-php-lib USES= php:web,flavors shebangfix # php json extension is required but it's statically linked in default php USE_PHP= curl dom xml +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga @@ -42,6 +43,7 @@ OPTIONS_DEFAULT= MYSQL PGSQL PDF_DESC= Export graphs as PDF PDF_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} +PDF_VARS= IGNORE_WITH_PHP=86 PGSQL_USE= PHP=pdo_pgsql,pgsql MYSQL_USE= PHP=mysqli,pdo_mysql diff --git a/net-mgmt/icingaweb2-module-idoreports/Makefile b/net-mgmt/icingaweb2-module-idoreports/Makefile index 8625d25455eb..c50a9fab1499 100644 --- a/net-mgmt/icingaweb2-module-idoreports/Makefile +++ b/net-mgmt/icingaweb2-module-idoreports/Makefile @@ -16,6 +16,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FL icingaweb2-module-reporting${PHP_PKGNAMESUFFIX}>=0.10.0:net-mgmt/icingaweb2-module-reporting@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-jira/Makefile b/net-mgmt/icingaweb2-module-jira/Makefile index a74ea18a7edf..3ef223f10ae7 100644 --- a/net-mgmt/icingaweb2-module-jira/Makefile +++ b/net-mgmt/icingaweb2-module-jira/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-map/Makefile b/net-mgmt/icingaweb2-module-map/Makefile index 6d520a8e732d..52b2dbb61ef3 100644 --- a/net-mgmt/icingaweb2-module-map/Makefile +++ b/net-mgmt/icingaweb2-module-map/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= nbuchwitz diff --git a/net-mgmt/icingaweb2-module-pdfexport/Makefile b/net-mgmt/icingaweb2-module-pdfexport/Makefile index 64d17ba91ee1..92e9a882af00 100644 --- a/net-mgmt/icingaweb2-module-pdfexport/Makefile +++ b/net-mgmt/icingaweb2-module-pdfexport/Makefile @@ -16,6 +16,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FL chromium>0:www/chromium USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-reactbundle/Makefile b/net-mgmt/icingaweb2-module-reactbundle/Makefile index 1407534f4155..66be5b716b9f 100644 --- a/net-mgmt/icingaweb2-module-reactbundle/Makefile +++ b/net-mgmt/icingaweb2-module-reactbundle/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-reporting/Makefile b/net-mgmt/icingaweb2-module-reporting/Makefile index b219fc3e56d0..b300be8ad6c2 100644 --- a/net-mgmt/icingaweb2-module-reporting/Makefile +++ b/net-mgmt/icingaweb2-module-reporting/Makefile @@ -17,6 +17,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.12.1:net-mgmt/icingaweb2@${PHP_FL icinga-php-library${PHP_PKGNAMESUFFIX}>=0.13.1:net-mgmt/icinga-php-library@${PHP_FLAVOR} USES= php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-vsphere/Makefile b/net-mgmt/icingaweb2-module-vsphere/Makefile index 4d9e392f18b0..ad8e10a677ba 100644 --- a/net-mgmt/icingaweb2-module-vsphere/Makefile +++ b/net-mgmt/icingaweb2-module-vsphere/Makefile @@ -14,6 +14,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FL USES= php:web,flavors USE_PHP= posix soap +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-vspheredb/Makefile b/net-mgmt/icingaweb2-module-vspheredb/Makefile index e0ceacece819..2450b27f26c7 100644 --- a/net-mgmt/icingaweb2-module-vspheredb/Makefile +++ b/net-mgmt/icingaweb2-module-vspheredb/Makefile @@ -18,6 +18,7 @@ RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FL icingaweb2-module-reactbundle${PHP_PKGNAMESUFFIX}>0:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} USES= mysql php:web,flavors +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/icingaweb2-module-x509/Makefile b/net-mgmt/icingaweb2-module-x509/Makefile index 8e9387f5fd7c..601e0d9bc653 100644 --- a/net-mgmt/icingaweb2-module-x509/Makefile +++ b/net-mgmt/icingaweb2-module-x509/Makefile @@ -16,6 +16,7 @@ RUN_DEPENDS= icinga-php-library${PHP_PKGNAMESUFFIX}>0:net-mgmt/icinga-php-librar icingaweb2-module-reactbundle${PHP_PKGNAMESUFFIX}>0:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} USES= mysql:server php:web,flavors ssl +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= Icinga diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile index 3f2005630ed3..5562e9d8301f 100644 --- a/net-mgmt/icingaweb2/Makefile +++ b/net-mgmt/icingaweb2/Makefile @@ -21,6 +21,7 @@ USE_PHP= bcmath bitset ctype curl dom fileinfo filter gd gettext iconv intl ldap mbstring mcrypt memcache memcached opcache pdo \ pdo_sqlite posix session simplexml soap sockets sqlite3 xml \ zlib +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= icinga diff --git a/net-mgmt/php86-snmp/Makefile b/net-mgmt/php86-snmp/Makefile new file mode 100644 index 000000000000..e7ac154da6ca --- /dev/null +++ b/net-mgmt/php86-snmp/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= net-mgmt + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -snmp + +.include "${MASTERDIR}/Makefile" diff --git a/net-mgmt/phpipam/Makefile b/net-mgmt/phpipam/Makefile index 6668cccab6a3..02c46df0265a 100644 --- a/net-mgmt/phpipam/Makefile +++ b/net-mgmt/phpipam/Makefile @@ -15,6 +15,7 @@ RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR} USES= cpe gettext php:web tar:tgz USE_PHP= ctype curl dom filter gd gettext gmp iconv mbstring mcrypt \ pcntl pdo pdo_mysql posix session simplexml sockets +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/net/Makefile b/net/Makefile index 6f66c0cf14d4..c50bc8327e9a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1013,6 +1013,9 @@ SUBDIR += php85-ldap SUBDIR += php85-soap SUBDIR += php85-sockets + SUBDIR += php86-ldap + SUBDIR += php86-soap + SUBDIR += php86-sockets SUBDIR += phpldapadmin SUBDIR += pimcommon SUBDIR += pimd diff --git a/net/pecl-amqp/Makefile b/net/pecl-amqp/Makefile index 59abcec24163..21519777a2e6 100644 --- a/net/pecl-amqp/Makefile +++ b/net/pecl-amqp/Makefile @@ -12,6 +12,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c USES= php:pecl localbase -IGNORE_WITH_PHP= 85 +IGNORE_WITH_PHP= 85 86 .include <bsd.port.mk> diff --git a/net/pecl-xmlrpc/Makefile b/net/pecl-xmlrpc/Makefile index 8c79674b1fe1..32216e8b9e0f 100644 --- a/net/pecl-xmlrpc/Makefile +++ b/net/pecl-xmlrpc/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= iconv:translit gnome php:pecl pkgconfig USE_PHP= xml:build +IGNORE_WITH_PHP= 86 USE_GNOME= libxml2 CONFIGURE_ARGS+= --with-iconv-dir=${LOCALBASE} diff --git a/net/php86-ldap/Makefile b/net/php86-ldap/Makefile new file mode 100644 index 000000000000..82ee52d077cb --- /dev/null +++ b/net/php86-ldap/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= net + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -ldap + +.include "${MASTERDIR}/Makefile" diff --git a/net/php86-soap/Makefile b/net/php86-soap/Makefile new file mode 100644 index 000000000000..89a4d976751f --- /dev/null +++ b/net/php86-soap/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= net + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -soap + +.include "${MASTERDIR}/Makefile" diff --git a/net/php86-sockets/Makefile b/net/php86-sockets/Makefile new file mode 100644 index 000000000000..2ead8cd6cd28 --- /dev/null +++ b/net/php86-sockets/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= net + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sockets + +.include "${MASTERDIR}/Makefile" diff --git a/security/Makefile b/security/Makefile index d2eaaf3d9b4c..9671e86b171f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -844,6 +844,8 @@ SUBDIR += php84-sodium SUBDIR += php85-filter SUBDIR += php85-sodium + SUBDIR += php86-filter + SUBDIR += php86-sodium SUBDIR += picocrypt SUBDIR += picosha2 SUBDIR += pidgin-encryption diff --git a/security/pear-Crypt_CHAP/Makefile b/security/pear-Crypt_CHAP/Makefile index cebfef9eeee3..b9e91c7d6a78 100644 --- a/security/pear-Crypt_CHAP/Makefile +++ b/security/pear-Crypt_CHAP/Makefile @@ -11,6 +11,7 @@ LICENSE= BSD3CLAUSE USES= pear USE_PHP= mcrypt +IGNORE_WITH_PHP= 86 NO_ARCH= yes diff --git a/security/pear-File_SMBPasswd/Makefile b/security/pear-File_SMBPasswd/Makefile index 4e149fe6c192..1ae2728b5583 100644 --- a/security/pear-File_SMBPasswd/Makefile +++ b/security/pear-File_SMBPasswd/Makefile @@ -12,6 +12,7 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PEAR_PKGNAMEPREFIX}Crypt_CHAP>=1.0.0:security/pear-Crypt_CHAP@${PHP_FLAVOR} USES= pear +IGNORE_WITH_PHP= 86 NO_ARCH= yes diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile index 14ca7f4259f3..e55aed34c3fe 100644 --- a/security/pecl-crypto/Makefile +++ b/security/pecl-crypto/Makefile @@ -9,6 +9,7 @@ WWW= https://pecl.php.net/package/crypto LICENSE= PHP301 USES= compiler:c++11-lang php:pecl ssl +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-crypto diff --git a/security/pecl-gnupg/Makefile b/security/pecl-gnupg/Makefile index acff4677d2fe..3301cbf085c1 100644 --- a/security/pecl-gnupg/Makefile +++ b/security/pecl-gnupg/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgpgme.so:security/gpgme USES= localbase php:pecl +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-gnupg=${LOCALBASE}/include diff --git a/security/pecl-krb5/Makefile b/security/pecl-krb5/Makefile index 3ce381d52f1b..69d98ee105d9 100644 --- a/security/pecl-krb5/Makefile +++ b/security/pecl-krb5/Makefile @@ -10,6 +10,7 @@ WWW= https://pecl.php.net/package/krb5 LICENSE= BSD3CLAUSE USES= php:pecl gssapi:mit +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --with-krb5config=${LOCALBASE}/bin/krb5-config diff --git a/security/pecl-mcrypt/Makefile b/security/pecl-mcrypt/Makefile index f85fd42af54c..240018c15100 100644 --- a/security/pecl-mcrypt/Makefile +++ b/security/pecl-mcrypt/Makefile @@ -13,5 +13,6 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \ libmcrypt.so:security/libmcrypt USES= php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/security/pecl-pkcs11/Makefile b/security/pecl-pkcs11/Makefile index 20f16c4877b2..5be8f55c3082 100644 --- a/security/pecl-pkcs11/Makefile +++ b/security/pecl-pkcs11/Makefile @@ -11,5 +11,6 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase php:pecl +IGNORE_WITH_PHP= 86 .include <bsd.port.mk> diff --git a/security/php86-filter/Makefile b/security/php86-filter/Makefile new file mode 100644 index 000000000000..6a7b0e8e2fa3 --- /dev/null +++ b/security/php86-filter/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -filter + +.include "${MASTERDIR}/Makefile" diff --git a/security/php86-sodium/Makefile b/security/php86-sodium/Makefile new file mode 100644 index 000000000000..0fdf727e731e --- /dev/null +++ b/security/php86-sodium/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= security + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -sodium + +.include "${MASTERDIR}/Makefile" diff --git a/security/snuffleupagus/Makefile b/security/snuffleupagus/Makefile index 51cb5fe20f1d..662332e28ea2 100644 --- a/security/snuffleupagus/Makefile +++ b/security/snuffleupagus/Makefile @@ -21,7 +21,7 @@ USES= localbase:ldflags php:build,ext USE_GITHUB= yes GH_ACCOUNT= jvoisin USE_PHP= session:build -IGNORE_WITH_PHP= 84 85 +IGNORE_WITH_PHP= 84 85 86 CONFIGURE_ARGS= --enable-snuffleupagus diff --git a/sysutils/Makefile b/sysutils/Makefile index dc6cf62b197e..1dee266fd413 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -981,6 +981,8 @@ SUBDIR += php84-posix SUBDIR += php85-fileinfo SUBDIR += php85-posix + SUBDIR += php86-fileinfo + SUBDIR += php86-posix SUBDIR += phybs SUBDIR += pick SUBDIR += pidof diff --git a/sysutils/php86-fileinfo/Makefile b/sysutils/php86-fileinfo/Makefile new file mode 100644 index 000000000000..bb9408e466ef --- /dev/null +++ b/sysutils/php86-fileinfo/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= sysutils + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -fileinfo + +.include "${MASTERDIR}/Makefile" diff --git a/sysutils/php86-posix/Makefile b/sysutils/php86-posix/Makefile new file mode 100644 index 000000000000..c91bc15a234c --- /dev/null +++ b/sysutils/php86-posix/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= sysutils + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -posix + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/Makefile b/textproc/Makefile index 00141e881994..0f6c7bae1120 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1318,6 +1318,14 @@ SUBDIR += php85-xmlreader SUBDIR += php85-xmlwriter SUBDIR += php85-xsl + SUBDIR += php86-ctype + SUBDIR += php86-dom + SUBDIR += php86-enchant + SUBDIR += php86-simplexml + SUBDIR += php86-xml + SUBDIR += php86-xmlreader + SUBDIR += php86-xmlwriter + SUBDIR += php86-xsl SUBDIR += pict SUBDIR += po4a SUBDIR += pod2mdoc diff --git a/textproc/pecl-pspell/Makefile b/textproc/pecl-pspell/Makefile index a98c0b4b020c..e403acfc2300 100644 --- a/textproc/pecl-pspell/Makefile +++ b/textproc/pecl-pspell/Makefile @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaspell.so:textproc/aspell USES= php:pecl -IGNORE_WITH_PHP= 82 83 +IGNORE_WITH_PHP= 82 83 86 TEST_TARGET= test diff --git a/textproc/pecl-xlswriter/Makefile b/textproc/pecl-xlswriter/Makefile index 477476ae7ebf..5b52d674bf90 100644 --- a/textproc/pecl-xlswriter/Makefile +++ b/textproc/pecl-xlswriter/Makefile @@ -14,6 +14,7 @@ LIB_DEPENDS= libxlsxwriter.so:math/libxlsxwriter #USES= localbase php:pecl ssl USES= php:pecl ssl +IGNORE_WITH_PHP= 86 CFLAGS+= -I${LOCALBASE}/include/minizip CONFIGURE_ARGS= --with-libxlsxwriter=${LOCALBASE} \ diff --git a/textproc/php86-ctype/Makefile b/textproc/php86-ctype/Makefile new file mode 100644 index 000000000000..89e8a5c8b069 --- /dev/null +++ b/textproc/php86-ctype/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -ctype + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-dom/Makefile b/textproc/php86-dom/Makefile new file mode 100644 index 000000000000..126afe0c8a06 --- /dev/null +++ b/textproc/php86-dom/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -dom + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-dom/files/patch-parentnode_css__selectors.c b/textproc/php86-dom/files/patch-parentnode_css__selectors.c new file mode 100644 index 000000000000..65f4d3670ad0 --- /dev/null +++ b/textproc/php86-dom/files/patch-parentnode_css__selectors.c @@ -0,0 +1,11 @@ +--- parentnode/css_selectors.c.orig 2025-07-02 12:24:35 UTC ++++ parentnode/css_selectors.c +@@ -23,7 +23,7 @@ + #include "../php_dom.h" + #include "../obj_map.h" + +-#include "ext/lexbor/lexbor/css/parser.h" ++#include "lexbor/css/parser.h" + #include "../lexbor/selectors-adapted/selectors.h" + + // TODO: optimization idea: cache the parsed selectors in an LRU fashion? diff --git a/textproc/php86-enchant/Makefile b/textproc/php86-enchant/Makefile new file mode 100644 index 000000000000..85583932fbf6 --- /dev/null +++ b/textproc/php86-enchant/Makefile @@ -0,0 +1,12 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -enchant + +post-patch: + ${REINPLACE_CMD} -e \ + 's|#include "../spl/spl_exceptions.h"|#include "ext/spl/spl_exceptions.h"|g' \ + ${WRKSRC}/enchant.c + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-simplexml/Makefile b/textproc/php86-simplexml/Makefile new file mode 100644 index 000000000000..3fe1214b1cfa --- /dev/null +++ b/textproc/php86-simplexml/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -simplexml + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-xml/Makefile b/textproc/php86-xml/Makefile new file mode 100644 index 000000000000..7e1d8c091833 --- /dev/null +++ b/textproc/php86-xml/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -xml + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-xml/files/patch-compat.c b/textproc/php86-xml/files/patch-compat.c new file mode 100644 index 000000000000..0752de99e2da --- /dev/null +++ b/textproc/php86-xml/files/patch-compat.c @@ -0,0 +1,13 @@ +--- compat.c.orig 2023-06-06 15:54:29 UTC ++++ compat.c +@@ -14,6 +14,10 @@ + +----------------------------------------------------------------------+ + */ + ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ + #include "php.h" + #if defined(HAVE_LIBXML) && (defined(HAVE_XML) || defined(HAVE_XMLRPC)) && !defined(HAVE_LIBEXPAT) + #include "expat_compat.h" diff --git a/textproc/php86-xmlreader/Makefile b/textproc/php86-xmlreader/Makefile new file mode 100644 index 000000000000..bdb6e7ec55c2 --- /dev/null +++ b/textproc/php86-xmlreader/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -xmlreader + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-xmlwriter/Makefile b/textproc/php86-xmlwriter/Makefile new file mode 100644 index 000000000000..c179b1018252 --- /dev/null +++ b/textproc/php86-xmlwriter/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -xmlwriter + +.include "${MASTERDIR}/Makefile" diff --git a/textproc/php86-xsl/Makefile b/textproc/php86-xsl/Makefile new file mode 100644 index 000000000000..42dcdaf69736 --- /dev/null +++ b/textproc/php86-xsl/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= textproc + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -xsl + +.include "${MASTERDIR}/Makefile" diff --git a/www/Makefile b/www/Makefile index 971f2b694d75..e1038a891e08 100644 --- a/www/Makefile +++ b/www/Makefile @@ -456,6 +456,7 @@ SUBDIR += mod_php83 SUBDIR += mod_php84 SUBDIR += mod_php85 + SUBDIR += mod_php86 SUBDIR += mod_proctitle SUBDIR += mod_qos SUBDIR += mod_realdoc @@ -1463,6 +1464,8 @@ SUBDIR += php84-tidy SUBDIR += php85-session SUBDIR += php85-tidy + SUBDIR += php86-session + SUBDIR += php86-tidy SUBDIR += phpbb3 SUBDIR += phpfpmtop SUBDIR += phpgroupware diff --git a/www/baikal/Makefile b/www/baikal/Makefile index 83619aec58df..3302a55e4c12 100644 --- a/www/baikal/Makefile +++ b/www/baikal/Makefile @@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:web,flavors zip USE_PHP= ctype dom filter imap mbstring pdo_sqlite \ session xml xmlreader xmlwriter +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes diff --git a/www/codeigniter/Makefile b/www/codeigniter/Makefile index 9dbfc81ac286..2439a737d9c9 100644 --- a/www/codeigniter/Makefile +++ b/www/codeigniter/Makefile @@ -11,6 +11,7 @@ LICENSE_FILE= ${WRKSRC}/license.txt USES= cpe php:web USE_PHP= mcrypt session +IGNORE_WITH_PHP= 86 USE_GITHUB= yes GH_ACCOUNT= bcit-ci diff --git a/www/elgg/Makefile b/www/elgg/Makefile index a5210ccd9f6b..a173e1b5de55 100644 --- a/www/elgg/Makefile +++ b/www/elgg/Makefile @@ -13,6 +13,7 @@ USES= cpe gettext shebangfix zip php USE_PHP= curl dom fileinfo filter gd intl \ mbstring pdo_mysql \ session simplexml soap sqlite3 xml xmlrpc +IGNORE_WITH_PHP= 86 NO_BUILD= yes PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" diff --git a/www/fusionpbx/Makefile b/www/fusionpbx/Makefile index c8341dfac40d..24b4612d4a04 100644 --- a/www/fusionpbx/Makefile +++ b/www/fusionpbx/Makefile @@ -17,6 +17,7 @@ USES= cpe fakeroot php sqlite USE_GITHUB= yes USE_PHP= gd imap ldap odbc pdo pdo_odbc pdo_sqlite phar session \ simplexml sockets xml +IGNORE_WITH_PHP= 86 VARBASE= var diff --git a/www/glpi/Makefile b/www/glpi/Makefile index bb578ca91309..641daae60816 100644 --- a/www/glpi/Makefile +++ b/www/glpi/Makefile @@ -16,6 +16,7 @@ CPE_VENDOR= glpi-project USE_PHP= bz2 ctype curl dom exif fileinfo filter gd iconv intl json \ mbstring mysqli opcache session simplexml sodium xml xmlreader \ xmlrpc xmlwriter zip zlib +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile index b91aee52b31e..db2b0da20da1 100644 --- a/www/groupoffice/Makefile +++ b/www/groupoffice/Makefile @@ -16,6 +16,7 @@ LICENSE_TEXT_PERSONAL= Free for personal use only LICENSE_PERMS_PERSONAL= auto-accept USES= mysql shebangfix php:web python +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/www/ilias/Makefile b/www/ilias/Makefile index 571b77201099..bd9c30bf29c1 100644 --- a/www/ilias/Makefile +++ b/www/ilias/Makefile @@ -28,6 +28,7 @@ USE_PHP= curl dom gd ldap fileinfo iconv \ pdo_mysql session simplexml soap \ tokenizer xmlrpc xmlwriter xmlreader \ xsl zip zlib +IGNORE_WITH_PHP= 86 CONFLICTS= ilias6 diff --git a/www/kanboard/Makefile b/www/kanboard/Makefile index 37bf66605826..f365acc20e4c 100644 --- a/www/kanboard/Makefile +++ b/www/kanboard/Makefile @@ -18,6 +18,7 @@ USES= cpe php:flavors python USE_GITHUB= yes USE_PHP= ctype curl dom filter gd iconv mbstring mcrypt pdo session \ simplexml xml zlib +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/www/lycheeorg/Makefile b/www/lycheeorg/Makefile index efbd0a2354de..c9d4c1922ab3 100644 --- a/www/lycheeorg/Makefile +++ b/www/lycheeorg/Makefile @@ -34,6 +34,7 @@ MEMCACHED_DESC= Memcached key-value store database support EXIFTOOL_RUN_DEPENDS= p5-Image-ExifTool>=0:graphics/p5-Image-ExifTool FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg IMAGEMAGICK_RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}pecl-imagick>=0:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGEMAGICK_VARS= IGNORE_WITH_PHP=86 MEMCACHED_RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}pecl-memcached>=0:databases/pecl-memcached@${PHP_FLAVOR} REDIS_RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}pecl-redis>=0:databases/pecl-redis@${PHP_FLAVOR} diff --git a/www/matomo/Makefile b/www/matomo/Makefile index 6277d75b4ea4..874d7e0e56fc 100644 --- a/www/matomo/Makefile +++ b/www/matomo/Makefile @@ -15,6 +15,7 @@ USES= cpe php:flavors shebangfix USE_PHP= ctype curl dom fileinfo filter gd iconv intl mbstring mcrypt \ memcache mysqli opcache pdo pdo_mysql posix readline session \ simplexml soap sockets sqlite3 tidy tokenizer xml zlib +IGNORE_WITH_PHP= 86 SHEBANG_FILES= misc/log-analytics/import_logs.py NO_ARCH= yes diff --git a/www/mediawiki143/Makefile b/www/mediawiki143/Makefile index 57dd4001527d..7ccd03ca3a27 100644 --- a/www/mediawiki143/Makefile +++ b/www/mediawiki143/Makefile @@ -44,6 +44,7 @@ SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGICK_VARS= IGNORE_WITH_PHP=86 pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} diff --git a/www/mediawiki144/Makefile b/www/mediawiki144/Makefile index 0c39b5b07d5f..aa3d007f529a 100644 --- a/www/mediawiki144/Makefile +++ b/www/mediawiki144/Makefile @@ -44,6 +44,7 @@ SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGICK_VARS= IGNORE_WITH_PHP=86 pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} diff --git a/www/mediawiki146/Makefile b/www/mediawiki146/Makefile index bf9b09facf50..fc1240950431 100644 --- a/www/mediawiki146/Makefile +++ b/www/mediawiki146/Makefile @@ -44,6 +44,7 @@ SOCKETS_USE= php=sockets MEMCACHED_RUN_DEPENDS= memcached:databases/memcached IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGICK_VARS= IGNORE_WITH_PHP=86 pre-install: @${FIND} -s -d ${WRKSRC} -not -type d | ${SED} "s?${WRKSRC}?${MEDIAWIKIDIR}?g" >>${PLIST} diff --git a/www/mod_php86/Makefile b/www/mod_php86/Makefile new file mode 100644 index 000000000000..9ae8fe4e72d2 --- /dev/null +++ b/www/mod_php86/Makefile @@ -0,0 +1,18 @@ +CATEGORIES= www devel +PKGNAMEPREFIX= mod_ + +MAINTAINER= bofh@FreeBSD.org + +CONFLICTS_INSTALL= mod_php[0-9][0-9] + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +OPTIONS_DEFINE= AP2FILTER +OPTIONS_EXCLUDE= CGI CLI EMBED FPM + +AP2FILTER_DESC= Use Apache 2.x filter interface (experimental) + +AP2FILTER_CONFIGURE_ON=--with-apxs2filter=${APXS} +AP2FILTER_CONFIGURE_OFF=--with-apxs2=${APXS} + +.include "${MASTERDIR}/Makefile" diff --git a/www/moodle45/Makefile b/www/moodle45/Makefile index 79e48af8a404..25186c5129f6 100644 --- a/www/moodle45/Makefile +++ b/www/moodle45/Makefile @@ -18,6 +18,7 @@ USE_PHP= ctype curl dom exif fileinfo filter gd \ iconv intl mbstring opcache \ session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/moodle diff --git a/www/moodle50/Makefile b/www/moodle50/Makefile index 185f3515ffdb..7371e33477f7 100644 --- a/www/moodle50/Makefile +++ b/www/moodle50/Makefile @@ -18,6 +18,7 @@ USE_PHP= ctype curl dom exif fileinfo filter gd \ iconv intl mbstring opcache \ session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/moodle diff --git a/www/moodle51/Makefile b/www/moodle51/Makefile index 800ff43ecbd5..04dd801b06e0 100644 --- a/www/moodle51/Makefile +++ b/www/moodle51/Makefile @@ -18,6 +18,7 @@ USE_PHP= ctype curl dom exif fileinfo filter gd \ iconv intl mbstring opcache \ session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/moodle diff --git a/www/moodle52/Makefile b/www/moodle52/Makefile index 848de5ce9f62..42dcb77d66ea 100644 --- a/www/moodle52/Makefile +++ b/www/moodle52/Makefile @@ -18,6 +18,7 @@ USE_PHP= ctype curl dom exif fileinfo filter gd \ iconv intl mbstring opcache \ session simplexml soap sodium tokenizer \ xml xmlreader xmlrpc zip zlib +IGNORE_WITH_PHP= 86 WRKSRC= ${WRKDIR}/moodle diff --git a/www/nextcloud/Makefile b/www/nextcloud/Makefile index 94ca6d40a8b1..0be5e5e01064 100644 --- a/www/nextcloud/Makefile +++ b/www/nextcloud/Makefile @@ -17,6 +17,7 @@ USES= cpe gettext-runtime php:flavors,web tar:bzip2 USE_PHP= bcmath bz2 ctype curl dom fileinfo filter gd gmp iconv \ mbstring pcntl pdo posix session simplexml sodium \ xml xmlreader xmlwriter xsl zip zlib +IGNORE_WITH_PHP= 86 NEXTCLOUD_USERNAME?= ${WWWOWN} NEXTCLOUD_GROUPNAME?= ${WWWGRP} @@ -51,6 +52,7 @@ SYSVSEM_DESC= Enable System V semaphore support (recommended) APCU_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}APCu>0:devel/pecl-APCu@${PHP_FLAVOR} EXIF_USE= PHP=exif IMAGICK_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGICK_VARS= IGNORE_WITH_PHP=86 INTL_USE= PHP=intl LDAP_USE= PHP=ldap MYSQL_USE= PHP=pdo_mysql diff --git a/www/opencart/Makefile b/www/opencart/Makefile index cee5c78824a8..7a3cd64d7dda 100644 --- a/www/opencart/Makefile +++ b/www/opencart/Makefile @@ -13,6 +13,7 @@ GH_ACCOUNT= opencart USES= cpe php USE_PHP= filter mysqli curl mbstring gd zlib mcrypt session zip +IGNORE_WITH_PHP= 86 WRKSRC_SUBDIR= upload NO_BUILD= yes diff --git a/www/openemr/Makefile b/www/openemr/Makefile index 47d03b07bbeb..999594d0d0c8 100644 --- a/www/openemr/Makefile +++ b/www/openemr/Makefile @@ -15,6 +15,7 @@ USES= cpe php:flavors USE_PHP= ctype curl gd json ldap mcrypt \ mbstring openssl pdo pdo_mysql \ session xml xmlreader xmlrpc xsl zip zlib +IGNORE_WITH_PHP= 86 NO_BUILD= yes PLIST= ${WRKDIR}/plist diff --git a/www/osticket/Makefile b/www/osticket/Makefile index 457e93ddaa7b..64822ba15f90 100644 --- a/www/osticket/Makefile +++ b/www/osticket/Makefile @@ -18,6 +18,7 @@ USES= cpe php:web zip CPE_VENDOR= enhancesoft USE_PHP= ctype curl dom fileinfo filter gd gettext iconv imap intl \ mbstring mysqli opcache phar session xml zip +IGNORE_WITH_PHP= 86 NO_ARCH= yes NO_BUILD= yes diff --git a/www/pecl-http/Makefile b/www/pecl-http/Makefile index 456a3620162e..184c67439dbd 100644 --- a/www/pecl-http/Makefile +++ b/www/pecl-http/Makefile @@ -20,6 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf2@${PH USES= php:build,pecl USE_PHP= iconv:build zlib:build +IGNORE_WITH_PHP= 86 CONFIGURE_SHELL= ${LOCALBASE}/bin/bash diff --git a/www/pecl-solr/Makefile b/www/pecl-solr/Makefile index 31c99f777898..b1fbf607b969 100644 --- a/www/pecl-solr/Makefile +++ b/www/pecl-solr/Makefile @@ -14,6 +14,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl USES= gnome php:build,pecl pkgconfig USE_GNOME= libxml2 +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= LIBXML_CFLAGS=-I${LOCALBASE}/include/libxml2 \ LIBXML_LIBS=-L${LOCALBASE}/include/libxml2 diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile index 9daef4e1d9da..36d94e06c1e9 100644 --- a/www/pecl-yaf/Makefile +++ b/www/pecl-yaf/Makefile @@ -11,6 +11,7 @@ LICENSE= PHP301 LICENSE_FILE= ${WRKSRC}/LICENSE USES= localbase php:pecl +IGNORE_WITH_PHP= 86 CFLAGS+= -DZEND_HOT= diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile index ff5a430c03ef..76f4916bac07 100644 --- a/www/pecl-yar/Makefile +++ b/www/pecl-yar/Makefile @@ -14,6 +14,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl USES= localbase:ldflags php:build,pecl USE_PHP= curl +IGNORE_WITH_PHP= 86 OPTIONS_DEFINE= MSGPACK OPTIONS_DEFAULT=MSGPACK diff --git a/www/phalcon/Makefile b/www/phalcon/Makefile index ca9946d2b9f3..8ec25bba1960 100644 --- a/www/phalcon/Makefile +++ b/www/phalcon/Makefile @@ -14,6 +14,7 @@ USES= localbase php:ext USE_GITHUB= yes GH_PROJECT= c${PORTNAME} USE_PHP= mbstring pdo:build session:build +IGNORE_WITH_PHP= 86 CONFIGURE_ARGS= --enable-phalcon diff --git a/www/php86-session/Makefile b/www/php86-session/Makefile new file mode 100644 index 000000000000..f310e5a70d3b --- /dev/null +++ b/www/php86-session/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -session + +.include "${MASTERDIR}/Makefile" diff --git a/www/php86-tidy/Makefile b/www/php86-tidy/Makefile new file mode 100644 index 000000000000..0409eb958a77 --- /dev/null +++ b/www/php86-tidy/Makefile @@ -0,0 +1,7 @@ +CATEGORIES= www + +MASTERDIR= ${.CURDIR}/../../lang/php86 + +PKGNAMESUFFIX= -tidy + +.include "${MASTERDIR}/Makefile" diff --git a/www/phpmyfaq/Makefile b/www/phpmyfaq/Makefile index bbad47b8fbe5..c06101d5f9ca 100644 --- a/www/phpmyfaq/Makefile +++ b/www/phpmyfaq/Makefile @@ -13,7 +13,7 @@ LICENSE= MPL20 USES= cpe php:web,flavors USE_PHP= curl fileinfo filter gd json mysqli session spl xml xmlrpc \ xmlwriter zlib -IGNORE_WITH_PHP= 82 +IGNORE_WITH_PHP= 82 86 WRKSRC= ${WRKDIR}/${PORTNAME} diff --git a/www/piwigo/Makefile b/www/piwigo/Makefile index 92ebef7e3bee..1f7b9f52a739 100644 --- a/www/piwigo/Makefile +++ b/www/piwigo/Makefile @@ -50,6 +50,7 @@ OPT_DESC= Optional dependencies EXIFTOOL_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg IMAGICK_RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} +IMAGICK_VARS= IGNORE_WITH_PHP=86 MEDIAINFO_RUN_DEPENDS= mediainfo:multimedia/mediainfo .include <bsd.port.pre.mk> diff --git a/www/suitecrm/Makefile b/www/suitecrm/Makefile index 935e163be5bb..07fd5a6cf721 100644 --- a/www/suitecrm/Makefile +++ b/www/suitecrm/Makefile @@ -17,6 +17,8 @@ USE_PHP= curl ctype dom filter gd iconv imap intl ldap \ mysqli pdo pdo_mysql posix session simplexml \ soap sodium tokenizer xml mbstring xmlreader \ xmlwriter zip zlib +IGNORE_WITH_PHP= 86 + NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/www/thirtybees/Makefile b/www/thirtybees/Makefile index 28fd733feefe..56c99bbe4e87 100644 --- a/www/thirtybees/Makefile +++ b/www/thirtybees/Makefile @@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSES USES= php:web zip USE_PHP= bcmath curl gd imap mbstring opcache pdo_mysql \ soap xml zip +IGNORE_WITH_PHP= 86 NO_BUILD= yes NO_ARCH= yes diff --git a/www/tikiwiki/Makefile b/www/tikiwiki/Makefile index bd00b1894bc8..737f10052aea 100644 --- a/www/tikiwiki/Makefile +++ b/www/tikiwiki/Makefile @@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/license.txt USES= php:web USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt \ posix session xml zip zlib +IGNORE_WITH_PHP= 86 NO_BUILD= yes NO_MTREE= yes diff --git a/www/webtrees21/Makefile b/www/webtrees21/Makefile index 0137a3ed39fd..d162b32722b0 100644 --- a/www/webtrees21/Makefile +++ b/www/webtrees21/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/${PORTNAME}/LICENSE.md USES= cpe php:flavors shebangfix zip # php pcre extension is required but it's statically linked in default php USE_PHP= calendar curl dom filter gd iconv pdo_mysql session xml -IGNORE_WITH_PHP= 83 84 85 +IGNORE_WITH_PHP= 83 84 85 86 SHEBANG_FILES= webtrees/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile index 0b6d6f4a5d32..6a6d32160302 100644 --- a/www/wordpress/Makefile +++ b/www/wordpress/Makefile @@ -20,6 +20,7 @@ LICENSE_FILE= ${WRKSRC}/license.txt RUN_DEPENDS= ${PECL_PKGNAMEPREFIX}imagick>=2.2.2:graphics/pecl-imagick@${PHP_FLAVOR} USES= cpe php:web +IGNORE_WITH_PHP= 86 .if ${DISTVERSION:N*.*.*} CPE_VERSION= ${DISTVERSION}.0 .endif |
