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= ports@MidnightBSD.org COMMENT= Pam module for authenticating with LDAP WWW= https://www.padl.com/OSS/pam_ldap.html LICENSE= gpl2 USES= cpe gmake perl5 ldap shebangfix 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 GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= vers_string CPE_VENDOR= padl SUB_FILES= pkg-message PORTDATA= *.schema pre-install: @${MKDIR} ${DATADIR} post-install: @${INSTALL_DATA} ${WRKSRC}/*.schema ${DATADIR} .include