Here is an update for Net::Telnet::Cisco.

What's new upstream (partial, see[0]):

- fix 'vlan database' command
- override Net::Telnet::fhopen() because it breaks when called upon a
  Net::Telnet::Cisco object
- fix a bad use of //g and a sigil typo that caused the output to be
  messed up in long responses

Port-wise it's a simple update. FIX_EXTRACT_PERMISSIONS is not needed
anymore, license is provided in the distribution README. I've reflowed
DESCR, as portcheck(1) found trailing whitespaces there to start with.

I can't really test the module as it requires to have some Cisco 
hardware. The module loads without issues, and complains when 
incorrect host and indeed credentials are entered though. 

Testing on the real thing is welcome. 

Charlène. 


[0] https://metacpan.org/source/VINSWORLD/Net-Telnet-Cisco-1.11/Changes


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/p5-Net-Telnet-Cisco/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile    8 Dec 2017 12:23:30 -0000       1.15
+++ Makefile    14 May 2019 18:55:17 -0000
@@ -4,19 +4,15 @@ COMMENT=              module to interact with a Cisc
 
 MODULES=               cpan
 PKG_ARCH=              *
-DISTNAME=              Net-Telnet-Cisco-1.10
-REVISION=              1
+DISTNAME=              Net-Telnet-Cisco-1.11
 CATEGORIES=            net
-FIX_EXTRACT_PERMISSIONS=Yes
 
 HOMEPAGE=              http://nettelnetcisco.sourceforge.net/
 
-# Artistic
+# Perl
 PERMIT_PACKAGE_CDROM=  Yes
 
 RUN_DEPENDS=           net/p5-Net-Telnet>=3.02
-
-BUILD_DEPENDS=         ${RUN_DEPENDS}
 
 TEST_IS_INTERACTIVE=   Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/p5-Net-Telnet-Cisco/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo    18 Jan 2015 03:14:47 -0000      1.4
+++ distinfo    14 May 2019 18:55:17 -0000
@@ -1,2 +1,2 @@
-SHA256 (Net-Telnet-Cisco-1.10.tar.gz) = 
CVm5sObxm6RAIzTf3DwHZXvdXCZy1MX/y/MhTV7dOPQ=
-SIZE (Net-Telnet-Cisco-1.10.tar.gz) = 17579
+SHA256 (Net-Telnet-Cisco-1.11.tar.gz) = 
vSqljEdPWCw3NvKQzhFMlTDCZEfBw9aRMPpVJZFA9sE=
+SIZE (Net-Telnet-Cisco-1.11.tar.gz) = 19282
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/net/p5-Net-Telnet-Cisco/pkg/DESCR,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 DESCR
--- pkg/DESCR   15 Dec 2003 21:55:08 -0000      1.2
+++ pkg/DESCR   14 May 2019 18:55:18 -0000
@@ -1,3 +1,2 @@
-This perl module adds functionality to Net::Telnet 
-which helps automation of Cisco routers management
-and statistic gathering.
+This Perl module adds functionality to Net::Telnet which helps
+automation of Cisco routers management and statistic gathering.

Reply via email to