Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: php5_2-sapi.eclass
Date: Mon, 03 Mar 2008 17:06:20
Message-Id: E1JWE7F-0005rI-5g@stork.gentoo.org
1 jokey 08/03/03 17:06:17
2
3 Modified: php5_2-sapi.eclass
4 Log:
5 Some cleanups and silence QA ;)
6
7 Revision Changes Path
8 1.18 eclass/php5_2-sapi.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php5_2-sapi.eclass?rev=1.18&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php5_2-sapi.eclass?rev=1.18&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php5_2-sapi.eclass?r1=1.17&r2=1.18
13
14 Index: php5_2-sapi.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v
17 retrieving revision 1.17
18 retrieving revision 1.18
19 diff -u -r1.17 -r1.18
20 --- php5_2-sapi.eclass 12 Nov 2007 18:13:29 -0000 1.17
21 +++ php5_2-sapi.eclass 3 Mar 2008 17:06:16 -0000 1.18
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.17 2007/11/12 18:13:29 wltjr Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/php5_2-sapi.eclass,v 1.18 2008/03/03 17:06:16 jokey Exp $
27
28 # ========================================================================
29 # Based on robbat2's work on the php4 sapi eclass
30 @@ -70,6 +70,7 @@
31 imap? ( virtual/imap-c-client )
32 iodbc? ( dev-db/libiodbc >=dev-db/unixODBC-1.8.13 )
33 kerberos? ( virtual/krb5 )
34 + kolab? ( >=net-libs/c-client-2004g-r1 )
35 ldap? ( !oci8? ( >=net-nds/openldap-1.2.11 ) )
36 ldap-sasl? ( !oci8? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) )
37 libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
38 @@ -197,6 +198,7 @@
39 phpconfutils_use_depend_all "iodbc" "odbc"
40 phpconfutils_use_depend_all "sapdb" "odbc"
41 phpconfutils_use_depend_all "solid" "odbc"
42 + phpconfutils_use_depend_all "kolab" "imap"
43
44 # Direct USE conflicts
45 phpconfutils_use_conflict "gd" "gd-external"
46 @@ -205,7 +207,7 @@
47 phpconfutils_use_conflict "zip" "zip-external"
48 phpconfutils_use_conflict "qdbm" "gdbm"
49 phpconfutils_use_conflict "readline" "libedit"
50 - phpconfutils_use_conflict "recode" "mysql" "imap" "yaz"
51 + phpconfutils_use_conflict "recode" "mysql" "imap" "yaz" "kolab"
52 phpconfutils_use_conflict "sharedmem" "threads"
53 phpconfutils_use_conflict "firebird" "interbase"
54
55 @@ -701,60 +703,29 @@
56 # @DESCRIPTION:
57 # Provides important information to users after install is finished.
58 php5_2-sapi_pkg_postinst() {
59 - ewarn
60 - ewarn "If you have additional third party PHP extensions (such as"
61 - ewarn "dev-php5/phpdbg) you may need to recompile them now."
62 - ewarn "A new way of enabling/disabling PHP extensions was introduced"
63 - ewarn "with the newer PHP packages releases, so please reemerge any"
64 - ewarn "PHP extensions you have installed to automatically adapt to"
65 - ewarn "the new configuration layout."
66 - if use sharedext ; then
67 - ewarn "The core PHP extensions are now loaded through external"
68 - ewarn ".ini files, not anymore using a 'extension=name.so' line"
69 - ewarn "in the php.ini file. Portage will take care of this by"
70 - ewarn "creating new, updated config-files, please make sure to"
71 - ewarn "install those using etc-update or dispatch-conf."
72 - fi
73 - ewarn
74 -
75 - if use curl ; then
76 - ewarn "Please be aware that CURL can allow the bypass of open_basedir restrictions."
77 - ewarn "This can be a security risk!"
78 + ewarn "If you have additional third party PHP extensions (such as"
79 + ewarn "dev-php5/phpdbg) you may need to recompile them now."
80 + ewarn
81 +
82 + if use sharedext ; then
83 + ewarn "Make sure to use etc-update or dispatch-conf so that extension-specific"
84 + ewarn "ini files get merged properly"
85 + ewarn
86 + fi
87 +
88 + if has kolab ${IUSE} && use kolab ; then
89 + ewarn "Please note that kolab support is still experimental!"
90 + ewarn "Issues specific to USE=kolab must be reported to Gentoo bugzilla only!"
91 + ewarn
92 + ewarn "Kolab groupware server requires annotations support for IMAP, which is enabled"
93 + ewarn "by a third-party patch. Please do NOT report issues with the imap extension"
94 + ewarn "to bugs.php.net until you have recompiled both PHP and net-libs/c-client"
95 + ewarn "with USE=\"-kolab\" and confirmed that those issues still exist!"
96 ewarn
97 fi
98
99 - ewarn "The 'pic' USE flag was added to newer releases of dev-lang/php."
100 - ewarn "With PIC enabled, your PHP installation may become slower, but"
101 - ewarn "PIC is required on Hardened-Gentoo platforms (where the USE flag"
102 - ewarn "is enabled automatically). You may also need this on other"
103 - ewarn "configurations where TEXTRELs are disabled, for example when using"
104 - ewarn "certain PaX options in the kernel."
105 - ewarn
106 -
107 - ewarn "With PHP 5.2, some extensions were removed from PHP because"
108 - ewarn "they were unmaintained or moved to PECL. Our ebuilds reflect"
109 - ewarn "this: the Filepro and HwAPI (Hyperwave-API) extensions were"
110 - ewarn "removed altogether and have no available substitute."
111 - ewarn "The Informix extension was also removed, as well as the optional"
112 - ewarn "memory-limit setting: memory-limit is now always enforced!"
113 - ewarn "The 'vm-goto' and 'vm-switch' USE flags were also removed,"
114 - ewarn "since the alternative VMs aren't really supported upstream"
115 - ewarn "and were found to behave badly with PHP 5.2. Once their"
116 - ewarn "state becomes clearer, we'll consider readding the USE flags."
117 - ewarn "The Ming extension was removed from our PHP 5.2 ebuild, because"
118 - ewarn "there were serious problems with compilation and the required"
119 - ewarn "Ming library. This functionality will be reintroduced later"
120 - ewarn "as an independant, external PHP extension."
121 - ewarn "The configure option --enable-gd-native-ttf (enabled by the"
122 - ewarn "'truetype' USE flag) was removed at upstreams request,"
123 - ewarn "as it's considered old and broken."
124 - ewarn "Hardened-PHP was also removed from the PHP 5.2 ebuilds in"
125 - ewarn "favour of its successor Suhosin, enable the 'suhosin' USE"
126 - ewarn "flag to install it."
127 - ewarn
128 -
129 - ewarn "The 'xml' and 'xml2' USE flags were unified in only the 'xml' USE"
130 - ewarn "flag. To get the features that were once controlled by the 'xml2'"
131 - ewarn "USE flag, turn the 'xml' USE flag on."
132 - ewarn
133 + ewarn "USE=\"pic\" slows down PHP but has to be enabled on setups where TEXTRELs"
134 + ewarn "are disabled (e.g. when using PaX in the kernel). On hardened profiles this"
135 + ewarn "USE flag is enabled automatically"
136 + ewarn
137 }
138
139
140
141 --
142 gentoo-commits@l.g.o mailing list