From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 17 16:20:06 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A73716A41F for ; Sat, 17 Dec 2005 16:20:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3053443D5C for ; Sat, 17 Dec 2005 16:20:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBHGK4Ef059422 for ; Sat, 17 Dec 2005 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBHGK32R059421; Sat, 17 Dec 2005 16:20:04 GMT (envelope-from gnats) Resent-Date: Sat, 17 Dec 2005 16:20:04 GMT Resent-Message-Id: <200512171620.jBHGK32R059421@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Zhuravlev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B55C216A424; Sat, 17 Dec 2005 16:15:34 +0000 (GMT) (envelope-from zaa@ulstu.ru) Received: from kernel.ulstu.ru (kernel.ulstu.ru [62.76.34.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B27043D5A; Sat, 17 Dec 2005 16:15:33 +0000 (GMT) (envelope-from zaa@ulstu.ru) Received: from localhost (localhost [127.0.0.1]) by kernel.ulstu.ru (ulstuMail) with ESMTP id 7FF854B0AF; Sat, 17 Dec 2005 19:15:31 +0300 (MSK) Received: from kernel.ulstu.ru ([127.0.0.1]) by localhost (kernel.ulstu.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67901-08; Sat, 17 Dec 2005 19:15:28 +0300 (MSK) Received: from wave.zaa.local (zaa.ulstu.ru [62.76.34.17]) by kernel.ulstu.ru (ulstuMail) with ESMTP id 3CAC44B0A9; Sat, 17 Dec 2005 19:15:27 +0300 (MSK) Received: by wave.zaa.local (Postfix, from userid 3909) id 3C55DB8D6; Sat, 17 Dec 2005 19:15:52 +0300 (MSK) Message-Id: <20051217161552.3C55DB8D6@wave.zaa.local> Date: Sat, 17 Dec 2005 19:15:52 +0300 (MSK) From: Alexander Zhuravlev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ale@FreeBSD.org Subject: ports/90568: [New Port] www/pecl-pecl_http A PHP extension which provides extended HTTP request/response handling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Zhuravlev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 16:20:06 -0000 >Number: 90568 >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 Dec 17 16:20:03 GMT 2005 >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 #9: Thu Dec 15 21:26:52 MSK 2005 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 patches provided below. Please note that prior to applying the patches you need to take a look at the following PRs (in order): http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/90087 "ports/90087 : New port: security/pecl-hash pHASH Message Digest Framework for PHP (PECL module)" http://www.freebsd.org/cgi/query-pr.cgi?pr=90565 "ports/90565 : [PATCH] lang/php5-extension is missing inclusion of PDO extension (major feature added in PHP 5.1.0)" --- Mk::bsd.php.mk.diff begins here --- --- Mk/bsd.php.mk.orig Sat Dec 17 19:01:59 2005 +++ Mk/bsd.php.mk Sat Dec 17 19:01:18 2005 @@ -261,7 +261,7 @@ # version specific components _USE_PHP_VER4= ${_USE_PHP_ALL} crack dbx dio domxml mcal mcve \ mnogosearch oracle overload xslt yp -_USE_PHP_VER5= ${_USE_PHP_ALL} dom pdo mysqli simplexml soap sqlite \ +_USE_PHP_VER5= ${_USE_PHP_ALL} dom hash pdo mysqli simplexml soap sqlite \ tidy xmlreader xsl bcmath_DEPENDS= math/php${PHP_VER}-bcmath @@ -284,6 +284,7 @@ gd_DEPENDS= graphics/php${PHP_VER}-gd gettext_DEPENDS=devel/php${PHP_VER}-gettext gmp_DEPENDS= math/php${PHP_VER}-gmp +hash_DEPENDS= security/pecl-hash iconv_DEPENDS= converters/php${PHP_VER}-iconv imagick_DEPENDS=graphics/pecl-imagick imap_DEPENDS= mail/php${PHP_VER}-imap --- Mk::bsd.php.mk.diff ends here --- --- www::pecl-pecl_http 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.20.0.tgz) = 8a0be57052a4b28cd254787468414221 XSHA256 (PECL/pecl_http-0.20.0.tgz) = d515d1a9fe6f999a398fa202bd0dd47480e99a5a6d33d61b1fae291c64514a00 XSIZE (PECL/pecl_http-0.20.0.tgz) = 143182 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 X# X# $FreeBSD$ X# X XPORTNAME= pecl_http XPORTVERSION= 0.20.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 hash XUSE_PHPIZE= yes XUSE_PHPEXT= yes XDEFAULT_PHP_VER=5 XPHP_MODNAME= http 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 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 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 --- www::pecl-pecl_http ends here --- >Release-Note: >Audit-Trail: >Unformatted: