1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

* Update to 1.6.5

* Use USE_OPENLDAP
* Remove ability to build with openldap12
* Convert display message to a real pkg-message
This commit is contained in:
Joe Marcus Clarke 2003-11-16 01:51:46 +00:00
parent 84b68efce4
commit 084b2afd37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94078
3 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= pam_ldap
PORTVERSION= 1.6.4
PORTVERSION= 1.6.5
CATEGORIES= security net
MASTER_SITES= http://www.padl.com/download/ \
ftp://ftp.padl.com/pub/
@ -17,6 +17,7 @@ COMMENT= A pam module for authenticating with LDAP
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_OPENLDAP= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g}
CONFIGURE_ARGS= --with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE} \
@ -24,23 +25,14 @@ CONFIGURE_ARGS= --with-ldap-lib=openldap \
--with-ldap-secret-file=${PREFIX}/etc/ldap.secret
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.if !defined(WITHOUT_LDAP_V3)
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21-client
.else
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12
.endif
PKGMESSAGE= ${WRKDIR}/pkg-message
post-extract:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
post-install:
@${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} "================================================================================"
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \
| /usr/bin/fmt 75 79 > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (pam_ldap-164.tar.gz) = 0b5d6ef6735480210d27a3d969f59e12
MD5 (pam_ldap-165.tar.gz) = fb333f792f14e67a7c49dc738ad78f12

View File

@ -0,0 +1,8 @@
================================================================================
Copy %%PREFIX%%/etc/ldap.conf.dist to %%PREFIX%%/etc/ldap.conf, then edit
%%PREFIX%%/etc/ldap.conf in order to use this module. Add a line similar to
the following to /etc/pam.conf on -STABLE, or create an /etc/pam.d/ldap
on -CURRENT with a line similar to the following:
login auth sufficient %%PREFIX%%/lib/pam_ldap.so
================================================================================