# 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_pgsql2 # mod_auth_pgsql2/Makefile # mod_auth_pgsql2/distinfo # mod_auth_pgsql2/pkg-descr # mod_auth_pgsql2/pkg-plist # echo c - mod_auth_pgsql2 mkdir -p mod_auth_pgsql2 > /dev/null 2>&1 echo x - mod_auth_pgsql2/Makefile sed 's/^X//' >mod_auth_pgsql2/Makefile << 'END-of-mod_auth_pgsql2/Makefile' X# New ports collection makefile for: mod_auth_pgsql2 X# Date created: Mon Oct 6 X# Whom: Clement Laforet X# X# $FreeBSD$ X XPORTNAME= mod_auth_pgsql XPORTVERSION= 2.0.2b1 XCATEGORIES= www XMASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/ X XMAINTAINER= sheeepkiller@cultdeadsheep.org XCOMMENT= Allows users to use PostgreSQL databases for user authentication X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2 XRUN_DEPENDS= ${BUILD_DEPENDS} XLIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7 X XAPXS?= ${LOCALBASE}/sbin/apxs XPG_INC?= ${LOCALBASE}/include XPG_LIBS?= ${LOCALBASE}/lib -lpq X Xdo-build: X @(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -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}/mod_auth_pgsql.html ${DOCSDIR} X.endif X X.include END-of-mod_auth_pgsql2/Makefile echo x - mod_auth_pgsql2/distinfo sed 's/^X//' >mod_auth_pgsql2/distinfo << 'END-of-mod_auth_pgsql2/distinfo' XMD5 (mod_auth_pgsql-2.0.2b1.tar.gz) = 8216fde4597c288537ff4fec508a4b41 END-of-mod_auth_pgsql2/distinfo echo x - mod_auth_pgsql2/pkg-descr sed 's/^X//' >mod_auth_pgsql2/pkg-descr << 'END-of-mod_auth_pgsql2/pkg-descr' XThis add-on module allows the apache web server to use a PostgreSQL Xdatabase for user and/or group authentication. For large user lists this Xcan offer a significate speed up over apache's standard flat file Xformat. X XWWW: http://www.giuseppetanzilli.it/mod_auth_pgsql2/ END-of-mod_auth_pgsql2/pkg-descr echo x - mod_auth_pgsql2/pkg-plist sed 's/^X//' >mod_auth_pgsql2/pkg-plist << 'END-of-mod_auth_pgsql2/pkg-plist' Xlibexec/apache2/mod_auth_pgsql.so X@exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f X%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf." END-of-mod_auth_pgsql2/pkg-plist exit