From 36240886e702d2087e360fbe3394b8efd325bd69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 7 Oct 2013 13:41:40 +0200 Subject: [PATCH] - rel 48; apache24 support --- php4-apache24.patch | 98 +++++++++++++++++++++++++++++++++++++++++++++ php4.spec | 4 +- 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644 php4-apache24.patch diff --git a/php4-apache24.patch b/php4-apache24.patch new file mode 100644 index 0000000..773245e --- /dev/null +++ b/php4-apache24.patch @@ -0,0 +1,98 @@ +diff -ur -x configure -x aclocal.m4 -x config.guess -x config.sub -x '*.orig' -x install-sh -x ltmain.sh -x php_config.h.in php-4.4.9.org/acinclude.m4 php-4.4.9.changed/acinclude.m4 +--- php-4.4.9.org/acinclude.m4 2013-10-07 13:35:57.560042156 +0200 ++++ php-4.4.9.changed/acinclude.m4 2013-10-07 13:35:39.659624293 +0200 +@@ -2007,6 +2007,10 @@ + ac_output=`$1 -v 2>&1` + fi + ++ if test -n "$FORCE_APACHE_VERSION"; then ++ ac_output="Server version: Apache/${FORCE_APACHE_VERSION} (PLD/Linux)" ++ fi ++ + ac_IFS=$IFS + IFS="- /. + " +diff -ur -x configure -x aclocal.m4 -x config.guess -x config.sub -x '*.orig' -x install-sh -x ltmain.sh -x php_config.h.in php-4.4.9.org/configure.in php-4.4.9.changed/configure.in +--- php-4.4.9.org/configure.in 2013-10-07 13:35:57.586709445 +0200 ++++ php-4.4.9.changed/configure.in 2013-10-07 13:34:26.551250929 +0200 +@@ -1421,6 +1421,21 @@ + X + fi + ++ if test "$PHP_SAPI" = "apache2handler" || test "$PHP_SAPI" = "apache2filter"; then ++ if test "$APACHE_VERSION" -ge 2004001; then ++ if test -z "$APACHE_THREADED_MPM"; then ++cat <= 1.0.2.908-2}} %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0} @@ -1629,6 +1630,7 @@ cp php.ini-dist php.ini %patch55 -p1 %patch56 -p1 %patch57 -p1 +%patch58 -p1 %if %{with hardening} zcat %{SOURCE8} | patch -p1 -- 2.44.0