aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Net-SNMP3
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-12-04 10:26:22 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-12-04 10:26:22 +0000
commit3d832753ed06826834687d73a93c0bd26f504d77 (patch)
treece8a66b925f1f4c51250f7cab5c3e59005930ca3 /net-mgmt/p5-Net-SNMP3
parentec15891f82666618c7468cd6d4f266bee0dcc163 (diff)
downloadports-3d832753ed06826834687d73a93c0bd26f504d77.tar.gz
ports-3d832753ed06826834687d73a93c0bd26f504d77.zip
Downgrade to 3.65 after a repocopy of net/p5-Net-SNMP.
This version is for backwards compatability with perl 5.005_03 PR: 57674 Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=94934
Diffstat (limited to 'net-mgmt/p5-Net-SNMP3')
-rw-r--r--net-mgmt/p5-Net-SNMP3/Makefile27
-rw-r--r--net-mgmt/p5-Net-SNMP3/distinfo2
-rw-r--r--net-mgmt/p5-Net-SNMP3/pkg-plist13
3 files changed, 13 insertions, 29 deletions
diff --git a/net-mgmt/p5-Net-SNMP3/Makefile b/net-mgmt/p5-Net-SNMP3/Makefile
index d4d09ed9bc4e..2b720998e493 100644
--- a/net-mgmt/p5-Net-SNMP3/Makefile
+++ b/net-mgmt/p5-Net-SNMP3/Makefile
@@ -1,35 +1,30 @@
-# New ports collection makefile for: p5-Net-SNMP
-# Date created: 30 June 2000
-# Whom: Christopher N. Harrell <cnh@ivmg.net>
+# New ports collection makefile for: p5-Net-SNMP3
+# Date created: 2 oct 2003
+# Whom: Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#
PORTNAME= Net-SNMP
-PORTVERSION= 4.1.2
+PORTVERSION= 3.65
CATEGORIES= net perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Net
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= krion
PKGNAMEPREFIX= p5-
+PKGNAMESUFFIX= -365
MAINTAINER= lars@thegler.dk
-COMMENT= A perl module for SNMP... Net::SNMP
-
-RUN_DEPENDS= ${ARCH_PERL}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES \
- ${ARCH_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
- ${ARCH_PERL}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
- ${SITE_PERL}/Digest/HMAC.pm:${PORTSDIR}/security/p5-Digest-HMAC
+COMMENT= Net::SNMP for pre-5.6 perl
+CONFLICTS= p5-Net-SNMP-*
PERL_CONFIGURE= yes
-ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}
-MAN1= snmpkey.1
MAN3= Net::SNMP.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500600
-IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.if ${PERL_LEVEL} >= 500600
+IGNORE= This port is only for pre-5.6 perl. Install net/p5-Net-SNMP instead.
.endif
.include <bsd.port.post.mk>
diff --git a/net-mgmt/p5-Net-SNMP3/distinfo b/net-mgmt/p5-Net-SNMP3/distinfo
index 2cbd5dac0f07..0ee51f59dd15 100644
--- a/net-mgmt/p5-Net-SNMP3/distinfo
+++ b/net-mgmt/p5-Net-SNMP3/distinfo
@@ -1 +1 @@
-MD5 (Net-SNMP-4.1.2.tar.gz) = e6b761db6115b0b1fe5446e220abaa4a
+MD5 (Net-SNMP-3.65.tar.gz) = bbb32dbac9901a09ef67df57db3a7b9f
diff --git a/net-mgmt/p5-Net-SNMP3/pkg-plist b/net-mgmt/p5-Net-SNMP3/pkg-plist
index cde0f1b4b33d..a78720eea4eb 100644
--- a/net-mgmt/p5-Net-SNMP3/pkg-plist
+++ b/net-mgmt/p5-Net-SNMP3/pkg-plist
@@ -1,17 +1,6 @@
-bin/snmpkey
%%SITE_PERL%%/Net/SNMP.pm
-%%SITE_PERL%%/Net/SNMP/Dispatcher.pm
-%%SITE_PERL%%/Net/SNMP/Message.pm
-%%SITE_PERL%%/Net/SNMP/MessageProcessing.pm
-%%SITE_PERL%%/Net/SNMP/PDU.pm
-%%SITE_PERL%%/Net/SNMP/Security.pm
-%%SITE_PERL%%/Net/SNMP/Security/Community.pm
-%%SITE_PERL%%/Net/SNMP/Security/USM.pm
-%%SITE_PERL%%/Net/SNMP/Transport/UDP.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SNMP
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@dirrm %%SITE_PERL%%/Net/SNMP/Transport
-@dirrm %%SITE_PERL%%/Net/SNMP/Security
-@dirrm %%SITE_PERL%%/Net/SNMP
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true