Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  6 Oct 2003 19:42:30 +0200
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/57656: [new port] www/mod_auth_remote: Allows users to authenticate on a remote web server (apache 2.0.x)
Message-ID:  <20031006174228.18B6643FE3@mx1.FreeBSD.org>
Resent-Message-ID: <200310061750.h96HoK9G058633@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57656
>Category:       ports
>Synopsis:       [new port] www/mod_auth_remote: Allows users to authenticate on a remote web server (apache 2.0.x)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 06 10:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org 
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	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/

>How-To-Repeat:
	N/A.
>Fix:

	

--- mod_auth_remote.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mod_auth_remote
#	mod_auth_remote/pkg-descr
#	mod_auth_remote/Makefile
#	mod_auth_remote/pkg-plist
#	mod_auth_remote/distinfo
#
echo c - mod_auth_remote
mkdir -p mod_auth_remote > /dev/null 2>&1
echo x - mod_auth_remote/pkg-descr
sed 's/^X//' >mod_auth_remote/pkg-descr << 'END-of-mod_auth_remote/pkg-descr'
Xmod_auth_remote allows you to authenticate users on one (or more) remote web 
Xserver(s), using basic HTTP authentication.
XWhen a request comes in, mod_auth_remote obtains the client username &
Xpassword from the client via basic authentication scheme.
XIt then builds a HTTP header with authorization header built from the client's
Xuserid:passwd. mod_auth_remote then makes a HEAD request to the authentication
Xserver. On reciept of a 2XX response, the client is validated; for all other
Xresponses the client is not validated.
X
XWWW: http://puggy.symonds.net/~srp/stuff/
END-of-mod_auth_remote/pkg-descr
echo x - mod_auth_remote/Makefile
sed 's/^X//' >mod_auth_remote/Makefile << 'END-of-mod_auth_remote/Makefile'
X# New ports collection makefile for:	mod_auth_remote
X# Date created:				Sun Oct  5
X# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mod_auth_remote
XPORTVERSION=	0.1
XCATEGORIES=	www
XMASTER_SITES=	http://sheepkiller.nerim.net/ports/${PORTNAME}/
X# Original location is here: http://puggy.symonds.net/~srp/stuff/
X
XMAINTAINER=	sheepkiller@cultdeadsheep.org
XCOMMENT=	Allows users to authenticate on a remote web server
X
XBUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XAPXS?=		${LOCALBASE}/sbin/apxs
X
Xdo-build:
X	@(cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c)
X
Xdo-install:
X	@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mod_auth_remote/Makefile
echo x - mod_auth_remote/pkg-plist
sed 's/^X//' >mod_auth_remote/pkg-plist << 'END-of-mod_auth_remote/pkg-plist'
Xlibexec/apache2/mod_auth_remote.so
X@exec %D/sbin/apxs -e -a -n auth_remote %D/%f
X%%PORTDOCS%%%%DOCSDIR%%/readme.txt
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@unexec echo "===>  If you do not plan on reinstalling mod_auth_remote, you must manually remove"; echo "===>  references to it in httpd.conf."
END-of-mod_auth_remote/pkg-plist
echo x - mod_auth_remote/distinfo
sed 's/^X//' >mod_auth_remote/distinfo << 'END-of-mod_auth_remote/distinfo'
XMD5 (mod_auth_remote-0.1.tar.gz) = 2086ef91061f2b0539c133c8c4318595
END-of-mod_auth_remote/distinfo
exit
--- mod_auth_remote.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031006174228.18B6643FE3>