Date: Sat, 24 Mar 2018 18:38:07 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465462 - in head/net-mgmt/fetchconfig: . files Message-ID: <201803241838.w2OIc7e2087912@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: riggs Date: Sat Mar 24 18:38:07 2018 New Revision: 465462 URL: https://svnweb.freebsd.org/changeset/ports/465462 Log: Update to upstream version 0.26 Detailed log: - Upstream moved from GNU/Savannah to GitHub - Support for new modules: + Acme.pm: support for Oracle Acme Packet. + CiscoIOSXR.pm: support for Cisco IOS XR. + CiscoSG300.pm: support for Cisco SG300. + Coriant8600.pm: support for Coriant 8600. + Mediant.pm: support for Audiocodes Mediant. + NECUnivergeIX.pm: support for NEC Univerge IX series. - Added/sorted new Perl modules in Makefile and pkg-plist - Changed pkg-descr to give more comprehensive information PR: 226369 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer timeout Modified: head/net-mgmt/fetchconfig/Makefile head/net-mgmt/fetchconfig/distinfo head/net-mgmt/fetchconfig/files/patch-fetchconfig.pl head/net-mgmt/fetchconfig/pkg-descr head/net-mgmt/fetchconfig/pkg-plist Modified: head/net-mgmt/fetchconfig/Makefile ============================================================================== --- head/net-mgmt/fetchconfig/Makefile Sat Mar 24 18:26:34 2018 (r465461) +++ head/net-mgmt/fetchconfig/Makefile Sat Mar 24 18:38:07 2018 (r465462) @@ -2,10 +2,8 @@ # $FreeBSD$ PORTNAME= fetchconfig -PORTVERSION= 0.22 -PORTREVISION= 1 +DISTVERSION= 0.26 CATEGORIES= net-mgmt -MASTER_SITES= SAVANNAH MAINTAINER= salexanov@gmail.com COMMENT= Perl script for retrieving configuration of various network devices @@ -16,19 +14,22 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= p5-Net-Telnet>=0:net/p5-Net-Telnet RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= ${PORTNAME}.pl +USE_GITHUB= yes +GH_TUPLE= udhos:fetchconfig:e2c2c4a + NO_BUILD= yes -MODULES= model/Abstract.pm model/CiscoCAT.pm model/CiscoIOS.pm \ - model/Dell.pm model/Detector.pm model/FortiGate.pm \ - model/Parks.pm model/ProCurve.pm model/Riverstone.pm \ - model/DmSwitch.pm model/Terayon.pm Constants.pm Logger.pm \ - model/3ComMSR.pm model/CiscoASA.pm model/MikroTik.pm \ - model/CiscoPIX.pm model/JunOS.pm model/TellabsMSR.pm +MODULES= model/3ComMSR.pm model/Abstract.pm model/Acme.pm \ + model/CiscoASA.pm model/CiscoCAT.pm model/CiscoIOS.pm \ + model/CiscoIOSXR.pm model/CiscoPIX.pm model/CiscoSG300.pm \ + model/Coriant8600.pm model/Dell.pm model/Detector.pm \ + model/DmSwitch.pm model/FortiGate.pm model/JunOS.pm \ + model/Mediant.pm model/MikroTik.pm model/NECUnivergeIX.pm \ + model/Parks.pm model/ProCurve.pm model/Riverstone.pm \ + model/TellabsMSR.pm model/Terayon.pm Constants.pm Logger.pm PORTDOCS= CHANGES README device_table.example - -post-patch: - @${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME}.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \ Modified: head/net-mgmt/fetchconfig/distinfo ============================================================================== --- head/net-mgmt/fetchconfig/distinfo Sat Mar 24 18:26:34 2018 (r465461) +++ head/net-mgmt/fetchconfig/distinfo Sat Mar 24 18:38:07 2018 (r465462) @@ -1,2 +1,3 @@ -SHA256 (fetchconfig-0.22.tar.gz) = 411b3d0c8988cd754e515d2fd9b79644a7f2cecaddfb2f2f67b2e696d2b0900b -SIZE (fetchconfig-0.22.tar.gz) = 27374 +TIMESTAMP = 1520264157 +SHA256 (udhos-fetchconfig-0.26-e2c2c4a_GH0.tar.gz) = 6386f0512a6049007790627397e779933775e384d61b19be18c2fef6ec2be34b +SIZE (udhos-fetchconfig-0.26-e2c2c4a_GH0.tar.gz) = 31035 Modified: head/net-mgmt/fetchconfig/files/patch-fetchconfig.pl ============================================================================== --- head/net-mgmt/fetchconfig/files/patch-fetchconfig.pl Sat Mar 24 18:26:34 2018 (r465461) +++ head/net-mgmt/fetchconfig/files/patch-fetchconfig.pl Sat Mar 24 18:38:07 2018 (r465462) @@ -1,7 +1,7 @@ ---- ./fetchconfig.pl.orig 2007-07-20 19:05:39.000000000 +0200 -+++ ./fetchconfig.pl 2008-02-27 22:58:14.000000000 +0100 +--- fetchconfig.pl.orig 2018-03-05 16:07:31 UTC ++++ fetchconfig.pl @@ -21,6 +21,8 @@ - # $Id: fetchconfig.pl,v 1.7 2007/07/20 17:05:39 evertonm Exp $ + # $Id: fetchconfig.pl,v 1.8 2012/11/27 21:42:28 evertonm Exp $ use strict; +use FindBin; @@ -9,12 +9,12 @@ use fetchconfig::Logger; use fetchconfig::Constants; use fetchconfig::model::Detector; -@@ -64,7 +66,7 @@ - if (@device_file_list < 1) { - $log->error("at least one device list file is required"); +@@ -63,7 +65,7 @@ foreach my $opt (@ARGV) { + } + $log->error("unexpected argument: $opt"); &usage; - die; + exit 0; } - fetchconfig::model::Detector->init($log); + if ((@device_file_list < 1) && (@line_list < 1)){ Modified: head/net-mgmt/fetchconfig/pkg-descr ============================================================================== --- head/net-mgmt/fetchconfig/pkg-descr Sat Mar 24 18:26:34 2018 (r465461) +++ head/net-mgmt/fetchconfig/pkg-descr Sat Mar 24 18:38:07 2018 (r465462) @@ -2,15 +2,18 @@ Fetchconfig is a Perl script for retrieving configurat devices. It currently supports a variety of devices, such as: * 3Com MSR - * Cisco IOS - * Cisco ASA - * Cisco Catalyst + * Audiocodes Mediant + * Cisco ASA/CatOS/IOS/IOS-XR/SG300 + * Coriant 8600 + * Dell PowerConnect * FortiGate + * Juniper JunOS * MikroTik - * ProCurve + * NEC Univerge IX + * HPE ProCurve * Parks * Alcatel Ethernet Routers (Riverstone) - * Dell PowerConnect switches * Old Terayon 3200/3500 CMTS + * Tellabs MSR -WWW: http://www.nongnu.org/fetchconfig/ +WWW: https://github.com/udhos/fetchconfig Modified: head/net-mgmt/fetchconfig/pkg-plist ============================================================================== --- head/net-mgmt/fetchconfig/pkg-plist Sat Mar 24 18:26:34 2018 (r465461) +++ head/net-mgmt/fetchconfig/pkg-plist Sat Mar 24 18:38:07 2018 (r465462) @@ -1,16 +1,22 @@ bin/fetchconfig %%SITE_PERL%%/fetchconfig/model/3ComMSR.pm %%SITE_PERL%%/fetchconfig/model/Abstract.pm +%%SITE_PERL%%/fetchconfig/model/Acme.pm %%SITE_PERL%%/fetchconfig/model/CiscoASA.pm %%SITE_PERL%%/fetchconfig/model/CiscoCAT.pm %%SITE_PERL%%/fetchconfig/model/CiscoIOS.pm +%%SITE_PERL%%/fetchconfig/model/CiscoIOSXR.pm %%SITE_PERL%%/fetchconfig/model/CiscoPIX.pm +%%SITE_PERL%%/fetchconfig/model/CiscoSG300.pm +%%SITE_PERL%%/fetchconfig/model/Coriant8600.pm %%SITE_PERL%%/fetchconfig/model/Dell.pm %%SITE_PERL%%/fetchconfig/model/Detector.pm %%SITE_PERL%%/fetchconfig/model/DmSwitch.pm %%SITE_PERL%%/fetchconfig/model/FortiGate.pm %%SITE_PERL%%/fetchconfig/model/JunOS.pm +%%SITE_PERL%%/fetchconfig/model/Mediant.pm %%SITE_PERL%%/fetchconfig/model/MikroTik.pm +%%SITE_PERL%%/fetchconfig/model/NECUnivergeIX.pm %%SITE_PERL%%/fetchconfig/model/Parks.pm %%SITE_PERL%%/fetchconfig/model/ProCurve.pm %%SITE_PERL%%/fetchconfig/model/Riverstone.pm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803241838.w2OIc7e2087912>