ports/130293: [NEW PORT]www/pear-HTTP_Request2:PEAR classes providing an easy way to perform HTTP requests
Wen Heping
wenheping at gmail.com
Thu Jan 8 11:10:02 UTC 2009
>Number: 130293
>Category: ports
>Synopsis: [NEW PORT]www/pear-HTTP_Request2:PEAR classes providing an easy way to perform HTTP requests
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 08 11:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT-200811 FreeBSD 8.0-CURRENT-200811 #0: Thu Nov 6 00:32:12 UTC 2008 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
Adapters. Currently available are:
* Socket adapter, based on old HTTP_Request code,
* Curl adapter, wraps around PHP's cURL extension,
* Mock adapter, to use for testing packages dependent on HTTP_Request2.
Supports POST requests with data and file uploads, authentication,
cookies, proxies, gzip and deflate encodings, monitoring the request
progress with Observers.
WWW: http://pear.php.net/package/HTTP_Request2/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# pear-HTTP_Request2
# pear-HTTP_Request2/pkg-descr
# pear-HTTP_Request2/distinfo
# pear-HTTP_Request2/Makefile
#
echo c - pear-HTTP_Request2
mkdir -p pear-HTTP_Request2 > /dev/null 2>&1
echo x - pear-HTTP_Request2/pkg-descr
sed 's/^X//' >pear-HTTP_Request2/pkg-descr << '94b5e1c303341ceef47e76832d28d5cd'
XPHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
XAdapters. Currently available are:
X* Socket adapter, based on old HTTP_Request code,
X* Curl adapter, wraps around PHP's cURL extension,
X* Mock adapter, to use for testing packages dependent on HTTP_Request2.
X
XSupports POST requests with data and file uploads, authentication,
Xcookies, proxies, gzip and deflate encodings, monitoring the request
Xprogress with Observers.
X
XWWW: http://pear.php.net/package/HTTP_Request2/
94b5e1c303341ceef47e76832d28d5cd
echo x - pear-HTTP_Request2/distinfo
sed 's/^X//' >pear-HTTP_Request2/distinfo << '653c878627502fa442ace1e174185266'
XMD5 (PEAR/HTTP_Request2-0.2.0.tgz) = c82e0619b1a19e90a72533972b439a03
XSHA256 (PEAR/HTTP_Request2-0.2.0.tgz) = b063912b08efa71556c925a8d3a9edf8db86b08202cc8300d42a1e871ba5a920
XSIZE (PEAR/HTTP_Request2-0.2.0.tgz) = 49399
653c878627502fa442ace1e174185266
echo x - pear-HTTP_Request2/Makefile
sed 's/^X//' >pear-HTTP_Request2/Makefile << '1a6826033222fe1eb122d777b088b642'
X# Ports collection makefile for: pear-HTTP_Request2
X# Date created: 08 Jan 2009
X# Whom: Wen Heping <wenheping at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= HTTP_Request2
XPORTVERSION= 0.2.0
XCATEGORIES= www pear
X
XMAINTAINER= wenheping at gmail.com
XCOMMENT= PEAR classes providing an easy way to perform HTTP requests
X
XBUILD_DEPENDS= ${PEARDIR}/Net/URL2.php:${PORTSDIR}/net/pear-Net_URL2
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XOPTIONS= CURL "PHP CURL extension support" off \
X FILEINFO "PHP FILEINFO extension support" off \
X ZLIB "PECL ZLIB support" off
X
XCATEGORY= HTTP
XFILES= Request2.php \
X Request2/Exception.php Request2/Adapter.php \
X Request2/MultipartBody.php Request2/Response.php \
X Request2/Adapter/Curl.php \
X Request2/Adapter/Mock.php \
X Request2/Adapter/Socket.php \
X Request2/Observer/Log.php
XTESTS= AllTests.php ObserverTest.php Request2Test.php \
X Request2/AllTests.php \
X Request2/MultipartBodyTest.php \
X Request2/ResponseTest.php \
X Request2/Adapter/AllTests.php \
X Request2/Adapter/MockTest.php \
X _files/bug_15305 _files/response_cookies\
X _files/response_gzip_broken _files/empty.gif \
X _files/response_deflate _files/response_headers \
X _files/plaintext.txt _files/response_gzip
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_CURL)
XUSE_PHP+= curl
X.endif
X
X.if defined(WITH_FILEINFO)
XUSE_PHP+= fileinfo
X.endif
X
X.if defined(WITH_ZLIB)
XUSE_PHP+= zlib
X.endif
X
X.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
X.include <bsd.port.post.mk>
1a6826033222fe1eb122d777b088b642
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list