head	1.49;
access;
symbols
	RELEASE_8_3_0:1.48
	RELEASE_9_0_0:1.47
	RELEASE_7_4_0:1.46
	RELEASE_8_2_0:1.46
	RELEASE_6_EOL:1.44
	RELEASE_8_1_0:1.44
	RELEASE_7_3_0:1.43
	RELEASE_8_0_0:1.41
	RELEASE_7_2_0:1.41
	RELEASE_7_1_0:1.40
	RELEASE_6_4_0:1.40
	RELEASE_5_EOL:1.39
	RELEASE_7_0_0:1.39
	RELEASE_6_3_0:1.39
	PRE_XORG_7:1.38
	RELEASE_4_EOL:1.38
	RELEASE_6_2_0:1.38
	RELEASE_6_1_0:1.37
	RELEASE_5_5_0:1.37
	RELEASE_6_0_0:1.37
	RELEASE_5_4_0:1.33
	RELEASE_4_11_0:1.33
	RELEASE_5_3_0:1.32
	RELEASE_4_10_0:1.30
	RELEASE_5_2_1:1.27
	RELEASE_5_2_0:1.27
	RELEASE_4_9_0:1.26
	RELEASE_5_1_0:1.24
	RELEASE_4_8_0:1.24
	RELEASE_5_0_0:1.21
	RELEASE_4_7_0:1.19
	RELEASE_4_6_2:1.16
	RELEASE_4_6_1:1.16
	RELEASE_4_6_0:1.16
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.7;
locks; strict;
comment	@# @;


1.49
date	2012.11.17.06.01.14;	author svnexp;	state Exp;
branches;
next	1.48;

1.48
date	2011.12.27.00.27.29;	author marcus;	state Exp;
branches;
next	1.47;

1.47
date	2011.02.25.01.32.06;	author delphij;	state Exp;
branches;
next	1.46;

1.46
date	2011.01.02.17.24.49;	author marcus;	state Exp;
branches;
next	1.45;

1.45
date	2010.12.17.19.39.41;	author marcus;	state Exp;
branches;
next	1.44;

1.44
date	2010.03.13.23.47.09;	author marcus;	state Exp;
branches;
next	1.43;

1.43
date	2010.01.18.19.14.57;	author marcus;	state Exp;
branches;
next	1.42;

1.42
date	2010.01.10.23.39.04;	author marcus;	state Exp;
branches;
next	1.41;

1.41
date	2009.01.05.19.04.34;	author delphij;	state Exp;
branches;
next	1.40;

1.40
date	2008.08.21.06.18.20;	author rafan;	state Exp;
branches;
next	1.39;

1.39
date	2007.10.24.06.15.14;	author marcus;	state Exp;
branches;
next	1.38;

1.38
date	2006.07.09.06.51.06;	author marcus;	state Exp;
branches;
next	1.37;

1.37
date	2005.08.27.19.20.04;	author marcus;	state Exp;
branches;
next	1.36;

1.36
date	2005.06.26.17.39.19;	author marcus;	state Exp;
branches;
next	1.35;

1.35
date	2005.04.12.03.26.30;	author obrien;	state Exp;
branches;
next	1.34;

1.34
date	2005.04.11.08.03.54;	author obrien;	state Exp;
branches;
next	1.33;

1.33
date	2004.10.31.07.54.18;	author marcus;	state Exp;
branches;
next	1.32;

1.32
date	2004.09.02.19.25.40;	author marcus;	state Exp;
branches;
next	1.31;

1.31
date	2004.08.31.05.42.05;	author marcus;	state Exp;
branches;
next	1.30;

1.30
date	2004.03.19.07.55.35;	author marcus;	state Exp;
branches;
next	1.29;

1.29
date	2004.02.04.05.08.50;	author marcus;	state Exp;
branches;
next	1.28;

1.28
date	2003.12.25.05.46.19;	author marcus;	state Exp;
branches;
next	1.27;

1.27
date	2003.11.16.01.51.46;	author marcus;	state Exp;
branches;
next	1.26;

1.26
date	2003.08.14.17.47.26;	author marcus;	state Exp;
branches;
next	1.25;

1.25
date	2003.06.01.08.03.58;	author marcus;	state Exp;
branches;
next	1.24;

1.24
date	2003.02.26.06.54.12;	author marcus;	state Exp;
branches;
next	1.23;

1.23
date	2003.02.24.02.56.36;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2003.02.24.02.26.55;	author edwin;	state Exp;
branches;
next	1.21;

1.21
date	2002.10.20.04.47.11;	author marcus;	state Exp;
branches;
next	1.20;

1.20
date	2002.10.12.04.56.01;	author marcus;	state Exp;
branches;
next	1.19;

1.19
date	2002.09.19.20.19.12;	author marcus;	state Exp;
branches;
next	1.18;

1.18
date	2002.08.31.19.19.21;	author marcus;	state Exp;
branches;
next	1.17;

1.17
date	2002.07.26.02.22.25;	author marcus;	state Exp;
branches;
next	1.16;

1.16
date	2002.05.12.21.01.30;	author marcus;	state Exp;
branches;
next	1.15;

1.15
date	2002.04.05.23.26.36;	author marcus;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.01.17.30.35;	author pat;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.29.07.46.56;	author petef;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.23.10.09.41;	author pat;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.08.06.11.13;	author pat;	state Exp;
branches;
next	1.10;

1.10
date	2002.02.04.23.14.14;	author pat;	state Exp;
branches;
next	1.9;

1.9
date	2001.12.03.02.22.40;	author steve;	state Exp;
branches;
next	1.8;

1.8
date	2001.09.22.20.10.06;	author sf;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.19.18.13.13;	author dwcjr;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.22.04.58.59;	author dwcjr;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.09.23.26.14;	author dwcjr;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.28.19.28.22;	author jeh;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.20.18.42.25;	author unfurl;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.11.20.11.24;	author dwcjr;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.08.19.00.18;	author dwcjr;	state Exp;
branches;
next	;


desc
@@


1.49
log
@Switch exporter over
@
text
@# New ports collection makefile for:    pam_ldap
# Date created:				26 May 2001
# Whom:	      				Joe Clarke <marcus@@marcuscom.com>
#
# $FreeBSD: head/security/pam_ldap/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	pam_ldap
PORTVERSION=	1.8.6
PORTREVISION=	2
CATEGORIES=	security net
MASTER_SITES=	http://www.padl.com/download/ \
		ftp://ftp.padl.com/pub/
DISTNAME=	pam_ldap-${PORTVERSION:S/.//g}

MAINTAINER=	marcus@@FreeBSD.org
COMMENT=	A pam module for authenticating with LDAP

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_OPENLDAP=	yes
USE_PERL5_BUILD=yes
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
PAM_LDAP_CONF?=	ldap.conf
CONFIGURE_ARGS=	--with-ldap-lib=openldap \
		--with-ldap-dir=${LOCALBASE} \
		--with-ldap-conf-file=${PREFIX}/etc/${PAM_LDAP_CONF} \
		--with-ldap-secret-file=${PREFIX}/etc/ldap.secret

PKGMESSAGE=	${WRKDIR}/pkg-message
PORTDATA=	*.schema

MAN5=		pam_ldap.5

post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \
	    	${WRKSRC}/vers_string

pre-install:
	${MKDIR} ${DATADIR}

post-install:
	${INSTALL_DATA} ${WRKSRC}/*.schema ${DATADIR}
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
	    	-e 's|%%DATADIR%%|${DATADIR}|' < ${PKGDIR}/pkg-message \
		| /usr/bin/fmt 75 79 > ${PKGMESSAGE}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.48
log
@Install schema files with pam_ldap.

PR:		163492
Submitted by:	Mel.Flynn@@datakitty.lan.rachie.is-a-geek.net
@
text
@d5 1
a5 1
# $FreeBSD$
@


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

Reminded by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	1
d31 1
d39 3
d43 3
a45 1
	@@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \
@


1.46
log
@Remove this post-extract target to avoid autotools regeneration.
@
text
@d10 1
@


1.45
log
@Update to 1.8.6.
@
text
@a32 3
post-extract:
	@@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f

@


1.44
log
@Use the cannonical path to Perl in the vers_string script.

PR:		144108
@
text
@d9 1
a9 1
PORTVERSION=	1.8.5
@


1.43
log
@Fix the build.

PR:		142725
Submitted by:	"Alexey V. Degtyarev" <alexey@@renatasystems.org>
@
text
@d36 4
@


1.42
log
@* Update to 1.8.5
* Allow the configuration file to be overridden by defining
  PAM_LDAP_CONF at build time.

PR:		142468
Submitted by:	skv
@
text
@d21 1
@


1.41
log
@Bump PORTREVISION's after OpenLDAP update.

Suggested by:	rafan
@
text
@d9 1
a9 2
PORTVERSION=	1.8.4
PORTREVISION=	1
d22 1
d25 1
a25 1
		--with-ldap-conf-file=${PREFIX}/etc/ldap.conf \
@


1.40
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
@d10 1
@


1.39
log
@Update to 1.8.4.

fix for BUG#291:
don't suppress password policy errors which should not be suppressed

fix for BUG#312:
pam_ldap does not try to reconnect when LDAP server closed the connection

PR:		116176
Submitted by:	mm
@
text
@a25 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
@


1.38
log
@Update to 1.8.2.
@
text
@d9 1
a9 1
PORTVERSION=	1.8.2
@


1.37
log
@Update to 1.8.0.

Security:	Fixes a security vulnerability described at
		http://www.kb.cert.org/vuls/id/778916
Requested by:	simon
Approved by:	portmgr (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.8.0
@


1.36
log
@Update to 1.7.8, now with a shiny new man page.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.8
@


1.35
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 1
a9 1
PORTVERSION=	1.7.6
d30 2
@


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


1.33
log
@Update to 1.7.6.
@
text
@d26 1
a26 1
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
@


1.32
log
@Implement a "mgrate" facility that lets one migrate/overwrite the LDAP
userPassword field of the user being authenticated.  The PAM and LDAP
usernames must be the same.  This makes "pam_ldap migrate" similar to
"pam_smbpass migrate".  This has been submitted to PADL in
http://bugzilla.padl.com/show_bug.cgi?id=178. [1]

Allow pam_ldap to change user passwords under certain circumstances.  This
has been submitted to PADL in
http://bugzilla.padl.com/show_bug.cgi?id=177. [2]

All of this is documented further at
http://www.iem.pw.edu.pl/~wielebap/ldap/pam_ldap/pam_ldap_doc.pdf.

PR:		71289 [1]
		71287 [2]
Submitted by:	Pawel Wieleba <wielebap@@iem.pw.edu.pl>
@
text
@d9 1
a9 2
PORTVERSION=	1.7.1
PORTREVISION=	1
@


1.31
log
@Update to 1.7.1.
@
text
@d10 1
@


1.30
log
@Update to 1.6.9.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9
@


1.29
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	1.6.7
PORTREVISION=	1
@


1.28
log
@Update to 1.6.7.
@
text
@d10 1
@


1.27
log
@* Update to 1.6.5
* Use USE_OPENLDAP
* Remove ability to build with openldap12
* Convert display message to a real pkg-message
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5
d26 1
a26 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
@


1.26
log
@Use openldap21-client.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.4
d20 1
d28 1
a28 5
.if !defined(WITHOUT_LDAP_V3)
LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap21-client
.else
LIB_DEPENDS=	ldap.1:${PORTSDIR}/net/openldap12
.endif
d34 3
a36 8
	@@${ECHO} "================================================================================"
	@@${ECHO} "Copy/move/symlink ${PREFIX}/etc/ldap.conf.dist to"
	@@${ECHO} "${PREFIX}/etc/ldap.conf to be able to use it."
	@@${ECHO} "Add lines like the following to /etc/pam.conf"
	@@${ECHO} "to get things going:"
	@@${ECHO} ""
	@@${ECHO} "login    auth    sufficient    ${PREFIX}/lib/pam_ldap.so"
	@@${ECHO} "================================================================================"
@


1.25
log
@Update to 1.6.4.
@
text
@d28 1
a28 2
LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap20 \
		lber.2:${PORTSDIR}/net/openldap20
d30 1
a30 2
LIB_DEPENDS=	ldap.1:${PORTSDIR}/net/openldap12 \
		lber.1:${PORTSDIR}/net/openldap12
@


1.24
log
@* Update to 1.6.1
* De-pkg-comment
@
text
@d9 1
a9 1
PORTVERSION=	1.6.1
d18 8
a25 1
.include <bsd.port.pre.mk>
a34 9
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
CONFIGURE_ARGS=	--with-ldap-lib=openldap \
		--with-ldap-dir=${LOCALBASE} \
		--with-ldap-conf-file=${PREFIX}/etc/ldap.conf \
		--with-ldap-secret-file=${PREFIX}/etc/ldap.secret
CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

d48 1
a48 1
.include <bsd.port.post.mk>
@


1.23
log
@Point dependencies on net/openldap2 to net/openldap20
@
text
@d9 1
a9 1
PORTVERSION=	1.5.6
d16 1
@


1.22
log
@Point dependencies on net/openldap to net/openldap12
@
text
@d20 2
a21 2
LIB_DEPENDS=	ldap.2:${PORTSDIR}/net/openldap2 \
		lber.2:${PORTSDIR}/net/openldap2
@


1.21
log
@Update to 1.5.6.
@
text
@d23 2
a24 2
LIB_DEPENDS=	ldap.1:${PORTSDIR}/net/openldap \
		lber.1:${PORTSDIR}/net/openldap
@


1.20
log
@Update to 1.5.4.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.4
@


1.19
log
@Update to 1.5.2.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.2
d37 1
a37 1
	@@find ${WRKSRC} -type f | xargs ${TOUCH} -f
@


1.18
log
@Update to 1.5.1.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.1
@


1.17
log
@Update to 1.5.0.
@
text
@d9 1
a9 1
PORTVERSION=	1.5.0
@


1.16
log
@Update to 1.4.8.
@
text
@d9 1
a9 1
PORTVERSION=	1.4.8
@


1.15
log
@Change my ports to use my FreeBSD.org address.

Approved by:	sobomax
@
text
@d9 1
a9 1
PORTVERSION=	1.4.0
d19 1
a19 1
.if defined(WITH_LDAP_V3)
d27 1
d29 1
a34 4

USE_GMAKE=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
@


1.14
log
@Unbreak pam_ldap on -CURRENT after the latest OpenPAM patch

PR:		36613
Submitted by:	maintainer
@
text
@d15 1
a15 1
MAINTAINER=	marcus@@marcuscom.com
@


1.13
log
@- add a patch to let this build with OpenPAM, but mark as broken for
  -currents with OpenPAM because functionality is broken.
- touch -> ${TOUCH}

PR:		36469
Submitted by:	maintainer
@
text
@a18 4
.if ${OSVERSION} > 500030
BROKEN=	"Does not work correctly with OpenPAM"
.endif

@


1.12
log
@Set where to look for ldap secret file

PR:		36029
Submitted by:	maintainer
@
text
@d17 6
d43 1
a43 1
	@@find ${WRKSRC} -type f | xargs touch -f
d55 1
a55 1
.include <bsd.port.mk>
@


1.11
log
@Update to 1.4.0

PR:		35663
Submitted by:	maintainer
@
text
@d28 2
a29 1
		--with-ldap-conf-file=${PREFIX}/etc/ldap.conf
@


1.10
log
@Update to 1.3.7

PR:		34592
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.7
@


1.9
log
@Update to version 1.3.4.

PR:		32427
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.3.4
d25 1
a25 2
USE_AUTOCONF=	yes
USE_AUTOMAKE=	yes
d27 3
a29 1
		--with-ldap-dir=${LOCALBASE}
@


1.8
log
@update to 1.3.1.

PR:		30745
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.7 2001/08/19 18:13:13 dwcjr Exp $
d9 1
a9 1
PORTVERSION=	1.3.1
d33 3
@


1.7
log
@Update to 1.2.3

PR:		29779
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.6 2001/07/22 04:58:59 dwcjr Exp $
d9 1
a9 1
PORTVERSION=	1.2.3
@


1.6
log
@Update to 1.2.1

PR:		29126
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.5 2001/07/09 23:26:14 dwcjr Exp $
d9 1
a9 1
PORTVERSION=	1.2.1
@


1.5
log
@Update to 1.1.9
Update patch-ac to set compiler flags correctly.

PR:		28850
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.4 2001/06/28 19:28:22 jeh Exp $
d9 1
a9 1
PORTVERSION=	1.1.9
@


1.4
log
@Add "USE_AUTOMAKE= yes"

PR:		28489
Submitted by:	Joe Marcus Clarke <marcus@@marcuscom.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.3 2001/06/20 18:42:25 unfurl Exp $
d9 1
a9 1
PORTVERSION=	1.1.8
@


1.3
log
@Updated to close PR.

PR:		ports/28298
Submitted by:	Joe Marcus Clarke <marcus@@marcuscom.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.2 2001/06/11 20:11:24 dwcjr Exp $
d13 1
a13 1
DISTNAME=      	pam_ldap-${PORTVERSION:S/.//g}
d26 1
@


1.2
log
@Fix patches to use etc instead of etc/pam_ldap
Bump PORTREVISION
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pam_ldap/Makefile,v 1.1 2001/06/08 19:00:18 dwcjr Exp $
d9 1
a9 1
PORTVERSION=	1.1.3
d13 1
a13 2
DISTNAME=	pam_ldap
EXTRACT_SUFX=	.tgz
@


1.1
log
@New pam port for ldap authentication.

PR:		27673
Submitted by:	Joe Marcus Clarke <marcus@@marcuscom.com>
Reviewed by:	will
@
text
@d5 1
a5 1
# $FreeBSD$
d36 2
a37 2
	@@${ECHO} "Copy/move/symlink ${PREFIX}/etc/pam_ldap/ldap.conf.dist to"
	@@${ECHO} "${PREFIX}/etc/pam_ldap/ldap.conf to be able to use it."
@

