Below is a diff to update login_ldap. I've taken over the login_ldap project, started hosting it at sourceforge, imported Peter's updates (to 3.4), fixed the build and packaging for OpenBSD. I had problems with the 3.3 version of the port and Active Directory, but I have been using this version in production for quite a while.
Comments? ok? -ME Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/login_ldap/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 15 Sep 2007 21:14:02 -0000 1.8 +++ Makefile 7 Feb 2008 04:45:40 -0000 @@ -2,14 +2,13 @@ COMMENT= provide ldap authentication type -DISTNAME= login_ldap-3.3 -PKGNAME= ${DISTNAME}p1 +DISTNAME= login_ldap-3.51 CATEGORIES= sysutils -HOMEPAGE= http://www.ifost.org.au/~peterw/ -MASTER_SITES= ${HOMEPAGE} +HOMEPAGE= http://sourceforge.net/projects/login-ldap/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=login-ldap/} -MAINTAINER= Peter Werner <[EMAIL PROTECTED]> +MAINTAINER= Michael Erdely <[EMAIL PROTECTED]> # BSD PERMIT_PACKAGE_CDROM= Yes @@ -21,7 +20,7 @@ WANTLIB= c LIB_DEPENDS= lber,ldap:openldap-client-*:databases/openldap NO_REGRESS= Yes -pre-fake: - perl -pi -e "s@/usr/[EMAIL PROTECTED]@" ${WRKSRC}/login_ldap.8 +pre-configure: + @perl -pi -e "s@/usr/[EMAIL PROTECTED]@" ${WRKSRC}/login_ldap.8 .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/login_ldap/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 5 Apr 2007 17:26:12 -0000 1.5 +++ distinfo 7 Feb 2008 17:05:10 -0000 @@ -1,5 +1,5 @@ -MD5 (login_ldap-3.3.tar.gz) = UukF1UoTbD2FAVj091SKPw== -RMD160 (login_ldap-3.3.tar.gz) = nSV0610tEWzlV19Ph0SQLP2hOQE= -SHA1 (login_ldap-3.3.tar.gz) = oeAVa366IgR+8tcGkTt20GqIQHQ= -SHA256 (login_ldap-3.3.tar.gz) = 8K04H+q7VkTWXJBTck6XqtZ1JJs6TsxcZknxd9CY1Vw= -SIZE (login_ldap-3.3.tar.gz) = 10532 +MD5 (login_ldap-3.51.tar.gz) = 718G/47FcxY22hRctk6ihQ== +RMD160 (login_ldap-3.51.tar.gz) = KFtDGdCTo/cO/z2Wp4B9PAZ8naU= +SHA1 (login_ldap-3.51.tar.gz) = n3C2TRi/imswUWd1rQ/SJepJL3Y= +SHA256 (login_ldap-3.51.tar.gz) = Ai6uUsmxCa4ogl9l/kBly6ra7l06c0l2uG/okiPd2Bk= +SIZE (login_ldap-3.51.tar.gz) = 14601 Index: patches/patch-login_ldap_conf =================================================================== RCS file: patches/patch-login_ldap_conf diff -N patches/patch-login_ldap_conf --- patches/patch-login_ldap_conf 29 Aug 2007 13:21:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,9 +0,0 @@ -$OpenBSD: patch-login_ldap_conf,v 1.1 2007/08/29 13:21:05 jasper Exp $ ---- login_ldap.conf.orig Wed Aug 29 15:19:18 2007 -+++ login_ldap.conf Wed Aug 29 15:19:43 2007 -@@ -12,4 +12,4 @@ ldap:\ - :x-ldap-filter=(&(objectclass=posixAccount)(uid=%u)):\ - :x-ldap-gscope=base:\ - :x-ldap-groupdn=cn=accessgroup,ou=Groups,dc=example,dc=com:\ -- :x-ldap-groupfilter=(|(&(objectClass=posixGroup)(memberUid=%u))(&(objeclass=groupOfUniqueNames)(uniqueMember=%d))): -+ :x-ldap-groupfilter=(|(&(objectClass=posixGroup)(memberUid=%u))(&(objectClass=groupOfUniqueNames)(uniqueMember=%d))): Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/sysutils/login_ldap/pkg/DESCR,v retrieving revision 1.4 diff -u -p -r1.4 DESCR --- pkg/DESCR 15 Dec 2003 21:55:26 -0000 1.4 +++ pkg/DESCR 7 Feb 2008 16:48:25 -0000 @@ -1,4 +1,2 @@ -This port is for OpenBSD administrators wanting to authenticate -users off an LDAP server. It uses the BSD Authentication API. - -Please visit WWW for information on updates and commercial support. +login_ldap provides an authentication mechanism through bsdauth to +authenticate users against an LDAP server. Index: pkg/MESSAGE =================================================================== RCS file: pkg/MESSAGE diff -N pkg/MESSAGE --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg/MESSAGE 7 Feb 2008 17:08:02 -0000 @@ -0,0 +1,4 @@ +Note: Some configuration options for login_ldap in login.conf have changed. +If you're upgrading from previous versions, make sure to consult the +man page, login_ldap(8), and look at the examples in +${PREFIX}/share/examples/login_ldap/. Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/login_ldap/pkg/PLIST,v retrieving revision 1.6 diff -u -p -r1.6 PLIST --- pkg/PLIST 1 Oct 2005 17:12:30 -0000 1.6 +++ pkg/PLIST 7 Feb 2008 16:29:35 -0000 @@ -1,15 +1,14 @@ @comment $OpenBSD: PLIST,v 1.6 2005/10/01 17:12:30 espie Exp $ -bin/enable-login_ldap libexec/auth/ @group auth libexec/auth/login_-ldap @mode 0555 @owner root @sample /usr/libexec/auth/login_-ldap [EMAIL PROTECTED] @owner @group [EMAIL PROTECTED] @man man/cat8/login_ldap.0 -share/login_ldap/ -share/login_ldap/active-directory.login_ldap.conf -share/login_ldap/login_ldap.conf +share/examples/login_ldap/ +share/examples/login_ldap/active-directory.login_ldap.conf +share/examples/login_ldap/login_ldap.conf