diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-30 09:34:58 +0100 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-12-31 01:06:40 +0100 |
commit | beced896adede7791902c084864668404d24aa46 (patch) | |
tree | 059f5d17522bff15edec8e74442f36d9009b79c4 /lang/php80/files | |
parent | www/py-dj41-drf-spectacular-sidecar: Remove expired port (diff) |
lang/php80: Sunset
Diffstat (limited to 'lang/php80/files')
-rw-r--r-- | lang/php80/files/patch-build_Makefile.global | 19 | ||||
-rw-r--r-- | lang/php80/files/patch-configure.ac | 45 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_mysqli_mysqli__api.c | 12 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_mysqli_mysqli__nonapi.c | 12 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_mysqli_mysqli__prop.c | 12 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_mysqli_php__mysqli__structs.h | 11 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_openssl_openssl.c | 12 | ||||
-rw-r--r-- | lang/php80/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h | 11 | ||||
-rw-r--r-- | lang/php80/files/patch-sapi_apache2handler_config.m4 | 11 | ||||
-rw-r--r-- | lang/php80/files/patch-sapi_fpm_config.m4 | 11 | ||||
-rw-r--r-- | lang/php80/files/patch-sapi_fpm_www.conf.in | 17 | ||||
-rw-r--r-- | lang/php80/files/php-fpm.in | 66 |
12 files changed, 0 insertions, 239 deletions
diff --git a/lang/php80/files/patch-build_Makefile.global b/lang/php80/files/patch-build_Makefile.global deleted file mode 100644 index 4b838d157941..000000000000 --- a/lang/php80/files/patch-build_Makefile.global +++ /dev/null @@ -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) \ diff --git a/lang/php80/files/patch-configure.ac b/lang/php80/files/patch-configure.ac deleted file mode 100644 index 09dc2448b502..000000000000 --- a/lang/php80/files/patch-configure.ac +++ /dev/null @@ -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) - diff --git a/lang/php80/files/patch-ext_mysqli_mysqli__api.c b/lang/php80/files/patch-ext_mysqli_mysqli__api.c deleted file mode 100644 index 535503954e3d..000000000000 --- a/lang/php80/files/patch-ext_mysqli_mysqli__api.c +++ /dev/null @@ -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)) - diff --git a/lang/php80/files/patch-ext_mysqli_mysqli__nonapi.c b/lang/php80/files/patch-ext_mysqli_mysqli__nonapi.c deleted file mode 100644 index ddcd59d8aaa4..000000000000 --- a/lang/php80/files/patch-ext_mysqli_mysqli__nonapi.c +++ /dev/null @@ -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)) - diff --git a/lang/php80/files/patch-ext_mysqli_mysqli__prop.c b/lang/php80/files/patch-ext_mysqli_mysqli__prop.c deleted file mode 100644 index 10a1da771df9..000000000000 --- a/lang/php80/files/patch-ext_mysqli_mysqli__prop.c +++ /dev/null @@ -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) \ diff --git a/lang/php80/files/patch-ext_mysqli_php__mysqli__structs.h b/lang/php80/files/patch-ext_mysqli_php__mysqli__structs.h deleted file mode 100644 index 8ec5c54d9890..000000000000 --- a/lang/php80/files/patch-ext_mysqli_php__mysqli__structs.h +++ /dev/null @@ -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 diff --git a/lang/php80/files/patch-ext_openssl_openssl.c b/lang/php80/files/patch-ext_openssl_openssl.c deleted file mode 100644 index 61ed805aa166..000000000000 --- a/lang/php80/files/patch-ext_openssl_openssl.c +++ /dev/null @@ -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); - diff --git a/lang/php80/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h b/lang/php80/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h deleted file mode 100644 index a77bd2dd4d91..000000000000 --- a/lang/php80/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h +++ /dev/null @@ -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) \ diff --git a/lang/php80/files/patch-sapi_apache2handler_config.m4 b/lang/php80/files/patch-sapi_apache2handler_config.m4 deleted file mode 100644 index d37a48a6f992..000000000000 --- a/lang/php80/files/patch-sapi_apache2handler_config.m4 +++ /dev/null @@ -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" diff --git a/lang/php80/files/patch-sapi_fpm_config.m4 b/lang/php80/files/patch-sapi_fpm_config.m4 deleted file mode 100644 index 405191af8422..000000000000 --- a/lang/php80/files/patch-sapi_fpm_config.m4 +++ /dev/null @@ -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 - diff --git a/lang/php80/files/patch-sapi_fpm_www.conf.in b/lang/php80/files/patch-sapi_fpm_www.conf.in deleted file mode 100644 index c7e7fe399854..000000000000 --- a/lang/php80/files/patch-sapi_fpm_www.conf.in +++ /dev/null @@ -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 diff --git a/lang/php80/files/php-fpm.in b/lang/php80/files/php-fpm.in deleted file mode 100644 index c234856b0e54..000000000000 --- a/lang/php80/files/php-fpm.in +++ /dev/null @@ -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" |