source: trunk/server/fedora/specs/php.spec.patch @ 2194

Last change on this file since 2194 was 2184, checked in by ezyang, 12 years ago
Scriptsify PHP, patch CVE 2012-1823.
File size: 829 bytes
RevLine 
[2184]1--- php.spec.~1~        2012-02-02 17:13:59.000000000 -0500
2+++ php.spec    2012-05-03 14:18:22.234721036 -0400
3@@ -37,7 +37,7 @@
4 Summary: PHP scripting language for creating dynamic web sites
5 Name: php
6 Version: 5.3.10
7-Release: 1%{?dist}
8+Release: 1%{?dist}.scripts.%{scriptsversion}
9 License: PHP
10 Group: Development/Languages
11 URL: http://www.php.net/
12@@ -76,6 +76,9 @@
13 # Fixes for tests
14 Patch61: php-5.0.4-tests-wddx.patch
15 
16+Provides: scripts-php
17+Patch100: php-cve-2012-1823.patch
18+
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 
21 BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, gmp-devel
22@@ -544,6 +547,8 @@
23 
24 %patch61 -p1 -b .tests-wddx
25 
26+%patch100 -p0 -b .cve-2012-1823
27+
28 # Prevent %%doc confusion over LICENSE files
29 cp Zend/LICENSE Zend/ZEND_LICENSE
30 cp TSRM/LICENSE TSRM_LICENSE
Note: See TracBrowser for help on using the repository browser.