Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 01:17:57 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144991: [patch] Fix net-snmp dependancy for net/ifstat
Message-ID:  <201003240117.o2O1HvIX023254@www.freebsd.org>
Resent-Message-ID: <201003240120.o2O1K2wd028458@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144991
>Category:       ports
>Synopsis:       [patch] Fix net-snmp dependancy for net/ifstat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 24 01:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        7.2-RELEASE
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD xxx.rit.edu 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #7: Wed Feb  3 18:40:17 EST 2010     root@xxx.rit.edu:/usr/obj/usr/src/sys/xxx  i386
>Description:
net/ifstat (when built WITH_SNMP=YES) has an incorrect LIB_DEPEND of netsnmp.10, when it should be netsnmp.16.
>How-To-Repeat:
cd /usr/ports/net-mgmt/net-snmp && make install
cd /usr/ports/net/ifstat && make WITH_SNMP=yes install

>Fix:


Patch attached with submission follows:

diff -urN /tmp/ifstat/Makefile /usr/ports/net/ifstat/Makefile
--- /tmp/ifstat/Makefile	2010-03-23 21:09:01.000000000 -0400
+++ /usr/ports/net/ifstat/Makefile	2010-03-23 21:09:10.000000000 -0400
@@ -26,7 +26,7 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_SNMP)
-LIB_DEPENDS+=	netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS+=	netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
 .else
 CONFIGURE_ARGS+=	--without-snmp
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003240117.o2O1HvIX023254>