summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-09-19 17:36:20 +0000
committerMatti Bickel <mabi@gentoo.org>2010-09-19 17:36:20 +0000
commit6e20efc5821169c3a8bb7bef796515e6cd2d3689 (patch)
tree8b30366e409e118c3dea577dbadf553f9ad92bf5 /dev-php5
parents390 stable (diff)
downloadhistorical-6e20efc5821169c3a8bb7bef796515e6cd2d3689.tar.gz
historical-6e20efc5821169c3a8bb7bef796515e6cd2d3689.tar.bz2
historical-6e20efc5821169c3a8bb7bef796515e6cd2d3689.zip
use php-ext-pecl-r1_src_test-like src_test method to make tests actually work (bug #333123)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/suhosin/ChangeLog6
-rw-r--r--dev-php5/suhosin/Manifest4
-rw-r--r--dev-php5/suhosin/suhosin-0.9.32.1.ebuild11
3 files changed, 17 insertions, 4 deletions
diff --git a/dev-php5/suhosin/ChangeLog b/dev-php5/suhosin/ChangeLog
index 1768ccdb3db2..f4c0462bb93b 100644
--- a/dev-php5/suhosin/ChangeLog
+++ b/dev-php5/suhosin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php5/suhosin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v 1.52 2010/08/02 17:18:37 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v 1.53 2010/09/19 17:36:20 mabi Exp $
+
+ 19 Sep 2010; Matti Bickel <mabi@gentoo.org> suhosin-0.9.32.1.ebuild:
+ use php-ext-pecl-r1_src_test-like src_test method to make tests actually
+ work (bug #333123)
*suhosin-0.9.32.1 (02 Aug 2010)
diff --git a/dev-php5/suhosin/Manifest b/dev-php5/suhosin/Manifest
index a14b44efb396..14af156b0d00 100644
--- a/dev-php5/suhosin/Manifest
+++ b/dev-php5/suhosin/Manifest
@@ -1,6 +1,6 @@
DIST suhosin-0.9.31.tgz 119746 RMD160 51c8ae0713e78e6e3e96ecbbaa8d82dd3a57acea SHA1 6cdfbda3abfe8f5ca728588a71665db726281125 SHA256 657dea668366344a55a07649957536f73dac6cd1f11c11d8782c01839e8336ee
DIST suhosin-0.9.32.1.tar.gz 119117 RMD160 6184eef336b9d3d5c885a7d1dcbf20d97b055e8d SHA1 93fcb1d5f96691c4c50808a14dd3d6d4bbfea451 SHA256 d283abcbd1803eaa11bbd91cb5aae727b2bbab3a00a1de8510f85d8cc598e490
EBUILD suhosin-0.9.31.ebuild 859 RMD160 383c591d5db6312ce9c795addf29428ea7227034 SHA1 e80a95bd2fa451d083a5a838ce8ac6d1c1b08d46 SHA256 91ef2b47e12b4a4983b55e4e9c173edb9c2becb56873418004edebf1b2ff2212
-EBUILD suhosin-0.9.32.1.ebuild 875 RMD160 d1ced8c23dd230c77c224f93c06c29559b26b0df SHA1 9710d13b149e17b2d05c38edfb837c3da5e304fa SHA256 ea836be1f4ddea1a8d4a9db0f4d1b65e2c3ad5da0fb307d9191db29674835f15
-MISC ChangeLog 6307 RMD160 b2289a4ba387854512e87f7e097732e7991471ee SHA1 843c47ae902c47bcc020db07ccd827471e855f35 SHA256 3df5a463eab2bef67a86a11d41118ac82e8c24a8c0ef8b3220635578973f86c6
+EBUILD suhosin-0.9.32.1.ebuild 1118 RMD160 357f852a0c326556ee05a1d440a886850a8f8b8a SHA1 2e23aa531b63280065b5b7b1eaa04d0dc3bc6a3d SHA256 77f9bb5a34295842295fcc4d8a08a8bc34bfdf043d7f2a6454fd0d1d7225416d
+MISC ChangeLog 6475 RMD160 198c15c80ff14dbf669b6c664ba39e058ff8e33a SHA1 164f752ce07e3ce65fdd83aa164d3d1c7b61dbd2 SHA256 61e54d18acfae77a300769c302d2a6f586389a4b22ceee86f378823b5f552af5
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
diff --git a/dev-php5/suhosin/suhosin-0.9.32.1.ebuild b/dev-php5/suhosin/suhosin-0.9.32.1.ebuild
index 60032c229aba..694620d5d9c9 100644
--- a/dev-php5/suhosin/suhosin-0.9.32.1.ebuild
+++ b/dev-php5/suhosin/suhosin-0.9.32.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/suhosin-0.9.32.1.ebuild,v 1.1 2010/08/02 17:18:37 mabi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/suhosin-0.9.32.1.ebuild,v 1.2 2010/09/19 17:36:20 mabi Exp $
EAPI="2"
@@ -34,3 +34,12 @@ src_install() {
doins "suhosin.ini"
done
}
+
+src_test() {
+ # Makefile passes a hard-coded -d extension_dir=./modules, we move the lib
+ # away from there in src_compile
+ ln -s "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${S}/modules/${PHP_EXT_NAME}.so"
+
+ NO_INTERACTION="yes" emake test
+
+}