summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
-rw-r--r--openssl-sslv3-consts.patch12
3 files changed, 22 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 09418f49541..e464877f88f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
-# Generated by makepkg 6.0.1
-# Fri Feb 18 10:57:32 UTC 2022
+# Generated by makepkg 6.0.2
+# Sat Nov 5 17:50:31 UTC 2022
pkgbase = php71
pkgdesc = PHP 7.1.33 compiled as to not conflict with mainline php
pkgver = 7.1.33
- pkgrel = 7
+ pkgrel = 8
url = http://www.php.net
arch = x86_64
license = PHP
@@ -70,6 +70,7 @@ pkgbase = php71
source = php-apache.conf
source = https://php.net/distributions/php-7.1.33.tar.xz
source = php71-phar-names.patch
+ source = openssl-sslv3-consts.patch
source = fpm-numeric-uid-gid.patch
source = fpm-reload-sighup.patch
source = mysql-socket-php7.1.patch
@@ -88,6 +89,7 @@ pkgbase = php71
sha256sums = 6d0ad9becb5470ce8e5929d7d45660b0f32579038978496317544c5310281a91
sha256sums = bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968
sha256sums = ee6529d441b2446d784e80aba23aa956541e541bd73ad54aee480d4a1a6117ca
+ sha256sums = aecd8dff7022e956718407a5b98dec19acdceef08b0a58e7266b483bc3845de6
sha256sums = d175f0c14fdb22855090c93f76e18f04320d7bf15afc057ffde947f9bb361242
sha256sums = f5ae925036744a5e88cea2698879aea0498e1e23aee7801923d90f16be383908
sha256sums = 0a3a6e8ff04ff1e0869befcf2c7bca4e886d94065da6d7a10b809a4750b961a0
diff --git a/PKGBUILD b/PKGBUILD
index f2b8432c8c6..40befc7ba0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@
_phpbase="71"
_suffix=""
pkgver="7.1.33"
-pkgrel="7"
+pkgrel="8"
pkgbase="php71"
pkgdesc="PHP 7.1.33 compiled as to not conflict with mainline php"
_cppflags=" -DU_USING_ICU_NAMESPACE=1 -DU_DEFINE_FALSE_AND_TRUE=1 "
@@ -133,6 +133,7 @@ source=(
"php-apache.conf"
"https://php.net/distributions/php-${pkgver}.tar.xz"
"php71-phar-names.patch"
+ "openssl-sslv3-consts.patch"
"fpm-numeric-uid-gid.patch"
"fpm-reload-sighup.patch"
"mysql-socket-php7.1.patch"
@@ -210,6 +211,7 @@ arch=(
)
_patches=(
"php71-phar-names.patch"
+ "openssl-sslv3-consts.patch"
"fpm-numeric-uid-gid.patch"
"fpm-reload-sighup.patch"
"mysql-socket-php7.1.patch"
@@ -302,7 +304,7 @@ _phpconfig="\
--libdir=/usr/lib/php${_phpbase}${_suffix} \
--datadir=/usr/share/php${_phpbase}${_suffix} \
--program-suffix=${_phpbase}${_suffix} \
- --with-config-file-scan-dir=/${_build_conf_d}
+ --with-config-file-scan-dir=/${_build_conf_d} \
--enable-filter \
--with-pear \
--enable-session \
@@ -1544,6 +1546,7 @@ sha256sums=('e6b8530d747000eebb0089249ec70a3b14add7b501337046700544883f62b17b'
'6d0ad9becb5470ce8e5929d7d45660b0f32579038978496317544c5310281a91'
'bd7c0a9bd5433289ee01fd440af3715309faf583f75832b64fe169c100d52968'
'ee6529d441b2446d784e80aba23aa956541e541bd73ad54aee480d4a1a6117ca'
+ 'aecd8dff7022e956718407a5b98dec19acdceef08b0a58e7266b483bc3845de6'
'd175f0c14fdb22855090c93f76e18f04320d7bf15afc057ffde947f9bb361242'
'f5ae925036744a5e88cea2698879aea0498e1e23aee7801923d90f16be383908'
'0a3a6e8ff04ff1e0869befcf2c7bca4e886d94065da6d7a10b809a4750b961a0'
diff --git a/openssl-sslv3-consts.patch b/openssl-sslv3-consts.patch
new file mode 100644
index 00000000000..f8075216683
--- /dev/null
+++ b/openssl-sslv3-consts.patch
@@ -0,0 +1,12 @@
+--- a/ext/openssl/openssl.c
++++ b/ext/openssl/openssl.c
+@@ -1482,7 +1482,9 @@
+ REGISTER_LONG_CONSTANT("PKCS7_NOSIGS", PKCS7_NOSIGS, CONST_CS|CONST_PERSISTENT);
+
+ REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_PADDING", RSA_PKCS1_PADDING, CONST_CS|CONST_PERSISTENT);
++#ifdef RSA_SSLV23_PADDING
+ 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);
+