ports/65697: ports/net-mgmt/p5-SNMP upgrade to module shipping with ports/net-mgmt/net-snmp4

Helge Oldach p5snmpapr04 at oldach.net
Sun Apr 18 09:00:25 UTC 2004


>Number:         65697
>Category:       ports
>Synopsis:       ports/net-mgmt/p5-SNMP upgrade to module shipping with ports/net-mgmt/net-snmp4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 18 02:00:25 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD localhost 4.10-BETA FreeBSD 4.10-BETA #1821: Fri Apr 9 16:24:09 CEST 2004 toor at localhost:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

ports/net-mgmt/p5-SNMP installs an older perl module than shipping with
ports/net-mgmt/net-snmp4. It should better be in sync with the Net-SNMP
package it depends on.

The patches below extract the SNMP module from the ucd-snmp
distribution instead of fetching from CPAN.

>How-To-Repeat:
	
>Fix:

diff -ru ./Makefile /usr/ports/hmo/p5-SNMP/Makefile
--- ./Makefile	Sun Apr 11 07:48:53 2004
+++ /usr/ports/hmo/p5-SNMP/Makefile	Sun Apr 18 10:49:47 2004
@@ -6,11 +6,16 @@
 #
 
 PORTNAME=	SNMP
-PORTVERSION=	4.2.0
-CATEGORIES=	net-mgmt perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	SNMP
+PORTVERSION=	4.2.6
+DISTNAME=	ucd-snmp-${PORTVERSION}
+CATEGORIES=	net-mgmt perl5
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
+		ftp://ucd-snmp.ucdavis.edu/ \
+		ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
+		ftp://ftp.win.ne.jp/pub/network/snmp/ucd-snmp/
+MASTER_SITE_SUBDIR= net-snmp
 PKGNAMEPREFIX=	p5-
+WRKSRC=		${WRKDIR}/${DISTNAME}/perl/SNMP
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A perl5 module for interfacing with the CMU SNMP library
diff -ru ./distinfo /usr/ports/hmo/p5-SNMP/distinfo
--- ./distinfo	Tue Feb 17 15:40:24 2004
+++ /usr/ports/hmo/p5-SNMP/distinfo	Fri Mar 19 23:48:14 2004
@@ -1,2 +1,2 @@
-MD5 (SNMP-4.2.0.tar.gz) = 46715f457f3bcf5bf599d441f7e5300b
-SIZE (SNMP-4.2.0.tar.gz) = 99552
+MD5 (ucd-snmp-4.2.6.tar.gz) = cf3f24e6a69a4f52c14affe0064116b1
+SIZE (ucd-snmp-4.2.6.tar.gz) = 1717379


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



More information about the freebsd-ports-bugs mailing list