diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-12-13 21:44:33 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-12-13 21:44:33 +0000 |
commit | 1777c580eb9cf55cc08d55ee0a31f68e11381f14 (patch) | |
tree | f3094ef2b33bf9ed0d6fcc2db78422433dadf0e1 /www | |
parent | c31a5e5669c9de76dede38ad563d382901616dc5 (diff) | |
download | ports-1777c580eb9cf55cc08d55ee0a31f68e11381f14.tar.gz ports-1777c580eb9cf55cc08d55ee0a31f68e11381f14.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_gzip/Makefile | 44 | ||||
-rw-r--r-- | www/mod_gzip/distinfo | 2 | ||||
-rw-r--r-- | www/mod_gzip/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_gzip/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_gzip/pkg-plist | 5 | ||||
-rw-r--r-- | www/mod_gzip2/Makefile | 44 | ||||
-rw-r--r-- | www/mod_gzip2/distinfo | 2 | ||||
-rw-r--r-- | www/mod_gzip2/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_gzip2/pkg-descr | 9 | ||||
-rw-r--r-- | www/mod_gzip2/pkg-plist | 5 |
11 files changed, 123 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index b949c79a252d..b4fe913b4208 100644 --- a/www/Makefile +++ b/www/Makefile @@ -101,6 +101,7 @@ SUBDIR += mod_dav SUBDIR += mod_dtcl SUBDIR += mod_fastcgi + SUBDIR += mod_gzip SUBDIR += mod_perl SUBDIR += mod_php3 SUBDIR += mod_php4 diff --git a/www/mod_gzip/Makefile b/www/mod_gzip/Makefile new file mode 100644 index 000000000000..2233bc240d97 --- /dev/null +++ b/www/mod_gzip/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: mod_gzip Apache module +# Date created: Dec 13 2000 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +PORTNAME= mod_gzip +PORTVERSION= 1.3.14.6e +CATEGORIES= www +MASTER_SITES= http://12.17.228.52/mod_gzip/src/${PORTVERSION}/ +DISTFILES= ${PORTNAME}.c.gz +EXTRACT_ONLY= ${DISTFILES:M*.gz} + +MAINTAINER= mi@aldan.algebra.com + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 + +NO_WRKSUBDIR= YES + +DIST_SUBDIR= ${PORTNAME} +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) +DISTFILES+= readme.txt +PLIST_SUB+= DOC='' + +post-install: + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + ${PREFIX}/share/doc/${PORTNAME} + +.else +PLIST_SUB+= DOC='@comment ' +.endif + +.include <bsd.port.mk> diff --git a/www/mod_gzip/distinfo b/www/mod_gzip/distinfo new file mode 100644 index 000000000000..d9c3940f401c --- /dev/null +++ b/www/mod_gzip/distinfo @@ -0,0 +1,2 @@ +MD5 (mod_gzip/mod_gzip.c.gz) = 3b588205c6db5b26e86ef4f5421dc2dd +MD5 (mod_gzip/readme.txt) = 3a9decb840fcd71cf3bf98c1219f0837 diff --git a/www/mod_gzip/pkg-comment b/www/mod_gzip/pkg-comment new file mode 100644 index 000000000000..e7e1598847a6 --- /dev/null +++ b/www/mod_gzip/pkg-comment @@ -0,0 +1 @@ +An Apache module that provides on-the fly gzipping for capable browsers diff --git a/www/mod_gzip/pkg-descr b/www/mod_gzip/pkg-descr new file mode 100644 index 000000000000..4472b21fe2b7 --- /dev/null +++ b/www/mod_gzip/pkg-descr @@ -0,0 +1,9 @@ +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. + +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. + +WWW: http://www.remotecommunications.com/apache/mod_gzip/ diff --git a/www/mod_gzip/pkg-plist b/www/mod_gzip/pkg-plist new file mode 100644 index 000000000000..b84062ddf639 --- /dev/null +++ b/www/mod_gzip/pkg-plist @@ -0,0 +1,5 @@ +libexec/apache/mod_gzip.so +%%DOC%%share/doc/mod_gzip/readme.txt +%%DOC%%@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" diff --git a/www/mod_gzip2/Makefile b/www/mod_gzip2/Makefile new file mode 100644 index 000000000000..2233bc240d97 --- /dev/null +++ b/www/mod_gzip2/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: mod_gzip Apache module +# Date created: Dec 13 2000 +# Whom: Mikhail Teterin <mi@aldan.algebra.com> +# +# $FreeBSD$ +# + +PORTNAME= mod_gzip +PORTVERSION= 1.3.14.6e +CATEGORIES= www +MASTER_SITES= http://12.17.228.52/mod_gzip/src/${PORTVERSION}/ +DISTFILES= ${PORTNAME}.c.gz +EXTRACT_ONLY= ${DISTFILES:M*.gz} + +MAINTAINER= mi@aldan.algebra.com + +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 + +NO_WRKSUBDIR= YES + +DIST_SUBDIR= ${PORTNAME} +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) +DISTFILES+= readme.txt +PLIST_SUB+= DOC='' + +post-install: + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} + @${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:N*gz} \ + ${PREFIX}/share/doc/${PORTNAME} + +.else +PLIST_SUB+= DOC='@comment ' +.endif + +.include <bsd.port.mk> diff --git a/www/mod_gzip2/distinfo b/www/mod_gzip2/distinfo new file mode 100644 index 000000000000..d9c3940f401c --- /dev/null +++ b/www/mod_gzip2/distinfo @@ -0,0 +1,2 @@ +MD5 (mod_gzip/mod_gzip.c.gz) = 3b588205c6db5b26e86ef4f5421dc2dd +MD5 (mod_gzip/readme.txt) = 3a9decb840fcd71cf3bf98c1219f0837 diff --git a/www/mod_gzip2/pkg-comment b/www/mod_gzip2/pkg-comment new file mode 100644 index 000000000000..e7e1598847a6 --- /dev/null +++ b/www/mod_gzip2/pkg-comment @@ -0,0 +1 @@ +An Apache module that provides on-the fly gzipping for capable browsers diff --git a/www/mod_gzip2/pkg-descr b/www/mod_gzip2/pkg-descr new file mode 100644 index 000000000000..4472b21fe2b7 --- /dev/null +++ b/www/mod_gzip2/pkg-descr @@ -0,0 +1,9 @@ +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. + +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. + +WWW: http://www.remotecommunications.com/apache/mod_gzip/ diff --git a/www/mod_gzip2/pkg-plist b/www/mod_gzip2/pkg-plist new file mode 100644 index 000000000000..b84062ddf639 --- /dev/null +++ b/www/mod_gzip2/pkg-plist @@ -0,0 +1,5 @@ +libexec/apache/mod_gzip.so +%%DOC%%share/doc/mod_gzip/readme.txt +%%DOC%%@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" |