pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/net-snmp Apply patch from PR pkg/22934 by Greg A. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98aa6c5ea572
branches:  trunk
changeset: 463151:98aa6c5ea572
user:      cube <cube%pkgsrc.org@localhost>
date:      Thu Oct 30 08:36:03 2003 +0000

description:
Apply patch from PR pkg/22934 by Greg A. Woods.

o Remove NET_SNMP_LOGFILE since it's not used anymore
o Include /usr/local/share/snmp/mibs into the default MIBS file search path
o Use --with-logfile=none instead of --without-logfile because that is what
  the configure script wants for that variable.

While those changes affect an exported header file, they don't affect in
any way the compilation of dependencies, so no revision bump is needed.

diffstat:

 net/net-snmp/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 4f6ab830eb56 -r 98aa6c5ea572 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Thu Oct 30 07:42:23 2003 +0000
+++ b/net/net-snmp/Makefile     Thu Oct 30 08:36:03 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2003/09/14 11:58:43 tron Exp $
+# $NetBSD: Makefile,v 1.12 2003/10/30 08:36:03 cube Exp $
 
 DISTNAME=      net-snmp-5.0.9
 CATEGORIES=    net
@@ -17,9 +17,8 @@
 
 NET_SNMP_SYS_CONTACT?=         default_user@contact.domain
 NET_SNMP_SYS_LOCATION?=                defaultlocation
-NET_SNMP_LOGFILE?=             /var/log/snmpd.log
 NET_SNMP_PERSISTENTDIR?=       /var/net-snmp
-NET_SNMP_MIBDIRS?=             \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm3.0.0/mibs
+NET_SNMP_MIBDIRS?=             \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs:${PREFIX}/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs:${PREFIX}/lib/tcl/tnm3.0.0/mibs
 
 USE_BUILDLINK2=                yes
 USE_PKGINSTALL=                yes
@@ -57,7 +56,7 @@
 # daemon must be stopped to cycle it properly.  Remember rc.d/snmpd
 # will use '-s' to enable standard syslog logging anyway.
 #
-CONFIGURE_ARGS+=       --without-logfile
+CONFIGURE_ARGS+=       --with-logfile=none
 CONFIGURE_ARGS+=       --with-persistent-directory="${NET_SNMP_PERSISTENTDIR}"
 .if !empty(NET_SNMP_MIBDIRS)
 CONFIGURE_ARGS+=       --with-mibdirs="${NET_SNMP_MIBDIRS}"



Home | Main Index | Thread Index | Old Index