Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-php5/pecl-http
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-http/ChangeLog,v 1.11 2008/05/05 20:54:11 maekke Exp $
05 May 2008; Markus Meier
amd64/x86 stable, bug #213566
06 Dec 2007; Markus Ullmann
pecl-http-1.6.0.ebuild:
LICENSE fix from project overlay
03 Dec 2007; Jakub Moc
Fix LICENSE
*pecl-http-1.6.0 (29 Nov 2007)
29 Nov 2007; Markus Ullmann
+pecl-http-1.6.0.ebuild:
Version bump from project overlay
26 Nov 2007; Jakub Moc
Version bump. Add defaults to ini file.
*pecl-http-1.5.6 (11 Oct 2007)
11 Oct 2007; Anant Narayanan
bump to 1.5.6 (from overlay)
06 Sep 2007; Markus Ullmann
Cleanup
28 Aug 2007; Jakub Moc
Check for hash, not mhash in postinst.
*pecl-http-1.5.4 (27 Aug 2007)
27 Aug 2007; Markus Ullmann
version bump for bug #190381
27 Aug 2007; Jakub Moc
+pecl-http-1.5.4.ebuild:
Version bump, Bug 190381
*pecl-http-1.5.2 (17 Mar 2007)
17 Mar 2007; Luca Longinotti
+pecl-http-1.5.2.ebuild:
Version bump.
*pecl-http-1.3.1 (02 Oct 2006)
02 Oct 2006; Sebastian Bergmann
-pecl-http-1.2.1.ebuild, +pecl-http-1.3.1.ebuild:
Version bump.
17 Sep 2006; Konstantin Arkhipov
Keyworded ~amd64 wrt bug #147529./
*pecl-http-1.2.1 (26 Aug 2006)
26 Aug 2006; Sebastian Bergmann
+pecl-http-1.2.1.ebuild:
Initial ebuild.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST pecl_http-1.6.0.tgz 172432 RMD160 71f8a458fc35c8291e4b570e3b48ecced0a0aaf3 SHA1 213eb36f996f319a7913e0d5d90911a238b4719e SHA256 9a43f3f9f3ebd3ff706e5dcae2efba9b6f07167ab56c232c2839cb5b8c14c7e9
EBUILD pecl-http-1.6.0.ebuild 2435 RMD160 772eaa0b90ad6459e5035267bf2b6adc265d8f0f SHA1 bbafcab698a157c2f902285fb4909b831b3070d9 SHA256 e4cd8367ff8a37979a25ca94306eb24f556ea5b82e0641541452423653304b6d
MISC ChangeLog 1978 RMD160 e64cbce1189694787c41848e57387b205f0847fa SHA1 d6ddd212a4ede017f892e28f59e7d74cd50173b0 SHA256 d1544393ae3011d099007a569d7ddbd93bcdb20c2b279d8d9c244301bf67b1b8
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkgfdCcACgkQkKaRLQcq0GI45QCfXOsPRY+coohHnsEj4NifuWSW
X/EAoKYqyBo2t3FUVeL8rl7zpf/UkGxW
=Hp1U
-----END PGP SIGNATURE-----
# Copyright 1999-2008 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 $
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-2 MIT"
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
}