diff options
author | jlam <jlam> | 2004-11-19 23:18:01 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-19 23:18:01 +0000 |
commit | 29eea4cad9f4d03755249a4cf240c362bc9f8b73 (patch) | |
tree | a5141bebc64dfafe700aec4ede6bb1cd32537b6a | |
parent | 5528166f1d1aac3d598e6146219c675eaccaf66b (diff) | |
download | pkgsrc-29eea4cad9f4d03755249a4cf240c362bc9f8b73.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.
-rw-r--r-- | security/sudo/Makefile | 4 | ||||
-rw-r--r-- | security/sudo/options.mk | 3 |
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) |