head	1.31;
access;
symbols
	RELEASE_9_0_0:1.30
	RELEASE_7_4_0:1.26
	RELEASE_8_2_0:1.26
	RELEASE_6_EOL:1.26
	RELEASE_8_1_0:1.26
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.23
	RELEASE_7_1_0:1.21
	RELEASE_6_4_0:1.21
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.19
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.16
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.13
	RELEASE_5_2_0:1.13
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.12
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.6
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.31
date	2012.01.01.19.30.41;	author ohauer;	state dead;
branches;
next	1.30;

1.30
date	2011.11.02.03.43.33;	author pgollucci;	state Exp;
branches;
next	1.29;

1.29
date	2011.09.07.03.00.39;	author pgollucci;	state Exp;
branches;
next	1.28;

1.28
date	2011.08.27.09.54.32;	author ohauer;	state Exp;
branches;
next	1.27;

1.27
date	2011.08.20.19.00.06;	author ohauer;	state Exp;
branches;
next	1.26;

1.26
date	2010.06.07.04.03.40;	author pgollucci;	state Exp;
branches;
next	1.25;

1.25
date	2010.05.25.20.17.28;	author pgollucci;	state Exp;
branches;
next	1.24;

1.24
date	2009.05.17.07.24.27;	author pgollucci;	state Exp;
branches;
next	1.23;

1.23
date	2009.04.13.02.27.07;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2008.12.27.21.15.29;	author pgollucci;	state Exp;
branches;
next	1.21;

1.21
date	2008.06.06.14.07.01;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2006.12.13.16.14.16;	author linimon;	state Exp;
branches;
next	1.19;

1.19
date	2005.09.19.11.52.12;	author clement;	state Exp;
branches;
next	1.18;

1.18
date	2005.08.07.04.45.50;	author lawrance;	state Exp;
branches;
next	1.17;

1.17
date	2005.07.23.02.53.37;	author kris;	state Exp;
branches;
next	1.16;

1.16
date	2005.02.28.01.06.32;	author kris;	state Exp;
branches;
next	1.15;

1.15
date	2005.01.31.00.35.54;	author girgen;	state Exp;
branches;
next	1.14;

1.14
date	2004.02.04.05.09.30;	author marcus;	state Exp;
branches;
next	1.13;

1.13
date	2003.11.07.09.12.50;	author marcus;	state Exp;
branches;
next	1.12;

1.12
date	2003.03.07.06.12.42;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2003.01.18.22.38.32;	author seanc;	state Exp;
branches;
next	1.10;

1.10
date	2003.01.15.12.29.37;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.10.16.48.24;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2002.11.06.22.47.17;	author adamw;	state Exp;
branches;
next	1.7;

1.7
date	2002.09.09.18.30.05;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2002.01.12.19.43.01;	author mi;	state Exp;
branches;
next	1.5;

1.5
date	2002.01.05.10.17.43;	author pat;	state Exp;
branches;
next	1.4;

1.4
date	2001.10.02.12.00.34;	author mi;	state Exp;
branches;
next	1.3;

1.3
date	2001.10.02.11.33.49;	author mi;	state Exp;
branches;
next	1.2;

1.2
date	2001.04.21.11.43.04;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.13.01.29.38;	author jeh;	state Exp;
branches;
next	;


desc
@@


1.31
log
@- remove apache13 and ports depending on apache13 from portstree
  ( EXPIRATION_DATE=2012-01-01 )

with hat apache@@
@
text
@# New ports collection makefile for:    apache mod_auth_pgsql
# Date created:		2000/11/10
# Whom:			Mikhail Teterin <mi@@aldan.algebra.com>
#
# $FreeBSD: ports/www/mod_auth_pgsql/Makefile,v 1.30 2011/11/02 03:43:33 pgollucci Exp $

PORTNAME=	mod_auth_pgsql
PORTVERSION=	0.9.12
PORTREVISION=	4
CATEGORIES=	www
MASTER_SITES=	http://www.giuseppetanzilli.it/${PORTNAME}/dist/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Allows users to use PostgreSQL databases for user authentication

DEPRECATED=	apache13 is deprecated, migrate to 2.2.x+ now
EXPIRATION_DATE=	2012-01-01

MAKE_JOBS_SAFE=  yes

USE_DOS2UNIX=	${PORTNAME}.html

USE_PGSQL=	yes
USE_APACHE=	13

AP_FAST_BUILD=	yes
AP_GENPLIST=	yes
AP_INC=	${LOCALBASE}/include
AP_LIB=	${LOCALBASE}/lib -lpq

PORTDOCS=	README index.html

post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}/index.html
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.30
log
@- sync apache13 related EXPIRATION_DATE

With Hat:	apache@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.29
log
@- Set EXPIRATION_DATE to an actual date (9.0 is behind, so guess 2 months from now).
- This can be changed later as needed, if at all, either way we won't remove them
  until after 9.0 is released.

With Hat:   apache@@
Reported by:    dvl via freshports
@
text
@d18 1
a18 1
EXPIRATION_DATE=	2011-11-01
@


1.28
log
@- set EXPIRATION_DATE to "one week after FreeBSD 9.0-RELEASE-p0"

with hat apache@@
@
text
@d18 1
a18 1
EXPIRATION_DATE=	one week after FreeBSD 9.0-RELEASE-p0
@


1.27
log
@- USE_APACHE=  /1.3/13/  /2.0/20/ /2.2/22/
@
text
@d17 3
@


1.26
log
@- Covnert to AP_FAST_BUILD / AP_GENPLIST
@
text
@d22 1
a22 1
USE_APACHE=	1.3
@


1.25
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d24 4
a27 5
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pgsql=${PREFIX} \
		--with-apxs=${APXS}
@


1.24
log
@- Mark SAFE apache@@ ports MAKE_JOBS_SAFE=yes
@
text
@d12 1
@


1.23
log
@Massive cleanup
- APACHE_COMPAT is deprecated
- Use DOS2UNIX
- Kill AP_* garbage
- Use PORTDOCS var
@
text
@d16 2
@


1.22
log
@Unmaintained www/mod_* ports over to apache@@ maintainer
mod_$lang excluded

Approved by:    portmgr (erwin)
@
text
@d11 1
a11 1
MASTER_SITES=	http://www.giuseppetanzilli.it/mod_auth_pgsql/dist/
d16 1
a16 2
BUILD_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS=	${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/${APACHE_PORT}
d19 1
a19 1
APACHE_COMPAT=	yes
a22 18
.include <bsd.port.pre.mk>

.if exists(${APXS})
APXS_WORKS!=	${APXS} -q TARGET 2>/dev/null || echo no
.endif
.if exists(${APXS}) && ${APXS_WORKS} != no
AP_TARGET!=	${APXS} -q TARGET
AP_SYSCONF!=	${APXS} -q SYSCONFDIR
AP_INCLUDE!=	${APXS} -q INCLUDEDIR
AP_LIBEXEC!=	${APXS} -q LIBEXECDIR
CFLAGS:=	`${APXS} -q CFLAGS` ${CFLAGS}
.else
AP_TARGET?=	httpd
AP_SYSCONF?=	${PREFIX}/etc/apache
AP_INCLUDE?=	${PREFIX}/include/apache
AP_LIBEXEC?=	${PREFIX}/libexec/apache
.endif

d27 2
d31 3
a33 9
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README \
		${DOCSDIR}
	${TR} -d \\015 < ${WRKSRC}/mod_auth_pgsql.html \
		> ${DOCSDIR}/index.html
	${CHMOD} ${SHAREMODE} \
		${DOCSDIR}/index.html
	${CHOWN} ${SHAREOWN}:${SHAREGRP} \
		${DOCSDIR}/index.html
d37 1
a37 1
.include <bsd.port.post.mk>
@


1.21
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
@


1.20
log
@Reset seanc@@FreeBSD.or due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTREVISION=	3
@


1.19
log
@- Define APACHE_COMPAT
  It fixed INDEX build with next exp-build patchset and prepare a smooth
  migration to bsd.apache.mk
  It's a no-op for now.

Approved by:	portmgr (self)
@
text
@d13 1
a13 1
MAINTAINER=	seanc@@FreeBSD.org
@


1.18
log
@Unbreak and fix plist.
Use DOCSDIR.
Use default DOCSDIR location.

Approved by:	portmgr (linimon)
@
text
@d20 1
@


1.17
log
@This port is scheduled for deletion on 2005-09-22 if it is still broken
at that time and no PRs have been submitted to fix it.
@
text
@a18 4
BROKEN=		Incomplete pkg-plist
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2005-09-22

a40 4
AUTH_PGSQL_DOCS=	apache/manual/mod/mod_auth_pgsql

PLIST_SUB+=	AUTH_PGSQL_DOCS="${AUTH_PGSQL_DOCS}"

d47 1
a47 1
	@@${MKDIR} ${PREFIX}/share/doc/${AUTH_PGSQL_DOCS}
d49 1
a49 1
		${PREFIX}/share/doc/${AUTH_PGSQL_DOCS}/
d51 1
a51 1
		> ${PREFIX}/share/doc/${AUTH_PGSQL_DOCS}/index.html
d53 1
a53 1
		${PREFIX}/share/doc/${AUTH_PGSQL_DOCS}/index.html
d55 1
a55 2
		${PREFIX}/share/doc/${AUTH_PGSQL_DOCS}/index.html
	${LN} -sf ${AUTH_PGSQL_DOCS} ${PREFIX}/share/doc/
@


1.16
log
@BROKEN: Incomplete pkg-plist
@
text
@d20 2
@


1.15
log
@Split the postgresql ports into a server and a client part.

All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@@ (kris), ade & sean (mentors)
@
text
@d19 2
@


1.14
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 1
PORTREVISION=	2
d18 2
a19 1
LIB_DEPENDS=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
a24 2
POSTGRESQL_PORT?=	databases/postgresql7

@


1.13
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.12
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d16 2
a17 2
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${LOCALBASE}/sbin/${AP_TARGET}:${APACHE_PORT}
a23 3
APXS?=		${LOCALBASE}/sbin/apxs
AP_PORT?=	apache13
APACHE_PORT?=	${PORTSDIR}/www/${AP_PORT}
@


1.11
log
@Add dependency on libpq.3 and POSTGRESQL_PORT tunable.  Grab
maintainership of ports while I'm here.
@
text
@d14 1
@


1.10
log
@libpq.so.3 is it these days

PR:		ports/47094
Submitted by:	Igor Roboul <igorr@@speechpro.com>
@
text
@d9 1
d13 1
a13 1
MAINTAINER=	ports@@freebsd.org
d17 1
a17 1
LIB_DEPENDS=	pq.3:${PORTSDIR}/databases/postgresql7
d26 1
@


1.9
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d16 1
a16 1
LIB_DEPENDS=	pq.2:${PORTSDIR}/databases/postgresql7
@


1.8
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a13 2
PORTCOMMENT=	Allows users to use PostgreSQL databases for user authentication

@


1.7
log
@support appache13-modssl by defining APACHE_PORT in /etc/make.conf
others variants of the apache ports can be used too.
@
text
@d14 2
@


1.6
log
@Update from 0.9.11 to 0.9.12. From the Changelog:
    [...]
    0.9.12    2002-01-11 (Giuseppe Tanzilli <info@@giuseppetanzilli.it>)
                   - small fix for Auth_PG_uppercase_uid/Auth_PG_lowercase_uid
                   - added Auth_PG_pwd_ignore_case option
@
text
@d14 2
a15 2
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT}
RUN_DEPENDS=	${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT}
d22 3
a24 1
APXS=		${LOCALBASE}/sbin/apxs
a25 1
AP_PORT?=	apache13
@


1.5
log
@Update to 0.9.11 which fixes security hole

PR:		33524
Submitted by:	Sean Chittenden <sean@@chittenden.org>
@
text
@d8 1
a8 1
PORTVERSION=	0.9.11
@


1.4
log
@Replace my ancient manual NOPORTDOCS handling with the standard procedure.
Add WWW to the pkg-descr (http://www.giuseppetanzilli.it/mod_auth_pgsql/).
Create the pkg-message with the warning regarding upgrading -- some module
specific commands were change (like Auth_PGdatabase -> Auth_PG_database).

No PORTREVISION bump -- no binaries changed. No chance, the package was
already rebuilt :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_auth_pgsql/Makefile,v 1.3 2001/10/02 11:33:49 mi Exp $
d8 1
a8 1
PORTVERSION=	0.9.9
@


1.3
log
@Upgrade to 0.9.9 -- closes a security hole:

	http://cert.uni-stuttgart.de/advisories/apache_auth.php

Release maintainership.

Submitted by:	KANAI Yasunori
Reminded by: 	Mike Harding
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_auth_pgsql/Makefile,v 1.2 2001/04/21 11:43:04 vanilla Exp $
a44 2
PKGMESSAGE=	${WRKSRC}/.install_notes

d49 1
a50 2
PLIST_SUB+=	DOC=''
post-install:
a60 2
.else
PLIST_SUB+=	DOC='@@comment '
d62 1
@


1.2
log
@Fix include directory for postgresql7.1's new layout.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/mod_auth_pgsql/Makefile,v 1.1 2001/01/13 01:29:38 jeh Exp $
d8 1
a8 2
PORTVERSION=	0.9.5a
PORTREVISION=	1
d10 1
a10 1
MASTER_SITES=	ftp://ftp.eurolink.it/pub/linux/postgreSQL/mod_auth_pgsql/
d12 1
a12 1
MAINTAINER=	mi@@aldan.algebra.com
@


1.1
log
@New Port: www/mod_auth_pgsql
Functionally equivalent to the mod_auth_mysql, but uses
PostgreSQL database as a back-end.

PR:		22757
Submitted by:	Mikhail Teterin <mi@@aldan.algebra.com>
@
text
@d5 1
a5 1
# $FreeBSD$
d9 1
d15 3
a17 4
BUILD_DEPENDS=	${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${AP_PORT} \
	${LOCALBASE}/pgsql/lib/libpq.so:${PORTSDIR}/databases/postgresql7
RUN_DEPENDS=	${LOCALBASE}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT} \
	${LOCALBASE}/pgsql/lib/libpq.so:${PORTSDIR}/databases/postgresql7
d49 1
a49 1
CONFIGURE_ARGS=	--with-pgsql=${PREFIX}/pgsql \
@

