pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/sudo Honor PKG_SYSCONFDIR by looking for the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f30096e62d79
branches:  trunk
changeset: 483829:f30096e62d79
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Nov 19 23:18:01 2004 +0000

description:
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:

 security/sudo/Makefile   |  4 ++--
 security/sudo/options.mk |  3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 66701c4878ec -r f30096e62d79 security/sudo/Makefile
--- a/security/sudo/Makefile    Fri Nov 19 23:16:02 2004 +0000
+++ b/security/sudo/Makefile    Fri Nov 19 23:18:01 2004 +0000
@@ -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 -r 66701c4878ec -r f30096e62d79 security/sudo/options.mk
--- a/security/sudo/options.mk  Fri Nov 19 23:16:02 2004 +0000
+++ b/security/sudo/options.mk  Fri Nov 19 23:18:01 2004 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index