diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-02-01 22:54:07 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-02-01 22:54:07 +0000 |
commit | 229f205f0599a8dc6f6d522fc8e1a72f8cf7a3ad (patch) | |
tree | 264ecb1ee3c46502d097531fb603927c8124634b /www | |
parent | Upgrade to binutils 2.13.2.1 (diff) |
Add mod_bunzip2, an apache module for server-side decompression of bzip2 files
Notes
Notes:
svn path=/head/; revision=74437
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_bunzip2/Makefile | 30 | ||||
-rw-r--r-- | www/mod_bunzip2/distinfo | 1 | ||||
-rw-r--r-- | www/mod_bunzip2/pkg-comment | 1 | ||||
-rw-r--r-- | www/mod_bunzip2/pkg-descr | 5 | ||||
-rw-r--r-- | www/mod_bunzip2/pkg-message | 5 | ||||
-rw-r--r-- | www/mod_bunzip2/pkg-plist | 1 |
7 files changed, 44 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 2fb4d779263a..a582739f7b10 100644 --- a/www/Makefile +++ b/www/Makefile @@ -172,6 +172,7 @@ SUBDIR += mod_backhand SUBDIR += mod_bf SUBDIR += mod_blowchunks + SUBDIR += mod_bunzip2 SUBDIR += mod_cgi_debug SUBDIR += mod_color SUBDIR += mod_csacek diff --git a/www/mod_bunzip2/Makefile b/www/mod_bunzip2/Makefile new file mode 100644 index 000000000000..73ac54d7345f --- /dev/null +++ b/www/mod_bunzip2/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: mod_bunzip2 +# Date created: 26 January 2002 +# Whom: Tilman Linneweh <arved@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= mod_bunzip2 +PORTVERSION= 1 +CATEGORIES= www +MASTER_SITES= http://www.oldach.net/ +DISTNAME= ${PORTNAME} + +MAINTAINER= mod_bunzip2@oldach.net + +BUILD_DEPENDS= ${APXS}:${APACHE_PORT} +RUN_DEPENDS= ${APXS}:${APACHE_PORT} + +USE_BZIP2= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-2 +APXS?= ${LOCALBASE}/sbin/apxs +APACHE_PORT?= ${PORTSDIR}/www/apache13 + +do-build: + cd ${WRKSRC}; ${APXS} -c -lbz2 mod_bunzip2.c + +do-install: + ${INSTALL_DATA} ${WRKSRC}/mod_bunzip2.so ${PREFIX}/libexec/apache/ + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/mod_bunzip2/distinfo b/www/mod_bunzip2/distinfo new file mode 100644 index 000000000000..ca7b5c85c1d8 --- /dev/null +++ b/www/mod_bunzip2/distinfo @@ -0,0 +1 @@ +MD5 (mod_bunzip2.tar.bz2) = 6f9b6ab43791843cd901d0ec75df0410 diff --git a/www/mod_bunzip2/pkg-comment b/www/mod_bunzip2/pkg-comment new file mode 100644 index 000000000000..3a94ea34b911 --- /dev/null +++ b/www/mod_bunzip2/pkg-comment @@ -0,0 +1 @@ +Apache module for server-side decompression of bzip2 files diff --git a/www/mod_bunzip2/pkg-descr b/www/mod_bunzip2/pkg-descr new file mode 100644 index 000000000000..ec522bd95ea6 --- /dev/null +++ b/www/mod_bunzip2/pkg-descr @@ -0,0 +1,5 @@ +mod_bunzip2 -- an Apache module implementing server-side decompression of bzip2 +compressed documents. Makes use of libbzip2 functionality. + +WWW: http://www.oldach.net +Author: Helge Oldach <mod_bunzip2@oldach.net> diff --git a/www/mod_bunzip2/pkg-message b/www/mod_bunzip2/pkg-message new file mode 100644 index 000000000000..d1be7d1c46d3 --- /dev/null +++ b/www/mod_bunzip2/pkg-message @@ -0,0 +1,5 @@ +You might want to add the following lines to your httpd.conf: + + LoadModule bunzip2_module libexec/apache/mod_bunzip2.so + AddModule mod_bunzip2.c + AddHandler send-gunzipped .html diff --git a/www/mod_bunzip2/pkg-plist b/www/mod_bunzip2/pkg-plist new file mode 100644 index 000000000000..2f05b781bb74 --- /dev/null +++ b/www/mod_bunzip2/pkg-plist @@ -0,0 +1 @@ +libexec/apache/mod_bunzip2.so |