summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-11-19 23:18:01 +0000
committerjlam <jlam@pkgsrc.org>2004-11-19 23:18:01 +0000
commit0aba48c78ea0b8d60dc51206cf086594e3a3d0b3 (patch)
treea5141bebc64dfafe700aec4ede6bb1cd32537b6a /security
parent7b315f978046b9449662b9bcbe49d7a54788e6b2 (diff)
downloadpkgsrc-0aba48c78ea0b8d60dc51206cf086594e3a3d0b3.tar.gz
Honor PKG_SYSCONFDIR by looking for the LDAP configuration file in
${PKG_SYSCONFDIR}/ldap.conf (by default, /usr/pkg/etc/ldap.conf) instead of hard-coding /etc/ldap.conf. Bump the PKGREVISION.
Diffstat (limited to 'security')
-rw-r--r--security/sudo/Makefile4
-rw-r--r--security/sudo/options.mk3
2 files changed, 4 insertions, 3 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index a3d441ef1f8..c3ee6f64194 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.72 2004/11/12 16:47:31 cube Exp $
+# $NetBSD: Makefile,v 1.73 2004/11/19 23:18:01 jlam Exp $
#
DISTNAME= sudo-1.6.8p2
PKGNAME= sudo-1.6.8pl2
-PKGREVISION= #
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.courtesan.com/sudo/dist/ \
ftp://ftp.courtesan.com/pub/sudo/ \
diff --git a/security/sudo/options.mk b/security/sudo/options.mk
index ad933d3814d..1d5f2f37d97 100644
--- a/security/sudo/options.mk
+++ b/security/sudo/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2004/11/18 23:02:01 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2004/11/19 23:18:01 jlam Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.sudo
@@ -16,6 +16,7 @@ CONFIGURE_ARGS+= --without-kerb5
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
+CONFIGURE_ARGS+= --with-ldap-conf-file=${PKG_SYSCONFDIR}/ldap.conf
.endif
.if !empty(PKG_OPTIONS:MPAM)