ports/56652: [NEW PORT] www/p5-Apache-Compress
Martin Matuska
martin at tradex.sk
Tue Sep 9 20:10:16 UTC 2003
>Number: 56652
>Category: ports
>Synopsis: [NEW PORT] www/p5-Apache-Compress
>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: Tue Sep 09 13:10:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Martin Matuska
>Release: FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
FreeBSD 4.8-RELEASE-p3 i386
>Description:
>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:
#
# p5-Apache-Compress
# p5-Apache-Compress/Makefile
# p5-Apache-Compress/distinfo
# p5-Apache-Compress/pkg-descr
# p5-Apache-Compress/pkg-plist
# p5-Apache-Compress/files
# p5-Apache-Compress/files/patch-Makefile.PL
#
echo c - p5-Apache-Compress
mkdir -p p5-Apache-Compress > /dev/null 2>&1
echo x - p5-Apache-Compress/Makefile
sed 's/^X//' >p5-Apache-Compress/Makefile << 'END-of-p5-Apache-Compress/Makefile'
X# New ports collection makefile for: p5-Apache-Compress
X# Date created: Sep 09 2003
X# Whom: Martin Matuska <martin at tradex.sk>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Apache-Compress
XPORTVERSION= 1.003
XCATEGORIES= www perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Apache/KWILLIAMS
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= martin at tradex.sk
XCOMMENT= Auto-compress web files with Gzip
X
XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache.pm:${PORTSDIR}/www/mod_perl \
X ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
X
XPERL_CONFIGURE= yes
X
XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3= Apache::Compress.3
XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for docfile in README Changes
X @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-p5-Apache-Compress/Makefile
echo x - p5-Apache-Compress/distinfo
sed 's/^X//' >p5-Apache-Compress/distinfo << 'END-of-p5-Apache-Compress/distinfo'
XMD5 (Apache-Compress-1.003.tar.gz) = 9d1b571995961223bdb5e005f42e1c76
END-of-p5-Apache-Compress/distinfo
echo x - p5-Apache-Compress/pkg-descr
sed 's/^X//' >p5-Apache-Compress/pkg-descr << 'END-of-p5-Apache-Compress/pkg-descr'
XThis module lets you send the content of an HTTP response as gzip-
Xcompressed data. Certain browsers (Netscape, IE) can request content
Xcompression via the `Content-Encoding' header. This can speed things up
Xif you're sending large files to your users through slow connections.
X
XBrowsers that don't request gzipped data will receive regular
Xnoncompressed data.
X
XThis module is compatibile with Apache::Filter, so you can compress the
Xoutput of other content-generators.
END-of-p5-Apache-Compress/pkg-descr
echo x - p5-Apache-Compress/pkg-plist
sed 's/^X//' >p5-Apache-Compress/pkg-plist << 'END-of-p5-Apache-Compress/pkg-plist'
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/Changes
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
Xlib/perl5/site_perl/%%PERL_VER%%/Apache/Compress.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Compress/.packlist
X at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Apache/Compress
END-of-p5-Apache-Compress/pkg-plist
echo c - p5-Apache-Compress/files
mkdir -p p5-Apache-Compress/files > /dev/null 2>&1
echo x - p5-Apache-Compress/files/patch-Makefile.PL
sed 's/^X//' >p5-Apache-Compress/files/patch-Makefile.PL << 'END-of-p5-Apache-Compress/files/patch-Makefile.PL'
X--- Makefile.PL.orig Tue Sep 9 20:16:44 2003
X+++ Makefile.PL Tue Sep 9 20:17:08 2003
X@@ -2,12 +2,12 @@
X use lib 't/lib'; # distributed here until changes are incorporated into the real version
X use Apache::test;
X
X-my %params = Apache::test->get_test_params();
X-chomp (my $cwd = `pwd`);
X-Apache::test->write_httpd_conf
X- (%params,
X- include => do {local $/; <DATA>});
X-*MY::test = sub { Apache::test->MM_test(%params) };
X+#my %params = Apache::test->get_test_params();
X+#chomp (my $cwd = `pwd`);
X+#Apache::test->write_httpd_conf
X+# (%params,
X+# include => do {local $/; <DATA>});
X+#*MY::test = sub { Apache::test->MM_test(%params) };
X
X my $module = 'Apache::Compress';
X my ($name, $dir);
END-of-p5-Apache-Compress/files/patch-Makefile.PL
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list