diff options
author | wiz <wiz@pkgsrc.org> | 2002-10-22 12:46:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-10-22 12:46:42 +0000 |
commit | b2c7df98ab626869418054f374004affe84b4e50 (patch) | |
tree | 46b8badbf0ba2674a59fa58df74cb6ac6a783c2b | |
parent | 0e6f7bee91b4f2056776ca300ddf7a826c219404 (diff) | |
download | pkgsrc-b2c7df98ab626869418054f374004affe84b4e50.tar.gz |
Update to 1.3.26.1a, provided by Todd Vierling in PR 18514.
Changes:
* mod_gzip_update_static Yes/No
This new directive controls wether mod_gzip should re-gzip outdated
precompressed files. mod_gzip compresses a copy of the original file,
use it with care! No other modules can handle the content of these
HTTP requests.
* bugfix for long lines
In older versions, mod_gzip had a problem with HTTP header lines
longer than 4k. This bug has been fixed.
* Vary bugfix
The previous version of mod_gzip sent Vary headers in too many cases.
But now this is not longer necessary. mod_gzip sends no
Vary headers when the request is excluded by 'file', 'uri' or
'handler'.
* Netware patch
Guenter Knauf wrote a patch for Netware. It's now included.
* Documentation included
* mod_gzip_static_suffix suffix
This new directive defines the suffix of the static compressed files.
On most platforms this will be .gz, but on some it may be .z or
something like that. Default is '.gz'.
Warning: You have to add an 'AddEncoding .suffix gzip' in your Apache
config! If you don't do this, Apache may send a wrong
'Content-Encoding' HTTP header (or even none at all).
* mod_gzip_handle_methods GET POST
Parameters are GET or POST or a list of both values.
Default is the list of both values.
* mod_gzip_send_vary Yes/No
This will be useful for some caching HTTP proxies like squid.
Prior to the current version of mod_gzip, they had problems
to properly handle mod_gzip output.
Warning: Don't set this value to "no" unless you are perfectly
sure that all clients in your environment are able to handle
compressed content properly!
* Workfile bug fixed
In prior versions of mod_gzip there was a problem with the
workfiles. When the compressed version of a file was bigger
than the file itself, the workfile has not been deleted.
Now it will be.
* mod_gzip recognizes outdated .gz files
mod_gzip now performs another stat() call and checks whether
the static compressed version of the file is older than the
uncompressed original file itself. If so, it sends the
uncompressed content(!) and creates a
SEND_AS_IS:PRECOMPRESSED_VARIANT_OUTDATED status value.
-rw-r--r-- | www/ap-gzip/Makefile | 30 | ||||
-rw-r--r-- | www/ap-gzip/PLIST | 37 | ||||
-rw-r--r-- | www/ap-gzip/distinfo | 12 |
3 files changed, 53 insertions, 26 deletions
diff --git a/www/ap-gzip/Makefile b/www/ap-gzip/Makefile index 1919753cabf..11319ef6d14 100644 --- a/www/ap-gzip/Makefile +++ b/www/ap-gzip/Makefile @@ -1,32 +1,36 @@ -# $NetBSD: Makefile,v 1.3 2002/08/01 02:37:41 jschauma Exp $ +# $NetBSD: Makefile,v 1.4 2002/10/22 12:46:42 wiz Exp $ # -DISTNAME= mod_gzip.c +DISTNAME= mod_gzip-${VERSION} 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 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mod-gzip/} +EXTRACT_SUFX= .tgz MAINTAINER= packages@netbsd.org -HOMEPAGE= http://www.remotecommunications.com/apache/mod_gzip/ +HOMEPAGE= http://www.sourceforge.net/projects/mod-gzip/ COMMENT= On-the-fly GZIP compression for Apache 1.3.x DEPENDS+= apache{,6}-1.3.*:../../www/apache USE_PERL5= build # for "apxs" -VERSION= 1.3.19.1a -DIST_SUBDIR= ${PKGNAME} - -EXTRACT_CMD= ${GZIP_CMD} -dc >${WRKDIR}/${DISTNAME} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -WRKSRC= ${WRKDIR} +VERSION= 1.3.26.1a 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/ + ${INSTALL_DATA_DIR} \ + ${PREFIX}/share/doc/mod_gzip \ + ${PREFIX}/share/doc/mod_gzip/de \ + ${PREFIX}/share/doc/mod_gzip/en \ + ${PREFIX}/share/examples/mod_gzip + ${INSTALL_DATA} ${WRKSRC}/docs/manual/deutsch/* \ + ${PREFIX}/share/doc/mod_gzip/de/ + ${INSTALL_DATA} ${WRKSRC}/docs/manual/english/* \ + ${PREFIX}/share/doc/mod_gzip/en/ + ${INSTALL_DATA} ${WRKSRC}/docs/mod_gzip.conf.sample \ + ${PREFIX}/share/examples/mod_gzip/httpd.conf .include "../../mk/bsd.pkg.mk" diff --git a/www/ap-gzip/PLIST b/www/ap-gzip/PLIST index a41ce2a906c..ed116b813e6 100644 --- a/www/ap-gzip/PLIST +++ b/www/ap-gzip/PLIST @@ -1,6 +1,35 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/10/22 12:46:42 wiz Exp $ lib/httpd/mod_gzip.so -share/doc/mod_gzip/changes.txt -share/doc/mod_gzip/commands.txt -share/doc/mod_gzip/samples.txt +share/doc/mod_gzip/de/browser.htm +share/doc/mod_gzip/de/cache.htm +share/doc/mod_gzip/de/config.htm +share/doc/mod_gzip/de/encoding.htm +share/doc/mod_gzip/de/enhancements.htm +share/doc/mod_gzip/de/extern.gif +share/doc/mod_gzip/de/firewalls.htm +share/doc/mod_gzip/de/index.htm +share/doc/mod_gzip/de/links.htm +share/doc/mod_gzip/de/mod_gzip_logo.gif +share/doc/mod_gzip/de/status.htm +share/doc/mod_gzip/de/valid-css.png +share/doc/mod_gzip/de/valid-xhtml11.png +share/doc/mod_gzip/de/versions.htm +share/doc/mod_gzip/en/browser.htm +share/doc/mod_gzip/en/cache.htm +share/doc/mod_gzip/en/config.htm +share/doc/mod_gzip/en/encoding.htm +share/doc/mod_gzip/en/enhancements.htm +share/doc/mod_gzip/en/extern.gif +share/doc/mod_gzip/en/firewalls.htm +share/doc/mod_gzip/en/index.htm +share/doc/mod_gzip/en/links.htm +share/doc/mod_gzip/en/mod_gzip_logo.gif +share/doc/mod_gzip/en/status.htm +share/doc/mod_gzip/en/valid-css.png +share/doc/mod_gzip/en/valid-xhtml11.png +share/doc/mod_gzip/en/versions.htm +share/examples/mod_gzip/httpd.conf +@dirrm share/doc/mod_gzip/de +@dirrm share/doc/mod_gzip/en @dirrm share/doc/mod_gzip +@dirrm share/examples/mod_gzip diff --git a/www/ap-gzip/distinfo b/www/ap-gzip/distinfo index 82d1d15a567..9653d36c91b 100644 --- a/www/ap-gzip/distinfo +++ b/www/ap-gzip/distinfo @@ -1,10 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $ +$NetBSD: distinfo,v 1.2 2002/10/22 12:46:42 wiz 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 +SHA1 (mod_gzip-1.3.26.1a.tgz) = b430dca7216ccb85c06bde972e508919d112ab1b +Size (mod_gzip-1.3.26.1a.tgz) = 137394 bytes |