aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Net-SNMP3
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-12-04 18:26:22 +0800
committererwin <erwin@FreeBSD.org>2003-12-04 18:26:22 +0800
commit4986676d8966e2325a9fdd9e65e3f577ca972e57 (patch)
tree5e77d317b24434f992cb67bfa75d20d2e0547f32 /net-mgmt/p5-Net-SNMP3
parent9bb87b1fad8eba6185e632ea8a0eb6338cef187a (diff)
downloadfreebsd-ports-graphics-4986676d8966e2325a9fdd9e65e3f577ca972e57.tar.gz
freebsd-ports-graphics-4986676d8966e2325a9fdd9e65e3f577ca972e57.tar.zst
freebsd-ports-graphics-4986676d8966e2325a9fdd9e65e3f577ca972e57.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>
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 d4d09ed9bc4..2b720998e49 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 2cbd5dac0f0..0ee51f59dd1 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 cde0f1b4b33..a78720eea4e 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