From 0aba48c78ea0b8d60dc51206cf086594e3a3d0b3 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 19 Nov 2004 23:18:01 +0000 Subject: 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. --- security/sudo/Makefile | 4 ++-- security/sudo/options.mk | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'security') 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) -- cgit v1.2.3