# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # /usr/ports/net-mgmt/fetchconfig/ # /usr/ports/net-mgmt/fetchconfig/pkg-descr # /usr/ports/net-mgmt/fetchconfig/Makefile # /usr/ports/net-mgmt/fetchconfig/files # /usr/ports/net-mgmt/fetchconfig/files/patch-fetchconfig.pl # /usr/ports/net-mgmt/fetchconfig/pkg-list # /usr/ports/net-mgmt/fetchconfig/distinfo # echo c - /usr/ports/net-mgmt/fetchconfig/ mkdir -p /usr/ports/net-mgmt/fetchconfig/ > /dev/null 2>&1 echo x - /usr/ports/net-mgmt/fetchconfig/pkg-descr sed 's/^X//' >/usr/ports/net-mgmt/fetchconfig/pkg-descr << 'END-of-/usr/ports/net-mgmt/fetchconfig/pkg-descr' XFetchconfig is a Perl script for retrieving configurations Xof multiple devices. It has been tested under Linux, FreeBSD Xand Windows, and currently supports a variety of devices, including X Cisco IOS, X Cisco Catalyst, X FortiGate, X ProCurve, X Parks, X Alcatel Ethernet Routers (Riverstone), X Dell PowerConnect switches, X Old Terayon 3200/3500 CMTS. X XWWW: http://www.nongnu.org/fetchconfig/ END-of-/usr/ports/net-mgmt/fetchconfig/pkg-descr echo x - /usr/ports/net-mgmt/fetchconfig/Makefile sed 's/^X//' >/usr/ports/net-mgmt/fetchconfig/Makefile << 'END-of-/usr/ports/net-mgmt/fetchconfig/Makefile' X# New ports collection makefile for: fetchconfig X# Date created: 21 December 2008 X# Whom: salexanov X# X# $FreeBSD$ X# X XPORTNAME= fetchconfig XPORTVERSION= 0.12 XCATEGORIES= net-mgmt XMASTER_SITES= http://download.savannah.gnu.org/releases/fetchconfig/ X XMAINTAINER= salexanov@gmail.com XCOMMENT= Perl script for retrieving configs of multiple devices X XBUILD_DEPENDS= ${SITE_PERL}/Net/Telnet.pm:${PORTSDIR}/net/p5-Net-Telnet XRUN_DEPENDS= ${SITE_PERL}/Net/Telnet.pm:${PORTSDIR}/net/p5-Net-Telnet X XNO_BUILD= yes XUSE_PERL5= yes X XPORTDOCS= CHANGES COPYING CREDITS README device_table.example X XPLIST_FILES= bin/fetchconfig \ X lib/fetchconfig/Constants.pm \ X lib/fetchconfig/Logger.pm \ X lib/fetchconfig/model/Abstract.pm \ X lib/fetchconfig/model/CiscoCAT.pm \ X lib/fetchconfig/model/CiscoIOS.pm \ X lib/fetchconfig/model/Dell.pm \ X lib/fetchconfig/model/Detector.pm \ X lib/fetchconfig/model/FortiGate.pm \ X lib/fetchconfig/model/Parks.pm \ X lib/fetchconfig/model/ProCurve.pm \ X lib/fetchconfig/model/Riverstone.pm \ X lib/fetchconfig/model/Terayon.pm \ X XPLIST_DIRS= lib/fetchconfig/model \ X lib/fetchconfig/ X Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/fetchconfig.pl ${PREFIX}/bin/fetchconfig X Xpost-install: X (cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_SHARE} "*" ${PREFIX}/lib/fetchconfig) X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X. for i in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} X. endfor X.endif X X.include END-of-/usr/ports/net-mgmt/fetchconfig/Makefile echo c - /usr/ports/net-mgmt/fetchconfig/files mkdir -p /usr/ports/net-mgmt/fetchconfig/files > /dev/null 2>&1 echo x - /usr/ports/net-mgmt/fetchconfig/files/patch-fetchconfig.pl sed 's/^X//' >/usr/ports/net-mgmt/fetchconfig/files/patch-fetchconfig.pl << 'END-of-/usr/ports/net-mgmt/fetchconfig/files/patch-fetchconfig.pl' X--- fetchconfig.pl.orig Tue Feb 19 13:46:55 2008 X+++ fetchconfig.pl Tue Feb 19 13:45:20 2008 X@@ -21,6 +21,8 @@ X # $Id: fetchconfig.pl,v 1.7 2007/07/20 17:05:39 evertonm Exp $ X X use strict; X+use FindBin; X+use lib "$FindBin::Bin/../lib"; X use fetchconfig::Logger; X use fetchconfig::Constants; X use fetchconfig::model::Detector; END-of-/usr/ports/net-mgmt/fetchconfig/files/patch-fetchconfig.pl echo x - /usr/ports/net-mgmt/fetchconfig/pkg-list sed 's/^X//' >/usr/ports/net-mgmt/fetchconfig/pkg-list << 'END-of-/usr/ports/net-mgmt/fetchconfig/pkg-list' Xbin/fetchconfig X%%DATADIR%%/Constants.pm X%%DATADIR%%/Logger.pm X%%DATADIR%%/model/Abstract.pm X%%DATADIR%%/model/CiscoCAT.pm X%%DATADIR%%/model/CiscoIOS.pm X%%DATADIR%%/model/Dell.pm X%%DATADIR%%/model/Detector.pm X%%DATADIR%%/model/FortiGate.pm X%%DATADIR%%/model/Parks.pm X%%DATADIR%%/model/ProCurve.pm X%%DATADIR%%/model/Riverstone.pm X%%DATADIR%%/model/Terayon.pm X%%DOCSDIR%%/CHANGES X%%DOCSDIR%%/COPYING X%%DOCSDIR%%/CREDITS X%%DOCSDIR%%/README X%%DOCSDIR%%/device_table.example X X X X X X X END-of-/usr/ports/net-mgmt/fetchconfig/pkg-list echo x - /usr/ports/net-mgmt/fetchconfig/distinfo sed 's/^X//' >/usr/ports/net-mgmt/fetchconfig/distinfo << 'END-of-/usr/ports/net-mgmt/fetchconfig/distinfo' XMD5 (fetchconfig-0.12.tar.gz) = 52f3510732ab604b31c7ad7dc7428047 XSHA256 (fetchconfig-0.12.tar.gz) = 3bc50a2f3140a35eadc13e05bfdf25186823cfe420c48ab0376cd5e5e7711e61 XSIZE (fetchconfig-0.12.tar.gz) = 22667 END-of-/usr/ports/net-mgmt/fetchconfig/distinfo exit