diff options
author | clement <clement@FreeBSD.org> | 2004-04-17 00:20:16 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-04-17 00:20:16 +0800 |
commit | 96bfc54c1dfae6c12968a1555ef1903bad51b883 (patch) | |
tree | d3035707670c6f5d55c670bc6dcaff07f4f66613 /www | |
parent | 3b5d54e69978cd27bb973b2a7d40690291a601f4 (diff) | |
download | freebsd-ports-gnome-96bfc54c1dfae6c12968a1555ef1903bad51b883.tar.gz freebsd-ports-gnome-96bfc54c1dfae6c12968a1555ef1903bad51b883.tar.zst freebsd-ports-gnome-96bfc54c1dfae6c12968a1555ef1903bad51b883.zip |
Add mod_auth_useragent 1.0
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
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mod_auth_useragent/Makefile | 30 | ||||
-rw-r--r-- | www/mod_auth_useragent/distinfo | 2 | ||||
-rw-r--r-- | www/mod_auth_useragent/pkg-descr | 6 |
4 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 942a9df9a086..4ec1dde312e0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -215,6 +215,7 @@ SUBDIR += mod_auth_pgsql2 SUBDIR += mod_auth_pwcheck SUBDIR += mod_auth_remote + SUBDIR += mod_auth_useragent SUBDIR += mod_authenticache SUBDIR += mod_backhand SUBDIR += mod_bandwidth 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 |