From owner-svn-ports-all@freebsd.org Sat Mar 24 18:38:08 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50306F642EF; Sat, 24 Mar 2018 18:38:08 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F1D3579145; Sat, 24 Mar 2018 18:38:07 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CCB371303B; Sat, 24 Mar 2018 18:38:07 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2OIc7L1087917; Sat, 24 Mar 2018 18:38:07 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2OIc7e2087912; Sat, 24 Mar 2018 18:38:07 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201803241838.w2OIc7e2087912@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 24 Mar 2018 18:38:07 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: riggs X-SVN-Commit-Paths: in head/net-mgmt/fetchconfig: . files X-SVN-Commit-Revision: 465462 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2018 18:38:08 -0000 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