Add rancid 2.2.1, Really Awesome New Cisco confIg Differ.

PR:		38856
Submitted by:	Janos.Mohacsi@bsd.hu
This commit is contained in:
Will Andrews 2002-06-23 08:17:32 +00:00
parent 59e9906d68
commit ab24d78740
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61793
31 changed files with 580 additions and 0 deletions

View file

@ -0,0 +1,45 @@
# New ports collection makefile for: rancid
# Date created: 3 June 2002
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= rancid
PORTVERSION= 2.2.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
MAINTAINER= janos.mohacsi@bsd.hu
BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect
RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${SITE_PERL}/LockFile/Simple.pm:${PORTSDIR}/devel/p5-LockFile-Simple
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
USE_PERL5= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= \
--prefix=${PREFIX}/rancid
MANPREFIX= ${PREFIX}/rancid
MAN1= lg_intro.1 par.1 do-diffs.1 alogin.1 blogin.1 clogin.1 \
control_rancid.1 create_cvs.1 rancid.1 rancid_intro.1 \
elogin.1 f10rancid.1 flogin.1 hlogin.1 hrancid.1 jlogin.1 \
jrancid.1 francid.1 cat5rancid.1 erancid.1 mrancid.1 xrancid.1
MAN5= env.5 lg.conf.5 cloginrc.5 router.db.5
post-install:
@ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/rancid:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@ ${ECHO}
@ ${CAT} ${PKGMESSAGE}
@ ${ECHO}
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (rancid-2.2.1.tar.gz) = 1158549913d5bbcef308247cac993be4

View file

@ -0,0 +1,19 @@
*** Makefile.am.orig Mon Jun 3 14:01:32 2002
--- Makefile.am Mon Jun 3 14:02:03 2002
***************
*** 22,28 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 22,28 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,19 @@
*** Makefile.in.orig Mon Jun 3 14:01:40 2002
--- Makefile.in Mon Jun 3 14:02:40 2002
***************
*** 354,360 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 354,360 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,17 @@
*** util/Makefile.in.orig Mon Jun 3 14:21:54 2002
--- util/Makefile.in Mon Jun 3 14:23:55 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@

View file

@ -0,0 +1,17 @@
*** util/lg/Makefile.in.orig Mon Jun 3 14:14:33 2002
--- util/lg/Makefile.in Mon Jun 3 14:14:51 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@

View file

@ -0,0 +1 @@
Really Awesome New Cisco confIg Differ

View file

@ -0,0 +1,16 @@
Rancid monitors a router's (or device's) configuration, including software
and hardware (cards, serial numbers, etc), using CVS. Rancid currently
supports Bay routers, Cisco routers, Juniper routers, Catalyst switches,
Foundry switches, Redback NASs, ADC EZT3 muxes, MRTd (and thus likely IRRd),
Alteon switches, and HP procurve switches.
Rancid logs into each of the devices in a router table file, runs various
commands, chomps the output, and emails any differences ( sample) from
the previous collection to a mail list.
A looking glass is also included with rancid, based on Ed Kern's in use on
http://nitrous.digex.net/. Rancid version has added functions, supports cisco,
juniper, and foundry and uses the login scripts that come with rancid;
so it can use rsh, telnet, or ssh to connect to your router(s).
WWW: http://www.shrubbery.net/rancid/

View file

@ -0,0 +1,8 @@
For further configuration information please look at
%%INSTDIR%%/README.
If you would like to set up Rancid to be browseable from Web,
you need to install devel/cvsweb or devel/viewcvs.
For rancid looking-glass copy the actual CGIs (located at
%%INSTDIR%%/util/lg/{lg.cgi lgform.cgi}) to your cgi-bin.

View file

@ -0,0 +1,50 @@
rancid/util/lg/lg.cgi
rancid/util/lg/lgform.cgi
rancid/util/lg/lg.conf
rancid/util/lg/README
rancid/util/lg/index.html
rancid/util/lg/lgnotes.html
rancid/util/README
rancid/util/rtrfilter
rancid/util/rtrfilter.README
rancid/util/cisco-load.exp
rancid/util/cisco-reload.exp
rancid/util/downreport
rancid/bin/hpfilter
rancid/bin/cat5rancid
rancid/bin/control_rancid
rancid/bin/alogin
rancid/bin/arancid
rancid/bin/clogin
rancid/bin/create_cvs
rancid/bin/blogin
rancid/bin/brancid
rancid/bin/do-diffs
rancid/bin/elogin
rancid/bin/erancid
rancid/bin/f10rancid
rancid/bin/flogin
rancid/bin/francid
rancid/bin/jlogin
rancid/bin/jrancid
rancid/bin/hlogin
rancid/bin/hrancid
rancid/bin/mrancid
rancid/bin/par
rancid/bin/rancid-fe
rancid/bin/rancid
rancid/bin/rename
rancid/bin/rrancid
rancid/bin/xrancid
rancid/bin/env
rancid/CHANGES
rancid/README
rancid/FAQ
rancid/cloginrc.sample
@dirrm rancid/util/lg
@dirrm rancid/util
@dirrm rancid/bin
@dirrm rancid/man/man1
@dirrm rancid/man/man5
@dirrm rancid/man
@dirrm rancid

45
net-mgmt/rancid/Makefile Normal file
View file

@ -0,0 +1,45 @@
# New ports collection makefile for: rancid
# Date created: 3 June 2002
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= rancid
PORTVERSION= 2.2.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
MAINTAINER= janos.mohacsi@bsd.hu
BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect
RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${SITE_PERL}/LockFile/Simple.pm:${PORTSDIR}/devel/p5-LockFile-Simple
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
USE_PERL5= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= \
--prefix=${PREFIX}/rancid
MANPREFIX= ${PREFIX}/rancid
MAN1= lg_intro.1 par.1 do-diffs.1 alogin.1 blogin.1 clogin.1 \
control_rancid.1 create_cvs.1 rancid.1 rancid_intro.1 \
elogin.1 f10rancid.1 flogin.1 hlogin.1 hrancid.1 jlogin.1 \
jrancid.1 francid.1 cat5rancid.1 erancid.1 mrancid.1 xrancid.1
MAN5= env.5 lg.conf.5 cloginrc.5 router.db.5
post-install:
@ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/rancid:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@ ${ECHO}
@ ${CAT} ${PKGMESSAGE}
@ ${ECHO}
.endif
.include <bsd.port.mk>

1
net-mgmt/rancid/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (rancid-2.2.1.tar.gz) = 1158549913d5bbcef308247cac993be4

View file

@ -0,0 +1,19 @@
*** Makefile.am.orig Mon Jun 3 14:01:32 2002
--- Makefile.am Mon Jun 3 14:02:03 2002
***************
*** 22,28 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 22,28 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,19 @@
*** Makefile.in.orig Mon Jun 3 14:01:40 2002
--- Makefile.in Mon Jun 3 14:02:40 2002
***************
*** 354,360 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 354,360 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,17 @@
*** util/Makefile.in.orig Mon Jun 3 14:21:54 2002
--- util/Makefile.in Mon Jun 3 14:23:55 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@

View file

@ -0,0 +1,17 @@
*** util/lg/Makefile.in.orig Mon Jun 3 14:14:33 2002
--- util/lg/Makefile.in Mon Jun 3 14:14:51 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@

View file

@ -0,0 +1 @@
Really Awesome New Cisco confIg Differ

16
net-mgmt/rancid/pkg-descr Normal file
View file

@ -0,0 +1,16 @@
Rancid monitors a router's (or device's) configuration, including software
and hardware (cards, serial numbers, etc), using CVS. Rancid currently
supports Bay routers, Cisco routers, Juniper routers, Catalyst switches,
Foundry switches, Redback NASs, ADC EZT3 muxes, MRTd (and thus likely IRRd),
Alteon switches, and HP procurve switches.
Rancid logs into each of the devices in a router table file, runs various
commands, chomps the output, and emails any differences ( sample) from
the previous collection to a mail list.
A looking glass is also included with rancid, based on Ed Kern's in use on
http://nitrous.digex.net/. Rancid version has added functions, supports cisco,
juniper, and foundry and uses the login scripts that come with rancid;
so it can use rsh, telnet, or ssh to connect to your router(s).
WWW: http://www.shrubbery.net/rancid/

View file

@ -0,0 +1,8 @@
For further configuration information please look at
%%INSTDIR%%/README.
If you would like to set up Rancid to be browseable from Web,
you need to install devel/cvsweb or devel/viewcvs.
For rancid looking-glass copy the actual CGIs (located at
%%INSTDIR%%/util/lg/{lg.cgi lgform.cgi}) to your cgi-bin.

50
net-mgmt/rancid/pkg-plist Normal file
View file

@ -0,0 +1,50 @@
rancid/util/lg/lg.cgi
rancid/util/lg/lgform.cgi
rancid/util/lg/lg.conf
rancid/util/lg/README
rancid/util/lg/index.html
rancid/util/lg/lgnotes.html
rancid/util/README
rancid/util/rtrfilter
rancid/util/rtrfilter.README
rancid/util/cisco-load.exp
rancid/util/cisco-reload.exp
rancid/util/downreport
rancid/bin/hpfilter
rancid/bin/cat5rancid
rancid/bin/control_rancid
rancid/bin/alogin
rancid/bin/arancid
rancid/bin/clogin
rancid/bin/create_cvs
rancid/bin/blogin
rancid/bin/brancid
rancid/bin/do-diffs
rancid/bin/elogin
rancid/bin/erancid
rancid/bin/f10rancid
rancid/bin/flogin
rancid/bin/francid
rancid/bin/jlogin
rancid/bin/jrancid
rancid/bin/hlogin
rancid/bin/hrancid
rancid/bin/mrancid
rancid/bin/par
rancid/bin/rancid-fe
rancid/bin/rancid
rancid/bin/rename
rancid/bin/rrancid
rancid/bin/xrancid
rancid/bin/env
rancid/CHANGES
rancid/README
rancid/FAQ
rancid/cloginrc.sample
@dirrm rancid/util/lg
@dirrm rancid/util
@dirrm rancid/bin
@dirrm rancid/man/man1
@dirrm rancid/man/man5
@dirrm rancid/man
@dirrm rancid

View file

@ -439,6 +439,7 @@
SUBDIR += radiusd-cistron
SUBDIR += radreport
SUBDIR += radvd
SUBDIR += rancid
SUBDIR += ratoolset
SUBDIR += rboot
SUBDIR += rdesktop

45
net/rancid/Makefile Normal file
View file

@ -0,0 +1,45 @@
# New ports collection makefile for: rancid
# Date created: 3 June 2002
# Whom: Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#
PORTNAME= rancid
PORTVERSION= 2.2.1
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
MAINTAINER= janos.mohacsi@bsd.hu
BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect
RUN_DEPENDS= expect:${PORTSDIR}/lang/expect \
${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
${SITE_PERL}/LockFile/Simple.pm:${PORTSDIR}/devel/p5-LockFile-Simple
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
USE_PERL5= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= \
--prefix=${PREFIX}/rancid
MANPREFIX= ${PREFIX}/rancid
MAN1= lg_intro.1 par.1 do-diffs.1 alogin.1 blogin.1 clogin.1 \
control_rancid.1 create_cvs.1 rancid.1 rancid_intro.1 \
elogin.1 f10rancid.1 flogin.1 hlogin.1 hrancid.1 jlogin.1 \
jrancid.1 francid.1 cat5rancid.1 erancid.1 mrancid.1 xrancid.1
MAN5= env.5 lg.conf.5 cloginrc.5 router.db.5
post-install:
@ ${SED} -e "s:%%INSTDIR%%:${PREFIX}/rancid:g" pkg-message >${PKGMESSAGE}
.if !defined(BATCH)
@ ${ECHO}
@ ${CAT} ${PKGMESSAGE}
@ ${ECHO}
.endif
.include <bsd.port.mk>

1
net/rancid/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (rancid-2.2.1.tar.gz) = 1158549913d5bbcef308247cac993be4

View file

@ -0,0 +1,19 @@
*** Makefile.am.orig Mon Jun 3 14:01:32 2002
--- Makefile.am Mon Jun 3 14:02:03 2002
***************
*** 22,28 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 22,28 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,19 @@
*** Makefile.in.orig Mon Jun 3 14:01:40 2002
--- Makefile.in Mon Jun 3 14:02:40 2002
***************
*** 354,360 ****
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done
--- 354,360 ----
$(mkinstalldirs) $(prefix)/util $(prefix)/util/lg
install:
! for file in CHANGES FAQ README cloginrc.sample ; do \
$(INSTALL_DATA) $$file $(prefix); \
done

View file

@ -0,0 +1,17 @@
*** util/Makefile.in.orig Mon Jun 3 14:21:54 2002
--- util/Makefile.in Mon Jun 3 14:23:55 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_PROGS = @RD_UTIL_PROGS@

View file

@ -0,0 +1,17 @@
*** util/lg/Makefile.in.orig Mon Jun 3 14:14:33 2002
--- util/lg/Makefile.in Mon Jun 3 14:14:51 2002
***************
*** 1,6 ****
PREFIX = @prefix@
! INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@
--- 1,6 ----
PREFIX = @prefix@
! INSTALL = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
UTIL_LG_PROGS = @RD_UTIL_LG_PROGS@

1
net/rancid/pkg-comment Normal file
View file

@ -0,0 +1 @@
Really Awesome New Cisco confIg Differ

16
net/rancid/pkg-descr Normal file
View file

@ -0,0 +1,16 @@
Rancid monitors a router's (or device's) configuration, including software
and hardware (cards, serial numbers, etc), using CVS. Rancid currently
supports Bay routers, Cisco routers, Juniper routers, Catalyst switches,
Foundry switches, Redback NASs, ADC EZT3 muxes, MRTd (and thus likely IRRd),
Alteon switches, and HP procurve switches.
Rancid logs into each of the devices in a router table file, runs various
commands, chomps the output, and emails any differences ( sample) from
the previous collection to a mail list.
A looking glass is also included with rancid, based on Ed Kern's in use on
http://nitrous.digex.net/. Rancid version has added functions, supports cisco,
juniper, and foundry and uses the login scripts that come with rancid;
so it can use rsh, telnet, or ssh to connect to your router(s).
WWW: http://www.shrubbery.net/rancid/

8
net/rancid/pkg-message Normal file
View file

@ -0,0 +1,8 @@
For further configuration information please look at
%%INSTDIR%%/README.
If you would like to set up Rancid to be browseable from Web,
you need to install devel/cvsweb or devel/viewcvs.
For rancid looking-glass copy the actual CGIs (located at
%%INSTDIR%%/util/lg/{lg.cgi lgform.cgi}) to your cgi-bin.

50
net/rancid/pkg-plist Normal file
View file

@ -0,0 +1,50 @@
rancid/util/lg/lg.cgi
rancid/util/lg/lgform.cgi
rancid/util/lg/lg.conf
rancid/util/lg/README
rancid/util/lg/index.html
rancid/util/lg/lgnotes.html
rancid/util/README
rancid/util/rtrfilter
rancid/util/rtrfilter.README
rancid/util/cisco-load.exp
rancid/util/cisco-reload.exp
rancid/util/downreport
rancid/bin/hpfilter
rancid/bin/cat5rancid
rancid/bin/control_rancid
rancid/bin/alogin
rancid/bin/arancid
rancid/bin/clogin
rancid/bin/create_cvs
rancid/bin/blogin
rancid/bin/brancid
rancid/bin/do-diffs
rancid/bin/elogin
rancid/bin/erancid
rancid/bin/f10rancid
rancid/bin/flogin
rancid/bin/francid
rancid/bin/jlogin
rancid/bin/jrancid
rancid/bin/hlogin
rancid/bin/hrancid
rancid/bin/mrancid
rancid/bin/par
rancid/bin/rancid-fe
rancid/bin/rancid
rancid/bin/rename
rancid/bin/rrancid
rancid/bin/xrancid
rancid/bin/env
rancid/CHANGES
rancid/README
rancid/FAQ
rancid/cloginrc.sample
@dirrm rancid/util/lg
@dirrm rancid/util
@dirrm rancid/bin
@dirrm rancid/man/man1
@dirrm rancid/man/man5
@dirrm rancid/man
@dirrm rancid