Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 01:15:38 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144990: [patch] Fix net-snmp dependancy for net/cactid
Message-ID:  <201003240115.o2O1FcNT023018@www.freebsd.org>
Resent-Message-ID: <201003240120.o2O1K2hw028449@freefall.freebsd.org>

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

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



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