summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-11-04 13:41:07 +0000
committerMatti Bickel <mabi@gentoo.org>2010-11-04 13:41:07 +0000
commit846b5fe10bbea044007a90f4bbfb526430582642 (patch)
tree0742d9d881951b8eb246fda6f35ceb68c0f70eaf /dev-php5/pecl-http
parentold (diff)
downloadhistorical-846b5fe10bbea044007a90f4bbfb526430582642.tar.gz
historical-846b5fe10bbea044007a90f4bbfb526430582642.tar.bz2
historical-846b5fe10bbea044007a90f4bbfb526430582642.zip
add version that supports minor version slotting, version bump, cleanup
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-php5/pecl-http')
-rw-r--r--dev-php5/pecl-http/ChangeLog9
-rw-r--r--dev-php5/pecl-http/Manifest17
-rw-r--r--dev-php5/pecl-http/pecl-http-1.7.0-r1.ebuild60
-rw-r--r--dev-php5/pecl-http/pecl-http-1.7.0.ebuild (renamed from dev-php5/pecl-http/pecl-http-1.6.0.ebuild)25
4 files changed, 82 insertions, 29 deletions
diff --git a/dev-php5/pecl-http/ChangeLog b/dev-php5/pecl-http/ChangeLog
index 8fed348881cd..477091b19bfe 100644
--- a/dev-php5/pecl-http/ChangeLog
+++ b/dev-php5/pecl-http/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-php5/pecl-http
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.15 2010/10/20 14:20:56 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.16 2010/11/04 13:41:07 mabi Exp $
+
+*pecl-http-1.7.0-r1 (04 Nov 2010)
+*pecl-http-1.7.0 (04 Nov 2010)
+
+ 04 Nov 2010; Matti Bickel <mabi@gentoo.org> -pecl-http-1.6.0.ebuild,
+ +pecl-http-1.7.0.ebuild, +pecl-http-1.7.0-r1.ebuild:
+ add version that supports minor version slotting, version bump, cleanup
20 Oct 2010; Markos Chandras <hwoarang@gentoo.org> pecl-http-1.6.6.ebuild:
Stable on amd64 wrt bug #336869
diff --git a/dev-php5/pecl-http/Manifest b/dev-php5/pecl-http/Manifest
index f6248335b334..f772ac32b17f 100644
--- a/dev-php5/pecl-http/Manifest
+++ b/dev-php5/pecl-http/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-DIST pecl_http-1.6.0.tgz 172432 RMD160 71f8a458fc35c8291e4b570e3b48ecced0a0aaf3 SHA1 213eb36f996f319a7913e0d5d90911a238b4719e SHA256 9a43f3f9f3ebd3ff706e5dcae2efba9b6f07167ab56c232c2839cb5b8c14c7e9
DIST pecl_http-1.6.6.tgz 173645 RMD160 b2fd3adce03c0bf4d901d68feb8230d386f6f148 SHA1 39e52a904e2642838f077975d9b5ab9203f3ee3f SHA256 17cfbc69e500184fccf82b514b5d04a617a2f2e1717a9f818ebcf1d92b5fdea5
-EBUILD pecl-http-1.6.0.ebuild 2435 RMD160 772eaa0b90ad6459e5035267bf2b6adc265d8f0f SHA1 bbafcab698a157c2f902285fb4909b831b3070d9 SHA256 e4cd8367ff8a37979a25ca94306eb24f556ea5b82e0641541452423653304b6d
+DIST pecl_http-1.7.0.tgz 173979 RMD160 5bace9bc7bf12ba66f17a47dedf8ffe31a12a73a SHA1 b63ede760f47d487309e745334aa764f3e70f883 SHA256 86112fe9dda0237e72b9b74da7767532961b5212731068fffde469e789e72be7
EBUILD pecl-http-1.6.6.ebuild 2257 RMD160 3e5c6712907ca44ad3d5c772eb4647a94621cf20 SHA1 7fc7dde91b0e7a390179e49299622b9aa2f9ee75 SHA256 996e91210bbc8ff4f8f65d65aeeee3b3d9c2ab0e621a0a3dbe3665ddd1def39c
-MISC ChangeLog 2421 RMD160 acb7ec59aa7de0441d7793df0a4588031992426e SHA1 86bbfd3ef7eb5e847b8280499a80161a63a1db98 SHA256 9140203ec7be6460c652b0983729bdb2029ff37c2032f892d6f35fec11fb157f
+EBUILD pecl-http-1.7.0-r1.ebuild 2249 RMD160 fc76798f9058810ece48f3be3a0037903ca963f5 SHA1 df05e75c22eb31b654093d02b69f879c873f1cb7 SHA256 c119aaa24a4f4bd2a3bf146f8021b61afcd82496768d37b91cce562b7d7e3092
+EBUILD pecl-http-1.7.0.ebuild 2255 RMD160 9895eb63f500041d30c1a1a3731dfd8450184f2b SHA1 2d98ca0b1d33c5b20006231dd0621181cb713b0c SHA256 f38537096786782be7526d84c4e83a9e8a4028d94bb65e7789f36954f688d5c9
+MISC ChangeLog 2684 RMD160 7cf918ea7ecb8c85cd00d02344e3e23418dff751 SHA1 652af0124ecaec4c12e81e32cccf1e21789dad18 SHA256 378f8d4ab2b6cf0bd993914b6ecd2bc57b8316b08a144da476eca8698245495b
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAky++s0ACgkQ9/cejkQaxBD1ygCfa3neY3upTblIgqKlRUhKuyhi
-xJAAn3A9BvAEjcjr+1HuqKLsHsexuGlk
-=NEBx
------END PGP SIGNATURE-----
diff --git a/dev-php5/pecl-http/pecl-http-1.7.0-r1.ebuild b/dev-php5/pecl-http/pecl-http-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..721ceed29142
--- /dev/null
+++ b/dev-php5/pecl-http/pecl-http-1.7.0-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/pecl-http-1.7.0-r1.ebuild,v 1.1 2010/11/04 13:41:07 mabi Exp $
+
+EAPI="3"
+
+PHP_EXT_NAME="http"
+PHP_EXT_PECL_PKG="pecl_http"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
+
+inherit php-ext-pecl-r2 php-ext-source-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP."
+LICENSE="BSD-2 MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=net-misc/curl-7.19.4
+ sys-libs/zlib
+ dev-libs/libevent
+ || ( <dev-lang/php-5.3[spl] >=dev-lang/php-5.3 )
+ >=dev-lang/php-5[hash,session,iconv]
+ "
+RDEPEND="${DEPEND}"
+
+my_conf="--enable-http \
+ --with-http-curl-requests \
+ --with-http-zlib-compression \
+ --with-http-curl-libevent \
+ --with-http-magic-mime"
+
+src_install() {
+ php-ext-pecl-r2_src_install
+
+ php-ext-source-r2_addtoinifiles "http.etag.mode" "MD5"
+ php-ext-source-r2_addtoinifiles "http.force_exit" "1"
+ php-ext-source-r2_addtoinifiles "http.log.allowed_methods" ""
+ php-ext-source-r2_addtoinifiles "http.log.cache" ""
+ php-ext-source-r2_addtoinifiles "http.log.composite" ""
+ php-ext-source-r2_addtoinifiles "http.log.not_found" ""
+ php-ext-source-r2_addtoinifiles "http.log.redirect" ""
+ php-ext-source-r2_addtoinifiles "http.only_exceptions" "0"
+ php-ext-source-r2_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
+ php-ext-source-r2_addtoinifiles "http.persistent.handles.limit" "-1"
+ php-ext-source-r2_addtoinifiles "http.request.datashare.connect" "0"
+ php-ext-source-r2_addtoinifiles "http.request.datashare.cookie" "0"
+ php-ext-source-r2_addtoinifiles "http.request.datashare.dns" "1"
+ php-ext-source-r2_addtoinifiles "http.request.datashare.ssl" "0"
+ php-ext-source-r2_addtoinifiles "http.request.methods.allowed" ""
+ php-ext-source-r2_addtoinifiles "http.request.methods.custom" ""
+ php-ext-source-r2_addtoinifiles "http.send.inflate.start_auto" "0"
+ php-ext-source-r2_addtoinifiles "http.send.inflate.start_flags" "0"
+ php-ext-source-r2_addtoinifiles "http.send.deflate.start_auto" "0"
+ php-ext-source-r2_addtoinifiles "http.send.deflate.start_flags" "0"
+ php-ext-source-r2_addtoinifiles "http.send.not_found_404" "1"
+}
diff --git a/dev-php5/pecl-http/pecl-http-1.6.0.ebuild b/dev-php5/pecl-http/pecl-http-1.7.0.ebuild
index fcb582023c84..14c6ac9eec9b 100644
--- a/dev-php5/pecl-http/pecl-http-1.6.0.ebuild
+++ b/dev-php5/pecl-http/pecl-http-1.7.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/pecl-http-1.6.0.ebuild,v 1.3 2008/05/05 20:54:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/pecl-http-1.7.0.ebuild,v 1.1 2010/11/04 13:41:07 mabi Exp $
PHP_EXT_NAME="http"
PHP_EXT_PECL_PKG="pecl_http"
@@ -8,22 +8,25 @@ PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
DOCS="docs/examples/tutorial.txt ThanksTo.txt KnownIssues.txt"
+EAPI="2"
+
inherit php-ext-pecl-r1 php-ext-base-r1
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
DESCRIPTION="Extended HTTP Support for PHP."
LICENSE="BSD-2 MIT"
SLOT="0"
IUSE=""
-DEPEND=">=net-misc/curl-7.16.4
+DEPEND=">=net-misc/curl-7.19.4
sys-libs/zlib
- dev-libs/libevent"
+ dev-libs/libevent
+ || ( <dev-lang/php-5.3[spl] >=dev-lang/php-5.3 )
+ >=dev-lang/php-5[hash,session,iconv]
+ "
RDEPEND="${DEPEND}"
-need_php_by_category
-
src_compile() {
my_conf="--enable-http \
--with-http-curl-requests \
@@ -59,11 +62,3 @@ src_install() {
php-ext-base-r1_addtoinifiles "http.send.deflate.start_flags" "0"
php-ext-base-r1_addtoinifiles "http.send.not_found_404" "1"
}
-
-pkg_postinst() {
- has_php
- if ! built_with_use --missing true =${PHP_PKG} hash iconv session spl ; then
- elog "${PN} can optionally use hash, iconv, session and spl features."
- elog "If you want those, recompile ${PHP_PKG} with those flags in USE."
- fi
-}