[Lunar-commits] <moonbase-other> php5-suhosin: Adding aa patch from here; https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt

stumbles stumbles at lunar-linux.org
Fri May 24 17:29:55 CEST 2013


commit 324adc88d99435cb85f5a492e93a840e2b27b30f
Author: stumbles <stumbles at lunar-linux.org>
Date: Fri, 24 May 2013 08:27:54 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/324adc88d99435cb85f5a492e93a840e2b27b30f

php5-suhosin: Adding aa patch from here; https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt

to fix the make tanking on our version of libxml2. Adjusting the POST_INSTALL, there is no php.ini-dist
using the production ini instead.
---
  compilers/php5-suhosin/BUILD        | +2/-0     
  compilers/php5-suhosin/DETAILS      | +3/-0     
  compilers/php5-suhosin/POST_INSTALL | +1/-1     
  3 files changed, 6 insertions(+), 1 deletion(-)

--- a/compilers/php5-suhosin/BUILD
+++ b/compilers/php5-suhosin/BUILD
@@ -1,5 +1,7 @@
 (
 
+  patch_it $SOURCE4 0 &&
+
 # So it does not bomb on gmp stuff if you say yes to gmp. Revisit on next bump.
   sedit "s: __GMP_BITS_PER_MP_LIMB:GMP_LIMB_BITS:g" ext/gmp/gmp.c &&
 
--- a/compilers/php5-suhosin/DETAILS
+++ b/compilers/php5-suhosin/DETAILS
@@ -14,11 +14,14 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/php-$PHP_VERSION
    SOURCE_URL[6]=http://fr.php.net/distributions
          SOURCE2=suhosin-$SUHOSIN_VER.tgz
          SOURCE3=suhosin-patch-5.3.9-$SUHOSIN_PVER.patch.gz
+         SOURCE4=php5-suhosin-libxml2.patch
      SOURCE2_URL=http://download.suhosin.org
      SOURCE3_URL=http://download.suhosin.org
+     SOURCE4_url=$PATCH_URL
       SOURCE_VFY=sha1:fe0626735c3d9dd370cef9bdcfe9506629449f51
      SOURCE2_VFY=sha1:abb30c22e7fe341955b42ec71ed597c43439e2b8
      SOURCE3_VFY=sha1:7b9ef5c3e0831154df0d6290aba0989ca90138ed
+     SOURCE4_VFY=sha1:21d71b853ec4c282b56cd7d2ade1a4894af2608b
         WEB_SITE=http://www.hardened-php.net/suhosin/index.html
       MAINTAINER=striker at lunar-linux.org
          ENTERED=20061219
--- a/compilers/php5-suhosin/POST_INSTALL
+++ b/compilers/php5-suhosin/POST_INSTALL
@@ -13,7 +13,7 @@ EOF
 fi
 
 if [ ! -e /etc/php.ini ] ; then
-  cp $SOURCE_DIRECTORY/php.ini-dist /etc/php.ini
+  cp $SOURCE_DIRECTORY/php.ini-production /etc/php.ini
 fi
 
 case  $REGGLOBALS  in




More information about the Lunar-commits mailing list