Gentoo Archives: gentoo-commits

From: "Markus Ullmann (jokey)" <jokey@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/pecl-http: ChangeLog pecl-http-1.6.0.ebuild pecl-http-1.5.4.ebuild
Date: Thu, 29 Nov 2007 23:50:02
Message-Id: E1Ixt8j-00066W-CX@stork.gentoo.org
1 jokey 07/11/29 23:49:53
2
3 Modified: ChangeLog
4 Added: pecl-http-1.6.0.ebuild
5 Removed: pecl-http-1.5.4.ebuild
6 Log:
7 Version bump from project overlay
8 (Portage version: 2.1.4_rc4)
9
10 Revision Changes Path
11 1.9 dev-php5/pecl-http/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-http/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-http/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-http/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 10 Oct 2007 20:56:45 -0000 1.8
24 +++ ChangeLog 29 Nov 2007 23:49:52 -0000 1.9
25 @@ -1,6 +1,15 @@
26 # ChangeLog for dev-php5/pecl-http
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.8 2007/10/10 20:56:45 anant Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.9 2007/11/29 23:49:52 jokey Exp $
30 +
31 +*pecl-http-1.6.0 (29 Nov 2007)
32 +
33 + 29 Nov 2007; Markus Ullmann <jokey@g.o> -pecl-http-1.5.4.ebuild,
34 + +pecl-http-1.6.0.ebuild:
35 + Version bump from project overlay
36 +
37 + 26 Nov 2007; Jakub Moc <jakub@g.o> +pecl-http-1.6.0.ebuild:
38 + Version bump. Add defaults to ini file.
39
40 *pecl-http-1.5.6 (11 Oct 2007)
41
42
43
44
45 1.1 dev-php5/pecl-http/pecl-http-1.6.0.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-http/pecl-http-1.6.0.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/pecl-http/pecl-http-1.6.0.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pecl-http-1.6.0.ebuild
51 ===================================================================
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/pecl-http-1.6.0.ebuild,v 1.1 2007/11/29 23:49:52 jokey Exp $
55
56 PHP_EXT_NAME="http"
57 PHP_EXT_PECL_PKG="pecl_http"
58 PHP_EXT_INI="yes"
59 PHP_EXT_ZENDEXT="no"
60 DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
61
62 inherit php-ext-pecl-r1 php-ext-base-r1
63
64 KEYWORDS="~amd64 ~x86"
65
66 DESCRIPTION="Extended HTTP Support for PHP."
67 LICENSE="BSD"
68 SLOT="0"
69 IUSE=""
70
71 DEPEND=">=net-misc/curl-7.16.4
72 sys-libs/zlib
73 dev-libs/libevent"
74 RDEPEND="${DEPEND}"
75
76 need_php_by_category
77
78 src_compile() {
79 my_conf="--enable-http \
80 --with-http-curl-requests \
81 --with-http-zlib-compression \
82 --with-http-curl-libevent \
83 --with-http-magic-mime"
84
85 php-ext-pecl-r1_src_compile
86 }
87
88 src_install() {
89 php-ext-pecl-r1_src_install
90
91 php-ext-base-r1_addtoinifiles "http.etag.mode" "MD5"
92 php-ext-base-r1_addtoinifiles "http.force_exit" "1"
93 php-ext-base-r1_addtoinifiles "http.log.allowed_methods" ""
94 php-ext-base-r1_addtoinifiles "http.log.cache" ""
95 php-ext-base-r1_addtoinifiles "http.log.composite" ""
96 php-ext-base-r1_addtoinifiles "http.log.not_found" ""
97 php-ext-base-r1_addtoinifiles "http.log.redirect" ""
98 php-ext-base-r1_addtoinifiles "http.only_exceptions" "0"
99 php-ext-base-r1_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
100 php-ext-base-r1_addtoinifiles "http.persistent.handles.limit" "-1"
101 php-ext-base-r1_addtoinifiles "http.request.datashare.connect" "0"
102 php-ext-base-r1_addtoinifiles "http.request.datashare.cookie" "0"
103 php-ext-base-r1_addtoinifiles "http.request.datashare.dns" "1"
104 php-ext-base-r1_addtoinifiles "http.request.datashare.ssl" "0"
105 php-ext-base-r1_addtoinifiles "http.request.methods.allowed" ""
106 php-ext-base-r1_addtoinifiles "http.request.methods.custom" ""
107 php-ext-base-r1_addtoinifiles "http.send.inflate.start_auto" "0"
108 php-ext-base-r1_addtoinifiles "http.send.inflate.start_flags" "0"
109 php-ext-base-r1_addtoinifiles "http.send.deflate.start_auto" "0"
110 php-ext-base-r1_addtoinifiles "http.send.deflate.start_flags" "0"
111 php-ext-base-r1_addtoinifiles "http.send.not_found_404" "1"
112 }
113
114 pkg_postinst() {
115 has_php
116 if ! built_with_use --missing true =${PHP_PKG} hash iconv session spl ; then
117 elog "${PN} can optionally use hash, iconv, session and spl features."
118 elog "If you want those, recompile ${PHP_PKG} with those flags in USE."
119 fi
120 }
121
122
123
124 --
125 gentoo-commits@g.o mailing list