head	1.56;
access;
symbols
	RELEASE_8_3_0:1.51
	RELEASE_9_0_0:1.51
	RELEASE_7_4_0:1.49
	RELEASE_8_2_0:1.49
	RELEASE_6_EOL:1.48
	RELEASE_8_1_0:1.47
	RELEASE_7_3_0:1.45
	RELEASE_8_0_0:1.44
	RELEASE_7_2_0:1.41
	RELEASE_7_1_0:1.38
	RELEASE_6_4_0:1.38
	RELEASE_5_EOL:1.34
	RELEASE_7_0_0:1.33
	RELEASE_6_3_0:1.33
	PRE_XORG_7:1.30
	RELEASE_4_EOL:1.28
	RELEASE_6_2_0:1.26
	RELEASE_6_1_0:1.25
	RELEASE_5_5_0:1.25
	RELEASE_6_0_0:1.19
	old_RELEASE_5_4_0:1.12
	old_RELEASE_4_11_0:1.1;
locks; strict;
comment	@# @;


1.56
date	2012.11.17.06.01.02;	author svnexp;	state Exp;
branches;
next	1.55;

1.55
date	2012.10.15.12.33.25;	author oliver;	state Exp;
branches;
next	1.54;

1.54
date	2012.10.14.12.55.49;	author oliver;	state Exp;
branches;
next	1.53;

1.53
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.52;

1.52
date	2012.06.24.12.40.40;	author oliver;	state Exp;
branches;
next	1.51;

1.51
date	2011.09.23.22.25.09;	author amdmi3;	state Exp;
branches;
next	1.50;

1.50
date	2011.09.12.13.46.57;	author gabor;	state Exp;
branches;
next	1.49;

1.49
date	2010.12.04.07.33.23;	author ade;	state Exp;
branches;
next	1.48;

1.48
date	2010.10.17.10.12.37;	author oliver;	state Exp;
branches;
next	1.47;

1.47
date	2010.06.11.22.28.28;	author makc;	state Exp;
branches;
next	1.46;

1.46
date	2010.06.08.19.52.57;	author makc;	state Exp;
branches;
next	1.45;

1.45
date	2010.01.02.17.33.32;	author oliver;	state Exp;
branches;
next	1.44;

1.44
date	2009.08.22.00.34.50;	author amdmi3;	state Exp;
branches;
next	1.43;

1.43
date	2009.08.02.19.35.25;	author mezz;	state Exp;
branches;
next	1.42;

1.42
date	2009.07.02.14.44.45;	author oliver;	state Exp;
branches;
next	1.41;

1.41
date	2009.04.04.07.32.59;	author oliver;	state Exp;
branches;
next	1.40;

1.40
date	2009.01.04.11.53.06;	author oliver;	state Exp;
branches;
next	1.39;

1.39
date	2008.12.05.18.44.29;	author oliver;	state Exp;
branches;
next	1.38;

1.38
date	2008.08.21.06.18.14;	author rafan;	state Exp;
branches;
next	1.37;

1.37
date	2008.07.16.07.39.29;	author oliver;	state Exp;
branches;
next	1.36;

1.36
date	2008.06.13.04.14.35;	author oliver;	state Exp;
branches;
next	1.35;

1.35
date	2008.06.12.20.13.47;	author oliver;	state Exp;
branches;
next	1.34;

1.34
date	2008.04.19.17.53.22;	author miwi;	state Exp;
branches;
next	1.33;

1.33
date	2007.10.14.16.52.07;	author oliver;	state Exp;
branches;
next	1.32;

1.32
date	2007.10.09.20.03.32;	author oliver;	state Exp;
branches;
next	1.31;

1.31
date	2007.10.03.12.10.06;	author oliver;	state Exp;
branches;
next	1.30;

1.30
date	2007.04.26.19.38.28;	author oliver;	state Exp;
branches;
next	1.29;

1.29
date	2007.04.08.13.19.08;	author oliver;	state Exp;
branches;
next	1.28;

1.28
date	2007.01.17.05.25.27;	author oliver;	state Exp;
branches;
next	1.27;

1.27
date	2007.01.01.21.35.27;	author oliver;	state Exp;
branches;
next	1.26;

1.26
date	2006.05.13.04.15.00;	author edwin;	state Exp;
branches;
next	1.25;

1.25
date	2006.02.23.10.38.53;	author ade;	state Exp;
branches;
next	1.24;

1.24
date	2006.02.11.11.37.46;	author oliver;	state Exp;
branches;
next	1.23;

1.23
date	2006.01.12.18.56.39;	author oliver;	state Exp;
branches;
next	1.22;

1.22
date	2006.01.12.18.56.04;	author oliver;	state Exp;
branches;
next	1.21;

1.21
date	2005.12.09.15.09.12;	author oliver;	state Exp;
branches;
next	1.20;

1.20
date	2005.11.15.06.50.55;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2005.07.23.14.34.31;	author oliver;	state Exp;
branches;
next	1.18;

1.18
date	2005.05.17.18.25.57;	author oliver;	state Exp;
branches;
next	1.17;

1.17
date	2005.05.13.17.15.32;	author oliver;	state Exp;
branches;
next	1.16;

1.16
date	2005.04.26.19.17.31;	author oliver;	state Exp;
branches;
next	1.15;

1.15
date	2005.04.12.03.25.55;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2005.04.11.08.03.13;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2005.04.02.14.28.05;	author oliver;	state Exp;
branches;
next	1.12;

1.12
date	2005.03.15.19.41.40;	author oliver;	state Exp;
branches;
next	1.11;

1.11
date	2005.03.15.17.13.49;	author oliver;	state Exp;
branches;
next	1.10;

1.10
date	2005.03.12.17.24.14;	author oliver;	state Exp;
branches;
next	1.9;

1.9
date	2005.03.05.14.00.58;	author oliver;	state Exp;
branches;
next	1.8;

1.8
date	2005.03.01.21.02.00;	author oliver;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.01.19.39.52;	author oliver;	state Exp;
branches;
next	1.6;

1.6
date	2005.02.13.13.50.40;	author oliver;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.04.18.44.48;	author oliver;	state Exp;
branches;
next	1.4;

1.4
date	2005.01.31.00.35.48;	author girgen;	state Exp;
branches;
next	1.3;

1.3
date	2005.01.21.06.11.02;	author oliver;	state Exp;
branches;
next	1.2;

1.2
date	2005.01.08.10.25.04;	author oliver;	state Exp;
branches;
next	1.1;

1.1
date	2004.12.19.11.25.27;	author oliver;	state Exp;
branches;
next	;


desc
@@


1.56
log
@Switch exporter over
@
text
@# New ports collection makefile for:	courier-authlib
# Date created:				19 Dec 2004
# Whom:					Oliver Lehmann
#
# $FreeBSD: head/security/courier-authlib/Makefile 305912 2012-10-15 12:33:25Z oliver $
#

PORTNAME=	courier-authlib
PORTVERSION=	0.65.0
CATEGORIES?=	security mail
.if defined(PKGNAMESUFFIX)
MASTER_SITES=	SF/courier/authlib/${PORTVERSION}
MASTER_SITE_SUBDIR=	courier
.else
MASTER_SITES=	# empty
DISTFILES=	# empty
EXTRACT_ONLY=	# empty
.endif

MAINTAINER=	oliver@@FreeBSD.org
COMMENT?=	Meta-port for the courier authentication library

CONFLICTS=	courier-0.45*

.if !defined(PKGNAMESUFFIX)
RUN_DEPENDS=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base

NO_BUILD=	yes
PATCHDIR=	/dev/null

OPTIONS+=	GDBM	"Use gdbm instead of system bdb"	off

.include "${.CURDIR}/Makefile.opt"

.else	# !defined(PKGNAMESUFFIX)

USE_AUTOTOOLS=	libltdl
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_PERL5=	yes
USE_SUBMAKE=	yes
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
#slave ports should have different UNIQUENAME, it is utilized by USE_LDCONFIG
UNIQUENAME=	${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}

MAILOWN=	courier
MAILGRP=	courier
MAILUID=	465
MAILGID=	465
LOCALSTATEDIR=	/var
AUTHDAEMONVAR=	${LOCALSTATEDIR}/run/authdaemond

VPOPMAILDIR?=	${LOCALBASE}/vpopmail
USERDB?=	${PREFIX}/etc/userdb

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
MAKE_ENV:=	${CONFIGURE_ENV}

CONFIGURE_ARGS=	--enable-unicode \
		--enable-ltdl-install=no \
		--without-authcustom \
		--without-authshadow \
		--without-authpwd \
		--with-mailuser=${MAILOWN} \
		--with-mailgroup=${MAILGRP} \
		--localstatedir=${LOCALSTATEDIR} \
		--with-authdaemonvar=${AUTHDAEMONVAR} \
		--cache-file=${WRKDIR}/courier-authlib.cache \
		--without-authsqlite

INSTALL_TARGET=	install-strip install-configure

DESCR=		${PKGDIR}/pkg-descr${PKGNAMESUFFIX}
PLIST=		${PKGDIR}/pkg-plist${PKGNAMESUFFIX:S/gdbm/db/}

AUTHMOD=	auth${PKGNAMESUFFIX:S/-//:S/gdbm/db/}

.if ${AUTHMOD} == authbase
RUN_DEPENDS+=	${LOCALBASE}/share/sysconftool/sysconftool:${PORTSDIR}/devel/sysconftool
CONFIGURE_ARGS+=--with-base --with-authpam

MAN1=		courierlogger.1 authtest.1

MAN3=		authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
		auth_enumerate.3 auth_passwd.3 auth_getoption.3 auth_sasl.3 \
		auth_sasl_ex.3

DOCS=		AUTHORS COPYING ChangeLog INSTALL NEWS README \
		README.authdebug.html README_authlib.html

PLIST_SUB+=	MAILOWN=${MAILOWN} MAILGRP=${MAILGRP} \
		MAILUID=${MAILUID} MAILGID=${MAILGID} \
		AUTHDAEMONVAR=${AUTHDAEMONVAR}
SUB_LIST:=	${PLIST_SUB}
SUB_FILES+=	pkg-install pkg-deinstall

.if defined(WITH_AUTHPIPE_PROG)
CONFIGURE_ARGS+=--with-pipeprog=${WITH_AUTHPIPE_PROG}
.endif

.else
RUN_DEPENDS+=	courierauthconfig:${PORTSDIR}/security/courier-authlib-base
CONFIGURE_ARGS+=--without-base --without-authpam
REMOVE_SUBDIRS+=liblock liblog
.endif

.if ${AUTHMOD} == authuserdb
MAN8=		makeuserdb.8 userdb.8 userdbpw.8
.if ${PKGNAMESUFFIX} == -usergdbm
CONFLICTS+=	${PORTNAME}-userdb-0.*
LIB_DEPENDS+=	gdbm.4:${PORTSDIR}/databases/gdbm
CONFIGURE_ARGS+=--with-db=gdbm
.elif ${PKGNAMESUFFIX} == -userdb
CONFLICTS+=	${PORTNAME}-usergdbm-0.*
CONFIGURE_ARGS+=--with-db=db
.endif
CONFIGURE_ARGS+=--with-userdb=${USERDB}
.else
CONFIGURE_ARGS+=--with-db=db --without-authuserdb
REMOVE_SUBDIRS+=makedat userdb
.endif

.if ${AUTHMOD} == authldap
DOCS=		README.ldap
USE_OPENLDAP=	yes
CONFIGURE_ARGS+=--with-authldap
.else
CONFIGURE_ARGS+=--without-authldap
.endif

.if ${AUTHMOD} == authmysql
DOCS=		README.authmysql.html README.authmysql.myownquery
USE_MYSQL=	yes
CONFIGURE_ARGS+=--with-authmysql \
		--with-mysql-libs=${LOCALBASE}/lib/mysql \
		--with-mysql-includes=${LOCALBASE}/include/mysql
.else
CONFIGURE_ARGS+=--without-authmysql
.endif

.if ${AUTHMOD} == authpgsql
DOCS=		README.authpostgres.html
USE_PGSQL=	yes
CONFIGURE_ARGS+=--with-authpgsql
.else
CONFIGURE_ARGS+=--without-authpgsql
.endif

.if ${AUTHMOD} == authvchkpw
BUILD_DEPENDS+=	${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
CONFIGURE_ARGS+=--with-authvchkpw
.else
CONFIGURE_ARGS+=--without-authvchkpw
.endif

.endif	# !defined(PKGNAMESUFFIX)

.include <bsd.port.pre.mk>

.if !defined(PKGNAMESUFFIX)

.include "${.CURDIR}/Makefile.dep"

do-install:	#empty
do-build:	#empty
.else	# !defined(PKGNAMESUFFIX)

.if ${AUTHMOD} == authbase
.if defined(WITH_RCORDER)
USE_RCORDER=	courier-authdaemond
.else
USE_RC_SUBR=	courier-authdaemond
.endif

pre-everything::
	@@${ECHO_CMD}
	@@${ECHO_CMD}	"	Set WITH_AUTHPIPE_PROG to a program you want to use instead of"
	@@${ECHO_CMD}	"	authProg for libauthpipe"
	@@${ECHO_CMD}
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g;  \
		s|^\(INSTALL_STRIP_PROGRAM=\).*$$|\1"$${INSTALL_PROGRAM} -s"| ; \
		s|mysql_connect|mysql_real_connect|g' \
		${WRKSRC}/*/configure \
		${WRKSRC}/configure
.for subdir in ${REMOVE_SUBDIRS}
	@@${REINPLACE_CMD} -E 's,(^(ac_subdirs_all|subdirs).*)${subdir},\1,g' \
		${WRKSRC}/configure
.endfor
	@@${REINPLACE_CMD} -e 's|$$(INSTALL_DATA) \(.$$$$file.\)|${INSTALL_MAN} \1|' \
		${WRKSRC}/*/Makefile.in \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} -e 's|^\(DEFAULTOPTIONS=\)""$$|\1"wbnodsn=1"|' \
		-e 's|@@ALLMODULES@@|authuserdb authvchkpw authpam authldap authmysql authpgsql|' \
		${WRKSRC}/authdaemonrc.in
	@@${REINPLACE_CMD} -e 's:@@EXPECT@@:${SETENV} expect:' \
		${WRKSRC}/authsystem.passwd.in

pre-configure:
	@@if [ -f "${WRKDIR}/courier-authlib.cache" -a -s "${WRKDIR}/courier-authlib.cache" ] ; then \
		${RM} -f "${WRKDIR}/courier-authlib.cache" ; \
	fi

.if ${PKGNAMESUFFIX} == "-base"
pre-install:
	@@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif	# ${PKGNAMESUFFIX} == "-base"

post-install:
.if !defined(NOPORTDOCS)
	@@${INSTALL} ${_SHROWNGRP} -d ${DOCSDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.endif	# !defined(PKGNAMESUFFIX)

.include <bsd.port.post.mk>
@


1.55
log
@SVN rev 305912 on 2012-10-15 12:33:25Z by oliver

disable SQLite support for the time being (no child port exists)

Feature safe: yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.54
log
@SVN rev 305872 on 2012-10-14 12:55:49Z by oliver

update to 0.65.0

Feature safe:	yes
@
text
@d70 2
a71 1
		--cache-file=${WRKDIR}/courier-authlib.cache
@


1.53
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d9 1
a9 1
PORTVERSION=	0.64.0
@


1.52
log
@update courier-authlib to 0.64.0
@
text
@d171 1
a171 1
USE_RCORDER=	courier-authdaemond.sh
d173 1
a173 1
USE_RC_SUBR=	courier-authdaemond.sh
@


1.51
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 2
PORTVERSION=	0.63.0
PORTREVISION=	3
@


1.50
log
@- Track dependencies after databases/gdbm update
@
text
@a59 2
CONFIGURE_ENV=	CPPFLAGS='${CPPFLAGS}' \
		LDFLAGS='${LDFLAGS}'
@


1.49
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	2
d115 1
a115 1
LIB_DEPENDS+=	gdbm.3:${PORTSDIR}/databases/gdbm
@


1.48
log
@remove  PORTREVISION definition from net/courier-authlib-ldap
bump PORTREVISION to 2
@
text
@d38 1
a38 1
USE_AUTOTOOLS=	libltdl:22
@


1.47
log
@set UNIQUENAME, thus fix slave ports after switching to USE_LDCONFIG.

Reported by:	pointyhat
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.46
log
@Convert LDCONFIG_DIRS to USE_LDCONFIG.

PR:		based on ports/146365
Submitted by:	Alex Kozlov <spam at rm-rf.kiev.ua>
Approved by:	maintainers timeout (two weeks)
@
text
@d45 2
@


1.45
log
@update to 0.63.0
@
text
@d10 1
d44 1
a44 2
USE_LDCONFIG=	yes
LDCONFIG_DIRS=	%%PREFIX%%/lib/${PORTNAME}
@


1.44
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d9 1
a9 1
PORTVERSION=	0.62.4
@


1.43
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d12 1
a12 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@


1.42
log
@update to 0.62.4
@
text
@d37 1
a37 1
USE_AUTOTOOLS=	libltdl:15
@


1.41
log
@update to 0.62.2
@
text
@d9 1
a9 1
PORTVERSION=	0.62.2
@


1.40
log
@update to 0.62.1
@
text
@d9 1
a9 1
PORTVERSION=	0.62.1
@


1.39
log
@update to 0.61.1
@
text
@d9 1
a9 1
PORTVERSION=	0.61.1
@


1.38
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.61.0
d87 2
a88 1
		auth_enumerate.3 auth_passwd.3 auth_getoption.3 auth_sasl.3
@


1.37
log
@update to 0.61.0
@
text
@a61 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.36
log
@update to 0.60.6
@
text
@d9 1
a9 1
PORTVERSION=	0.60.6
@


1.35
log
@update to 0.60.4
the vpopmail support was removed with 0.60.3 (because none felt responsible
for maintaining it in courier-authlib) - this commit adds - togehter with
this update - a patch which patches the vpopmail support back into 0.60.4
(because at least I need the interaction with vpopmail!).
@
text
@d9 1
a9 1
PORTVERSION=	0.60.4
@


1.34
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.60.2
d185 3
a187 2
	@@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g' \
		-e 's|^\(INSTALL_STRIP_PROGRAM=\).*$$|\1"$${INSTALL_PROGRAM} -s"|' \
@


1.33
log
@update to 0.60.2
@
text
@d43 1
a43 1
INSTALLS_SHLIB=	yes
@


1.32
log
@update to 0.60.1
@
text
@d9 1
a9 1
PORTVERSION=	0.60.1
@


1.31
log
@update to 0.60.0
@
text
@d9 1
a9 1
PORTVERSION=	0.60.0
@


1.30
log
@update to 0.59.3
@
text
@d9 1
a9 1
PORTVERSION=	0.59.3
@


1.29
log
@update to 0.59.2
@
text
@d9 1
a9 2
PORTVERSION=	0.59.2
PORTREVISION=	0
@


1.28
log
@update to 0.59.1
@
text
@d9 1
a9 1
PORTVERSION=	0.59.1
@


1.27
log
@update to 0.59
@
text
@d9 1
a9 1
PORTVERSION=	0.59
@


1.26
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 2
a10 2
PORTVERSION=	0.58
PORTREVISION=	2
@


1.25
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a42 1
USE_REINPLACE=	yes
@


1.24
log
@make it possible to change the program which is used for authpipe

PR:		ports/92681
Submitted by:	Henry Karpatskij <henkka@@spheroid.info>
@
text
@d10 1
a10 1
PORTREVISION=	1
d38 1
d41 1
a41 1
USE_AUTOTOOLS=	libtool:15 libltdl:15
@


1.23
log
@PORTVERSION got bumped with the previous commit
@
text
@d100 4
d177 6
@


1.22
log
@make courier-authdaemon work if it's build with MySQL support by changing
the rcNg startscript.
@
text
@@


1.21
log
@update to 0.58
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.20
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d9 1
a9 1
PORTVERSION=	0.57
@


1.19
log
@update to 0.57
@
text
@d40 1
a40 2
USE_LIBLTDL=	yes
USE_LIBTOOL_VER=15
@


1.18
log
@use mkstemp(3) in locktest.c instead of executing mktemp(1) in Makefile
@
text
@d9 1
a9 1
PORTVERSION=	0.56
d87 1
a87 1
MAN1=		courierlogger.1
@


1.17
log
@update to 0.56
@
text
@a175 2
LOCKTEST!=	${MKTEMP} /tmp/courier-authlib.locktest.XXXXX

a192 4
	@@${REINPLACE_CMD} -e 's|conftest.lock|${LOCKTEST}|g ; \
		s|close(f);|& unlink("${LOCKTEST}");|g ; \
		s|if (s == 0)|unlink("${LOCKTEST}"); &|g' \
		${WRKSRC}/liblock/locktest.c
a198 5
post-configure:
	@@if [ -f "${LOCKTEST}" ] ; then \
		${RM} -f "${LOCKTEST}" ; \
	fi

@


1.16
log
@move mail/courier-authlib to security/courier-authlib which is a meta-port now.

Submitted by:		Yarema <yds@@CoolRat.org>
In corporation with:	Jose M Rodriguez <josemi@@freebsd.jazztel.es>, Milan Obuch <ports@@dino.sk>, myself
@
text
@d9 2
a10 2
PORTVERSION=	0.55
PORTREVISION=	2
@


1.15
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d1 1
a1 1
# New ports collection makefile for:	courier-authdaemon
d10 3
a12 2
PORTREVISION=	1
CATEGORIES=	mail
d15 5
d22 6
a27 1
COMMENT=	Authentication library used by courier ports
d29 8
a36 1
CONFLICTS=	courier-0.*
a38 3
USE_REINPLACE=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes
d40 1
a40 1
USE_RC_SUBR=	yes
d42 12
a53 1
USE_LIBLTDL=	yes
d55 2
a56 7
#
# options available:
#
# WITH_MAILUSER:		The user running authlib
# WITH_MAILGROUP:		The group running authlib
# WITH_SYSLOG_FACILITY:		The syslogfacility to use
#
d58 5
a62 8
OPTIONS=	PAM		"Build with PAM support"		on \
		VPOPMAIL	"Build in vpopmail support"		off \
		MYSQL		"Build in mysql support"		off \
		POSTGRESQL	"Build in postgresql support"		off \
		LDAP		"Build in ldap support with openldap"	off \
		GDBM		"Use gdbm files instead of bdb"		off \
		AUTHUSERDB	"Build with authuserdb"			on \
		MERGECFGS	"Merge new Options into old auth-rc files" on
d64 22
a85 5
VPOPMAILDIR?=	${LOCALBASE}/vpopmail
WITH_MAILUSER?=	daemon
WITH_MAILGROUP?=daemon
CONFDIR?=	${PREFIX}/etc
USERDB?=	${PREFIX}/etc/userdb
d87 1
a87 1
PLIST_SUB=	CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
d89 2
a90 3
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
		CXXFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
		LIBS="${LDFLAGS} -L${LOCALBASE}/lib"
d92 2
a93 9
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--sysconfdir=${CONFDIR} \
		--without-authshadow \
		--without-authcustom \
		--enable-unicode \
		--enable-ltdl-install=no \
		--with-mailuser=${WITH_MAILUSER} \
		--with-mailgroup=${WITH_MAILGROUP} \
		--with-authdaemonvar=/var/run/authdaemond
d95 5
a99 1
.include <bsd.port.pre.mk>
d101 4
a104 2
.if defined(WITH_SYSLOG_FACILITY)
CONFIGURE_ARGS+=--with-syslog=${WITH_SYSLOG_FACILITY}
d107 4
a110 1
.if defined(WITH_GDBM)
d113 2
a114 1
.else
d117 1
a117 4

.if !defined(WITH_VPOPMAIL)
CONFIGURE_ARGS+=--without-authvchkpw
PLIST_SUB+=	VPOPMAILFLAG="@@comment "
d119 2
a120 3
CONFIGURE_ARGS+=--with-authvchkpw
BUILD_DEPENDS+=	${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
PLIST_SUB+=	VPOPMAILFLAG=""
d123 2
a124 1
.if defined(WITH_LDAP)
a126 1
PLIST_SUB+=	LDAPFLAG=""
a128 1
PLIST_SUB+=	LDAPFLAG="@@comment "
d131 3
a133 6
.if !defined(WITH_MYSQL)
CONFIGURE_ARGS+=--without-authmysql
PLIST_SUB+=	MYSQLFLAG="@@comment "
.else
USE_MYSQL=	YES
PLIST_SUB+=	MYSQLFLAG=""
d137 2
d141 5
a145 1
.if !defined(WITH_POSTGRESQL)
a146 4
PLIST_SUB+=	PGSQLFLAG="@@comment "
.else
USE_PGSQL=	YES
PLIST_SUB+=	PGSQLFLAG=""
d149 3
a151 3
.if !defined(WITHOUT_PAM)
CONFIGURE_ARGS+=--with-authpam
PLIST_SUB+=	PAMFLAG=""
d153 1
a153 2
CONFIGURE_ARGS+=--without-authpam
PLIST_SUB+=	PAMFLAG="@@comment "
d156 3
a158 7
.if defined(WITHOUT_AUTHUSERDB)
CONFIGURE_ARGS+=--without-authuserdb
PLIST_SUB+=     AUTHUSERDBFLAG="@@comment "
.else
CONFIGURE_ARGS+=--with-userdb=${USERDB}
PLIST_SUB+=     AUTHUSERDBFLAG=""
.endif
d160 1
a160 1
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} MAILUSER=${WITH_MAILUSER} MAILGROUP=${WITH_MAILGROUP}
d162 1
a162 1
MAN1=		courierlogger.1
d164 3
a166 2
MAN3=		authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
		auth_enumerate.3 auth_passwd.3 auth_getoption.3 auth_sasl.3
d168 7
a174 1
MAN8=		makeuserdb.8 userdb.8 userdbpw.8
d176 1
a176 4
EXTRA_DOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README \
		README.authdebug.html README.authmysql.html \
		README.authmysql.myownquery README.authpostgres.html \
		README.ldap README_authlib.html
d179 13
a191 6
	@@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
		s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
		${WRKSRC}/Makefile.in ${WRKSRC}/liblog/Makefile.in \
		${WRKSRC}/userdb/Makefile.in
	@@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
d193 5
a197 1
	@@${REINPLACE_CMD} -e 's|conftest.lock|/tmp/courier-authlib.locktest|g' \
d200 5
d206 8
a213 1
	@@${RM} -f /tmp/courier-authlib.locktest
a215 7
	${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/courier-authdaemond.sh > ${WRKDIR}/courier-authdaemond.sh
	${INSTALL_SCRIPT} ${WRKDIR}/courier-authdaemond.sh ${PREFIX}/etc/rc.d/courier-authdaemond.sh
.if defined(WITH_MERGECFGS)
	cd ${WRKSRC} && ( ${GMAKE} install-configure ; cd - )
.endif

d217 3
a219 3
	@@${MKDIR} ${DOCSDIR}
.for a in ${EXTRA_DOCS}
	${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
d222 1
@


1.14
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d58 1
a58 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.13
log
@- Merge sysconfdir and userdb configurable from courier-imap [1]
- Make the port conflicts with mail/courier [1]
- add an option to disable make install-configure to merge new otpions into old cfg files

PR:		ports/79062 [1]
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es> [1]
@
text
@d58 1
a58 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.12
log
@- stop  creatng /var/run/authdaemond during the package installation
- create /var/run/authdaemond within the rc.subr Script in case the
  directory doesn't exist.
- Bump PORTREVISION

Suggested By:	brooks
@
text
@d18 2
d43 2
a44 1
		AUTHUSERDB	"Build with authuserdb"			on
d49 4
d59 2
a60 1
CONFIGURE_ARGS=	--without-authshadow \
d130 1
d134 1
a134 1
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} MAILUSER=${WITH_MAILUSER} MAILGROUP=${WITH_MAILGROUP}
d166 1
d168 1
@


1.11
log
@- change socket and pid location from /usr/local/var/spool/authdaemon/ to /var/run/authdaemond/
- fix default user/group premissions.

PR:		78866
Submitted by:	Artis Caune <Artis.Caune@@latnet.lv>
@
text
@d10 1
a10 1
PORTREVISION=	0
a59 2
PLIST_SUB=	MAILUSER=${WITH_MAILUSER} MAILGROUP=${WITH_MAILGROUP}

d125 1
a125 1
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
@


1.10
log
@fix building for cases where WRKDIR is a nfs mount
@
text
@d44 2
d55 6
a60 1
		--enable-ltdl-install=no
a126 8
.if defined(WITH_MAILUSER)
CONFIGURE_ARGS+=--with-mailuser=${WITH_MAILUSER}
.endif

.if defined(WITH_MAILGROUP)
CONFIGURE_ARGS+=--with-mailgroup=${WITH_MAILGROUP}
.endif

@


1.9
log
@update to 0.55
migrate to OPTIONS [1]
add WITH_SYSLOG_FACILITY knob [2]

PR:		78362 [1]
Submitted by:	Marcus Grando <marcus@@corp.grupos.com.br> [1]
		Sascha Holzleiter <sascha@@daemonground.de> [2]
@
text
@d150 5
@


1.8
log
@Add BSD master.passwd processing to pw2userdb
Bump PORTREVISION

PR:		ports/78163
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es>
@
text
@d9 2
a10 2
PORTVERSION=	0.54
PORTREVISION=	2
a29 6
# WITHOUT_PAM:			Don't build in PAM support
# WITH_VPOPMAIL:		Build in vpopmail support
# WITH_MYSQL:			Build in mysql support
# WITH_POSTGRESQL:		Build in postgresql support
# WITH_LDAP:			Build in ldap support with openldap
# WITH_GDBM:			Use gdbm files instead of bdb
d32 1
a32 1
# WITHOUT_AUTHUSERDB:		Don't build in authuserdb
d35 8
d55 6
d63 1
a63 1
CONFIGURE_ARGS+=	--with-db=gdbm
d65 1
a65 1
CONFIGURE_ARGS+=	--with-db=db
a127 3

.include <bsd.port.pre.mk>

@


1.7
log
@- fix Makefile [1]
- Bump PORTREVISION
- create and remove PREFIX/var/spool/authdaemon on (de)installation [2]

PR:		ports/78613 [1] - partly
Submitted by:	Jose M Rodriguez <josemi@@freebsd.jazztel.es> [1]
Noted by:	Gustavo A. Baratto <gbaratto@@superb.net> [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.6
log
@update to 0.54
@
text
@d10 1
d122 1
a122 1
++ pkg-plist   Fri Feb  4 02:29:24 2005
@


1.5
log
@VPOPMAILDIR?=   ${LOCALBASE}/vpopmail

update to 0.53
new knobs: WITH_MAILUSER WITH_MAILGROUP WITHOUT_AUTHUSERDB

Submitted by:	"Gustavo A. Baratto" <gbaratto@@superb.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.53
@


1.4
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
@d9 1
a9 1
PORTVERSION=	0.52
d35 3
d104 16
d121 1
a121 1

@


1.3
log
@don't sed ${WRKSRC}/Makefile.in twice

Noted By:	Atanas <atanas@@aplus.net>
@
text
@d89 1
a89 2
POSTGRESQL_PORT?=	databases/postgresql7
LIB_DEPENDS+=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
@


1.2
log
@upadate to courier-authlib 0.52, courier-imap 4.0.1 and sqwebmail 5.0.0

Special thanks for testing and sugestions to:	Brian Candler <B.Candler@@pobox.com>
@
text
@d122 2
a123 2
		${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
		${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
@


1.1
log
@Add courier-authlib

<quote>
Copies of this library code used to exist in other tarballs: Courier,
Courier-IMAP, and SqWebMail. Building and installing any of these packages
would've automatically installed this authentication code.

The authentication library is now a separate, standalone package. This
authentication library must now be installed, separately, before upgrading
to the following builds (or if installing them for the first time):
Courier 0.48, Courier-IMAP 4.0, and SqWebMail 5.0. See NEWS for more information.
</quote>

http://www.courier-mta.org/authlib/
@
text
@d9 1
a9 1
PORTVERSION=	0.51
d11 2
a12 1
MASTER_SITES=	http://www.courier-mta.org/beta/courier-authlib/
d45 1
d113 4
a116 1
EXTRA_DOCS=	README INSTALL AUTHORS ChangeLog
d124 2
@

