summaryrefslogtreecommitdiffstats
path: root/php70.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-25 06:46:34 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-25 06:46:34 +0100
commit5d61ca5486a6dc8777b4c385ff932114c244604d (patch)
treed7da69d42960265aa28e7c6ce86e6a72e11b175a /php70.spec
parentc9a0a50ba10dda5e96fa6c9bf231fe7d150e210c (diff)
php 7+: disable pcre.jit as it raise selinux AVC
Diffstat (limited to 'php70.spec')
-rw-r--r--php70.spec8
1 files changed, 2 insertions, 6 deletions
diff --git a/php70.spec b/php70.spec
index 869e9c2..8268de5 100644
--- a/php70.spec
+++ b/php70.spec
@@ -1513,12 +1513,6 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
install -m 755 -d $RPM_BUILD_ROOT%{_httpd_contentdir}/icons
install -m 644 php.gif $RPM_BUILD_ROOT%{_httpd_contentdir}/icons/php.gif
-%if %{with_libpcre}
-if ! pkg-config libpcre --atleast-version 8.38 ; then
- sed -e 's/;pcre.jit=1/pcre.jit=0/' -i $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
-fi
-%endif
-
# For third-party packaging:
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php
@@ -1994,6 +1988,8 @@ fi
%changelog
+- disable pcre.jit everywhere as it raise AVC #1398474
+
* Wed Nov 23 2016 Remi Collet <remi@fedoraproject.org> 7.0.14-0.1.RC1
- Update to 7.0.14RC1