mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
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>
This commit is contained in:
parent
d2534ef045
commit
94e7ae3a00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90606
5 changed files with 49 additions and 0 deletions
|
@ -194,6 +194,7 @@
|
|||
SUBDIR += mod_auth_pgsql
|
||||
SUBDIR += mod_auth_pgsql2
|
||||
SUBDIR += mod_auth_pwcheck
|
||||
SUBDIR += mod_auth_remote
|
||||
SUBDIR += mod_backhand
|
||||
SUBDIR += mod_bandwidth
|
||||
SUBDIR += mod_bf
|
||||
|
|
32
www/mod_auth_remote/Makefile
Normal file
32
www/mod_auth_remote/Makefile
Normal file
|
@ -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>
|
1
www/mod_auth_remote/distinfo
Normal file
1
www/mod_auth_remote/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mod_auth_remote-0.1.tar.gz) = 2086ef91061f2b0539c133c8c4318595
|
10
www/mod_auth_remote/pkg-descr
Normal file
10
www/mod_auth_remote/pkg-descr
Normal file
|
@ -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/
|
5
www/mod_auth_remote/pkg-plist
Normal file
5
www/mod_auth_remote/pkg-plist
Normal file
|
@ -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."
|
Loading…
Add table
Reference in a new issue