summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/p5-SNMP/Makefile20
-rw-r--r--net-mgmt/p5-SNMP/distinfo4
2 files changed, 12 insertions, 12 deletions
diff --git a/net-mgmt/p5-SNMP/Makefile b/net-mgmt/p5-SNMP/Makefile
index 8cd72e05536b..d524475e5792 100644
--- a/net-mgmt/p5-SNMP/Makefile
+++ b/net-mgmt/p5-SNMP/Makefile
@@ -6,27 +6,27 @@
#
PORTNAME= SNMP
-PORTVERSION= 4.2.0
+PORTVERSION= 4.2.6
CATEGORIES= net-mgmt perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= SNMP
+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-
+DISTNAME= ucd-snmp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A perl5 module for interfacing with the CMU SNMP library
LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
-PERL_CONFIGURE= yes
-
-.include <bsd.port.pre.mk>
+WRKSRC= ${WRKDIR}/${DISTNAME}/perl/SNMP
-.if ${PERL_LEVEL} >= 500800
-BROKEN= "Does not build with perl >=5.8"
-.endif
+PERL_CONFIGURE= yes
post-install:
@${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/lib/perl5/site_perl/README.SNMP
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-SNMP/distinfo b/net-mgmt/p5-SNMP/distinfo
index f5f7f27e943b..d064d2acaf52 100644
--- a/net-mgmt/p5-SNMP/distinfo
+++ b/net-mgmt/p5-SNMP/distinfo
@@ -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