OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 03-May-2008 10:16:16
Branch: HEAD Handle: 2008050309161500
Modified files:
openpkg-src/apache-php apache-php.spec
Log:
hardened PHP patch is no longer upgraded and available for PHP 5.2 so
kick it out at all
Summary:
Revision Changes Path
1.27 +4 -19 openpkg-src/apache-php/apache-php.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache-php/apache-php.spec
============================================================================
$ cvs diff -u -r1.26 -r1.27 apache-php.spec
--- openpkg-src/apache-php/apache-php.spec 3 May 2008 07:54:00 -0000
1.26
+++ openpkg-src/apache-php/apache-php.spec 3 May 2008 08:16:15 -0000
1.27
@@ -25,7 +25,6 @@
%define V_php 5.2.6
%define V_php_suhosin_p 5.2.6-0.9.6.2
%define V_php_suhosin_e 0.9.23
-%define V_php_hardened 5.1.6-0.4.15
%define V_php_kolab 5.2.6
%define V_php_pecl_memcache 2.2.3
@@ -44,7 +43,6 @@
# package options
%option with_suhosin no
-%option with_hardened no
%option with_bc no
%option with_bdb no
%option with_bzip2 no
@@ -119,10 +117,6 @@
%undefine with_ssl
%define with_ssl yes
%endif
-%if "%{with_suhosin}" == "yes" && "%{with_hardened}" == "yes"
-%undefine with_hardened
-%define with_hardened no
-%endif
# list of sources
Source0:
http://static.php.net/www.php.net/distributions/php-%{V_php}.tar.bz2
@@ -130,9 +124,8 @@
Source2: apache-php.ini
Source3: apache-php.conf
Source4: http://pecl.php.net/get/memcache-%{V_php_pecl_memcache}.tgz
-Patch0:
http://www.hardened-php.net/hardening-patch-%{V_php_hardened}.patch.gz
-Patch1:
http://download.suhosin.org/suhosin-patch-%{V_php_suhosin_p}.patch.gz
-Patch2:
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/php-%{V_php_kolab}/KOLAB_Annotations.patch
+Patch0:
http://download.suhosin.org/suhosin-patch-%{V_php_suhosin_p}.patch.gz
+Patch1:
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/php-%{V_php_kolab}/KOLAB_Annotations.patch
# build information
Prefix: %{l_prefix}
@@ -290,11 +283,6 @@
url = http://www.php.net/downloads.php
regex = php-(5\.\d+\.\d+)\.tar\.(bz2|gz)
}
- prog apache-php:hardened = {
- version = %{V_php_hardened}
- url = http://www.hardened-php.net/downloads.13.html
- regex = hardening-patch-(5\.\d+\.\d+-\d+(\.\d+)+)\.patch\.gz
- }
prog apache-php:suhosin-patch = {
version = %{V_php_suhosin_p}
url = http://www.hardened-php.net/suhosin/download.html
@@ -318,12 +306,9 @@
%prep
%setup -q -n php-%{V_php}
-%if "%{with_hardened}" == "yes"
- %patch -p1 -P 0
-%endif
%if "%{with_suhosin}" == "yes"
%setup -q -n php-%{V_php} -T -D -a 1
- %patch -p1 -P 1
+ %patch -p1
mv suhosin-%{V_php_suhosin_e} ext/suhosin
rm -f package.xml
%endif
@@ -346,7 +331,7 @@
configure \
ext/gd/config.m4
%if "%{with_imap_annotate}" == "yes"
- sed <%{PATCH2} -e '/php-5.2.1\/ext\/imap\/php_imap.c.orig/,/^[^\+]/d' |
%{l_patch} -p1
+ sed <%{PATCH1} -e '/php-5.2.1\/ext\/imap\/php_imap.c.orig/,/^[^\+]/d' |
%{l_patch} -p1
%endif
%build
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]