summaryrefslogtreecommitdiffstats
path: root/php-pecl-zendopcache.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-14 13:51:07 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-14 13:51:07 +0100
commita4ce88ee0ddf7e29c5ed3e003ea18b7808390ae2 (patch)
tree471bdc8f17f71076ea4d27f6195066b1fb8b34b2 /php-pecl-zendopcache.spec
parentf314bb79d56280c19ba0229e9b89df6eb2d3d29f (diff)
php-pecl-zendopcache: backport security fix for bug #69090
Diffstat (limited to 'php-pecl-zendopcache.spec')
-rw-r--r--php-pecl-zendopcache.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-zendopcache.spec b/php-pecl-zendopcache.spec
index 010e5f2..de9b15c 100644
--- a/php-pecl-zendopcache.spec
+++ b/php-pecl-zendopcache.spec
@@ -15,7 +15,7 @@
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 7.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Zend OPcache
Group: Development/Libraries
@@ -27,6 +27,9 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
Source1: %{plug_name}.ini
Source2: %{plug_name}-default.blacklist
+# see https://bugs.php.net/69090
+Patch0: %{pecl_name}-bug69090.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel >= 5.2.0
BuildRequires: %{?scl_prefix}php-pear
@@ -80,6 +83,7 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
pushd NTS
+%patch0 -p3 -b .bug69090
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_ZENDOPCACHE_VERSION/{s/.*"7/7/;s/".*$//;p}' ZendAccelerator.h)
@@ -213,6 +217,9 @@ fi
%changelog
+* Thu Feb 9 2017 Remi Collet <remi@fedoraproject.org> - 7.0.5-3
+- backport security fix for bug #69090, rhbz#1409317
+
* Thu Mar 10 2016 Remi Collet <remi@fedoraproject.org> - 7.0.5-2
- adapt for F24