Date: Mon, 6 Oct 2003 19:37:22 +0200 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/57654: [new port] www/mod_auth_pam2: Apache 2.0.x authentication module which supports PAM. Message-ID: <20031006173722.ACD9443FE0@mx1.FreeBSD.org> Resent-Message-ID: <200310061740.h96HeEAi058148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57654 >Category: ports >Synopsis: [new port] www/mod_auth_pam2: Apache 2.0.x authentication module which supports PAM. >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:40:14 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: The PAM authentication module implements Basic authentication on top of the Pluggable Authentication Module library. Thereby it supports whatever authentication method your PAM subsystem has specific support installed & configured for. WWW: http://pam.sourceforge.net/mod_auth_pam/ >How-To-Repeat: N/A. >Fix: --- mod_auth_pam2.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_pam2 # mod_auth_pam2/Makefile # mod_auth_pam2/distinfo # mod_auth_pam2/pkg-descr # mod_auth_pam2/pkg-plist # mod_auth_pam2/files # mod_auth_pam2/files/patch-Makefile # echo c - mod_auth_pam2 mkdir -p mod_auth_pam2 > /dev/null 2>&1 echo x - mod_auth_pam2/Makefile sed 's/^X//' >mod_auth_pam2/Makefile << 'END-of-mod_auth_pam2/Makefile' X# New ports collection makefile for: mod_auth_pam2 X# Date created: Sun Oct 5 X# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> X# X# $FreeBSD$ X# X XPORTNAME= mod_auth_pam XPORTVERSION= 1.1.1 XCATEGORIES= www XMASTER_SITES= http://pam.sourceforge.net/mod_auth_pam/dist/ XDISTNAME= ${PORTNAME}-2.0-${PORTVERSION} X XMAINTAINER= sheepkiller@cotds.org XCOMMENT= Allows users to use PAM modules for user authentication X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 XRUN_DEPENDS= ${BUILD_DEPENDS} X XLATEST_LINK= mod_auth_pam2 X XUSE_GMAKE= YES XMAKE_ENV+= APXS=${APXS} XWRKSRC= ${WRKDIR}/${PORTNAME} XAPXS?= ${LOCALBASE}/sbin/apxs X Xpost-install: X ${MKDIR} ${EXAMPLESDIR} X ${INSTALL_DATA} ${WRKSRC}/samples/httpd ${EXAMPLESDIR}/pam-httpd.sample X X.include <bsd.port.mk> END-of-mod_auth_pam2/Makefile echo x - mod_auth_pam2/distinfo sed 's/^X//' >mod_auth_pam2/distinfo << 'END-of-mod_auth_pam2/distinfo' XMD5 (mod_auth_pam-2.0-1.1.1.tar.gz) = ab873520ddd2fee7d480dfd53e464e0a END-of-mod_auth_pam2/distinfo echo x - mod_auth_pam2/pkg-descr sed 's/^X//' >mod_auth_pam2/pkg-descr << 'END-of-mod_auth_pam2/pkg-descr' XThe PAM authentication module implements Basic authentication on top of the XPluggable Authentication Module library. Thereby it supports whatever Xauthentication method your PAM subsystem has specific support installed & Xconfigured for. X XWWW: http://pam.sourceforge.net/mod_auth_pam/ END-of-mod_auth_pam2/pkg-descr echo x - mod_auth_pam2/pkg-plist sed 's/^X//' >mod_auth_pam2/pkg-plist << 'END-of-mod_auth_pam2/pkg-plist' Xlibexec/apache2/mod_auth_pam.so X@exec %D/sbin/apxs -e -A -n auth_pam %D/%f Xlibexec/apache2/mod_auth_sys_group.so X@exec %D/sbin/apxs -e -A -n auth_sys_group %D/%f X%%EXAMPLESDIR%%/pam-httpd.sample X@dirrm %%EXAMPLESDIR%% X@unexec echo "===> If you do not plan on reinstalling mod_auth_pam, you must manually remove"; echo "===> references to it in httpd.conf." END-of-mod_auth_pam2/pkg-plist echo c - mod_auth_pam2/files mkdir -p mod_auth_pam2/files > /dev/null 2>&1 echo x - mod_auth_pam2/files/patch-Makefile sed 's/^X//' >mod_auth_pam2/files/patch-Makefile << 'END-of-mod_auth_pam2/files/patch-Makefile' X--- Makefile.orig Sat Aug 24 15:33:12 2002 X+++ Makefile Sun Oct 5 20:41:52 2003 X@@ -1,5 +1,4 @@ X LIBS=-lpam X-APXS=apxs X # try this, if you're not root and apxs is in the standard place X #APXS=/usr/sbin/apxs X X@@ -14,8 +13,7 @@ X $(APXS) -c $< $(LIBS) X X install: $(TARGETS) X- $(APXS) -i $(TARGETS) X- [ -d /etc/pam.d/ -a ! -f /etc/pam.d/httpd ] && install -m 644 -o root -g root samples/httpd /etc/pam.d/ X+ $(APXS) -i -A $(TARGETS) X X clean: X -rm -f $(TARGETS) *~ $(SOURCES:.c=.slo) $(SOURCES:.c=.lo) $(SOURCES:.c=.so) $(SOURCES:.c=.o) END-of-mod_auth_pam2/files/patch-Makefile exit --- mod_auth_pam2.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?20031006173722.ACD9443FE0>