Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 04:23:31 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/102490: [NEW PORT] net-mgmt/p5-Cisco-Reconfig: Parse and generate Cisco configuration files
Message-ID:  <20060824202331.94C91B5@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608242030.k7OKUEga010671@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102490
>Category:       ports
>Synopsis:       [NEW PORT] net-mgmt/p5-Cisco-Reconfig: Parse and generate Cisco configuration files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 24 20:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
Cisco::Reconfig makes it easier to write programs to generate changes
to Cisco configuration files.

Cisco::Reconfig is a module that parses Cisco router configuration
files. It doesn't have any real understanding of Cisco configurations
so it might be useful for other similar configuration languages. It
knows that nesting is shown by indentation. It knows that ! means a
comment. It knows that no may proceed a line without changing where
that line exists in the hierarchy. It doesn't know much else.

Cisco::Reconfig can be used to modify configurations. The set() method
will check the current configruation and return commands to change it
if it is other than what is wanted (as passed to the set() method).

WWW:	http://search.cpan.org/dist/Cisco-Reconfig/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Cisco-Reconfig-0.8.shar begins here ---
# 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:
#
#	p5-Cisco-Reconfig
#	p5-Cisco-Reconfig/pkg-descr
#	p5-Cisco-Reconfig/Makefile
#	p5-Cisco-Reconfig/pkg-plist
#	p5-Cisco-Reconfig/distinfo
#
echo c - p5-Cisco-Reconfig
mkdir -p p5-Cisco-Reconfig > /dev/null 2>&1
echo x - p5-Cisco-Reconfig/pkg-descr
sed 's/^X//' >p5-Cisco-Reconfig/pkg-descr << 'END-of-p5-Cisco-Reconfig/pkg-descr'
XCisco::Reconfig makes it easier to write programs to generate changes
Xto Cisco configuration files.
X
XCisco::Reconfig is a module that parses Cisco router configuration
Xfiles. It doesn't have any real understanding of Cisco configurations
Xso it might be useful for other similar configuration languages. It
Xknows that nesting is shown by indentation. It knows that ! means a
Xcomment. It knows that no may proceed a line without changing where
Xthat line exists in the hierarchy. It doesn't know much else.
X
XCisco::Reconfig can be used to modify configurations. The set() method
Xwill check the current configruation and return commands to change it
Xif it is other than what is wanted (as passed to the set() method).
X
XWWW:	http://search.cpan.org/dist/Cisco-Reconfig/
END-of-p5-Cisco-Reconfig/pkg-descr
echo x - p5-Cisco-Reconfig/Makefile
sed 's/^X//' >p5-Cisco-Reconfig/Makefile << 'END-of-p5-Cisco-Reconfig/Makefile'
X# New ports collection makefile for:	p5-Cisco-Reconfig
X# Date created:		2006-08-25
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Cisco-Reconfig
XPORTVERSION=	0.8
XCATEGORIES=	net-mgmt perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Cisco
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	perl@FreeBSD.org
XCOMMENT=	Parse and generate Cisco configuration files
X
XRUN_DEPENDS=	${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Cisco::Reconfig.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500703
XRUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Cisco-Reconfig/Makefile
echo x - p5-Cisco-Reconfig/pkg-plist
sed 's/^X//' >p5-Cisco-Reconfig/pkg-plist << 'END-of-p5-Cisco-Reconfig/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cisco/Reconfig/.packlist
X%%SITE_PERL%%/Cisco/Reconfig.pm
X%%SITE_PERL%%/Cisco/Reconfig.pod
X@dirrmtry %%SITE_PERL%%/Cisco
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cisco/Reconfig
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cisco
END-of-p5-Cisco-Reconfig/pkg-plist
echo x - p5-Cisco-Reconfig/distinfo
sed 's/^X//' >p5-Cisco-Reconfig/distinfo << 'END-of-p5-Cisco-Reconfig/distinfo'
XMD5 (Cisco-Reconfig-0.8.tar.gz) = 803dbcb4e7a8c180c7017983188c7f33
XSHA256 (Cisco-Reconfig-0.8.tar.gz) = 841093c752deb0df10bf5bc013b83058f60f709119f2c2f76d1ce383e71bd025
XSIZE (Cisco-Reconfig-0.8.tar.gz) = 17996
END-of-p5-Cisco-Reconfig/distinfo
exit
--- p5-Cisco-Reconfig-0.8.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060824202331.94C91B5>