From zaa@ulstu.ru  Sat Feb  4 22:36:26 2006
Return-Path: <zaa@ulstu.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CEEBB16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  4 Feb 2006 22:36:26 +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 BE03543D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  4 Feb 2006 22:36:22 +0000 (GMT)
	(envelope-from zaa@ulstu.ru)
Received: from localhost (localhost [127.0.0.1])
	by kernel.ulstu.ru (ulstuMail) with ESMTP id C01964AC1B;
	Sun,  5 Feb 2006 01:36:15 +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 02365-08; Sun,  5 Feb 2006 01:36:13 +0300 (MSK)
Received: from wave.zaa.local (zaa.ulstu.ru [62.76.34.17])
	by kernel.ulstu.ru (ulstuMail) with ESMTP id 1890C4AC28
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Feb 2006 01:36:11 +0300 (MSK)
Received: by wave.zaa.local (Postfix, from userid 3909)
	id 0F13FB83C; Sun,  5 Feb 2006 01:37:29 +0300 (MSK)
Message-Id: <20060204223729.0F13FB83C@wave.zaa.local>
Date: Sun,  5 Feb 2006 01:37:29 +0300 (MSK)
From: Alexander Zhuravlev <zaa@zaa.pp.ru>
Reply-To: Alexander Zhuravlev <zaa@zaa.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [new port] www/pecl-pecl_http A PHP extension which provides extended HTTP request/response handling
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 04 22:40:09 GMT 2006
>Closed-Date:    Mon Feb 06 15:41:25 GMT 2006
>Last-Modified:  Mon Feb 06 15:41:25 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Mon Feb 6 14:06:57 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92827 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Mon Feb 6 15:41:22 UTC 2006 
State-Changed-Why:  
New port added, marked as IGNORE on 4.x, doesn't build with old zlib 
version. Thanks for contributing! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92827 
>Unformatted:
