summaryrefslogtreecommitdiff
path: root/www/mod_auth_remote
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-10-08 10:32:04 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-10-08 10:32:04 +0000
commit94e7ae3a00b4e9f44cf5be7803d5b787c1a520be (patch)
treec25036dec948f68a60af4dbb64448241e3f02405 /www/mod_auth_remote
parentAdd slash to WWW tag. (diff)
Add mod_auth_remote 0.1 - an Apache module for authentication against
a remote web server/page. PR: 57656 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes: svn path=/head/; revision=90606
Diffstat (limited to 'www/mod_auth_remote')
-rw-r--r--www/mod_auth_remote/Makefile32
-rw-r--r--www/mod_auth_remote/distinfo1
-rw-r--r--www/mod_auth_remote/pkg-descr10
-rw-r--r--www/mod_auth_remote/pkg-plist5
4 files changed, 48 insertions, 0 deletions
diff --git a/www/mod_auth_remote/Makefile b/www/mod_auth_remote/Makefile
new file mode 100644
index 000000000000..e80ffe3f3dfa
--- /dev/null
+++ b/www/mod_auth_remote/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: mod_auth_remote
+# Date created: Sun Oct 5
+# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_auth_remote
+PORTVERSION= 0.1
+CATEGORIES= www
+MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
+# Original location is here: http://puggy.symonds.net/~srp/stuff/
+
+MAINTAINER= sheepkiller@cultdeadsheep.org
+COMMENT= Allows users to authenticate on a remote web server
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+APXS?= ${LOCALBASE}/sbin/apxs
+
+do-build:
+ @(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
+
+do-install:
+ @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/mod_auth_remote/distinfo b/www/mod_auth_remote/distinfo
new file mode 100644
index 000000000000..05826161a85f
--- /dev/null
+++ b/www/mod_auth_remote/distinfo
@@ -0,0 +1 @@
+MD5 (mod_auth_remote-0.1.tar.gz) = 2086ef91061f2b0539c133c8c4318595
diff --git a/www/mod_auth_remote/pkg-descr b/www/mod_auth_remote/pkg-descr
new file mode 100644
index 000000000000..a77aa3b365e5
--- /dev/null
+++ b/www/mod_auth_remote/pkg-descr
@@ -0,0 +1,10 @@
+mod_auth_remote allows you to authenticate users on one (or more) remote web
+server(s), using basic HTTP authentication.
+When a request comes in, mod_auth_remote obtains the client username &
+password from the client via basic authentication scheme.
+It then builds a HTTP header with authorization header built from the client's
+userid:passwd. mod_auth_remote then makes a HEAD request to the authentication
+server. On reciept of a 2XX response, the client is validated; for all other
+responses the client is not validated.
+
+WWW: http://puggy.symonds.net/~srp/stuff/
diff --git a/www/mod_auth_remote/pkg-plist b/www/mod_auth_remote/pkg-plist
new file mode 100644
index 000000000000..c69c83c731d2
--- /dev/null
+++ b/www/mod_auth_remote/pkg-plist
@@ -0,0 +1,5 @@
+libexec/apache2/mod_auth_remote.so
+@exec %D/sbin/apxs -e -a -n auth_remote %D/%f
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@unexec echo "===> If you do not plan on reinstalling mod_auth_remote, you must manually remove"; echo "===> references to it in httpd.conf."