mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add mod_auth_pgsql 2.0.2b1, an Apache 2 module for authentication
against PostgreSQL databases. PR: 57655 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
This commit is contained in:
parent
4bd57c285c
commit
05bc554ce4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90511
5 changed files with 46 additions and 0 deletions
|
@ -191,6 +191,7 @@
|
|||
SUBDIR += mod_auth_mysql_another
|
||||
SUBDIR += mod_auth_pam
|
||||
SUBDIR += mod_auth_pgsql
|
||||
SUBDIR += mod_auth_pgsql2
|
||||
SUBDIR += mod_auth_pwcheck
|
||||
SUBDIR += mod_backhand
|
||||
SUBDIR += mod_bandwidth
|
||||
|
|
33
www/mod_auth_pgsql2/Makefile
Normal file
33
www/mod_auth_pgsql2/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
# New ports collection makefile for: mod_auth_pgsql2
|
||||
# Date created: Mon Oct 6
|
||||
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mod_auth_pgsql
|
||||
PORTVERSION= 2.0.2b1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.giuseppetanzilli.it/mod_auth_pgsql2/dist/
|
||||
|
||||
MAINTAINER= sheeepkiller@cultdeadsheep.org
|
||||
COMMENT= Allows users to use PostgreSQL databases for user authentication
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
|
||||
|
||||
APXS?= ${LOCALBASE}/sbin/apxs
|
||||
PG_INC?= ${LOCALBASE}/include
|
||||
PG_LIBS?= ${LOCALBASE}/lib -lpq
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKSRC} && ${APXS} -I ${PG_INC} -L ${PG_LIBS} -c ${PORTNAME}.c)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/mod_auth_pgsql.html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_auth_pgsql2/distinfo
Normal file
1
www/mod_auth_pgsql2/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mod_auth_pgsql-2.0.2b1.tar.gz) = 8216fde4597c288537ff4fec508a4b41
|
6
www/mod_auth_pgsql2/pkg-descr
Normal file
6
www/mod_auth_pgsql2/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
This add-on module allows the apache web server to use a PostgreSQL
|
||||
database for user and/or group authentication. For large user lists this
|
||||
can offer a significate speed up over apache's standard flat file
|
||||
format.
|
||||
|
||||
WWW: http://www.giuseppetanzilli.it/mod_auth_pgsql2/
|
5
www/mod_auth_pgsql2/pkg-plist
Normal file
5
www/mod_auth_pgsql2/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
|||
libexec/apache2/mod_auth_pgsql.so
|
||||
@exec %D/sbin/apxs -e -a -n auth_pgsql %D/%f
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mod_auth_pgsql.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@unexec echo "===> If you do not plan on reinstalling mod_auth_pgsql, you must manually remove"; echo "===> references to it in httpd.conf."
|
Loading…
Add table
Reference in a new issue