mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
lang/php80: Sunset
This commit is contained in:
parent
7cdf3c4d01
commit
beced896ad
117 changed files with 69 additions and 2162 deletions
59
MOVED
59
MOVED
|
@ -8297,3 +8297,62 @@ www/py-dj41-django-timezone-field|www/py-dj42-django-timezone-field|2023-12-31|H
|
||||||
lang/gcc8||2023-12-31|Has expired: Unsupported by upstream. Use GCC 11 or newer instead.
|
lang/gcc8||2023-12-31|Has expired: Unsupported by upstream. Use GCC 11 or newer instead.
|
||||||
devel/py-dj41-graphene-django|devel/py-dj42-graphene-django|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
|
devel/py-dj41-graphene-django|devel/py-dj42-graphene-django|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
|
||||||
www/py-dj41-drf-spectacular-sidecar|www/py-dj42-drf-spectacular-sidecar|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
|
www/py-dj41-drf-spectacular-sidecar|www/py-dj42-drf-spectacular-sidecar|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
|
||||||
|
graphics/php80-exif|graphics/php81-exif|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
graphics/php80-gd|graphics/php81-gd|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
mail/php80-imap|mail/php81-imap|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-ffi|devel/php81-ffi|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-gettext|devel/php81-gettext|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-sysvshm|devel/php81-sysvshm|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-tokenizer|devel/php81-tokenizer|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-intl|devel/php81-intl|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-pcntl|devel/php81-pcntl|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-sysvsem|devel/php81-sysvsem|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-sysvmsg|devel/php81-sysvmsg|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-readline|devel/php81-readline|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
devel/php80-shmop|devel/php81-shmop|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
archivers/php80-zlib|archivers/php81-zlib|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
archivers/php80-phar|archivers/php81-phar|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
archivers/php80-bz2|archivers/php81-bz2|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
archivers/php80-zip|archivers/php81-zip|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
misc/php80-calendar|misc/php81-calendar|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-enchant|textproc/php81-enchant|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-pspell|textproc/php81-pspell|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-xmlwriter|textproc/php81-xmlwriter|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-xmlreader|textproc/php81-xmlreader|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-xsl|textproc/php81-xsl|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-dom|textproc/php81-dom|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-simplexml|textproc/php81-simplexml|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-ctype|textproc/php81-ctype|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
textproc/php80-xml|textproc/php81-xml|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
converters/php80-mbstring|converters/php81-mbstring|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
converters/php80-iconv|converters/php81-iconv|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
security/php80-sodium|security/php81-sodium|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
security/php80-filter|security/php81-filter|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
net-mgmt/php80-snmp|net-mgmt/php81-snmp|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
lang/php80-extensions|lang/php81-extensions|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
lang/php80|lang/php81|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
www/php80-opcache|www/php81-opcache|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
www/php80-tidy|www/php81-tidy|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
www/php80-session|www/php81-session|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
www/mod_php80|www/mod_php81|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
ftp/php80-curl|ftp/php81-curl|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
ftp/php80-ftp|ftp/php81-ftp|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
sysutils/php80-fileinfo|sysutils/php81-fileinfo|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
sysutils/php80-posix|sysutils/php81-posix|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
math/php80-bcmath|math/php81-bcmath|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
math/php80-gmp|math/php81-gmp|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
net/php80-ldap|net/php81-ldap|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
net/php80-soap|net/php81-soap|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
net/php80-sockets|net/php81-sockets|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-dba|databases/php81-dba|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo|databases/php81-pdo|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_dblib|databases/php81-pdo_dblib|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-sqlite3|databases/php81-sqlite3|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_pgsql|databases/php81-pdo_pgsql|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_firebird|databases/php81-pdo_firebird|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pgsql|databases/php81-pgsql|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_odbc|databases/php81-pdo_odbc|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_sqlite|databases/php81-pdo_sqlite|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-odbc|databases/php81-odbc|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-mysqli|databases/php81-mysqli|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
databases/php80-pdo_mysql|databases/php81-pdo_mysql|2023-12-31|Has expired: Security support ended on 2023-11-26
|
||||||
|
|
|
@ -110,7 +110,7 @@ DIST_SUBDIR= PECL
|
||||||
|
|
||||||
PHPBASE?= ${LOCALBASE}
|
PHPBASE?= ${LOCALBASE}
|
||||||
|
|
||||||
_ALL_PHP_VERSIONS= 80 81 82 83
|
_ALL_PHP_VERSIONS= 81 82 83
|
||||||
|
|
||||||
# Make the already installed PHP the default one.
|
# Make the already installed PHP the default one.
|
||||||
. if exists(${PHPBASE}/etc/php.conf)
|
. if exists(${PHPBASE}/etc/php.conf)
|
||||||
|
@ -188,9 +188,6 @@ PHP_EXT_INC= hash json openssl pcre random spl
|
||||||
. elif ${PHP_VER} == 81
|
. elif ${PHP_VER} == 81
|
||||||
PHP_EXT_DIR= 20210902
|
PHP_EXT_DIR= 20210902
|
||||||
PHP_EXT_INC= hash json openssl pcre spl
|
PHP_EXT_INC= hash json openssl pcre spl
|
||||||
. elif ${PHP_VER} == 80
|
|
||||||
PHP_EXT_DIR= 20200930
|
|
||||||
PHP_EXT_INC= hash json openssl pcre spl
|
|
||||||
. else
|
. else
|
||||||
# (rene) default to DEFAULT_VERSIONS
|
# (rene) default to DEFAULT_VERSIONS
|
||||||
PHP_EXT_DIR= 20220829
|
PHP_EXT_DIR= 20220829
|
||||||
|
@ -383,7 +380,6 @@ _USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \
|
||||||
tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \
|
tidy tokenizer xml xmlreader xmlrpc xmlwriter xsl zephir_parser \
|
||||||
zip zlib
|
zip zlib
|
||||||
# version specific components
|
# version specific components
|
||||||
_USE_PHP_VER80= ${_USE_PHP_ALL}
|
|
||||||
_USE_PHP_VER81= ${_USE_PHP_ALL}
|
_USE_PHP_VER81= ${_USE_PHP_ALL}
|
||||||
_USE_PHP_VER82= ${_USE_PHP_ALL}
|
_USE_PHP_VER82= ${_USE_PHP_ALL}
|
||||||
_USE_PHP_VER83= ${_USE_PHP_ALL}
|
_USE_PHP_VER83= ${_USE_PHP_ALL}
|
||||||
|
|
|
@ -126,7 +126,7 @@ PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}
|
||||||
. endif
|
. endif
|
||||||
# Possible values: 11, 12, 13, 14, 15, 16
|
# Possible values: 11, 12, 13, 14, 15, 16
|
||||||
PGSQL_DEFAULT?= 15
|
PGSQL_DEFAULT?= 15
|
||||||
# Possible values: 8.0, 8.1, 8.2, 8.3
|
# Possible values: 8.1, 8.2, 8.3
|
||||||
PHP_DEFAULT?= 8.2
|
PHP_DEFAULT?= 8.2
|
||||||
# Possible values: rust, legacy
|
# Possible values: rust, legacy
|
||||||
. if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64)
|
. if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64)
|
||||||
|
|
|
@ -159,10 +159,6 @@
|
||||||
SUBDIR += php-lz4
|
SUBDIR += php-lz4
|
||||||
SUBDIR += php-snappy
|
SUBDIR += php-snappy
|
||||||
SUBDIR += php-zstd
|
SUBDIR += php-zstd
|
||||||
SUBDIR += php80-bz2
|
|
||||||
SUBDIR += php80-phar
|
|
||||||
SUBDIR += php80-zip
|
|
||||||
SUBDIR += php80-zlib
|
|
||||||
SUBDIR += php81-bz2
|
SUBDIR += php81-bz2
|
||||||
SUBDIR += php81-phar
|
SUBDIR += php81-phar
|
||||||
SUBDIR += php81-zip
|
SUBDIR += php81-zip
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= archivers
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -bz2
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= archivers
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -phar
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= archivers
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -zip
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= archivers
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -zlib
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- zlib.c.orig 2016-06-21 19:57:08 UTC
|
|
||||||
+++ zlib.c
|
|
||||||
@@ -1480,6 +1480,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);
|
|
|
@ -136,8 +136,6 @@
|
||||||
SUBDIR += pear-Services_JSON
|
SUBDIR += pear-Services_JSON
|
||||||
SUBDIR += pecl-igbinary
|
SUBDIR += pecl-igbinary
|
||||||
SUBDIR += php-bsdconv
|
SUBDIR += php-bsdconv
|
||||||
SUBDIR += php80-iconv
|
|
||||||
SUBDIR += php80-mbstring
|
|
||||||
SUBDIR += php81-iconv
|
SUBDIR += php81-iconv
|
||||||
SUBDIR += php81-mbstring
|
SUBDIR += php81-mbstring
|
||||||
SUBDIR += php82-iconv
|
SUBDIR += php82-iconv
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= converters
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -iconv
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= converters
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -mbstring
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -575,18 +575,6 @@
|
||||||
SUBDIR += pguri
|
SUBDIR += pguri
|
||||||
SUBDIR += php-tarantool
|
SUBDIR += php-tarantool
|
||||||
SUBDIR += php-xapian
|
SUBDIR += php-xapian
|
||||||
SUBDIR += php80-dba
|
|
||||||
SUBDIR += php80-mysqli
|
|
||||||
SUBDIR += php80-odbc
|
|
||||||
SUBDIR += php80-pdo
|
|
||||||
SUBDIR += php80-pdo_dblib
|
|
||||||
SUBDIR += php80-pdo_firebird
|
|
||||||
SUBDIR += php80-pdo_mysql
|
|
||||||
SUBDIR += php80-pdo_odbc
|
|
||||||
SUBDIR += php80-pdo_pgsql
|
|
||||||
SUBDIR += php80-pdo_sqlite
|
|
||||||
SUBDIR += php80-pgsql
|
|
||||||
SUBDIR += php80-sqlite3
|
|
||||||
SUBDIR += php81-dba
|
SUBDIR += php81-dba
|
||||||
SUBDIR += php81-mysqli
|
SUBDIR += php81-mysqli
|
||||||
SUBDIR += php81-odbc
|
SUBDIR += php81-odbc
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -dba
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,26 +0,0 @@
|
||||||
--- config.m4.orig 2023-08-03 17:13:08 UTC
|
|
||||||
+++ config.m4
|
|
||||||
@@ -387,6 +387,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
|
|
||||||
@@ -429,7 +437,7 @@ if test "$PHP_DB4" != "no"; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
- PHP_DBA_DB_CHECK(4, db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
|
|
||||||
+ PHP_DBA_DB_CHECK(4, db-5 db-5.3 db-5.1 db-5.0 db-4.8 db-4.7 db-4.6 db-4.5 db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db-4 db-18 db4 db, [(void)db_create((DB**)0, (DB_ENV*)0, 0)])
|
|
||||||
fi
|
|
||||||
PHP_DBA_STD_RESULT(db4,Berkeley DB4)
|
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -mysqli
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- mysqli_api.c.orig 2020-09-29 22:36:51 UTC
|
|
||||||
+++ mysqli_api.c
|
|
||||||
@@ -29,7 +29,9 @@
|
|
||||||
#include "zend_smart_str.h"
|
|
||||||
#include "php_mysqli_structs.h"
|
|
||||||
#include "mysqli_priv.h"
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "ext/mysqlnd/mysql_float_to_double.h"
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- php_mysqli_structs.h.orig 2010-07-26 15:52:54.000000000 +0200
|
|
||||||
+++ php_mysqli_structs.h 2010-07-26 15:53:14.000000000 +0200
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
#define FALSE 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef MYSQLI_USE_MYSQLND
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "ext/mysqlnd/mysqlnd.h"
|
|
||||||
#include "mysqli_mysqlnd.h"
|
|
||||||
#else
|
|
||||||
@@ -53,6 +53,8 @@
|
|
||||||
#undef HAVE_MBSTATE_T
|
|
||||||
#define WE_HAD_MBSTATE_T
|
|
||||||
#endif
|
|
||||||
+
|
|
||||||
+typedef zend_ulong ulong;
|
|
||||||
|
|
||||||
#if defined(ulong) && !defined(HAVE_ULONG)
|
|
||||||
#define HAVE_ULONG
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -odbc
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,101 +0,0 @@
|
||||||
--- config.m4.orig 2023-08-03 17:13:08 UTC
|
|
||||||
+++ config.m4
|
|
||||||
@@ -102,7 +102,7 @@ PHP_ARG_WITH([adabas],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([adabas],,
|
|
||||||
[AS_HELP_STRING([[--with-adabas[=DIR]]],
|
|
||||||
- [Include Adabas D support [/usr/local]])])
|
|
||||||
+ [Include Adabas D support [/usr/local]])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([for Adabas support])
|
|
||||||
if test "$PHP_ADABAS" != "no"; then
|
|
||||||
@@ -132,7 +132,7 @@ PHP_ARG_WITH([sapdb],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([sapdb],,
|
|
||||||
[AS_HELP_STRING([[--with-sapdb[=DIR]]],
|
|
||||||
- [Include SAP DB support [/usr/local]])])
|
|
||||||
+ [Include SAP DB support [/usr/local]])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([for SAP DB support])
|
|
||||||
if test "$PHP_SAPDB" != "no"; then
|
|
||||||
@@ -153,7 +153,7 @@ PHP_ARG_WITH([solid],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([solid],,
|
|
||||||
[AS_HELP_STRING([[--with-solid[=DIR]]],
|
|
||||||
- [Include Solid support [/usr/local/solid]])])
|
|
||||||
+ [Include Solid support [/usr/local/solid]])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Solid support)
|
|
||||||
if test "$PHP_SOLID" != "no"; then
|
|
||||||
@@ -181,7 +181,7 @@ PHP_ARG_WITH([ibm-db2],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([ibm-db2],,
|
|
||||||
[AS_HELP_STRING([[--with-ibm-db2[=DIR]]],
|
|
||||||
- [Include IBM DB2 support [/home/db2inst1/sqllib]])])
|
|
||||||
+ [Include IBM DB2 support [/home/db2inst1/sqllib]])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for IBM DB2 support)
|
|
||||||
if test "$PHP_IBM_DB2" != "no"; then
|
|
||||||
@@ -222,7 +222,7 @@ PHP_ARG_WITH([empress],,
|
|
||||||
PHP_ARG_WITH([empress],,
|
|
||||||
[AS_HELP_STRING([[--with-empress[=DIR]]],
|
|
||||||
[Include Empress support $EMPRESSPATH (Empress Version >= 8.60
|
|
||||||
- required)])])
|
|
||||||
+ required)])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Empress support)
|
|
||||||
if test "$PHP_EMPRESS" != "no"; then
|
|
||||||
@@ -248,7 +248,7 @@ PHP_ARG_WITH([empress-bcs],,
|
|
||||||
PHP_ARG_WITH([empress-bcs],,
|
|
||||||
[AS_HELP_STRING([[--with-empress-bcs[=DIR]]],
|
|
||||||
[Include Empress Local Access support $EMPRESSPATH (Empress Version >=
|
|
||||||
- 8.60 required)])])
|
|
||||||
+ 8.60 required)])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Empress local access support)
|
|
||||||
if test "$PHP_EMPRESS_BCS" != "no"; then
|
|
||||||
@@ -294,7 +294,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])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for a custom ODBC support)
|
|
||||||
if test "$PHP_CUSTOM_ODBC" != "no"; then
|
|
||||||
@@ -317,7 +317,7 @@ PHP_ARG_WITH([iodbc],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([iodbc],,
|
|
||||||
[AS_HELP_STRING([--with-iodbc],
|
|
||||||
- [Include iODBC support])])
|
|
||||||
+ [Include iODBC support])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to build with iODBC support)
|
|
||||||
if test "$PHP_IODBC" != "no"; then
|
|
||||||
@@ -335,7 +335,7 @@ PHP_ARG_WITH([esoob],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([esoob],,
|
|
||||||
[AS_HELP_STRING([[--with-esoob[=DIR]]],
|
|
||||||
- [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])])
|
|
||||||
+ [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support)
|
|
||||||
if test "$PHP_ESOOB" != "no"; then
|
|
||||||
@@ -358,7 +358,7 @@ PHP_ARG_WITH([unixODBC],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([unixODBC],,
|
|
||||||
[AS_HELP_STRING([--with-unixODBC],
|
|
||||||
- [Include unixODBC support])])
|
|
||||||
+ [Include unixODBC support])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(whether to build with unixODBC support)
|
|
||||||
if test "$PHP_UNIXODBC" != "no"; then
|
|
||||||
@@ -386,7 +386,7 @@ PHP_ARG_WITH([dbmaker],,
|
|
||||||
if test -z "$ODBC_TYPE"; then
|
|
||||||
PHP_ARG_WITH([dbmaker],,
|
|
||||||
[AS_HELP_STRING([[--with-dbmaker[=DIR]]],
|
|
||||||
- [Include DBMaker support])])
|
|
||||||
+ [Include DBMaker support])], [no], [no])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for DBMaker support)
|
|
||||||
if test "$PHP_DBMAKER" != "no"; then
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_dblib
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_firebird
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_mysql
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_odbc
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_pgsql
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pdo_sqlite
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pgsql
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= databases
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sqlite3
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -4090,16 +4090,6 @@
|
||||||
SUBDIR += php-ice37
|
SUBDIR += php-ice37
|
||||||
SUBDIR += php-libawl
|
SUBDIR += php-libawl
|
||||||
SUBDIR += php-maxminddb
|
SUBDIR += php-maxminddb
|
||||||
SUBDIR += php80-ffi
|
|
||||||
SUBDIR += php80-gettext
|
|
||||||
SUBDIR += php80-intl
|
|
||||||
SUBDIR += php80-pcntl
|
|
||||||
SUBDIR += php80-readline
|
|
||||||
SUBDIR += php80-shmop
|
|
||||||
SUBDIR += php80-sysvmsg
|
|
||||||
SUBDIR += php80-sysvsem
|
|
||||||
SUBDIR += php80-sysvshm
|
|
||||||
SUBDIR += php80-tokenizer
|
|
||||||
SUBDIR += php81-ffi
|
SUBDIR += php81-ffi
|
||||||
SUBDIR += php81-gettext
|
SUBDIR += php81-gettext
|
||||||
SUBDIR += php81-intl
|
SUBDIR += php81-intl
|
||||||
|
|
|
@ -20,7 +20,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||||
IGNORE_DragonFly= is unsupported on DragonFly
|
IGNORE_DragonFly= is unsupported on DragonFly
|
||||||
ONLY_FOR_ARCHS= amd64 i386
|
ONLY_FOR_ARCHS= amd64 i386
|
||||||
USES= php:flavors
|
USES= php:flavors
|
||||||
IGNORE_WITH_PHP= 80 82 83
|
IGNORE_WITH_PHP= 82 83
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -ffi
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -gettext
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,15 +0,0 @@
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -intl
|
|
||||||
|
|
||||||
USES= compiler:c++11-lib
|
|
||||||
USE_CXXSTD= gnu++11
|
|
||||||
|
|
||||||
CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -pcntl
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -readline
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -shmop
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sysvmsg
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sysvsem
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sysvshm
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= devel
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -tokenizer
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -15,7 +15,6 @@ LICENSE= BSD3CLAUSE
|
||||||
USES= cpe php:flavors
|
USES= cpe php:flavors
|
||||||
USE_PHP= dom phar
|
USE_PHP= dom phar
|
||||||
|
|
||||||
IGNORE_WITH_PHP=80
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
|
|
@ -51,8 +51,6 @@
|
||||||
SUBDIR += pear-Net_FTP
|
SUBDIR += pear-Net_FTP
|
||||||
SUBDIR += pftpd
|
SUBDIR += pftpd
|
||||||
SUBDIR += pget
|
SUBDIR += pget
|
||||||
SUBDIR += php80-curl
|
|
||||||
SUBDIR += php80-ftp
|
|
||||||
SUBDIR += php81-curl
|
SUBDIR += php81-curl
|
||||||
SUBDIR += php81-ftp
|
SUBDIR += php81-ftp
|
||||||
SUBDIR += php82-curl
|
SUBDIR += php82-curl
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= ftp
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -curl
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= ftp
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -ftp
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -778,8 +778,6 @@
|
||||||
SUBDIR += phototonic
|
SUBDIR += phototonic
|
||||||
SUBDIR += php-facedetect
|
SUBDIR += php-facedetect
|
||||||
SUBDIR += php-geos
|
SUBDIR += php-geos
|
||||||
SUBDIR += php80-exif
|
|
||||||
SUBDIR += php80-gd
|
|
||||||
SUBDIR += php81-exif
|
SUBDIR += php81-exif
|
||||||
SUBDIR += php81-gd
|
SUBDIR += php81-gd
|
||||||
SUBDIR += php82-exif
|
SUBDIR += php82-exif
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= graphics
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -exif
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,11 +0,0 @@
|
||||||
CATEGORIES= graphics
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -gd
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
||||||
|
|
||||||
LIB_DEPENDS+= libgd.so:graphics/gd
|
|
|
@ -265,8 +265,6 @@
|
||||||
SUBDIR += pfe
|
SUBDIR += pfe
|
||||||
SUBDIR += pharo
|
SUBDIR += pharo
|
||||||
SUBDIR += php-mode.el
|
SUBDIR += php-mode.el
|
||||||
SUBDIR += php80
|
|
||||||
SUBDIR += php80-extensions
|
|
||||||
SUBDIR += php81
|
SUBDIR += php81
|
||||||
SUBDIR += php81-extensions
|
SUBDIR += php81-extensions
|
||||||
SUBDIR += php82
|
SUBDIR += php82
|
||||||
|
|
|
@ -1,104 +0,0 @@
|
||||||
PORTNAME= php80
|
|
||||||
PORTVERSION= 1.1
|
|
||||||
CATEGORIES= lang
|
|
||||||
PKGNAMESUFFIX= -extensions
|
|
||||||
|
|
||||||
MAINTAINER= tz@FreeBSD.org
|
|
||||||
COMMENT= "meta-port" to install PHP extensions
|
|
||||||
WWW= https://www.php.net/
|
|
||||||
|
|
||||||
USES= metaport php
|
|
||||||
PHP_VER= 80
|
|
||||||
IGNORE_WITH_PHP= 81 82
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA \
|
|
||||||
DOM ENCHANT EXIF FILEINFO FILTER FTP GD GETTEXT \
|
|
||||||
GMP ICONV INTL IMAP LDAP MBSTRING MYSQLI \
|
|
||||||
ODBC OPCACHE PCNTL PDO PDO_DBLIB PDO_FIREBIRD \
|
|
||||||
PDO_MYSQL PDO_ODBC PDO_PGSQL PDO_SQLITE PGSQL PHAR POSIX \
|
|
||||||
PSPELL READLINE SESSION SHMOP SIMPLEXML SNMP SOAP \
|
|
||||||
SOCKETS SODIUM SQLITE3 SYSVMSG SYSVSEM SYSVSHM \
|
|
||||||
TIDY TOKENIZER XML XMLREADER XMLWRITER XSL \
|
|
||||||
ZIP ZLIB
|
|
||||||
|
|
||||||
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
|
|
||||||
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
|
|
||||||
IMAP_DESC= IMAP 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_DESC= PHP Data Objects Interface (PDO)
|
|
||||||
PDO_DBLIB_DESC= PDO DBLIB-DB driver
|
|
||||||
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
|
|
||||||
PSPELL_DESC= pspell support
|
|
||||||
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
|
|
||||||
XML_DESC= XML support
|
|
||||||
XMLREADER_DESC= XMLReader support
|
|
||||||
XMLWRITER_DESC= XMLWriter support
|
|
||||||
XSL_DESC= XSL support (Implies DOM)
|
|
||||||
ZIP_DESC= ZIP support
|
|
||||||
ZLIB_DESC= ZLIB support
|
|
||||||
|
|
||||||
OPTIONS_DEFAULT= CTYPE \
|
|
||||||
DOM \
|
|
||||||
FILTER \
|
|
||||||
ICONV \
|
|
||||||
OPCACHE \
|
|
||||||
PDO \
|
|
||||||
PDO_SQLITE \
|
|
||||||
PHAR \
|
|
||||||
POSIX \
|
|
||||||
SESSION \
|
|
||||||
SIMPLEXML \
|
|
||||||
SQLITE3 \
|
|
||||||
TOKENIZER \
|
|
||||||
XML \
|
|
||||||
XMLREADER \
|
|
||||||
XMLWRITER
|
|
||||||
|
|
||||||
.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>
|
|
|
@ -1,5 +0,0 @@
|
||||||
This is a "meta-port" to install the extensions for PHP 8.0
|
|
||||||
|
|
||||||
Defaults to:
|
|
||||||
ctype, dom, filter, iconv, json, opcache, pdo, pdo_sqlite, phar, posix,
|
|
||||||
session, simplexml, sqlite3, tokenizer, xml, xmlreader and xmlwriter.
|
|
|
@ -1,182 +0,0 @@
|
||||||
PORTNAME= php80
|
|
||||||
DISTVERSION= 8.0.30
|
|
||||||
CATEGORIES?= lang devel www
|
|
||||||
MASTER_SITES= PHP
|
|
||||||
DISTNAME= php-${DISTVERSION}
|
|
||||||
DIST_SUBDIR= php
|
|
||||||
|
|
||||||
MAINTAINER= tz@FreeBSD.org
|
|
||||||
COMMENT= PHP Scripting Language
|
|
||||||
WWW= https://www.php.net/
|
|
||||||
|
|
||||||
LICENSE= PHP301
|
|
||||||
|
|
||||||
DEPRECATED= Upstream support ends on 2023-11-26
|
|
||||||
EXPIRATION_DATE= 2023-12-31
|
|
||||||
|
|
||||||
USES+= compiler:c11 tar:xz cpe gnome localbase pkgconfig
|
|
||||||
CPE_PRODUCT= php
|
|
||||||
|
|
||||||
CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX}
|
|
||||||
|
|
||||||
.if !defined(PKGNAMESUFFIX)
|
|
||||||
BUILD_DEPENDS= re2c>0:devel/re2c
|
|
||||||
LIB_DEPENDS= libpcre2-8.so:devel/pcre2 \
|
|
||||||
libargon2.so:security/libargon2
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--disable-all \
|
|
||||||
--program-prefix="" \
|
|
||||||
--with-config-file-scan-dir=${PREFIX}/etc/php \
|
|
||||||
--with-layout=GNU \
|
|
||||||
--with-libxml \
|
|
||||||
--with-openssl \
|
|
||||||
--with-password-argon2=${LOCALBASE} \
|
|
||||||
--with-external-pcre=${LOCALBASE}
|
|
||||||
|
|
||||||
USES+= autoreconf:build 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+=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 MYSQLND LINKTHR ZTS
|
|
||||||
OPTIONS_DEFAULT=CLI CGI FPM EMBED MYSQLND LINKTHR DTRACE
|
|
||||||
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
|
|
||||||
# Bug 197128: No ASM code for MIPS/MIPS64, disable FPM
|
|
||||||
OPTIONS_EXCLUDE_mips= DTRACE FPM
|
|
||||||
OPTIONS_EXCLUDE_mips64= DTRACE FPM
|
|
||||||
OPTIONS_EXCLUDE_powerpc64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
|
|
||||||
OPTIONS_EXCLUDE_powerpc64_12= DTRACE
|
|
||||||
OPTIONS_EXCLUDE_riscv64= DTRACE
|
|
||||||
OPTIONS_EXCLUDE_sparc64= 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
|
|
||||||
LINKTHR_DESC= Link thread lib (for threaded extensions)
|
|
||||||
MYSQLND_DESC= Build with MySQL Native Driver
|
|
||||||
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-user=${WWWOWN} \
|
|
||||||
--with-fpm-group=${WWWGRP}
|
|
||||||
FPM_VARS= PHP_SAPI+=fpm USE_RC_SUBR+=php-fpm
|
|
||||||
IPV6_CONFIGURE_OFF=--disable-ipv6
|
|
||||||
LINKTHR_LIBS= -lpthread
|
|
||||||
MYSQLND_CONFIGURE_ON=--enable-mysqlnd
|
|
||||||
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 !!!"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
|
|
||||||
CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L
|
|
||||||
.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
|
|
||||||
|
|
||||||
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=80" > ${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 openssl pcre 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
|
|
||||||
|
|
||||||
post-install-CLI-on:
|
|
||||||
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php
|
|
||||||
|
|
||||||
post-install-CGI-on:
|
|
||||||
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php-cgi
|
|
||||||
|
|
||||||
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
|
|
||||||
.include "${MASTERDIR}/Makefile.ext"
|
|
||||||
.endif
|
|
||||||
.include <bsd.port.post.mk>
|
|
|
@ -1,453 +0,0 @@
|
||||||
COMMENT= The ${PHP_MODNAME} shared extension for php
|
|
||||||
|
|
||||||
USES+= php:ext,noflavors
|
|
||||||
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
|
||||||
PHP_VER= 80
|
|
||||||
IGNORE_WITH_PHP= 81 82 83
|
|
||||||
|
|
||||||
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
|
||||||
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
|
||||||
PATCHDIR= ${.CURDIR}/files
|
|
||||||
PLIST= ${NONEXISTENT}
|
|
||||||
|
|
||||||
EXTRACT_AFTER_ARGS?= ${EXTSUBDIR}
|
|
||||||
|
|
||||||
.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 GDBM QDBM TOKYO INIFILE FLATFILE LMDB
|
|
||||||
OPTIONS_DEFAULT=CDB INIFILE FLATFILE
|
|
||||||
|
|
||||||
CDB_DESC= cdb database support
|
|
||||||
DB4_DESC= Berkeley DB4 support
|
|
||||||
GDBM_DESC= GDBM database support
|
|
||||||
QDBM_DESC= QDBM database support
|
|
||||||
TOKYO_DESC= Tokyo Cabinet database support
|
|
||||||
INIFILE_DESC= INI file support
|
|
||||||
FLATFILE_DESC= flatfile support
|
|
||||||
LMDB_DESC= LMDB database support
|
|
||||||
|
|
||||||
CDB_CONFIGURE_OFF=--without-cdb
|
|
||||||
DB4_CONFIGURE_ON=--with-db4=${LOCALBASE}
|
|
||||||
DB4_USES= bdb
|
|
||||||
DB4_VARS= WITH_BDB_HIGHEST=yes
|
|
||||||
FLATFILE_CONFIGURE_OFF=--disable-flatfile
|
|
||||||
GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm
|
|
||||||
GDBM_CONFIGURE_ON=--with-gdbm=${LOCALBASE}
|
|
||||||
INIFILE_CONFIGURE_OFF=--disable-inifile
|
|
||||||
LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb
|
|
||||||
LMDB_CONFIGURE_ON= --with-lmdb=${LOCALBASE}
|
|
||||||
QDBM_LIB_DEPENDS= libqdbm.so:databases/qdbm
|
|
||||||
QDBM_CONFIGURE_ON=--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+= gettext-runtime pkgconfig
|
|
||||||
USE_GNOME+= glib20
|
|
||||||
.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+= ssl pkgconfig
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "gd"
|
|
||||||
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
||||||
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_USES= xorg
|
|
||||||
X11_USE= XORG=xpm
|
|
||||||
X11_CONFIGURE_ON=--with-xpm
|
|
||||||
.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} == "imap"
|
|
||||||
PHP_MOD_PRIO= 30
|
|
||||||
LIB_DEPENDS+= libc-client.so.2010:mail/panda-cclient
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
|
|
||||||
--with-imap-ssl=${OPENSSLBASE}
|
|
||||||
|
|
||||||
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
|
|
||||||
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
|
|
||||||
PHP_OPENSSL=yes
|
|
||||||
|
|
||||||
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
|
|
||||||
USES+= ssl
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "intl"
|
|
||||||
CONFIGURE_ARGS+=--enable-intl
|
|
||||||
LIB_DEPENDS= libicui18n.so:devel/icu
|
|
||||||
USES+= pkgconfig
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "json"
|
|
||||||
CONFIGURE_ARGS+=--enable-json
|
|
||||||
BUILD_DEPENDS= re2c:devel/re2c
|
|
||||||
.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
|
|
||||||
OPTIONS_DEFAULT=REGEX
|
|
||||||
|
|
||||||
REGEX_DESC= Enable multibyte regex support
|
|
||||||
|
|
||||||
REGEX_CONFIGURE_OFF=--disable-mbregex
|
|
||||||
REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma
|
|
||||||
|
|
||||||
PHP_HEADER_DIRS=libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "mysqli"
|
|
||||||
OPTIONS_DEFINE= MYSQLND
|
|
||||||
OPTIONS_DEFAULT=MYSQLND
|
|
||||||
|
|
||||||
MYSQLND_DESC= Use MySQL Native Driver
|
|
||||||
|
|
||||||
MYSQLND_CONFIGURE_ON=--with-mysqli=mysqlnd
|
|
||||||
MYSQLND_CONFIGURE_OFF=--with-mysqli=${LOCALBASE}/bin/mysql_config
|
|
||||||
MYSQLND_USES_OFF= mysql
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "odbc"
|
|
||||||
LIB_DEPENDS+= libodbc.so:databases/unixODBC
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${PHP_MODNAME} == "opcache"
|
|
||||||
# This is needed by Zend extensions, keep before everything.
|
|
||||||
PHP_MOD_PRIO= 10
|
|
||||||
CONFIGURE_ARGS+=--enable-opcache
|
|
||||||
USES+= 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} == "pspell"
|
|
||||||
LIB_DEPENDS+= libaspell.so:textproc/aspell
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-pspell=${LOCALBASE}
|
|
||||||
.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
|
|
||||||
.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+= libtidy.so:www/tidy-lib
|
|
||||||
.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} == "xmlrpc"
|
|
||||||
CONFIGURE_ARGS+=--with-xmlrpc \
|
|
||||||
--with-iconv-dir=${LOCALBASE}
|
|
||||||
|
|
||||||
USES+= iconv:translit
|
|
||||||
USE_GNOME= libxml2
|
|
||||||
|
|
||||||
PHP_HEADER_DIRS=libxmlrpc
|
|
||||||
|
|
||||||
USE_PHP= xml: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} == "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
|
|
|
@ -1,3 +0,0 @@
|
||||||
TIMESTAMP = 1691355820
|
|
||||||
SHA256 (php/php-8.0.30.tar.xz) = 216ab305737a5d392107112d618a755dc5df42058226f1670e9db90e77d777d9
|
|
||||||
SIZE (php/php-8.0.30.tar.xz) = 10821076
|
|
|
@ -1,19 +0,0 @@
|
||||||
--- build/Makefile.global.orig 2019-08-06 06:54:07 UTC
|
|
||||||
+++ build/Makefile.global
|
|
||||||
@@ -89,14 +89,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) \
|
|
|
@ -1,45 +0,0 @@
|
||||||
--- configure.ac.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ configure.ac
|
|
||||||
@@ -55,6 +55,7 @@ AH_BOTTOM([
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
+#include <ext/php_config.h>
|
|
||||||
#endif /* PHP_CONFIG_H */
|
|
||||||
])
|
|
||||||
|
|
||||||
@@ -273,7 +274,6 @@ sinclude(Zend/Zend.m4)
|
|
||||||
|
|
||||||
dnl ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
-PTHREADS_CHECK
|
|
||||||
PHP_HELP_SEPARATOR([SAPI modules:])
|
|
||||||
PHP_SHLIB_SUFFIX_NAMES
|
|
||||||
PHP_BUILD_PROGRAM
|
|
||||||
@@ -613,7 +613,7 @@ memmem \
|
|
||||||
AX_FUNC_WHICH_GETHOSTBYNAME_R
|
|
||||||
|
|
||||||
dnl Some systems (like OpenSolaris) do not have nanosleep in libc.
|
|
||||||
-PHP_CHECK_FUNC_LIB(nanosleep, rt)
|
|
||||||
+PHP_CHECK_FUNC(nanosleep, rt)
|
|
||||||
|
|
||||||
dnl Haiku does not have network api in libc.
|
|
||||||
PHP_CHECK_FUNC_LIB(setsockopt, network)
|
|
||||||
@@ -1262,7 +1262,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfdir`
|
|
||||||
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
|
|
||||||
@@ -1449,7 +1449,7 @@ PHP_SUBST(all_targets)
|
|
||||||
PHP_SUBST(install_targets)
|
|
||||||
PHP_SUBST(install_binary_targets)
|
|
||||||
|
|
||||||
-PHP_INSTALL_HEADERS([Zend/ TSRM/ include/ main/ main/streams/])
|
|
||||||
+PHP_INSTALL_HEADERS([Zend/ TSRM/ main/ main/streams/])
|
|
||||||
|
|
||||||
PHP_ADD_SOURCES(TSRM, TSRM.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- ext/mysqli/mysqli_api.c.orig 2020-09-29 22:36:51 UTC
|
|
||||||
+++ ext/mysqli/mysqli_api.c
|
|
||||||
@@ -29,7 +29,9 @@
|
|
||||||
#include "zend_smart_str.h"
|
|
||||||
#include "php_mysqli_structs.h"
|
|
||||||
#include "mysqli_priv.h"
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "ext/mysqlnd/mysql_float_to_double.h"
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- ext/mysqli/mysqli_nonapi.c.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ ext/mysqli/mysqli_nonapi.c
|
|
||||||
@@ -26,7 +26,9 @@
|
|
||||||
#include "php_ini.h"
|
|
||||||
#include "ext/standard/info.h"
|
|
||||||
#include "zend_smart_str.h"
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "php_mysqli_structs.h"
|
|
||||||
+#endif
|
|
||||||
#include "mysqli_priv.h"
|
|
||||||
#define ERROR_ARG_POS(arg_num) (getThis() ? (arg_num-1) : (arg_num))
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- ext/mysqli/mysqli_prop.c.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ ext/mysqli/mysqli_prop.c
|
|
||||||
@@ -24,7 +24,9 @@
|
|
||||||
#include "php.h"
|
|
||||||
#include "php_ini.h"
|
|
||||||
#include "ext/standard/info.h"
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "php_mysqli_structs.h"
|
|
||||||
+#endif
|
|
||||||
#include "mysqli_priv.h"
|
|
||||||
|
|
||||||
#define CHECK_STATUS(value, quiet) \
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- ext/mysqli/php_mysqli_structs.h.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ ext/mysqli/php_mysqli_structs.h
|
|
||||||
@@ -34,7 +34,7 @@
|
|
||||||
#define FALSE 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef MYSQLI_USE_MYSQLND
|
|
||||||
+#if defined(MYSQLI_USE_MYSQLND)
|
|
||||||
#include "ext/mysqlnd/mysqlnd.h"
|
|
||||||
#include "mysqli_mysqlnd.h"
|
|
||||||
#else
|
|
|
@ -1,12 +0,0 @@
|
||||||
--- ext/openssl/openssl.c.orig 2023-08-02 14:33:58 UTC
|
|
||||||
+++ ext/openssl/openssl.c
|
|
||||||
@@ -1325,7 +1325,9 @@ PHP_MINIT_FUNCTION(openssl)
|
|
||||||
REGISTER_LONG_CONSTANT("OPENSSL_CMS_NOSIGS", CMS_NOSIGS, CONST_CS|CONST_PERSISTENT);
|
|
||||||
|
|
||||||
REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_PADDING", RSA_PKCS1_PADDING, CONST_CS|CONST_PERSISTENT);
|
|
||||||
+#if OPENSSL_VERSION_NUMBER < 0x30000000
|
|
||||||
REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT);
|
|
||||||
+#endif
|
|
||||||
REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING", RSA_NO_PADDING, CONST_CS|CONST_PERSISTENT);
|
|
||||||
REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_OAEP_PADDING", RSA_PKCS1_OAEP_PADDING, CONST_CS|CONST_PERSISTENT);
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- ext/pcre/pcre2lib/sljit/sljitConfigInternal.h.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ ext/pcre/pcre2lib/sljit/sljitConfigInternal.h
|
|
||||||
@@ -317,7 +317,7 @@ extern "C" {
|
|
||||||
/* Instruction cache flush. */
|
|
||||||
/****************************/
|
|
||||||
|
|
||||||
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
|
|
||||||
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
|
|
||||||
#if __has_builtin(__builtin___clear_cache)
|
|
||||||
|
|
||||||
#define SLJIT_CACHE_FLUSH(from, to) \
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- sapi/apache2handler/config.m4.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ sapi/apache2handler/config.m4
|
|
||||||
@@ -64,7 +64,7 @@ if test "$PHP_APXS2" != "no"; then
|
|
||||||
fi
|
|
||||||
|
|
||||||
APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR`
|
|
||||||
- if test -z `$APXS -q SYSCONFDIR`; then
|
|
||||||
+ if true; then
|
|
||||||
INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \
|
|
||||||
$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
|
|
||||||
-i -n php"
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- sapi/fpm/config.m4.orig 2023-06-07 17:25:45 UTC
|
|
||||||
+++ sapi/fpm/config.m4
|
|
||||||
@@ -315,7 +315,7 @@ AC_DEFUN([AC_FPM_LQ],
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
])
|
|
||||||
|
|
||||||
- if test "$have_lq" = "tcp_info"; then
|
|
||||||
+ if test "$have_lq" = "so_listenq"; then
|
|
||||||
AC_DEFINE([HAVE_LQ_TCP_INFO], 1, [do we have TCP_INFO?])
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
--- sapi/fpm/www.conf.in.orig 2019-01-26 15:54:27 UTC
|
|
||||||
+++ sapi/fpm/www.conf.in
|
|
||||||
@@ -27,10 +27,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
|
|
|
@ -1,66 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# PROVIDE: php-fpm
|
|
||||||
# REQUIRE: LOGIN
|
|
||||||
# KEYWORD: shutdown
|
|
||||||
|
|
||||||
#
|
|
||||||
# Add the following line to /etc/rc.conf to enable php-fpm:
|
|
||||||
# php_fpm_enable="YES"
|
|
||||||
#
|
|
||||||
|
|
||||||
. /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"
|
|
||||||
configtest_cmd="php_fpm_checkconfig"
|
|
||||||
|
|
||||||
load_rc_config "$name"
|
|
||||||
|
|
||||||
: ${php_fpm_enable="NO"}
|
|
||||||
: ${php_fpm_umask=""}
|
|
||||||
|
|
||||||
extra_commands="reload configtest logrotate"
|
|
||||||
|
|
||||||
command="%%PREFIX%%/sbin/php-fpm"
|
|
||||||
pidfile="/var/run/php-fpm.pid"
|
|
||||||
sig_stop="QUIT"
|
|
||||||
sig_reload="USR2"
|
|
||||||
logrotate_cmd="php_fpm_logrotate"
|
|
||||||
|
|
||||||
required_files="%%PREFIX%%/etc/php-fpm.conf"
|
|
||||||
|
|
||||||
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} -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"
|
|
|
@ -1,6 +0,0 @@
|
||||||
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.
|
|
|
@ -1,19 +0,0 @@
|
||||||
******************************************************************************
|
|
||||||
|
|
||||||
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>
|
|
||||||
|
|
||||||
******************************************************************************
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
******************************************************************************
|
|
|
@ -1,288 +0,0 @@
|
||||||
%%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/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_attributes.h
|
|
||||||
include/php/Zend/zend_attributes_arginfo.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_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_cpuinfo.h
|
|
||||||
include/php/Zend/zend_dtrace.h
|
|
||||||
%%DTRACE%%include/php/Zend/zend_dtrace_gen.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_float.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_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_istdiostream.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_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_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_ptr_stack.h
|
|
||||||
include/php/Zend/zend_range_check.h
|
|
||||||
include/php/Zend/zend_signal.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_ts_hash.h
|
|
||||||
include/php/Zend/zend_type_info.h
|
|
||||||
include/php/Zend/zend_types.h
|
|
||||||
include/php/Zend/zend_variables.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_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/json/php_json.h
|
|
||||||
include/php/ext/json/php_json_parser.h
|
|
||||||
include/php/ext/json/php_json_scanner.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
|
|
||||||
include/php/ext/pcre/php_pcre.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_engine.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/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/datetime.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/flock_compat.h
|
|
||||||
include/php/ext/standard/fsock.h
|
|
||||||
include/php/ext/standard/head.h
|
|
||||||
include/php/ext/standard/hrtime.h
|
|
||||||
include/php/ext/standard/html.h
|
|
||||||
include/php/ext/standard/html_tables.h
|
|
||||||
include/php/ext/standard/info.h
|
|
||||||
include/php/ext/standard/md5.h
|
|
||||||
include/php/ext/standard/pack.h
|
|
||||||
include/php/ext/standard/pageinfo.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_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_lcg.h
|
|
||||||
include/php/ext/standard/php_mail.h
|
|
||||||
include/php/ext/standard/php_math.h
|
|
||||||
include/php/ext/standard/php_mt_rand.h
|
|
||||||
include/php/ext/standard/php_net.h
|
|
||||||
include/php/ext/standard/php_password.h
|
|
||||||
include/php/ext/standard/php_rand.h
|
|
||||||
include/php/ext/standard/php_random.h
|
|
||||||
include/php/ext/standard/php_smart_string.h
|
|
||||||
include/php/ext/standard/php_smart_string_public.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
|
|
||||||
@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/fastcgi.h
|
|
||||||
include/php/main/fopen_wrappers.h
|
|
||||||
include/php/main/http_status_codes.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_globals.h
|
|
||||||
include/php/main/php_ini.h
|
|
||||||
include/php/main/php_main.h
|
|
||||||
include/php/main/php_memory_streams.h
|
|
||||||
include/php/main/php_network.h
|
|
||||||
include/php/main/php_open_temporary_file.h
|
|
||||||
include/php/main/php_output.h
|
|
||||||
include/php/main/php_reentrancy.h
|
|
||||||
include/php/main/php_scandir.h
|
|
||||||
include/php/main/php_stdint.h
|
|
||||||
include/php/main/php_streams.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/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
|
|
||||||
%%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/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%%man/man1/php-cgi.1.gz
|
|
||||||
man/man1/php-config.1.gz
|
|
||||||
%%CLI%%man/man1/php.1.gz
|
|
||||||
%%PHPDBG%%man/man1/phpdbg.1.gz
|
|
||||||
man/man1/phpize.1.gz
|
|
||||||
%%FPM%%man/man8/php-fpm.8.gz
|
|
||||||
%%FPM%%share/php/fpm/status.html
|
|
|
@ -1,3 +0,0 @@
|
||||||
%%APACHEMODDIR%%/%%AP_MODULE%%
|
|
||||||
@postexec %D/sbin/apxs -e -a -n %%AP_NAME%% %f
|
|
||||||
@preunexec %D/sbin/apxs -e -A -n %%AP_NAME%% %f
|
|
|
@ -10,7 +10,7 @@ WWW= https://www.php.net/
|
||||||
USES= metaport php
|
USES= metaport php
|
||||||
|
|
||||||
PHP_VER= 81
|
PHP_VER= 81
|
||||||
IGNORE_WITH_PHP= 80 82
|
IGNORE_WITH_PHP= 82 83
|
||||||
|
|
||||||
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
||||||
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
||||||
|
|
|
@ -178,7 +178,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php
|
||||||
USES+= php:ext,noflavors
|
USES+= php:ext,noflavors
|
||||||
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
||||||
PHP_VER= 81
|
PHP_VER= 81
|
||||||
IGNORE_WITH_PHP= 80 82 83
|
IGNORE_WITH_PHP= 82 83
|
||||||
|
|
||||||
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
||||||
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
||||||
|
|
|
@ -10,7 +10,7 @@ WWW= https://www.php.net/
|
||||||
USES= metaport php
|
USES= metaport php
|
||||||
|
|
||||||
PHP_VER= 82
|
PHP_VER= 82
|
||||||
IGNORE_WITH_PHP= 80 81
|
IGNORE_WITH_PHP= 81 83
|
||||||
|
|
||||||
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
||||||
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
||||||
|
|
|
@ -179,7 +179,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php
|
||||||
USES+= php:ext,noflavors
|
USES+= php:ext,noflavors
|
||||||
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
||||||
PHP_VER= 82
|
PHP_VER= 82
|
||||||
IGNORE_WITH_PHP= 80 81 83
|
IGNORE_WITH_PHP= 81 83
|
||||||
|
|
||||||
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
||||||
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
||||||
|
|
|
@ -10,7 +10,7 @@ WWW= https://www.php.net/
|
||||||
USES= metaport php
|
USES= metaport php
|
||||||
|
|
||||||
PHP_VER= 83
|
PHP_VER= 83
|
||||||
IGNORE_WITH_PHP= 80 81 82
|
IGNORE_WITH_PHP= 81 82
|
||||||
|
|
||||||
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
||||||
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
||||||
|
|
|
@ -198,7 +198,7 @@ COMMENT= The ${PHP_MODNAME} shared extension for php
|
||||||
USES+= php:ext,noflavors
|
USES+= php:ext,noflavors
|
||||||
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
|
||||||
PHP_VER= 83
|
PHP_VER= 83
|
||||||
IGNORE_WITH_PHP= 80 81 82
|
IGNORE_WITH_PHP= 81 82
|
||||||
|
|
||||||
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
|
||||||
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
WRKSRC= ${WRKDIR}/${EXTSUBDIR}
|
||||||
|
|
|
@ -455,7 +455,6 @@
|
||||||
SUBDIR += perdition
|
SUBDIR += perdition
|
||||||
SUBDIR += pflogsumm
|
SUBDIR += pflogsumm
|
||||||
SUBDIR += pfqueue
|
SUBDIR += pfqueue
|
||||||
SUBDIR += php80-imap
|
|
||||||
SUBDIR += php81-imap
|
SUBDIR += php81-imap
|
||||||
SUBDIR += php82-imap
|
SUBDIR += php82-imap
|
||||||
SUBDIR += php83-imap
|
SUBDIR += php83-imap
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= mail
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -imap
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -844,8 +844,6 @@
|
||||||
SUBDIR += petanque
|
SUBDIR += petanque
|
||||||
SUBDIR += petiga
|
SUBDIR += petiga
|
||||||
SUBDIR += pffft
|
SUBDIR += pffft
|
||||||
SUBDIR += php80-bcmath
|
|
||||||
SUBDIR += php80-gmp
|
|
||||||
SUBDIR += php81-bcmath
|
SUBDIR += php81-bcmath
|
||||||
SUBDIR += php81-gmp
|
SUBDIR += php81-gmp
|
||||||
SUBDIR += php82-bcmath
|
SUBDIR += php82-bcmath
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= math
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -bcmath
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= math
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -gmp
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -379,7 +379,6 @@
|
||||||
SUBDIR += pecl-timezonedb
|
SUBDIR += pecl-timezonedb
|
||||||
SUBDIR += perkeep
|
SUBDIR += perkeep
|
||||||
SUBDIR += pfm
|
SUBDIR += pfm
|
||||||
SUBDIR += php80-calendar
|
|
||||||
SUBDIR += php81-calendar
|
SUBDIR += php81-calendar
|
||||||
SUBDIR += php82-calendar
|
SUBDIR += php82-calendar
|
||||||
SUBDIR += php83-calendar
|
SUBDIR += php83-calendar
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= misc
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -calendar
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -288,7 +288,6 @@
|
||||||
SUBDIR += pandorafms_server
|
SUBDIR += pandorafms_server
|
||||||
SUBDIR += pftabled
|
SUBDIR += pftabled
|
||||||
SUBDIR += php-fpm_exporter
|
SUBDIR += php-fpm_exporter
|
||||||
SUBDIR += php80-snmp
|
|
||||||
SUBDIR += php81-snmp
|
SUBDIR += php81-snmp
|
||||||
SUBDIR += php82-snmp
|
SUBDIR += php82-snmp
|
||||||
SUBDIR += php83-snmp
|
SUBDIR += php83-snmp
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= net-mgmt
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -snmp
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -988,9 +988,6 @@
|
||||||
SUBDIR += pecl-smbclient
|
SUBDIR += pecl-smbclient
|
||||||
SUBDIR += pecl-xmlrpc
|
SUBDIR += pecl-xmlrpc
|
||||||
SUBDIR += pen
|
SUBDIR += pen
|
||||||
SUBDIR += php80-ldap
|
|
||||||
SUBDIR += php80-soap
|
|
||||||
SUBDIR += php80-sockets
|
|
||||||
SUBDIR += php81-ldap
|
SUBDIR += php81-ldap
|
||||||
SUBDIR += php81-soap
|
SUBDIR += php81-soap
|
||||||
SUBDIR += php81-sockets
|
SUBDIR += php81-sockets
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= net
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -ldap
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= net
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -soap
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= net
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sockets
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -802,8 +802,6 @@
|
||||||
SUBDIR += pgpdump
|
SUBDIR += pgpdump
|
||||||
SUBDIR += pgpgpg
|
SUBDIR += pgpgpg
|
||||||
SUBDIR += pgpin
|
SUBDIR += pgpin
|
||||||
SUBDIR += php80-filter
|
|
||||||
SUBDIR += php80-sodium
|
|
||||||
SUBDIR += php81-filter
|
SUBDIR += php81-filter
|
||||||
SUBDIR += php81-sodium
|
SUBDIR += php81-sodium
|
||||||
SUBDIR += php82-filter
|
SUBDIR += php82-filter
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= security
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -filter
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= security
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -sodium
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -996,8 +996,6 @@
|
||||||
SUBDIR += pfstat
|
SUBDIR += pfstat
|
||||||
SUBDIR += pftables
|
SUBDIR += pftables
|
||||||
SUBDIR += pftop
|
SUBDIR += pftop
|
||||||
SUBDIR += php80-fileinfo
|
|
||||||
SUBDIR += php80-posix
|
|
||||||
SUBDIR += php81-fileinfo
|
SUBDIR += php81-fileinfo
|
||||||
SUBDIR += php81-posix
|
SUBDIR += php81-posix
|
||||||
SUBDIR += php82-fileinfo
|
SUBDIR += php82-fileinfo
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= sysutils
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -fileinfo
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= sysutils
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -posix
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,38 +0,0 @@
|
||||||
--- posix.c.orig Fri Feb 23 00:40:39 2007
|
|
||||||
+++ posix.c Sun May 13 17:52:27 2007
|
|
||||||
@@ -838,7 +838,7 @@
|
|
||||||
#if defined(ZTS) && defined(HAVE_GETGRNAM_R) && defined(_SC_GETGR_R_SIZE_MAX)
|
|
||||||
buflen = sysconf(_SC_GETGR_R_SIZE_MAX);
|
|
||||||
if (buflen < 1) {
|
|
||||||
- RETURN_FALSE;
|
|
||||||
+ buflen = 1024;
|
|
||||||
}
|
|
||||||
buf = emalloc(buflen);
|
|
||||||
g = &gbuf;
|
|
||||||
@@ -888,7 +888,7 @@
|
|
||||||
|
|
||||||
grbuflen = sysconf(_SC_GETGR_R_SIZE_MAX);
|
|
||||||
if (grbuflen < 1) {
|
|
||||||
- RETURN_FALSE;
|
|
||||||
+ grbuflen = 1024;
|
|
||||||
}
|
|
||||||
|
|
||||||
grbuf = emalloc(grbuflen);
|
|
||||||
@@ -955,7 +955,7 @@
|
|
||||||
#if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWNAM_R)
|
|
||||||
buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
|
|
||||||
if (buflen < 1) {
|
|
||||||
- RETURN_FALSE;
|
|
||||||
+ buflen = 1024;
|
|
||||||
}
|
|
||||||
buf = emalloc(buflen);
|
|
||||||
pw = &pwbuf;
|
|
||||||
@@ -1004,7 +1004,7 @@
|
|
||||||
#if defined(ZTS) && defined(_SC_GETPW_R_SIZE_MAX) && defined(HAVE_GETPWUID_R)
|
|
||||||
pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
|
|
||||||
if (pwbuflen < 1) {
|
|
||||||
- RETURN_FALSE;
|
|
||||||
+ pwbuflen = 1024;
|
|
||||||
}
|
|
||||||
pwbuf = emalloc(pwbuflen);
|
|
||||||
|
|
|
@ -1249,15 +1249,6 @@
|
||||||
SUBDIR += peco
|
SUBDIR += peco
|
||||||
SUBDIR += peg
|
SUBDIR += peg
|
||||||
SUBDIR += perl2html
|
SUBDIR += perl2html
|
||||||
SUBDIR += php80-ctype
|
|
||||||
SUBDIR += php80-dom
|
|
||||||
SUBDIR += php80-enchant
|
|
||||||
SUBDIR += php80-pspell
|
|
||||||
SUBDIR += php80-simplexml
|
|
||||||
SUBDIR += php80-xml
|
|
||||||
SUBDIR += php80-xmlreader
|
|
||||||
SUBDIR += php80-xmlwriter
|
|
||||||
SUBDIR += php80-xsl
|
|
||||||
SUBDIR += php81-ctype
|
SUBDIR += php81-ctype
|
||||||
SUBDIR += php81-dom
|
SUBDIR += php81-dom
|
||||||
SUBDIR += php81-enchant
|
SUBDIR += php81-enchant
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= textproc
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -ctype
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,9 +0,0 @@
|
||||||
CATEGORIES= textproc
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -dom
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
|
@ -1,14 +0,0 @@
|
||||||
CATEGORIES= textproc
|
|
||||||
|
|
||||||
MASTERDIR= ${.CURDIR}/../../lang/php80
|
|
||||||
|
|
||||||
PKGNAMESUFFIX= -enchant
|
|
||||||
|
|
||||||
TEST_TARGET= test
|
|
||||||
|
|
||||||
post-patch:
|
|
||||||
${REINPLACE_CMD} -e \
|
|
||||||
's|#include "../spl/spl_exceptions.h"|#include "ext/spl/spl_exceptions.h"|g' \
|
|
||||||
${WRKSRC}/enchant.c
|
|
||||||
|
|
||||||
.include "${MASTERDIR}/Makefile"
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue