head	1.16;
access;
symbols
	pkgsrc-2013Q2:1.16.0.44
	pkgsrc-2013Q2-base:1.16
	pkgsrc-2012Q4:1.16.0.42
	pkgsrc-2012Q4-base:1.16
	pkgsrc-2011Q4:1.16.0.40
	pkgsrc-2011Q4-base:1.16
	pkgsrc-2011Q2:1.16.0.38
	pkgsrc-2011Q2-base:1.16
	pkgsrc-2009Q4:1.16.0.36
	pkgsrc-2009Q4-base:1.16
	pkgsrc-2008Q4:1.16.0.34
	pkgsrc-2008Q4-base:1.16
	pkgsrc-2008Q3:1.16.0.32
	pkgsrc-2008Q3-base:1.16
	cube-native-xorg:1.16.0.30
	cube-native-xorg-base:1.16
	pkgsrc-2008Q2:1.16.0.28
	pkgsrc-2008Q2-base:1.16
	pkgsrc-2008Q1:1.16.0.26
	pkgsrc-2008Q1-base:1.16
	pkgsrc-2007Q4:1.16.0.24
	pkgsrc-2007Q4-base:1.16
	pkgsrc-2007Q3:1.16.0.22
	pkgsrc-2007Q3-base:1.16
	pkgsrc-2007Q2:1.16.0.20
	pkgsrc-2007Q2-base:1.16
	pkgsrc-2007Q1:1.16.0.18
	pkgsrc-2007Q1-base:1.16
	pkgsrc-2006Q4:1.16.0.16
	pkgsrc-2006Q4-base:1.16
	pkgsrc-2006Q3:1.16.0.14
	pkgsrc-2006Q3-base:1.16
	pkgsrc-2006Q2:1.16.0.12
	pkgsrc-2006Q2-base:1.16
	pkgsrc-2006Q1:1.16.0.10
	pkgsrc-2006Q1-base:1.16
	pkgsrc-2005Q4:1.16.0.8
	pkgsrc-2005Q4-base:1.16
	pkgsrc-2005Q3:1.16.0.6
	pkgsrc-2005Q3-base:1.16
	pkgsrc-2005Q2:1.16.0.4
	pkgsrc-2005Q2-base:1.16
	pkgsrc-2005Q1:1.16.0.2
	pkgsrc-2005Q1-base:1.16
	pkgsrc-2004Q4:1.13.0.4
	pkgsrc-2004Q4-base:1.13
	pkgsrc-2004Q3:1.13.0.2
	pkgsrc-2004Q3-base:1.13
	pkgsrc-2004Q2:1.11.0.4
	pkgsrc-2004Q2-base:1.11
	pkgsrc-2004Q1:1.11.0.2
	pkgsrc-2004Q1-base:1.11
	pkgsrc-2003Q4:1.4.0.4
	pkgsrc-2003Q4-base:1.4
	netbsd-1-6-1:1.4.0.2
	netbsd-1-6-1-base:1.4
	netbsd-1-6:1.3.0.8
	netbsd-1-6-RELEASE-base:1.3
	pkgviews:1.3.0.4
	pkgviews-base:1.3
	buildlink2:1.3.0.2
	buildlink2-base:1.3
	netbsd-1-5-PATCH003:1.3;
locks; strict;
comment	@# @;


1.16
date	2005.02.21.22.10.34;	author jlam;	state dead;
branches;
next	1.15;

1.15
date	2005.02.07.11.35.42;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2005.01.14.05.15.39;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.14.21.37.09;	author jlam;	state Exp;
branches;
next	1.12;

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

1.11
date	2004.03.26.18.48.52;	author jlam;	state Exp;
branches;
next	1.10;

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

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

1.8
date	2004.02.22.01.52.05;	author jlam;	state Exp;
branches;
next	1.7;

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

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

1.5
date	2004.01.11.19.41.39;	author cjep;	state Exp;
branches;
next	1.4;

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

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

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

1.1
date	2002.01.27.21.33.35;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.16
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.authdaemond,v 1.15 2005/02/07 11:35:42 jlam Exp $

USE_BUILDLINK3=		yes
USE_LANGUAGES=		c c++

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

PERL5_REQD+=		5.6.0
USE_PERL5?=		build

# These are files needed by the configure scripts or are needed by the
# build process.
#
WRKSRC_FILES=		config.guess config.sub configure		\
			install-sh mkinstalldirs			\
			depcomp missing sysconftool

# These are the inputs for the files generated by the top-level configure
# script.
#
WRKSRC_FILES+=		Makefile.in courier.spec.in courier.sysvinit.in	\
			dbobj.h.in dbobj.config.in courier/courier.c

# These are subdirectories of courier that build auxiliary libraries
# used by the authentication daemon.
#
WRKSRC_SUBDIRS=		afx bdbobj gdbmobj numlib soxwrap md5 sha1	\
			libhmac random128 unicode rfc822 rfc1035	\
			rfc2045 liblock liblog

# These are the parts of courier that we will be building and installing.
WRKSRC_SUBDIRS+=	makedat userdb authlib

EXTRACT_ELEMENTS=	${WRKSRC_FILES:S/^/${DISTNAME}\//}
EXTRACT_ELEMENTS+=	${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}

DISTINFO_FILE=		${.CURDIR}/../courier-auth/distinfo
PATCHDIR=		${.CURDIR}/../courier-auth/patches

# The top-level configure script will call all of the other configure
# scripts in the subdirectories, so we don't need to set CONFIGURE_DIRS.
# However, we need to build in each subdirectory on our own.
#
BUILD_DIRS=		${WRKSRC_SUBDIRS:S/^/${WRKSRC}\//}

.include "../../mk/bdb.buildlink3.mk"

PKG_SUPPORTED_OPTIONS=	PAM
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:MPAM)
.  include "../../mk/pam.buildlink3.mk"
.endif
@


1.15
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.authdaemond,v 1.14 2005/01/14 05:15:39 jlam Exp $
@


1.14
log
@Create a pam.buildlink3.mk file that is used by PAM-using packages.
It includes the correct buildlink3.mk file from either Linux-PAM
(security/PAM) or OpenPAM (security/openpam) and eventually will
support solaris-pam.  pam.buildlink3.mk will:

	* set PAMBASE to the base directory of the PAM files;
	* set PAM_TYPE to the PAM implementation used.

There are two variables that can be used to tweak the selection of
the PAM implementation:

PAM_DEFAULT is a user-settable variable whose value is the default
	PAM implementation to use.

PAM_ACCEPTED is a package-settable list of PAM implementations
	that may be used by the package.

Modify most packages that include PAM/buildlink3.mk to include
pam.buildlink3.mk instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.13 2004/07/14 21:37:09 jlam Exp $
d47 5
a51 2
.if defined(USE_PAM)
BUILD_DEFS+=		USE_PAM
@


1.13
log
@Move addition of "liblog" to WRKSRC_SUBDIRS from Makefile to
Makefile.authdaemond so that courier-auth* module packages will patch
correctly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.12 2004/07/14 20:07:07 jlam Exp $
d49 1
a49 1
.  include "../../security/PAM/buildlink3.mk"
@


1.12
log
@Update mail/courier-auth to 0.45.6.  Changes from version 0.44.2 include:

  * Honor ${VARBASE}.
  * Rename "authdaemon.sysconftool" to "sysconftool" for use by other
    Courier mail packages.
  * authvchkpw explicitly disabled -- it's not officially supported within
    courier, and there's a workaround by using vchkpw2userdb(8).  This
    closes pkg/19365.
  * courierlogger(1) moved from mail/courier-imap into this package.
  * Support a new setting DEBUG_LOGIN in authdaemonrc to allow easier
    debugging of the authentication process.
  * Added documentation on how to debug the authentication process in
    ${PREFIX}/share/doc/courier.
  * makedat: Skip subdirectories named "CVS".  Allows all directory-based
    lists (makesmtpaccess, etc...) to be managed via CVS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.11 2004/03/26 18:48:52 jlam Exp $
d29 1
a29 1
			rfc2045 liblock
@


1.11
log
@Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults to
"yes" and packages that can't use the DB-1.85 API should set it to "no".
This makes the native DB the preferred DB if it exists.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.10 2004/03/10 18:07:16 jlam Exp $
a36 3
REPLACE_PERL=           sysconftool
SYSCONFTOOL=		${PREFIX}/sbin/authdaemon.sysconftool

a45 2
FILES_SUBST+=		SYSCONFTOOL=${SYSCONFTOOL:Q}

@


1.10
log
@Convert to use bdb.buildlink3.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.9 2004/02/24 00:22:45 jlam Exp $
a9 1
USE_DB185=		yes
@


1.9
log
@Clean up Solaris db handling by just noting that we need db-1.85
functionality.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.8 2004/02/22 01:52:05 jlam Exp $
d52 1
a52 1
.include "../../databases/db/buildlink3.mk"
@


1.8
log
@Move settings for USE_BUILDLINK3 and USE_LANGUAGES from the common Makefile
into the separate packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.7 2004/02/21 14:43:15 jlam Exp $
d10 1
d52 1
a52 3
.if ${OPSYS} == "SunOS"
.  include "../../databases/db/buildlink3.mk"
.endif
@


1.7
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 4
a4 1
# $NetBSD: Makefile.authdaemond,v 1.6 2004/02/10 02:22:50 jlam Exp $
@


1.6
log
@PERL5_REQD is now a list of values, so append to its value instead of
setting it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.5 2004/01/11 19:41:39 cjep Exp $
d3 1
a3 1
.include "../../mail/courier-auth/Makefile.common"
d8 3
d12 12
a23 2
			install-sh mkinstalldirs
WRKSRC_FILES+=		dbobj.h.in dbobj.config.in sysconftool
d27 2
d37 2
a38 2
DISTINFO_FILE=		${.CURDIR}/../../mail/courier-auth/distinfo
PATCHDIR=		${.CURDIR}/../../mail/courier-auth/patches
d40 4
d48 3
d53 1
a53 1
.  include "../../security/PAM/buildlink2.mk"
a54 2

pre-configure: configure-init
@


1.5
log
@Use tabs (not spaces) to make indentation
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.4 2002/10/08 23:15:58 jlam Exp $
d5 1
a5 1
PERL5_REQD=		5.6.0
@


1.4
log
@buildlink1 -> buildlink2
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.3 2002/02/05 15:03:19 jlam Exp $
d12 1
a12 1
                        libhmac random128 unicode rfc822 rfc1035	\
@


1.3
log
@Move PAM dependency into Makefile.authdaemond as the PAM-related code is
localized into the authlib sources.  This makes only the courier-auth*
modules depend on PAM.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.authdaemond,v 1.2 2002/01/27 23:47:08 jlam Exp $
d6 1
a6 1
BUILD_DEPENDS+=		perl>=${PERL5_REQD}:../../lang/perl5
d25 2
d31 1
a31 1
.include "../../security/PAM/buildlink.mk"
a34 6

do-build:
.for DIR in ${WRKSRC_SUBDIRS}
	@@cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV}			\
		${MAKE_PROGRAM} ${ALL_TARGET}
.endfor
@


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.authdaemond,v 1.1 2002/01/27 21:33:35 jlam Exp $
d26 5
@


1.1
log
@Makefile.authdaemond contains the shared Makefile logic used to build
a "heavy" authdaemond module, i.e. one of authldap, authmysql, or
authpgsql.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/01/22 22:02:36 jlam Exp $
a6 1
DEPENDS+=		courier-auth>=${BASE_VERS}:../../mail/courier-auth
@

