head	1.20;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2013.02.17.17.24.21;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2013.01.08.15.45.29;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.12.27.15.52.44;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.12.10.15.19.17;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2011.09.24.09.13.35;	author ume;	state Exp;
branches;
next	1.14;

1.14
date	2011.02.25.01.32.05;	author delphij;	state Exp;
branches;
next	1.13;

1.13
date	2010.12.04.07.33.23;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2010.10.28.21.00.17;	author erwin;	state Exp;
branches;
next	1.11;

1.11
date	2009.08.02.19.35.25;	author mezz;	state Exp;
branches;
next	1.10;

1.10
date	2009.05.15.01.17.57;	author ume;	state Exp;
branches;
next	1.9;

1.9
date	2009.01.05.19.04.33;	author delphij;	state Exp;
branches;
next	1.8;

1.8
date	2008.04.19.17.53.22;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2007.08.07.16.36.11;	author ume;	state Exp;
branches;
next	1.6;

1.6
date	2007.07.23.09.36.28;	author rafan;	state Exp;
branches;
next	1.5;

1.5
date	2007.02.04.00.12.31;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2007.02.01.02.41.55;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2006.10.07.10.26.49;	author ume;	state Exp;
branches;
next	1.2;

1.2
date	2006.05.19.20.45.37;	author ume;	state Exp;
branches;
next	1.1;

1.1
date	2005.05.17.16.44.39;	author ume;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312427
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/security/cyrus-sasl2-ldapdb/Makefile 312427 2013-02-17 16:44:12Z ume $

PORTNAME=	ldapdb
PORTVERSION=	2.1.26
#PORTREVISION=	0
CATEGORIES=	security ipv6
MASTER_SITES=	ftp://ftp.cyrusimap.org/cyrus-sasl/
PKGNAMEPREFIX=	cyrus-sasl-
DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}

MAINTAINER=	ume@@FreeBSD.org
COMMENT=	SASL LDAPDB auxprop plugin

LICENSE=	BSD
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	sasl2:${PORTSDIR}/security/cyrus-sasl2

CYRUS_SASL2_DIR=${MASTERDIR}/../cyrus-sasl2
DISTINFO_FILE=	${CYRUS_SASL2_DIR}/distinfo
PATCHDIR=	${CYRUS_SASL2_DIR}/files
INSTALL_WRKSRC=	${WRKSRC}/plugins

MAKE_JOBS_SAFE=	yes

USE_LDCONFIG=	yes

USE_AUTOTOOLS=	libtool
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes

.if defined(WITH_OPENLDAP_VER)
WANT_OPENLDAP_VER=	${WITH_OPENLDAP_VER}
.endif
USE_OPENLDAP=	yes

CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc \
		--with-plugindir=${PREFIX}/lib/sasl2 \
		--with-dbpath=${PREFIX}/etc/sasldb2 \
		--with-lib-subdir=lib \
		--includedir=${PREFIX}/include \
		--enable-static \
		--with-rc4=openssl

CONFIGURE_ARGS+=--with-dblib=none \
		--disable-anon \
		--disable-cram \
		--disable-digest \
		--disable-gssapi \
		--disable-krb4 \
		--disable-ntlm \
		--disable-otp \
		--disable-plain \
		--disable-scram

CONFIGURE_ARGS+=--enable-ldapdb --with-ldap=${LOCALBASE}

PLIST_FILES=	lib/sasl2/libldapdb.a \
		lib/sasl2/libldapdb.la \
		lib/sasl2/libldapdb.so \
		lib/sasl2/libldapdb.so.3

.include <bsd.port.pre.mk>

.if ${OPENSSLBASE} == /usr
CONFIGURE_ARGS+=--with-openssl=yes
.else
CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
.endif

do-build:
	cd ${WRKSRC}/include && ${MAKE}
	cd ${WRKSRC}/plugins && ${MAKE}

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


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310093
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310093 | ume | 2013-01-08 15:15:57 +0000 (Tue, 08 Jan 2013) | 2 lines
## SVN ##
## SVN ## Don't search lib32 on FreeBSD/i386.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/security/cyrus-sasl2-ldapdb/Makefile 310093 2013-01-08 15:15:57Z ume $
d7 1
a7 4
MASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/ \
		ftp://ftp.westbend.net/pub/cyrus-mail/%SUBDIR%/ \
		http://www.transit.hanse.de/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/
MASTER_SITE_SUBDIR=	. OLD-VERSIONS/sasl
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309543
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309543 | ume | 2012-12-27 15:37:03 +0000 (Thu, 27 Dec 2012) | 4 lines
## SVN ##
## SVN ## Mark cyrus-sasl2 as MAKE_JOBS_SAFE.
## SVN ##
## SVN ## Submitted by:	Kevin Zheng <kevinz5000__at__gmail.com>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/security/cyrus-sasl2-ldapdb/Makefile 309543 2012-12-27 15:37:03Z ume $
d43 1
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308609
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308609 | ume | 2012-12-10 15:10:02 +0000 (Mon, 10 Dec 2012) | 3 lines
## SVN ##
## SVN ## Update cyrus-sasl2 to 2.1.26.
## SVN ## This bumps shlib version of libsasl2.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: head/security/cyrus-sasl2-ldapdb/Makefile 308609 2012-12-10 15:10:02Z ume $
d27 2
@


1.16
log
@Switch exporter over
@
text
@d1 1
a1 6
# New ports collection makefile for:	cyrus-sasl2-ldapdb
# Date created:				May 18 2005
# Whom:					ume@@FreeBSD.org
#
# $FreeBSD: head/security/cyrus-sasl2-ldapdb/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d4 1
a4 1
PORTVERSION=	2.1.25
d20 1
a20 1
LIB_DEPENDS=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
d61 1
a61 1
		lib/sasl2/libldapdb.so.2
@


1.15
log
@Update to 2.1.25.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@Chase after net/openldap24-server update.

Reminded by:	miwi
@
text
@d9 1
a9 1
PORTVERSION=	2.1.23
a10 1
PORTREVISION=	1
d22 3
d30 1
a30 1
INSTALL_WRKSRC=	${WRKDIR}/${DISTNAME}/plugins
d58 2
a59 1
		--disable-plain
@


1.13
log
@Sync to new bsd.autotools.mk
@
text
@d11 1
@


1.12
log
@Deprecate md5 in favour of sha256 checksums.  md5 checksums will no longer
be generated or checked, and will be silently ignored for now.  Also,
generalize the MD5_FILE macro to DISTINFO_FILO.

PR:		149657
Submitted by:	rene
Approved by:	portmgr
Tested on:	pointyhat i386 7-exp
@
text
@d31 1
a31 1
USE_AUTOTOOLS=	libtool:22
@


1.11
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
@d25 1
a25 1
MD5_FILE=	${CYRUS_SASL2_DIR}/distinfo
@


1.10
log
@Update to 2.1.23.

Security:	http://www.kb.cert.org/vuls/id/238019
@
text
@d31 1
a31 1
USE_AUTOTOOLS=	libtool:15
@


1.9
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d9 2
a10 2
PORTVERSION=	2.1.22
PORTREVISION=	1
@


1.8
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
@d10 1
a10 1
#PORTREVISION=	0
@


1.7
log
@Remove useless version check.  The bsd.port.mk supports only
OpenLDAP 2.2 and later.
@
text
@d29 1
a29 1
INSTALLS_SHLIB=	yes
@


1.6
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@a37 3
.if defined(WANT_OPENLDAP_VER) && ${WANT_OPENLDAP_VER} == 12
BROKEN=		"this port requires OpenLDAP >= 2.0"
.endif
@


1.5
log
@Fix plist
@
text
@a46 1
		--mandir=${MANPREFIX}/man \
@


1.4
log
@Use libtool port instead of included version to avoid objformat a.out botch
@
text
@d64 1
@


1.3
log
@Change the MASTER_SITES entries from
	ftp://ftp.hanse.de/sites/transit/mirror/
to
	http://www.transit.hanse.de/mirror/

Requested by:	Stefan Bethke <stb__at__lassitu.de>
@
text
@d31 1
@


1.2
log
@Update to 2.1.22.
@
text
@d14 1
a14 1
		ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/
@


1.1
log
@New port -- SASL LDAPDB auxprop plugin
Though this is actually part of Cyrus SASL2, we cannot simply
enable it in security/cyrus-sasl2 to avoid dependency loop with
net/openldap.
@
text
@d9 1
a9 1
PORTVERSION=	2.1.21
@

