ports/76366: New port: www/pear-HTTP_Download PEAR class to send HTTP downloads

Antonio Carlos Venancio Junior antonio at php.net
Mon Jan 17 19:00:47 UTC 2005


>Number:         76366
>Category:       ports
>Synopsis:       New port: www/pear-HTTP_Download PEAR class to send HTTP downloads
>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:   Mon Jan 17 19:00:44 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #4: Mon Jan 10 10:53:56 BRST 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: www/pear-HTTP_Download PEAR class to send HTTP downloads

Provides an interface to easily send hidden files or any arbitrary data to
HTTP clients. HTTP_Download can gain its data from variables, files or
stream resources.

It features:
- Basic caching capabilities
- Basic throttling mechanism
- On-the-fly gzip-compression
- Ranges (partial downloads and resuming)
- Delivery of on-the-fly generated archives through Archive_Tar and
Archive_Zip
>How-To-Repeat:
>Fix:
# 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_Download
#	pear-HTTP_Download/distinfo
#	pear-HTTP_Download/pkg-descr
#	pear-HTTP_Download/Makefile
#
echo c - pear-HTTP_Download
mkdir -p pear-HTTP_Download > /dev/null 2>&1
echo x - pear-HTTP_Download/distinfo
sed 's/^X//' >pear-HTTP_Download/distinfo << 'END-of-pear-HTTP_Download/distinfo'
XMD5 (PEAR/HTTP_Download-1.0.0RC3.tgz) = b16c94912baf4a7608278cd6f18e1236
XSIZE (PEAR/HTTP_Download-1.0.0RC3.tgz) = 10445
END-of-pear-HTTP_Download/distinfo
echo x - pear-HTTP_Download/pkg-descr
sed 's/^X//' >pear-HTTP_Download/pkg-descr << 'END-of-pear-HTTP_Download/pkg-descr'
XProvides an interface to easily send hidden files or any arbitrary data to
XHTTP clients. HTTP_Download can gain its data from variables, files or
Xstream resources.
X
XIt features:
X- Basic caching capabilities
X- Basic throttling mechanism
X- On-the-fly gzip-compression
X- Ranges (partial downloads and resuming)
X- Delivery of on-the-fly generated archives through Archive_Tar and
XArchive_Zip
X
XWWW: http://pear.php.net/package/HTTP_Download/
END-of-pear-HTTP_Download/pkg-descr
echo x - pear-HTTP_Download/Makefile
sed 's/^X//' >pear-HTTP_Download/Makefile << 'END-of-pear-HTTP_Download/Makefile'
X# Ports collection makefile for:  pear-HTTP_Download
X# Date created:			  17 January 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	HTTP_Download
XPORTVERSION=	1.0.0RC3
XCATEGORIES=	www devel pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR class to send HTTP downloads
X
XUSE_PHP=	yes
X
XLATEST_LINK=	pear-HTTP_Download
XOPTIONS=	PEAR_ARCHIVE_TAR "PEAR::Archive_Tar support" off
X
XBUILD_DEPENDS=	${PEARDIR}/HTTP/Header.php:${PORTSDIR}/www/pear-HTTP_Header
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	HTTP
XFILES=		Download.php Download/PgLOB.php
XTESTS=		send.php testcase.php data.txt
X
X.include <bsd.port.pre.mk>
X
XPHP_VERS=	${PHP_VERSION:S/.//g}
X
X.if defined(PHP_VERS) && ${PHP_VERS} < 420
XIGNORE=		"You need PHP 4.2.0 or later to install PEAR::HTTP_Download"
X.endif
X
X.if defined(WITH_PEAR_ARCHIVE_TAR)
XBUILD_DEPENDS+=	${PEARDIR}/Archive/Tar.php:${PORTSDIR}/archivers/pear-Archive_Tar
X.endif
X
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-HTTP_Download/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list