aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_useragent
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-16 16:20:16 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-16 16:20:16 +0000
commit86fa33ed95cf5f6a59f555251ae099c5000fff3a (patch)
tree209f075c47a16aedb2c938ea5f5f78ff39789c2d /www/mod_auth_useragent
parent8999f056530d6250ce25e75821d0c8d6b8a016b9 (diff)
downloadports-86fa33ed95cf5f6a59f555251ae099c5000fff3a.tar.gz
ports-86fa33ed95cf5f6a59f555251ae099c5000fff3a.zip
Notes
Diffstat (limited to 'www/mod_auth_useragent')
-rw-r--r--www/mod_auth_useragent/Makefile30
-rw-r--r--www/mod_auth_useragent/distinfo2
-rw-r--r--www/mod_auth_useragent/pkg-descr6
3 files changed, 38 insertions, 0 deletions
diff --git a/www/mod_auth_useragent/Makefile b/www/mod_auth_useragent/Makefile
new file mode 100644
index 000000000000..b550aca4020d
--- /dev/null
+++ b/www/mod_auth_useragent/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: mod_auth_useragent
+# Date created: Apr 16 2004
+# Whom: Clement Laforet <clement@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_auth_useragent
+PORTVERSION= 1.0
+CATEGORIES= www
+MASTER_SITES= http://download.tangent.org/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Allows you to forbid clients based on their User-Agent
+
+WANT_APACHE= 13
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+PORTDOCS= README faq.html
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/mod_auth_useragent/distinfo b/www/mod_auth_useragent/distinfo
new file mode 100644
index 000000000000..94f2dff93ae9
--- /dev/null
+++ b/www/mod_auth_useragent/distinfo
@@ -0,0 +1,2 @@
+MD5 (mod_auth_useragent-1.0.tar.gz) = 1eec76c001085d1d1c21aae72ce40034
+SIZE (mod_auth_useragent-1.0.tar.gz) = 5243
diff --git a/www/mod_auth_useragent/pkg-descr b/www/mod_auth_useragent/pkg-descr
new file mode 100644
index 000000000000..e8c24e8ee3a1
--- /dev/null
+++ b/www/mod_auth_useragent/pkg-descr
@@ -0,0 +1,6 @@
+mod_auth_useragent allows you to forbid clients based on their
+User-Agent by placing a single line in your Apache httpd.conf. Be aware
+that this is by no means a security measure as it is trivial to change
+your User-Agent in most browsers.
+
+WWW: http://tangent.org/index.pl?lastnode_id=478&node_id=423