diff options
author | tv <tv> | 2002-04-01 17:44:43 +0000 |
---|---|---|
committer | tv <tv> | 2002-04-01 17:44:43 +0000 |
commit | a13746de4e090aa84a7b8c631c0ef963fd1cfcd9 (patch) | |
tree | cc128728b19156feefe226ebcf4f9c2a10ad7a22 /www | |
parent | 842a27a0eccfd869a050a584f549e2ff659b408a (diff) | |
download | pkgsrc-a13746de4e090aa84a7b8c631c0ef963fd1cfcd9.tar.gz |
Add mod_gzip 1.3.19.1a, an on-the-fly "Content-Encoding: gzip" compression
handler (useful for reducing the bandwidth expended in transferring large
plaintext or HTML files). From DESCR:
**
mod_gzip uses the well established and publicly available IETF
Content-Encoding standards in conjunction with publicy available GZIP
compression libraries such as ZLIB to deliver dynamically compressed
content 'on the fly' to any browser or user-agent that is capable of
receiving it. It is a software based solution that runs perfectly in
conjunction with any Apache Web Server on both UNIX and Win32 platforms.
No additional client side software is required to use this product.
mod_gzip does not require ANY software to be installed on the client
side. There is no accompanying 'Plug-in' or 'Client Proxy' of any kind.
All you need is your current HTTP 1.1 compliant browser. All modern
browsers released since early 1999 are already capable of receiving
compressed Internet content via standard IETF Content Encoding if they
are HTTP 1.1 compliant.
Diffstat (limited to 'www')
-rw-r--r-- | www/ap-gzip/DESCR | 15 | ||||
-rw-r--r-- | www/ap-gzip/MESSAGE | 10 | ||||
-rw-r--r-- | www/ap-gzip/Makefile | 33 | ||||
-rw-r--r-- | www/ap-gzip/PLIST | 6 | ||||
-rw-r--r-- | www/ap-gzip/distinfo | 10 |
5 files changed, 74 insertions, 0 deletions
diff --git a/www/ap-gzip/DESCR b/www/ap-gzip/DESCR new file mode 100644 index 00000000000..686437b6856 --- /dev/null +++ b/www/ap-gzip/DESCR @@ -0,0 +1,15 @@ +mod_gzip uses the well established and publicly available IETF +Content-Encoding standards in conjunction with publicy available GZIP +compression libraries such as ZLIB to deliver dynamically compressed +content 'on the fly' to any browser or user-agent that is capable of +receiving it. It is a software based solution that runs perfectly in +conjunction with any Apache Web Server on both UNIX and Win32 platforms. + +No additional client side software is required to use this product. + +mod_gzip does not require ANY software to be installed on the client +side. There is no accompanying 'Plug-in' or 'Client Proxy' of any kind. +All you need is your current HTTP 1.1 compliant browser. All modern +browsers released since early 1999 are already capable of receiving +compressed Internet content via standard IETF Content Encoding if they +are HTTP 1.1 compliant. diff --git a/www/ap-gzip/MESSAGE b/www/ap-gzip/MESSAGE new file mode 100644 index 00000000000..603b95aad1a --- /dev/null +++ b/www/ap-gzip/MESSAGE @@ -0,0 +1,10 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ + +You will need to edit ${PREFIX}/etc/httpd/httpd.conf and add the following +lines in order to use this module. + +LoadModule gzip_module lib/httpd/mod_gzip.so +AddModule mod_gzip.c + +============================================================================= diff --git a/www/ap-gzip/Makefile b/www/ap-gzip/Makefile new file mode 100644 index 00000000000..e48a4bf6a5f --- /dev/null +++ b/www/ap-gzip/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ +# + +DISTNAME= mod_gzip.c +PKGNAME= ap-gzip-${VERSION} +CATEGORIES= www +MASTER_SITES= http://www.remotecommunications.com/apache/mod_gzip/src/${VERSION}/ +EXTRACT_SUFX= .gz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} changes.txt commands.txt samples.txt + +MAINTAINER= tv@netbsd.org +HOMEPAGE= http://www.remotecommunications.com/apache/mod_gzip/ +COMMENT= On-the-fly GZIP compression for Apache 1.3.x + +DEPENDS+= apache{,6}-1.3.*:../../www/apache +# For "apxs": +BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5 + +VERSION= 1.3.19.1a +DIST_SUBDIR= ${PKGNAME} + +EXTRACT_CMD= ${GZIP_CMD} -dc >${WRKDIR}/${DISTNAME} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} +WRKSRC= ${WRKDIR} + +do-build: + @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_gzip.so *.c + +do-install: + @cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_gzip.so + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_gzip + ${INSTALL_DATA} ${_DISTDIR}/*.txt ${PREFIX}/share/doc/mod_gzip/ + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ap-gzip/PLIST b/www/ap-gzip/PLIST new file mode 100644 index 00000000000..a41ce2a906c --- /dev/null +++ b/www/ap-gzip/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ +lib/httpd/mod_gzip.so +share/doc/mod_gzip/changes.txt +share/doc/mod_gzip/commands.txt +share/doc/mod_gzip/samples.txt +@dirrm share/doc/mod_gzip diff --git a/www/ap-gzip/distinfo b/www/ap-gzip/distinfo new file mode 100644 index 00000000000..82d1d15a567 --- /dev/null +++ b/www/ap-gzip/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ + +SHA1 (ap-gzip-1.3.19.1a/mod_gzip.c.gz) = 5b1e7add6ddee17806ff9801f196797b80831989 +Size (ap-gzip-1.3.19.1a/mod_gzip.c.gz) = 55269 bytes +SHA1 (ap-gzip-1.3.19.1a/changes.txt) = 6089a2e74091a3a630b5836c7c1e90e46c0d0e44 +Size (ap-gzip-1.3.19.1a/changes.txt) = 6897 bytes +SHA1 (ap-gzip-1.3.19.1a/commands.txt) = b1b9e1745346dbbbfec6724d1e49b66b168678f9 +Size (ap-gzip-1.3.19.1a/commands.txt) = 8231 bytes +SHA1 (ap-gzip-1.3.19.1a/samples.txt) = ebd31f221a4aeadd36ef17bbc05a7da0f550316f +Size (ap-gzip-1.3.19.1a/samples.txt) = 7050 bytes |