summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-02-18 00:53:58 +0000
committergrant <grant@pkgsrc.org>2003-02-18 00:53:58 +0000
commitfbf87c0edd1e9f573a0ffc997df9bc55d4d5a768 (patch)
treeeecce4a817c9ccf30df5dde019d8aaf8171287b8 /www
parentfe1e82bbab4ffb93a92fb5ded929bddaa584268b (diff)
downloadpkgsrc-fbf87c0edd1e9f573a0ffc997df9bc55d4d5a768.tar.gz
Initial import of mod_access_referer 1.0.2 into the NetBSD packages
collection. mod_access_referer is an Apache module that provides access control based on the "Referer" HTTP header content.
Diffstat (limited to 'www')
-rw-r--r--www/ap-access-referer/DESCR2
-rw-r--r--www/ap-access-referer/MESSAGE9
-rw-r--r--www/ap-access-referer/Makefile25
-rw-r--r--www/ap-access-referer/PLIST4
-rw-r--r--www/ap-access-referer/distinfo4
5 files changed, 44 insertions, 0 deletions
diff --git a/www/ap-access-referer/DESCR b/www/ap-access-referer/DESCR
new file mode 100644
index 00000000000..22a9d542514
--- /dev/null
+++ b/www/ap-access-referer/DESCR
@@ -0,0 +1,2 @@
+mod_access_referer is an Apache module that provides access control
+based on the "Referer" HTTP header content.
diff --git a/www/ap-access-referer/MESSAGE b/www/ap-access-referer/MESSAGE
new file mode 100644
index 00000000000..6bbe18fcd78
--- /dev/null
+++ b/www/ap-access-referer/MESSAGE
@@ -0,0 +1,9 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2003/02/18 00:53:58 grant Exp $
+
+In order to use this module in your Apache installation, you need to
+add the following to your httpd.conf file:
+
+ LoadModule access_referer_module lib/httpd/mod_access_referer.so
+
+===========================================================================
diff --git a/www/ap-access-referer/Makefile b/www/ap-access-referer/Makefile
new file mode 100644
index 00000000000..d1e6d19d8d9
--- /dev/null
+++ b/www/ap-access-referer/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/18 00:53:58 grant Exp $
+#
+
+DISTNAME= mod_access_referer-1.0.2
+PKGNAME= ap-access-referer-1.0.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=accessreferer/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://accessreferer.sourceforge.net/
+COMMENT= Apache module for referer-based access control
+
+USE_BUILDLINK2= YES
+
+APACHE_MODULE_NAME= mod_access_referer.so
+
+DOCDIR= ${PREFIX}/share/doc
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}/html/mod_access_referer
+ ${INSTALL_DATA} ${WRKSRC}/mod_access_referer.html \
+ ${DOCDIR}/html/mod_access_referer
+
+.include "../../www/apache/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-access-referer/PLIST b/www/ap-access-referer/PLIST
new file mode 100644
index 00000000000..7f38b2de237
--- /dev/null
+++ b/www/ap-access-referer/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/18 00:53:58 grant Exp $
+lib/httpd/mod_access_referer.so
+share/doc/html/mod_access_referer/mod_access_referer.html
+@dirrm share/doc/html/mod_access_referer
diff --git a/www/ap-access-referer/distinfo b/www/ap-access-referer/distinfo
new file mode 100644
index 00000000000..24c0b10bbea
--- /dev/null
+++ b/www/ap-access-referer/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/18 00:53:58 grant Exp $
+
+SHA1 (mod_access_referer-1.0.2.tar.gz) = db31677c347b7dccdbd8935bbb2cae2fd87248ea
+Size (mod_access_referer-1.0.2.tar.gz) = 9745 bytes