summaryrefslogtreecommitdiffstats
path: root/php74.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-09 14:52:35 +0100
committerRemi Collet <remi@php.net>2021-11-09 14:52:35 +0100
commit9e4395c3f61b8a08b14b1c15a5004452b7223805 (patch)
treebcfcf1e247c0cf8dfb8f2b0bab054fbeaa0841ae /php74.spec
parent32063ac5e270d8e8d18c4ca42142350c8469da93 (diff)
add patch for OpenSSL 3.0, backported from 8.1
Diffstat (limited to 'php74.spec')
-rw-r--r--php74.spec18
1 files changed, 17 insertions, 1 deletions
diff --git a/php74.spec b/php74.spec
index c6f8b88..fb077c1 100644
--- a/php74.spec
+++ b/php74.spec
@@ -47,7 +47,11 @@
%global with_libpcre 0
%endif
+%if 0%{?rhel} == 9
+%global with_firebird 0
+%else
%global with_firebird 1
+%endif
# Build ZTS extension or only NTS
%global with_zts 1
@@ -96,7 +100,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 1%{?dist}
+Release: 2%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -149,6 +153,10 @@ Patch46: php-7.4.20-argon2.patch
# drop "Configure command" from phpinfo output
# and add build system and provider (from 8.0)
Patch47: php-7.4.8-phpinfo.patch
+# fix snmp build without DES (from 8.0)
+Patch48: php-7.4.26-snmp.patch
+# compatibility with OpenSSL 3.0, from 8.1
+Patch50: php-7.4.26-openssl3.patch
# RC Patch
Patch91: php-7.2.0-oci8conf.patch
@@ -1147,6 +1155,11 @@ in pure PHP.
%patch45 -p1 -b .ldap_r
%patch46 -p1 -b .argon2
%patch47 -p1 -b .phpinfo
+%patch48 -p1 -b .snmp
+%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
+%patch50 -p1 -b .openssl3
+rm ext/openssl/tests/p12_with_extra_certs.p12
+%endif
%patch91 -p1 -b .remi-oci8
@@ -2162,6 +2175,9 @@ fi
%changelog
+* Tue Nov 9 2021 Remi Collet <remi@remirepo.net> - 7.4.26~RC1-2
+- add patch for OpenSSL 3.0, backported from 8.1
+
* Wed Nov 3 2021 Remi Collet <remi@remirepo.net> - 7.4.26~RC1-1
- update to 7.4.26RC1