summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:54:21 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-11-29 23:54:21 +0000
commitc85dc7e49ef07f0e40f9a1dfee7f4ccb42e8bb99 (patch)
tree5aa6d459b0d4351bbbf348144bf7137560d6b592 /dev-php5/pecl-http
parentInitial import from project overlay (diff)
downloadhistorical-c85dc7e49ef07f0e40f9a1dfee7f4ccb42e8bb99.tar.gz
historical-c85dc7e49ef07f0e40f9a1dfee7f4ccb42e8bb99.tar.bz2
historical-c85dc7e49ef07f0e40f9a1dfee7f4ccb42e8bb99.zip
Version bump from project overlay
Package-Manager: portage-2.1.4_rc4
Diffstat (limited to 'dev-php5/pecl-http')
-rw-r--r--dev-php5/pecl-http/ChangeLog11
-rw-r--r--dev-php5/pecl-http/files/digest-pecl-http-1.5.43
-rw-r--r--dev-php5/pecl-http/files/digest-pecl-http-1.6.03
-rw-r--r--dev-php5/pecl-http/pecl-http-1.5.4.ebuild39
-rw-r--r--dev-php5/pecl-http/pecl-http-1.6.0.ebuild69
5 files changed, 82 insertions, 43 deletions
diff --git a/dev-php5/pecl-http/ChangeLog b/dev-php5/pecl-http/ChangeLog
index 50c39d919ad8..3e11b2533ee0 100644
--- a/dev-php5/pecl-http/ChangeLog
+++ b/dev-php5/pecl-http/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-php5/pecl-http
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.8 2007/10/10 20:56:45 anant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.9 2007/11/29 23:49:52 jokey Exp $
+
+*pecl-http-1.6.0 (29 Nov 2007)
+
+ 29 Nov 2007; Markus Ullmann <jokey@gentoo.org> -pecl-http-1.5.4.ebuild,
+ +pecl-http-1.6.0.ebuild:
+ Version bump from project overlay
+
+ 26 Nov 2007; Jakub Moc <jakub@gentoo.org> +pecl-http-1.6.0.ebuild:
+ Version bump. Add defaults to ini file.
*pecl-http-1.5.6 (11 Oct 2007)
diff --git a/dev-php5/pecl-http/files/digest-pecl-http-1.5.4 b/dev-php5/pecl-http/files/digest-pecl-http-1.5.4
deleted file mode 100644
index b6dad8bd551e..000000000000
--- a/dev-php5/pecl-http/files/digest-pecl-http-1.5.4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b2e5440d2d2ae8c260594d2230f0a6d2 pecl_http-1.5.4.tgz 168091
-RMD160 e3698afac63d4a292ffc5a091cd09de9b08f40b5 pecl_http-1.5.4.tgz 168091
-SHA256 7dcab683935616d25dba8e77edbd526a19f200ea3d3d84e09d9869abdb41f526 pecl_http-1.5.4.tgz 168091
diff --git a/dev-php5/pecl-http/files/digest-pecl-http-1.6.0 b/dev-php5/pecl-http/files/digest-pecl-http-1.6.0
new file mode 100644
index 000000000000..030689432ecc
--- /dev/null
+++ b/dev-php5/pecl-http/files/digest-pecl-http-1.6.0
@@ -0,0 +1,3 @@
+MD5 21ef481ae45db61591dd98a935a4dfce pecl_http-1.6.0.tgz 172432
+RMD160 71f8a458fc35c8291e4b570e3b48ecced0a0aaf3 pecl_http-1.6.0.tgz 172432
+SHA256 9a43f3f9f3ebd3ff706e5dcae2efba9b6f07167ab56c232c2839cb5b8c14c7e9 pecl_http-1.6.0.tgz 172432
diff --git a/dev-php5/pecl-http/pecl-http-1.5.4.ebuild b/dev-php5/pecl-http/pecl-http-1.5.4.ebuild
deleted file mode 100644
index 8721b3e2068d..000000000000
--- a/dev-php5/pecl-http/pecl-http-1.5.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2007 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.5.4.ebuild,v 1.3 2007/08/30 13:04:58 jokey Exp $
-
-PHP_EXT_NAME="http"
-PHP_EXT_PECL_PKG="pecl_http"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-inherit php-ext-pecl-r1
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Extended HTTP Support for PHP."
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-DEPEND="net-misc/curl
- sys-libs/zlib"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-src_compile() {
- my_conf="--enable-http \
- --with-http-curl-requests \
- --with-http-zlib-compression"
-
- php-ext-pecl-r1_src_compile
-}
-
-pkg_postinst() {
- has_php
- if ! built_with_use --missing true =${PHP_PKG} iconv hash session spl ; then
- elog "${PN} can optionally use iconv, hash, session and spl features."
- elog "If you want those, recompile ${PHP_PKG} with those flags in USE."
- fi
-}
diff --git a/dev-php5/pecl-http/pecl-http-1.6.0.ebuild b/dev-php5/pecl-http/pecl-http-1.6.0.ebuild
new file mode 100644
index 000000000000..c5703f87ddb4
--- /dev/null
+++ b/dev-php5/pecl-http/pecl-http-1.6.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2007 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.1 2007/11/29 23:49:52 jokey Exp $
+
+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-r1 php-ext-base-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Extended HTTP Support for PHP."
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=net-misc/curl-7.16.4
+ sys-libs/zlib
+ dev-libs/libevent"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+src_compile() {
+ my_conf="--enable-http \
+ --with-http-curl-requests \
+ --with-http-zlib-compression \
+ --with-http-curl-libevent \
+ --with-http-magic-mime"
+
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+
+ php-ext-base-r1_addtoinifiles "http.etag.mode" "MD5"
+ php-ext-base-r1_addtoinifiles "http.force_exit" "1"
+ php-ext-base-r1_addtoinifiles "http.log.allowed_methods" ""
+ php-ext-base-r1_addtoinifiles "http.log.cache" ""
+ php-ext-base-r1_addtoinifiles "http.log.composite" ""
+ php-ext-base-r1_addtoinifiles "http.log.not_found" ""
+ php-ext-base-r1_addtoinifiles "http.log.redirect" ""
+ php-ext-base-r1_addtoinifiles "http.only_exceptions" "0"
+ php-ext-base-r1_addtoinifiles "http.persistent.handles.ident" "GLOBAL"
+ php-ext-base-r1_addtoinifiles "http.persistent.handles.limit" "-1"
+ php-ext-base-r1_addtoinifiles "http.request.datashare.connect" "0"
+ php-ext-base-r1_addtoinifiles "http.request.datashare.cookie" "0"
+ php-ext-base-r1_addtoinifiles "http.request.datashare.dns" "1"
+ php-ext-base-r1_addtoinifiles "http.request.datashare.ssl" "0"
+ php-ext-base-r1_addtoinifiles "http.request.methods.allowed" ""
+ php-ext-base-r1_addtoinifiles "http.request.methods.custom" ""
+ php-ext-base-r1_addtoinifiles "http.send.inflate.start_auto" "0"
+ php-ext-base-r1_addtoinifiles "http.send.inflate.start_flags" "0"
+ php-ext-base-r1_addtoinifiles "http.send.deflate.start_auto" "0"
+ 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
+}