head	1.14;
access;
symbols
	pkgsrc-2013Q2:1.14.0.44
	pkgsrc-2013Q2-base:1.14
	pkgsrc-2012Q4:1.14.0.42
	pkgsrc-2012Q4-base:1.14
	pkgsrc-2011Q4:1.14.0.40
	pkgsrc-2011Q4-base:1.14
	pkgsrc-2011Q2:1.14.0.38
	pkgsrc-2011Q2-base:1.14
	pkgsrc-2009Q4:1.14.0.36
	pkgsrc-2009Q4-base:1.14
	pkgsrc-2008Q4:1.14.0.34
	pkgsrc-2008Q4-base:1.14
	pkgsrc-2008Q3:1.14.0.32
	pkgsrc-2008Q3-base:1.14
	cube-native-xorg:1.14.0.30
	cube-native-xorg-base:1.14
	pkgsrc-2008Q2:1.14.0.28
	pkgsrc-2008Q2-base:1.14
	pkgsrc-2008Q1:1.14.0.26
	pkgsrc-2008Q1-base:1.14
	pkgsrc-2007Q4:1.14.0.24
	pkgsrc-2007Q4-base:1.14
	pkgsrc-2007Q3:1.14.0.22
	pkgsrc-2007Q3-base:1.14
	pkgsrc-2007Q2:1.14.0.20
	pkgsrc-2007Q2-base:1.14
	pkgsrc-2007Q1:1.14.0.18
	pkgsrc-2007Q1-base:1.14
	pkgsrc-2006Q4:1.14.0.16
	pkgsrc-2006Q4-base:1.14
	pkgsrc-2006Q3:1.14.0.14
	pkgsrc-2006Q3-base:1.14
	pkgsrc-2006Q2:1.14.0.12
	pkgsrc-2006Q2-base:1.14
	pkgsrc-2006Q1:1.14.0.10
	pkgsrc-2006Q1-base:1.14
	pkgsrc-2005Q4:1.14.0.8
	pkgsrc-2005Q4-base:1.14
	pkgsrc-2005Q3:1.14.0.6
	pkgsrc-2005Q3-base:1.14
	pkgsrc-2005Q2:1.14.0.4
	pkgsrc-2005Q2-base:1.14
	pkgsrc-2005Q1:1.14.0.2
	pkgsrc-2005Q1-base:1.14
	pkgsrc-2004Q4:1.11.0.4
	pkgsrc-2004Q4-base:1.11
	pkgsrc-2004Q3:1.11.0.2
	pkgsrc-2004Q3-base:1.11
	pkgsrc-2004Q2:1.8.0.4
	pkgsrc-2004Q2-base:1.8
	pkgsrc-2004Q1:1.8.0.2
	pkgsrc-2004Q1-base:1.8
	pkgsrc-2003Q4:1.5.0.4
	pkgsrc-2003Q4-base:1.5
	netbsd-1-6-1:1.5.0.2
	netbsd-1-6-1-base:1.5
	netbsd-1-6:1.2.0.8
	netbsd-1-6-RELEASE-base:1.2
	pkgviews:1.2.0.4
	pkgviews-base:1.2
	buildlink2:1.2.0.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH003:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2005.02.21.22.10.34;	author jlam;	state dead;
branches;
next	1.13;

1.13
date	2005.02.13.20.44.27;	author zuntum;	state Exp;
branches;
next	1.12;

1.12
date	2005.02.07.11.35.44;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2004.07.24.22.45.15;	author recht;	state Exp;
branches;
next	1.10;

1.10
date	2004.07.14.21.43.48;	author jlam;	state Exp;
branches;
next	1.9;

1.9
date	2004.07.14.21.33.11;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2004.03.26.02.27.43;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2004.03.11.16.45.26;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.21.14.43.16;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2003.01.28.22.03.29;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2003.01.05.20.14.30;	author jlam;	state Exp;
branches;
next	1.3;

1.3
date	2002.10.08.23.16.00;	author jlam;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.27.23.47.09;	author jlam;	state Exp;
branches;
next	1.1;

1.1
date	2002.01.27.22.39.56;	author jlam;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.01.27.22.39.56;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Remove the following packages from the "mail" category which were
obsoleted by the security/courier-authlib package:

    courier-auth, courier-authldap, courier-authmysql, courier-authpgsql
@
text
@# $NetBSD: Makefile,v 1.13 2005/02/13 20:44:27 zuntum Exp $

PKGNAME=	courier-authpgsql-${BASE_VERS}
COMMENT=	Courier PostgreSQL authentication module

DEPENDS+=	courier-auth-${BASE_VERS}{,nb*}:../../mail/courier-auth

PKG_OPTIONS_VAR=	PKG_OPTIONS.courier-authpgsql

.include "../courier-auth/Makefile.authdaemond"

USE_PKGINSTALL=		yes
INSTALL_EXTRA_TMPL=	${.CURDIR}/../courier-auth/INSTALL

CONFIGURE_ARGS+=	--with-authpgsql
CONFIGURE_ARGS+=	--with-pgsql-includes=${PGSQL_PREFIX}/include/postgresql
CONFIGURE_ARGS+=	--with-pgsql-libs=${PGSQL_PREFIX}/lib

GEN_FILES=		authpgsqlrc
FILES_SUBST+=		GEN_FILES=${GEN_FILES:Q}

CONF_FILES_PERMS=	# empty
.for FILE in ${GEN_FILES}
CONF_FILES_PERMS+=	${EGDIR}/${FILE}.dist ${PKG_SYSCONFDIR}/${FILE}	\
			${ROOT_USER} ${ROOT_GROUP} 0600
.endfor

.include "../../mk/pgsql.buildlink3.mk"

post-build:
	cd ${WRKSRC}/authlib;						\
	${SED}	-e "s,mysql,pgsql,g"					\
		-e "s,MYSQL,PGSQL,g"					\
		-e "s,MySQL,PostgreSQL,g"				\
		README.authmysql.html > README.authpgsql.html
	for file in README.authpostgres.html; do			\
		${SED}	-e "s,mysql,pgsql,g"				\
			$$file > $$file.new;				\
		${MV} -f $$file.new $$file;				\
	done

do-install:
	${INSTALL_PROGRAM_DIR} ${AUTHLIBDIR}
	${INSTALL_PROGRAM} ${WRKSRC}/authlib/authdaemond.pgsql ${AUTHLIBDIR}
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/authlib/authpgsqlrc ${EGDIR}/authpgsqlrc.dist
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/authlib/README.authpgsql.html ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/authlib/README.authpostgres.html ${DOCDIR}

.include "../../mk/bsd.pkg.mk"
@


1.13
log
@Fix typo:
	PKG_OPTION_VAR -> PKG_OPTIONS_VAR
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2005/02/07 11:35:44 jlam Exp $
@


1.12
log
@Instantly deprecate USE_PAM from pkgsrc as its value is being set from
within NetBSD-current's bsd.own.mk, which conflicts with its usage in
pkgsrc.  The package that use USE_PAM have been converted to use the
bsd.options.mk framework.  This should fix PR pkg/29257.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2004/07/24 22:45:15 recht Exp $
d8 1
a8 1
PKG_OPTION_VAR=	PKG_OPTIONS.courier-authpgsql
@


1.11
log
@Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/07/14 21:43:48 jlam Exp $
d8 2
@


1.10
log
@The HTML documentation has been moved to ${PREFIX}/share/doc/courier.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2004/07/14 21:33:11 jlam Exp $
d14 2
a15 2
CONFIGURE_ARGS+=	--with-pgsql-includes=${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
CONFIGURE_ARGS+=	--with-pgsql-libs=${BUILDLINK_PREFIX.postgresql-lib}/lib
d26 1
a26 1
.include "../../databases/postgresql-lib/buildlink3.mk"
@


1.9
log
@Remove PKGREVISION after latest update to version 0.45.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/03/26 02:27:43 wiz Exp $
d34 5
d45 3
a47 2
	${INSTALL_DATA_DIR} ${HTMLDIR}
	${INSTALL_DATA} ${WRKSRC}/authlib/README.authpgsql.html ${HTMLDIR}
@


1.8
log
@PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/03/11 16:45:26 jlam Exp $
a3 1
PKGREVISION=	1
@


1.7
log
@Force the creation of directories before installing files in them, and
update the PLISTs to try removing these directories on deinstallation.
Also use ${HTMLDIR} to refer to the common location for courier HTML
documentation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/02/21 14:43:16 jlam Exp $
d4 1
@


1.6
log
@Update mail/courier-auth* packages to 0.44.2 from the courier-0.44.2
source distribution.  Changes from version 0.37.1 include fixing minor
bugs, plugging memory leaks, and improving documentation.  The
authentication daemons also have improved behaviour when idling.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/01/28 22:03:29 jlam Exp $
d36 1
d38 1
d40 2
a41 3
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/courier
	${INSTALL_DATA} ${WRKSRC}/authlib/README.authpgsql.html		\
		${PREFIX}/share/doc/html/courier
@


1.5
log
@Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/01/05 20:14:30 jlam Exp $
d3 2
a4 3
PKGNAME=		courier-authpgsql-${BASE_VERS}
PKGREVISION=		1
COMMENT=		Courier PostgreSQL authentication module
d6 1
a6 1
DEPENDS+=		courier-auth>=${BASE_VERS}:../../mail/courier-auth
d8 1
a8 1
.include "../../mail/courier-auth/Makefile.authdaemond"
d11 2
d18 2
d26 1
a26 2
INSTALL_EXTRA_TMPL=	${.CURDIR}/../../mail/courier-auth/INSTALL
FILES_SUBST+=		GEN_FILES=${GEN_FILES:Q}
a41 1
.include "../../databases/postgresql-lib/buildlink2.mk"
@


1.4
log
@Bump PKGREVISION due to increase in the major number of libpq.so between
version 7.2.3 and 7.3.1 of databases/postgresql-lib.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2002/10/08 23:16:00 jlam Exp $
d11 1
a40 1
.include "../../mk/bsd.pkg.install.mk"
@


1.3
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/01/27 23:47:09 jlam Exp $
d4 1
a4 1
PKGREVISION?=		# empty
d12 1
a12 1
CONFIGURE_ARGS+=	--with-pgsql-includes=${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
@


1.2
log
@Move dependency on courier-auth into the module Makefiles and use
Makefile.authdaemond to replace a lot of the complexity in
courier-auth/Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/01/27 22:39:56 jlam Exp $
a8 2
USE_BUILDLINK_ONLY=	yes

d12 2
a13 2
CONFIGURE_ARGS+=	--with-pgsql-includes=${BUILDLINK_DIR}/include/pgsql
CONFIGURE_ARGS+=	--with-pgsql-libs=${BUILDLINK_DIR}/lib
d39 1
a39 1
.include "../../databases/postgresql-lib/buildlink.mk"
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d3 5
a7 3
PKGNAME=	courier-authpgsql-${BASE_VERS}
PKGREVISION?=	# empty
COMMENT=	Courier PostgreSQL authentication module
@


1.1.1.1
log
@Initial import of mail/courier-authpgsql, which contains the Courier
authentication module that can authenticate against a list of mail accounts
stored in a PostgreSQL database.
@
text
@@
