aboutsummaryrefslogtreecommitdiff
path: root/www/mod_gzip2
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-17 08:49:54 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-17 08:49:54 +0000
commitb3830d136658f0897603e78c598b05f9c75e406d (patch)
treea25fad43e1ddb34eddc3b46c39e4a2bcd542b5f5 /www/mod_gzip2
parentdfae45b9cf5897f220aaa7d2a42ebf3ef1bd3b5b (diff)
downloadports-b3830d136658f0897603e78c598b05f9c75e406d.tar.gz
ports-b3830d136658f0897603e78c598b05f9c75e406d.zip
Notes
Diffstat (limited to 'www/mod_gzip2')
-rw-r--r--www/mod_gzip2/Makefile32
-rw-r--r--www/mod_gzip2/distinfo5
-rw-r--r--www/mod_gzip2/pkg-comment2
-rw-r--r--www/mod_gzip2/pkg-descr18
-rw-r--r--www/mod_gzip2/pkg-plist8
5 files changed, 21 insertions, 44 deletions
diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile
index 56b388637945..1b2f5bc30502 100644
--- a/www/mod_gzip2/Makefile
+++ b/www/mod_gzip2/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= mod_gzip
-PORTVERSION= 1.3.19.1a
+PORTVERSION= 1.3.19.2a
CATEGORIES= www
-MASTER_SITES= http://www.remotecommunications.com/apache/mod_gzip/src/${PORTVERSION}/
-DISTFILES= ${PORTNAME}.c.gz
-EXTRACT_ONLY= ${DISTFILES:M*.gz}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mod-gzip
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sysadmin@alexdupre.com
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
@@ -20,26 +20,6 @@ RUN_DEPENDS= ${APXS}:${APACHE_PORT}
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
-.if !defined(NOPORTDOCS)
-DISTFILES+= changes.txt commands.txt samples.txt
-.endif
-
-NO_WRKSUBDIR= YES
-
-DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
-EXTRACT_AFTER_ARGS= > ${PORTNAME}.c
-
-do-build:
- cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c ${PORTNAME}.c
-
-do-install:
- cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
-
-.if !defined(NOPORTDOCS)
-post-install:
- @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- @cd ${_DISTDIR} && ${INSTALL_DATA} ${DISTFILES:N*gz} \
- ${PREFIX}/share/doc/${PORTNAME}
-.endif
+ALL_TARGET= build
.include <bsd.port.mk>
diff --git a/www/mod_gzip2/distinfo b/www/mod_gzip2/distinfo
index c64aa5d5679d..f5a19c6ad5f0 100644
--- a/www/mod_gzip2/distinfo
+++ b/www/mod_gzip2/distinfo
@@ -1,4 +1 @@
-MD5 (mod_gzip-1.3.19.1a/mod_gzip.c.gz) = 4213af3e9a6cf208fa29b04512ce7c75
-MD5 (mod_gzip-1.3.19.1a/changes.txt) = 2e8e0e9f753e886f5ce93f4cfca91fc7
-MD5 (mod_gzip-1.3.19.1a/commands.txt) = 67b10b917047747e0f209ae0317e8099
-MD5 (mod_gzip-1.3.19.1a/samples.txt) = 2b5a0521650dc87b789326d66ddbdee2
+MD5 (mod_gzip-1.3.19.2a.tgz) = a0f2247455953a961fe4dfc2e0beda50
diff --git a/www/mod_gzip2/pkg-comment b/www/mod_gzip2/pkg-comment
index 90df652b6fd3..d776397665e1 100644
--- a/www/mod_gzip2/pkg-comment
+++ b/www/mod_gzip2/pkg-comment
@@ -1 +1 @@
-Apache module that provides on-the fly gzipping for capable browsers
+An Internet Content Acceleration module for Apache
diff --git a/www/mod_gzip2/pkg-descr b/www/mod_gzip2/pkg-descr
index 4472b21fe2b7..e27f24884a7b 100644
--- a/www/mod_gzip2/pkg-descr
+++ b/www/mod_gzip2/pkg-descr
@@ -1,9 +1,13 @@
-This apache's module detects the browsers capable of decompressing
-the objects on the fly and applies compression to pages, etc. sent
-to those browsers. This includes dynamicly generated content too.
+mod_gzip is an Internet Content Acceleration module for the popular
+Apache Web Server.
-Due to browsers' bugs or for other reasons (gzip-ing a typical JPEG
-file is silly, for example) you may wish to disable compression of
-some MIME-types and mod_gzip allows you to do that.
+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.
-WWW: http://www.remotecommunications.com/apache/mod_gzip/
+WWW: http://sourceforge.net/projects/mod-gzip/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/www/mod_gzip2/pkg-plist b/www/mod_gzip2/pkg-plist
index ed697b363c33..d837399da5df 100644
--- a/www/mod_gzip2/pkg-plist
+++ b/www/mod_gzip2/pkg-plist
@@ -1,7 +1,3 @@
libexec/apache/mod_gzip.so
-%%PORTDOCS%%share/doc/mod_gzip/samples.txt
-%%PORTDOCS%%share/doc/mod_gzip/commands.txt
-%%PORTDOCS%%share/doc/mod_gzip/changes.txt
-%%PORTDOCS%%@dirrm share/doc/mod_gzip
-@exec ${PKG_PREFIX}/sbin/apxs -e -A -n gzip mod_gzip.so; echo " enable the mod_gzip in Apache's config manually"
-@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n gzip mod_gzip.so || echo " remove the mod_gzip from Apache's config manually"
+@exec %D/sbin/apxs -e -A -n gzip %f
+@unexec %D/sbin/apxs -e -A -n gzip %f