head	1.12;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.6
	RELEASE_7_2_0:1.5
	RELEASE_7_1_0:1.4
	RELEASE_6_4_0:1.4
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.06.01.09;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2011.05.01.22.53.36;	author pav;	state Exp;
branches;
next	1.10;

1.10
date	2011.02.25.01.32.05;	author delphij;	state Exp;
branches;
next	1.9;

1.9
date	2010.11.19.22.30.53;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2010.08.14.13.24.23;	author ehaupt;	state Exp;
branches;
next	1.7;

1.7
date	2009.11.17.11.30.03;	author snb;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.24.10.27.08;	author snb;	state Exp;
branches;
next	1.5;

1.5
date	2009.01.05.19.04.33;	author delphij;	state Exp;
branches;
next	1.4;

1.4
date	2007.11.20.02.21.27;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2007.10.07.12.42.36;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2007.10.05.03.07.12;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2007.09.07.02.47.13;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# New ports collection makefile for:	openvpn-auth-ldap
# Date created:		06 June 2007
# Whom:			Nick Barkas <snb@@threerings.net>
#
# $FreeBSD: head/security/openvpn-auth-ldap/Makefile 300897 2012-07-14 14:29:18Z beat $

PORTNAME=	openvpn-auth-ldap
PORTVERSION=	2.0.3
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	auth-ldap-${PORTVERSION}

MAINTAINER=	snb@@FreeBSD.org
COMMENT=	LDAP authentication plugin for OpenVPN

BUILD_DEPENDS=	re2c:${PORTSDIR}/devel/re2c \
		${NONEXISTENT}:${PORTSDIR}/security/openvpn:extract

GNU_CONFIGURE=	yes
USE_OPENLDAP=	yes
OPENVPN_WRKSRC=	`cd ${PORTSDIR}/security/openvpn; make -V WRKSRC`
CONFIGURE_ARGS+=	--with-openldap=${LOCALBASE} \
			--with-openvpn=${OPENVPN_WRKSRC}

PORTDOCS=	README
PORTEXAMPLES=	auth-ldap.conf
PLIST_FILES=	lib/openvpn-auth-ldap.so

.include <bsd.port.pre.mk>

.if (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) || ${OSVERSION} < 800505
BUILD_DEPENDS+=	${LOCALBASE}/bin/xz:${PORTSDIR}/archivers/xz
.endif

.if ${OSVERSION} >= 900000
BROKEN=		does not configure on FreeBSD 9.X
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/auth-ldap.conf ${EXAMPLESDIR}
.endif

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


1.11
log
@- Mark BROKEN on 9-CURRENT: fails to configure

  configure: error: Objective C preprocessor "/lib/cpp" fails sanity check

Reported by:	pointyhat
@
text
@d5 1
a5 1
# $FreeBSD$
@


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

Reminded by:	miwi
@
text
@d36 4
@


1.9
log
@- Try creatively to prevent this from failing on pointyhat

Reported by:	pointyhat
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.8
log
@Conditionally install configuration example (auth-ldap.conf) to EXAMPLESDIR.

PR:		149229 (based on)
Submitted by:	Alexey V.Degtyarev <alexey@@renatasystems.org>
Approved by:	snb (via mail)
@
text
@d30 6
d46 1
a46 1
.include <bsd.port.mk>
@


1.7
log
@Update home page and MASTER_SITES
Approved by:	ehaupt
@
text
@d9 1
a9 1
PORTREVISION=	1
d27 1
d35 4
@


1.6
log
@Change MAINTAINER to my @@FreeBSD.org address

Approved by:	erwin
@
text
@d11 1
a11 1
MASTER_SITES=	http://dpw.threerings.net/projects/openvpn-auth-ldap/
@


1.5
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d14 1
a14 1
MAINTAINER=	snb@@threerings.net
@


1.4
log
@Unmark broken; the missing Objective C header with gcc 4.2 has now been
fixed.

PR:		ports/117967
Submitted by:	maintainer
Approved by:	portmgr (self)
@
text
@d9 1
@


1.3
log
@Mark as broken on gcc4.2.
@
text
@d34 1
a34 7
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

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


1.2
log
@Remove errornous # DO NOT DELETE lines caused by makedepend(1)
@
text
@d34 7
a40 1
.include <bsd.port.mk>
@


1.1
log
@New port: security/openvpn-auth-ldap - LDAP authentication plugin for OpenVPN

	The OpenVPN Auth-LDAP Plugin implements username/password
	authentication via LDAP for OpenVPN 2.x. It also includes
	some integration with the OpenBSD packet filter, supporting
	adding and removing VPN clients from PF tables.

	WWW: http://dpw.threerings.net/projects/openvpn-auth-ldap/

PR:		ports/113925
Submitted by:	Nick Barkas <snb@@threerings.net>
@
text
@a34 1
# DO NOT DELETE
@

