ports/144990: [patch] Fix net-snmp dependancy for net/cactid

Ryan Steinmetz rpsfa at rit.edu
Wed Mar 24 01:20:02 UTC 2010


>Number:         144990
>Category:       ports
>Synopsis:       [patch] Fix net-snmp dependancy for net/cactid
>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:01 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 at xxx.rit.edu:/usr/obj/usr/src/sys/xxx  i386
>Description:
net/cactid has an incorrect LIB_DEPEND for netsnmp.10.  It should be netsnmp.16.

===>  Installing for net-snmp-5.4.2.1_6
===>   net-snmp-5.4.2.1_6 depends on file: /usr/local/bin/perl5.8.9 - found
===>   Generating temporary packing list
===>  Checking if net-mgmt/net-snmp already installed
===>   net-snmp-5.4.2.1_6 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of net-mgmt/net-snmp
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
*** Error code 1

Stop in /tmp/cactid.
>How-To-Repeat:
cd /usr/ports/net-mgmt/net-snmp && make install
cd /usr/ports/net/cactid && make install

>Fix:


Patch attached with submission follows:

diff -urN /tmp/cactid/Makefile /usr/ports/net/cactid/Makefile
--- /tmp/cactid/Makefile	2010-03-23 21:05:31.000000000 -0400
+++ /usr/ports/net/cactid/Makefile	2010-03-23 21:05:40.000000000 -0400
@@ -15,7 +15,7 @@
 MAINTAINER=	clement at FreeBSD.org
 COMMENT=	A multithreaded poller for Cacti written in C
 
-LIB_DEPENDS=	netsnmp.10:${PORTSDIR}/net-mgmt/net-snmp
+LIB_DEPENDS=	netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
 
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE}


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



More information about the freebsd-ports-bugs mailing list