aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-04-10 22:22:56 +0000
committerWill Andrews <will@FreeBSD.org>2001-04-10 22:22:56 +0000
commitb58e879972a63bed3f7773c4b2c319e7bbfe5d18 (patch)
treeea3977da14ae6bba46505926e973363d70f13e3c /www
parent1b391e293bbf44f7d718a4dd61d3633d57564726 (diff)
downloadports-b58e879972a63bed3f7773c4b2c319e7bbfe5d18.tar.gz
ports-b58e879972a63bed3f7773c4b2c319e7bbfe5d18.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_hosts_access/Makefile26
-rw-r--r--www/mod_hosts_access/distinfo1
-rw-r--r--www/mod_hosts_access/pkg-comment1
-rw-r--r--www/mod_hosts_access/pkg-descr6
-rw-r--r--www/mod_hosts_access/pkg-plist3
6 files changed, 38 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c990bd380e9a..86994cd183fa 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -119,6 +119,7 @@
SUBDIR += mod_dtcl
SUBDIR += mod_fastcgi
SUBDIR += mod_gzip
+ SUBDIR += mod_hosts_access
SUBDIR += mod_index_rss
SUBDIR += mod_layout
SUBDIR += mod_mp3
diff --git a/www/mod_hosts_access/Makefile b/www/mod_hosts_access/Makefile
new file mode 100644
index 000000000000..f3960b40cabd
--- /dev/null
+++ b/www/mod_hosts_access/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: mod_hosts_access
+# Date created: 10 April 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_hosts_access
+PORTVERSION= 1.0.0
+CATEGORIES= www
+MASTER_SITES= http://www.klomp.org/mod_hosts_access/
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+
+APXS?= ${LOCALBASE}/sbin/apxs
+
+do-build:
+ @cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+
+do-install:
+ ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
+
+.include <bsd.port.mk>
diff --git a/www/mod_hosts_access/distinfo b/www/mod_hosts_access/distinfo
new file mode 100644
index 000000000000..fad518d5b835
--- /dev/null
+++ b/www/mod_hosts_access/distinfo
@@ -0,0 +1 @@
+MD5 (mod_hosts_access-1.0.0.tar.gz) = 3720e303cfde50e94586f484a903aa41
diff --git a/www/mod_hosts_access/pkg-comment b/www/mod_hosts_access/pkg-comment
new file mode 100644
index 000000000000..4f215c017fde
--- /dev/null
+++ b/www/mod_hosts_access/pkg-comment
@@ -0,0 +1 @@
+Apache module that makes Apache respect hosts.allow and hosts.deny
diff --git a/www/mod_hosts_access/pkg-descr b/www/mod_hosts_access/pkg-descr
new file mode 100644
index 000000000000..51c1f4b9420a
--- /dev/null
+++ b/www/mod_hosts_access/pkg-descr
@@ -0,0 +1,6 @@
+mod_hosts_access allows you to use the hosts.allow and hosts.deny
+files to configure access to your Apache webserver. This is the
+stable version 1.0.0. Nothing has changed apart from the homepage
+and some documentation glitches.
+
+WWW: http://www.klomp.org/mod_hosts_access/
diff --git a/www/mod_hosts_access/pkg-plist b/www/mod_hosts_access/pkg-plist
new file mode 100644
index 000000000000..babeec38f942
--- /dev/null
+++ b/www/mod_hosts_access/pkg-plist
@@ -0,0 +1,3 @@
+libexec/apache/mod_hosts_access.so
+@exec %D/sbin/apxs -e -A -n hosts_access %D/%F
+@unexec %D/sbin/apxs -e -A -n hosts_access %D/%F