Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/php/files/eblits: src_prepare-v2.eblit pkg_postinst-v2.eblit src_configure-v2.eblit
Date: Wed, 05 Jan 2011 11:23:25
Message-Id: 20110105112316.94DEE20051@flycatcher.gentoo.org
1 mabi 11/01/05 11:23:16
2
3 Modified: src_prepare-v2.eblit pkg_postinst-v2.eblit
4 src_configure-v2.eblit
5 Log:
6 now includes new suhosin patch, mhash is usable again, interbase/firebird configure fixed, now includes a warning about stale config dirs
7
8 (Portage version: 2.2.0_alpha11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 dev-lang/php/files/eblits/src_prepare-v2.eblit
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit?r1=1.2&r2=1.3
16
17 Index: src_prepare-v2.eblit
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- src_prepare-v2.eblit 19 Dec 2010 14:24:49 -0000 1.2
24 +++ src_prepare-v2.eblit 5 Jan 2011 11:23:16 -0000 1.3
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2010 Gentoo Foundation
27 +# Copyright 1999-2011 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit,v 1.2 2010/12/19 14:24:49 mabi Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit,v 1.3 2011/01/05 11:23:16 mabi Exp $
31
32 eblit-php-src_prepare() {
33 # USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
34 @@ -47,8 +47,11 @@
35 if use suhosin ; then
36 epatch "${WORKDIR}/${SUHOSIN_PATCH}"
37 fi
38 + else
39 + ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
40 fi
41
42 +
43 # rebuild the whole autotools stuff as we are heavily patching it
44 # (suhosin, fastbuild, ...)
45
46
47
48
49 1.9 dev-lang/php/files/eblits/pkg_postinst-v2.eblit
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit?rev=1.9&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit?rev=1.9&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit?r1=1.8&r2=1.9
54
55 Index: pkg_postinst-v2.eblit
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit,v
58 retrieving revision 1.8
59 retrieving revision 1.9
60 diff -u -r1.8 -r1.9
61 --- pkg_postinst-v2.eblit 22 Nov 2010 11:53:15 -0000 1.8
62 +++ pkg_postinst-v2.eblit 5 Jan 2011 11:23:16 -0000 1.9
63 @@ -1,6 +1,6 @@
64 -# Copyright 1999-2010 Gentoo Foundation
65 +# Copyright 1999-2011 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit,v 1.8 2010/11/22 11:53:15 olemarkus Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/pkg_postinst-v2.eblit,v 1.9 2011/01/05 11:23:16 mabi Exp $
69
70 eblit-php-pkg_postinst() {
71 # Output some general info to the user
72 @@ -28,8 +28,6 @@
73 fi
74 done
75
76 -
77 -
78 ewarn "You may have to recompile third-party extensions now"
79 ewarn "(includes every dev-php5/pecl-* package and probably others in that category)"
80 ewarn "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order"
81 @@ -44,6 +42,13 @@
82 ewarn "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
83 ewarn "'production' or 'development' in /etc/make.conf"
84 ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}"
85 +
86 + # check for not yet migrated old style config dirs
87 + ls "${ROOT}"/etc/php/*-php5 &>/dev/null
88 + if [[ $? -eq 0 ]]; then
89 + ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config"
90 + ewarn "files are now kept at ${ROOT}/etc/php/\$SAPI-php${SLOT}"
91 + fi
92 ewarn
93 ewarn "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
94 ewarn "http://www.gentoo.org/proj/en/php/php-guide.xml"
95
96
97
98 1.5 dev-lang/php/files/eblits/src_configure-v2.eblit
99
100 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit?rev=1.5&view=markup
101 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit?rev=1.5&content-type=text/plain
102 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit?r1=1.4&r2=1.5
103
104 Index: src_configure-v2.eblit
105 ===================================================================
106 RCS file: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit,v
107 retrieving revision 1.4
108 retrieving revision 1.5
109 diff -u -r1.4 -r1.5
110 --- src_configure-v2.eblit 21 Dec 2010 09:09:17 -0000 1.4
111 +++ src_configure-v2.eblit 5 Jan 2011 11:23:16 -0000 1.5
112 @@ -1,6 +1,6 @@
113 -# Copyright 1999-2010 Gentoo Foundation
114 +# Copyright 1999-2011 Gentoo Foundation
115 # Distributed under the terms of the GNU General Public License v2
116 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit,v 1.4 2010/12/21 09:09:17 mabi Exp $
117 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v2.eblit,v 1.5 2011/01/05 11:23:16 mabi Exp $
118
119 eblit-php-src_configure() {
120 PHP_DESTDIR="/usr/$(get_libdir)/php${SLOT}"
121 @@ -35,6 +35,7 @@
122 phpconfutils_extension_with "gettext" "nls" 1
123 phpconfutils_extension_with "gmp" "gmp" 1
124 phpconfutils_extension_disable "hash" "hash" 0
125 + phpconfutils_extension_with "mhash" "mhash" 0
126 phpconfutils_extension_without "iconv" "iconv" 0
127 phpconfutils_extension_enable "intl" "intl" 1
128 phpconfutils_extension_disable "ipv6" "ipv6" 0
129 @@ -113,8 +114,14 @@
130 phpconfutils_extension_with "imap-ssl" "ssl" 0
131 fi
132
133 - phpconfutils_extension_with "interbase" "interbase" 0 "/opt"
134 - phpconfutils_extension_with "interbase" "firebird" 0 "/usr"
135 + # Interbase/firebird support
136 + if use interbase ; then
137 + phpconfutils_extension_with "interbase" "interbase" 0 "/opt"
138 + fi
139 +
140 + if use firebird ; then
141 + phpconfutils_extension_with "interbase" "firebird" 0 "/usr"
142 + fi
143
144 # LDAP support
145 if use ldap ; then