1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add mod_bunzip2, an apache module for server-side decompression of bzip2 files

This commit is contained in:
Tilman Keskinoz 2003-02-01 22:54:07 +00:00
parent 2b340a0397
commit 229f205f05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74437
7 changed files with 44 additions and 0 deletions

View File

@ -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

30
www/mod_bunzip2/Makefile Normal file
View File

@ -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>

1
www/mod_bunzip2/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mod_bunzip2.tar.bz2) = 6f9b6ab43791843cd901d0ec75df0410

View File

@ -0,0 +1 @@
Apache module for server-side decompression of bzip2 files

View File

@ -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>

View File

@ -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

View File

@ -0,0 +1 @@
libexec/apache/mod_bunzip2.so