Date: Sun, 5 Feb 2006 01:37:29 +0300 (MSK) From: Alexander Zhuravlev <zaa@zaa.pp.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92827: [new port] www/pecl-pecl_http A PHP extension which provides extended HTTP request/response handling Message-ID: <20060204223729.0F13FB83C@wave.zaa.local> Resent-Message-ID: <200602042240.k14MeAeR054932@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92827 >Category: ports >Synopsis: [new port] www/pecl-pecl_http A PHP extension which provides extended HTTP request/response handling >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 04 22:40:09 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexander Zhuravlev >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD wave.zaa.local 6.0-STABLE FreeBSD 6.0-STABLE #15: Thu Jan 26 20:39:00 MSK 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386 >Description: New port is a PHP PECL extension which provides extended HTTP request/response handling >How-To-Repeat: >Fix: Please apply the patch provided below. Thank you for your efforts ;-) --- pecl-pecl_http.patch begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pecl-pecl_http/ # pecl-pecl_http/distinfo # pecl-pecl_http/Makefile # pecl-pecl_http/pkg-descr # echo c - pecl-pecl_http/ mkdir -p pecl-pecl_http/ > /dev/null 2>&1 echo x - pecl-pecl_http/distinfo sed 's/^X//' >pecl-pecl_http/distinfo << 'END-of-pecl-pecl_http/distinfo' XMD5 (PECL/pecl_http-0.22.0.tgz) = 849d667960cafa06787baac03c873fbf XSHA256 (PECL/pecl_http-0.22.0.tgz) = 7d6901c5858dde4c39740afb789ad13abdf4a79c69911ec6100d1cfdfb2d7bbd XSIZE (PECL/pecl_http-0.22.0.tgz) = 163358 END-of-pecl-pecl_http/distinfo echo x - pecl-pecl_http/Makefile sed 's/^X//' >pecl-pecl_http/Makefile << 'END-of-pecl-pecl_http/Makefile' X# Ports collection makefile for: pecl-pecl_http X# Date created: 2005-12-19 X# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru> X# X# $FreeBSD$ X# X XPORTNAME= pecl_http XPORTVERSION= 0.22.0 XCATEGORIES= www XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= zaa@zaa.pp.ru XCOMMENT= A PHP extension which provides extended HTTP request/response handling X XUSE_PHP= session zlib XUSE_PHPIZE= yes XUSE_PHPEXT= yes XDEFAULT_PHP_VER=5 XPHP_MODNAME= http X XRUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/hash.so:${PORTSDIR}/security/pecl-hash X XCONFIGURE_ARGS= --enable-http X XOPTIONS= CURL "Enable cURL HTTP requests" on \ X MAGIC_MIME "Enable response content type guessing" off \ X ZLIB_COMPRESSION "Enable support for encoded message bodies" on X X.include <bsd.port.pre.mk> X X.if defined(WITH_CURL) XLIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl XCONFIGURE_ARGS+=--with-http-curl-requests=${LOCALBASE} X.else XCONFIGURE_ARGS+=--without-http-curl-requests X.endif X X.if defined(WITH_MAGIC_MIME) XLIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file XCONFIGURE_ARGS+=--with-http-magic-mime=${LOCALBASE} X.else XCONFIGURE_ARGS+=--without-http-magic-mime X.endif X X.if defined(WITH_ZLIB_COMPRESSION) XCONFIGURE_ARGS+=--with-http-zlib-compression=/usr X.else XCONFIGURE_ARGS+=--without-http-zlib-compression X.endif X X.include <bsd.port.post.mk> END-of-pecl-pecl_http/Makefile echo x - pecl-pecl_http/pkg-descr sed 's/^X//' >pecl-pecl_http/pkg-descr << 'END-of-pecl-pecl_http/pkg-descr' XThis HTTP extension aims to provide a convenient and powerful Xset of functionality for one of PHPs major applications. X XIt eases handling of HTTP urls, dates, redirects, headers and Xmessages, provides means for negotiation of clients preferred Xlanguage and charset, as well as a convenient way to send any Xarbitrary data with caching and resuming capabilities. X XIt provides powerful request functionality, if built with CURL Xsupport. Parallel requests are available for PHP-5 and greater. X XPHP-5 classes: XHttpUtil, HttpMessage, HttpRequest, HttpRequestPool; XHttpResponse (PHP-5.1) X XWWW: http://pecl.php.net/package/pecl_http/ END-of-pecl-pecl_http/pkg-descr exit --- pecl-pecl_http.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060204223729.0F13FB83C>