2001-06-08 21:00:20 +02:00
|
|
|
# New ports collection makefile for: pam_ldap
|
|
|
|
# Date created: 26 May 2001
|
|
|
|
# Whom: Joe Clarke <marcus@marcuscom.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pam_ldap
|
2006-07-09 08:51:06 +02:00
|
|
|
PORTVERSION= 1.8.2
|
2001-06-08 21:00:20 +02:00
|
|
|
CATEGORIES= security net
|
|
|
|
MASTER_SITES= http://www.padl.com/download/ \
|
|
|
|
ftp://ftp.padl.com/pub/
|
2001-06-28 21:28:22 +02:00
|
|
|
DISTNAME= pam_ldap-${PORTVERSION:S/.//g}
|
2001-06-08 21:00:20 +02:00
|
|
|
|
2002-04-06 01:26:36 +02:00
|
|
|
MAINTAINER= marcus@FreeBSD.org
|
2003-02-26 07:54:12 +01:00
|
|
|
COMMENT= A pam module for authenticating with LDAP
|
2001-06-08 21:00:20 +02:00
|
|
|
|
2003-06-01 10:03:58 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2003-11-16 02:51:46 +01:00
|
|
|
USE_OPENLDAP= yes
|
2003-06-01 10:03:58 +02:00
|
|
|
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
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2002-03-29 08:46:57 +01:00
|
|
|
|
2003-11-16 02:51:46 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
2001-06-08 21:00:20 +02:00
|
|
|
|
2005-06-26 19:39:19 +02:00
|
|
|
MAN5= pam_ldap.5
|
|
|
|
|
2001-12-03 03:22:40 +01:00
|
|
|
post-extract:
|
2002-10-12 06:56:20 +02:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
|
2001-12-03 03:22:40 +01:00
|
|
|
|
2001-06-08 21:00:20 +02:00
|
|
|
post-install:
|
2003-11-16 02:51:46 +01:00
|
|
|
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \
|
|
|
|
| /usr/bin/fmt 75 79 > ${PKGMESSAGE}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-06-08 21:00:20 +02:00
|
|
|
|
2003-06-01 10:03:58 +02:00
|
|
|
.include <bsd.port.mk>
|