forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
34 changed files
with
625 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
php8.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Required modules: dir_module, php8.3_module | ||
|
||
<IfModule dir_module> | ||
<IfModule php8.3_module> | ||
DirectoryIndex index.php index.html | ||
<FilesMatch "\.php$"> | ||
SetHandler application/x-httpd-php | ||
</FilesMatch> | ||
<FilesMatch "\.phps$"> | ||
SetHandler application/x-httpd-php-source | ||
</FilesMatch> | ||
</IfModule> | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
[ -r conf ] && . ./conf | ||
exec php-fpm8.3 --nodaemonize ${OPTS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This patch fixes .so links in man pages. | ||
It's needed because of the configure option - | ||
|
||
--program-suffix=${_php_version} | ||
|
||
The changes made by this patch should be the same as the changes made by this | ||
block of code - | ||
|
||
_regexp='^[[:space:]]*\.so[[:space:]]' | ||
for file in $(grep -l -e "$_regexp" -R .); do | ||
vsed -i "$file" -e "/$_regexp/"'s=^[[:space:]]*\.[^.]*=&'${_php_version}= | ||
done | ||
|
||
Where _php_version is defined in the template file. | ||
|
||
--- a/ext/phar/phar.phar.1.in | ||
+++ b/ext/phar/phar.phar.1.in | ||
@@ -1 +1 @@ | ||
-.so man1/phar.1 | ||
+.so man1/phar8.3.1 | ||
--- a/sapi/cgi/php-cgi.1.in | ||
+++ b/sapi/cgi/php-cgi.1.in | ||
@@ -1 +1 @@ | ||
-.so man1/php.1 | ||
+.so man1/php8.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- a/ext/standard/crypt.c 2016-04-28 14:13:00.000000000 -0400 | ||
+++ b/ext/standard/crypt.c 2016-04-28 21:45:24.340955313 -0400 | ||
@@ -267,6 +267,12 @@ | ||
} | ||
# elif defined(HAVE_CRYPT) | ||
crypt_res = crypt(password, salt); | ||
+ if (!crypt_res || (salt[0] == '*' && salt[1] == '0')) { | ||
+ return NULL; | ||
+ } else { | ||
+ result = zend_string_init(crypt_res, strlen(crypt_res), 0); | ||
+ return result; | ||
+ } | ||
# else | ||
# error No crypt() implementation | ||
# endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/configure b/configure | ||
index d317fd7..5560d75 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -60896,7 +60896,7 @@ $as_echo_n "checking for pg_config... " >&6; } | ||
fi | ||
done | ||
|
||
- if test -n "$PG_CONFIG"; then | ||
+ if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 | ||
$as_echo "$PG_CONFIG" >&6; } | ||
PGSQL_INCLUDE=`$PG_CONFIG --includedir` | ||
@@ -62422,7 +62422,7 @@ $as_echo_n "checking for pg_config... " >&6; } | ||
fi | ||
done | ||
|
||
- if test -n "$PG_CONFIG"; then | ||
+ if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 | ||
$as_echo "$PG_CONFIG" >&6; } | ||
PGSQL_INCLUDE=`$PG_CONFIG --includedir` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/sapi/fpm/Makefile.frag 2017-04-15 23:58:56.965737425 +0200 | ||
+++ b/sapi/fpm/Makefile.frag 2017-04-16 00:00:57.814831649 +0200 | ||
@@ -15,8 +15,8 @@ install-fpm: $(SAPI_FPM_PATH) | ||
else \ | ||
echo "Installing PHP FPM defconfig: $(INSTALL_ROOT)$(sysconfdir)/" && \ | ||
$(mkinstalldirs) $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d; \ | ||
- $(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf.default; \ | ||
- $(INSTALL_DATA) sapi/fpm/www.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d/www.conf.default; \ | ||
+ $(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf; \ | ||
+ $(INSTALL_DATA) sapi/fpm/www.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d/www.conf; \ | ||
fi | ||
|
||
@echo "Installing PHP FPM man page: $(INSTALL_ROOT)$(mandir)/man8/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- a/build/ltmain.sh 2021-09-09 15:19:14.822208365 +0200 | ||
+++ b/build/ltmain.sh 2021-09-09 15:47:55.397011151 +0200 | ||
@@ -2375,6 +2375,13 @@ EOF | ||
*) . ./$lib ;; | ||
esac | ||
|
||
+ newdependency_libs= | ||
+ for deplib in $dependency_libs; do | ||
+ deplib=$(echo "$deplib" | sed "s#^=\(.*\)#$(${CC} --print-sysroot)\1#") | ||
+ newdependency_libs="$newdependency_libs $deplib" | ||
+ done | ||
+ dependency_libs=${newdependency_libs} | ||
+ | ||
if test "$linkmode,$pass" = "lib,link" || | ||
test "$linkmode,$pass" = "prog,scan" || | ||
{ test "$linkmode" != prog && test "$linkmode" != lib; }; then | ||
@@ -5750,6 +5757,13 @@ fi\ | ||
case $host,$output,$installed,$module,$dlname in | ||
*cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; | ||
esac | ||
+ | ||
+ newdependency_libs= | ||
+ for deplib in $dependency_libs; do | ||
+ deplib=$(echo "$deplib" | sed "s#^$(${CC} --print-sysroot)#=#") | ||
+ newdependency_libs="$newdependency_libs $deplib" | ||
+ done | ||
+ | ||
$echo > $output "\ | ||
# $outputname - a libtool library file | ||
# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP | ||
@@ -5767,7 +5781,7 @@ library_names='$library_names' | ||
old_library='$old_library' | ||
|
||
# Libraries that this one depends upon. | ||
-dependency_libs='$dependency_libs' | ||
+dependency_libs='$newdependency_libs' | ||
|
||
# Version information for $libname. | ||
current=$current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- a/pear/Makefile.frag 2020-03-17 11:40:21.000000000 +0100 | ||
+++ b/pear/Makefile.frag 2020-04-12 22:29:31.846943414 +0200 | ||
@@ -8,9 +8,10 @@ FETCH = `which fetch 2>/dev/null` | ||
PEAR_PREFIX = -dp a${program_prefix} | ||
PEAR_SUFFIX = -ds a$(program_suffix) | ||
PEAR_INSTALLER_URL = https://pear.php.net/install-pear-nozlib.phar | ||
+PEAR_PHP ?= $(top_builddir)/sapi/cli/php | ||
|
||
install-pear-installer: $(SAPI_CLI_PATH) | ||
- @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX} | ||
+ @$(PEAR_PHP) $(PEAR_INSTALL_FLAGS) pear/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)" ${PEAR_PREFIX} ${PEAR_SUFFIX} | ||
|
||
install-pear: | ||
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/" | ||
@@ -23,7 +24,7 @@ install-pear: | ||
elif test ! -z "$(FETCH)" && test -x "$(FETCH)"; then \ | ||
"$(FETCH)" -o $(builddir)/ "${PEAR_INSTALLER_URL}"; \ | ||
else \ | ||
- $(top_builddir)/sapi/cli/php -n $(srcdir)/fetch.php "${PEAR_INSTALLER_URL}" $(builddir)/install-pear-nozlib.phar; \ | ||
+ $(PEAR_PHP) -n $(srcdir)/fetch.php "${PEAR_INSTALLER_URL}" $(builddir)/install-pear-nozlib.phar; \ | ||
fi \ | ||
fi \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- a/ext/phar/Makefile.frag 2020-04-13 12:18:23.998801926 +0200 | ||
+++ b/ext/phar/Makefile.frag 2020-04-13 12:20:58.031795293 +0200 | ||
@@ -8,12 +8,14 @@ $(srcdir)/phar_path_check.c: $(srcdir)/p | ||
|
||
pharcmd: $(builddir)/phar.php $(builddir)/phar.phar | ||
|
||
+PHAR_PHP ?= $(top_builddir)/$(SAPI_CLI_PATH) | ||
+PHAR_PHP_MODULES ?= $(top_builddir)/modules | ||
PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 | ||
PHP_PHARCMD_EXECUTABLE = ` \ | ||
- if test -x "$(top_builddir)/$(SAPI_CLI_PATH)"; then \ | ||
- $(top_srcdir)/build/shtool echo -n -- "$(top_builddir)/$(SAPI_CLI_PATH) -n"; \ | ||
+ if test -x "$(PHAR_PHP)"; then \ | ||
+ $(top_srcdir)/build/shtool echo -n -- "$(PHAR_PHP) -n"; \ | ||
if test "x$(PHP_MODULES)" != "x"; then \ | ||
- $(top_srcdir)/build/shtool echo -n -- " -d extension_dir=$(top_builddir)/modules"; \ | ||
+ $(top_srcdir)/build/shtool echo -n -- " -d extension_dir=$(PHAR_PHP_MODULES)"; \ | ||
for i in bz2 zlib phar; do \ | ||
if test -f "$(top_builddir)/modules/$$i.la"; then \ | ||
. $(top_builddir)/modules/$$i.la; $(top_srcdir)/build/shtool echo -n -- " -d extension=$$dlname"; \ | ||
@@ -21,7 +23,7 @@ PHP_PHARCMD_EXECUTABLE = ` \ | ||
done; \ | ||
fi; \ | ||
else \ | ||
- $(top_srcdir)/build/shtool echo -n -- "$(PHP_EXECUTABLE)"; \ | ||
+ $(top_srcdir)/build/shtool echo -n -- "$(PHAR_PHP)"; \ | ||
fi;` | ||
PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- "$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)";` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- a/scripts/phpize.m4 2020-03-17 11:40:21.000000000 +0100 | ||
+++ b/scripts/phpize.m4 2020-04-15 12:27:36.400466387 +0200 | ||
@@ -44,6 +44,12 @@ PHP_ARG_WITH([libdir], | ||
[lib], | ||
[no]) | ||
|
||
+PHP_ARG_WITH([sysroot],, | ||
+ [AS_HELP_STRING([--with-sysroot=NAME], | ||
+ [System sysroot])], | ||
+ [no], | ||
+ [no]) | ||
+ | ||
PHP_RUNPATH_SWITCH | ||
PHP_SHLIB_SUFFIX_NAMES | ||
|
||
@@ -58,7 +64,11 @@ dnl For BC. | ||
PHP_CONFIG=$PHP_PHP_CONFIG | ||
prefix=`$PHP_CONFIG --prefix 2>/dev/null` | ||
phpincludedir=`$PHP_CONFIG --include-dir 2>/dev/null` | ||
-INCLUDES=`$PHP_CONFIG --includes 2>/dev/null` | ||
+if test "x$PHP_SYSROOT" = xno; then : | ||
+ INCLUDES=`$PHP_CONFIG --includes 2>/dev/null` | ||
+else | ||
+ INCLUDES=`$PHP_CONFIG --includes 2>/dev/null | sed "s#-I#-I$PHP_SYSROOT#g"` | ||
+fi | ||
EXTENSION_DIR=`$PHP_CONFIG --extension-dir 2>/dev/null` | ||
PHP_EXECUTABLE=`$PHP_CONFIG --php-binary 2>/dev/null` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/php.ini-production b/php.ini-production | ||
index b39a960..68f14a6 100644 | ||
--- a/php.ini-production | ||
+++ b/php.ini-production | ||
@@ -737,7 +737,7 @@ default_charset = "UTF-8" | ||
;;;;;;;;;;;;;;;;;;;;;;;;; | ||
|
||
; UNIX: "/path1:/path2" | ||
-;include_path = ".:/php/includes" | ||
+include_path = ".:/usr/share/pear8.3" | ||
; | ||
; Windows: "\path1;\path2" | ||
;include_path = ".;c:\php\includes" | ||
@@ -760,9 +760,7 @@ user_dir = | ||
|
||
; Directory in which the loadable extensions (modules) reside. | ||
; https://php.net/extension-dir | ||
-;extension_dir = "./" | ||
-; On windows: | ||
-;extension_dir = "ext" | ||
+extension_dir = "/usr/lib/php8.3/modules/" | ||
|
||
; Directory where the temporary files should be placed. | ||
; Defaults to the system default (see sys_get_temp_dir) |
Oops, something went wrong.