aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_bunzip2
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-02-02 06:54:07 +0800
committerarved <arved@FreeBSD.org>2003-02-02 06:54:07 +0800
commitf5de1b3036578c0ea1a2fffd0da409d3efeabd8f (patch)
treebddce032b7015c07140c60b029e60bb9f09058ca /www/mod_bunzip2
parent88a7e747759ff86534a73165a20976f3a13a7aca (diff)
downloadfreebsd-ports-gnome-f5de1b3036578c0ea1a2fffd0da409d3efeabd8f.tar.gz
freebsd-ports-gnome-f5de1b3036578c0ea1a2fffd0da409d3efeabd8f.tar.zst
freebsd-ports-gnome-f5de1b3036578c0ea1a2fffd0da409d3efeabd8f.zip
Add mod_bunzip2, an apache module for server-side decompression of bzip2 files
Diffstat (limited to 'www/mod_bunzip2')
-rw-r--r--www/mod_bunzip2/Makefile30
-rw-r--r--www/mod_bunzip2/distinfo1
-rw-r--r--www/mod_bunzip2/pkg-comment1
-rw-r--r--www/mod_bunzip2/pkg-descr5
-rw-r--r--www/mod_bunzip2/pkg-message5
-rw-r--r--www/mod_bunzip2/pkg-plist1
6 files changed, 43 insertions, 0 deletions
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