Gentoo Archives: gentoo-commits

From: "Ole Markus With (olemarkus)" <olemarkus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/suhosin: suhosin-0.9.32.1-r2.ebuild ChangeLog
Date: Tue, 02 Nov 2010 21:48:11
Message-Id: 20101102214807.EE54420051@flycatcher.gentoo.org
1 olemarkus 10/11/02 21:48:07
2
3 Modified: ChangeLog
4 Added: suhosin-0.9.32.1-r2.ebuild
5 Log:
6 Revbump supporting minor version slotting
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.56 dev-php5/suhosin/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/suhosin/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/suhosin/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/suhosin/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 11 Oct 2010 23:26:22 -0000 1.55
23 +++ ChangeLog 2 Nov 2010 21:48:07 -0000 1.56
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-php5/suhosin
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v 1.55 2010/10/11 23:26:22 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v 1.56 2010/11/02 21:48:07 olemarkus Exp $
29 +
30 +*suhosin-0.9.32.1-r2 (02 Nov 2010)
31 +
32 + 02 Nov 2010; <olemarkus@g.o> +suhosin-0.9.32.1-r2.ebuild:
33 + Revbump supporting minor version slotting
34
35 11 Oct 2010; Diego E. Pettenò <flameeyes@g.o>
36 suhosin-0.9.32.1-r1.ebuild:
37
38
39
40 1.1 dev-php5/suhosin/suhosin-0.9.32.1-r2.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/suhosin/suhosin-0.9.32.1-r2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/suhosin/suhosin-0.9.32.1-r2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: suhosin-0.9.32.1-r2.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/suhosin-0.9.32.1-r2.ebuild,v 1.1 2010/11/02 21:48:07 olemarkus Exp $
50
51 EAPI="2"
52
53 PHP_EXT_NAME="suhosin"
54 PHP_EXT_INI="yes"
55 PHP_EXT_ZENDEXT="no"
56
57 inherit php-ext-source-r2
58
59 KEYWORDS="~amd64 ~x86"
60
61 DESCRIPTION="Suhosin is an advanced protection system for PHP installations."
62 HOMEPAGE="http://www.suhosin.org/"
63 SRC_URI="http://download.suhosin.org/${P}.tar.gz"
64 LICENSE="PHP-3"
65 SLOT="0"
66 IUSE=""
67
68 DEPEND="dev-lang/php[unicode]"
69 RDEPEND="${DEPEND}"
70
71 src_prepare() {
72 local slot
73 for slot in $(php_get_slots); do
74 php_init_slot_env ${slot}
75 epatch "${FILESDIR}"/${P}-libcrypt.patch
76 done
77 php-ext-source-r2_src_prepare
78 }
79
80 src_install() {
81 php-ext-source-r2_src_install
82 dodoc CREDITS
83
84 local slot
85 for slot in $(php_get_slots); do
86 php_init_slot_env ${slot}
87 for inifile in ${PHPINIFILELIST} ; do
88 insinto "${inifile/${PHP_EXT_NAME}.ini/}"
89 insopts -m644
90 doins "suhosin.ini"
91 done
92 done
93 }
94
95 src_test() {
96 # Makefile passes a hard-coded -d extension_dir=./modules, we move the lib
97 # away from there in src_compile
98 for slot in `php_get_slots`; do
99 php_init_slot_env ${slot}
100 NO_INTERACTION="yes" emake test || die "emake test failed for slot ${slot}"
101 done
102 }