aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rancid-devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-06-23 16:17:32 +0800
committerwill <will@FreeBSD.org>2002-06-23 16:17:32 +0800
commitf22f9811136961bf58b7431cbef892151b9a42ff (patch)
tree3cf88d02f426191e19a747764e52c037ad1debef /net-mgmt/rancid-devel
parentaabecebf552996b004bbabb54af17a90d95b3253 (diff)
downloadfreebsd-ports-gnome-f22f9811136961bf58b7431cbef892151b9a42ff.tar.gz
freebsd-ports-gnome-f22f9811136961bf58b7431cbef892151b9a42ff.tar.zst
freebsd-ports-gnome-f22f9811136961bf58b7431cbef892151b9a42ff.zip
Add rancid 2.2.1, Really Awesome New Cisco confIg Differ.
PR: 38856 Submitted by: Janos.Mohacsi@bsd.hu
Diffstat (limited to 'net-mgmt/rancid-devel')
-rw-r--r--net-mgmt/rancid-devel/Makefile45
-rw-r--r--net-mgmt/rancid-devel/distinfo1
-rw-r--r--net-mgmt/rancid-devel/files/patch-Makefile.am19
-rw-r--r--net-mgmt/rancid-devel/files/patch-Makefile.in19
-rw-r--r--net-mgmt/rancid-devel/files/patch-util::Makefile.in17
-rw-r--r--net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in17
-rw-r--r--net-mgmt/rancid-devel/pkg-comment1
-rw-r--r--net-mgmt/rancid-devel/pkg-descr16
-rw-r--r--net-mgmt/rancid-devel/pkg-message8
-rw-r--r--net-mgmt/rancid-devel/pkg-plist50
10 files changed, 193 insertions, 0 deletions
diff --git a/net-mgmt/rancid-devel/Makefile b/net-mgmt/rancid-devel/Makefile
new file mode 100644
index 000000000000..563d24772d28
--- /dev/null
+++ b/net-mgmt/rancid-devel/Makefile
@@ -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>
diff --git a/net-mgmt/rancid-devel/distinfo b/net-mgmt/rancid-devel/distinfo
new file mode 100644
index 000000000000..77629c9c2ccd
--- /dev/null
+++ b/net-mgmt/rancid-devel/distinfo
@@ -0,0 +1 @@
+MD5 (rancid-2.2.1.tar.gz) = 1158549913d5bbcef308247cac993be4
diff --git a/net-mgmt/rancid-devel/files/patch-Makefile.am b/net-mgmt/rancid-devel/files/patch-Makefile.am
new file mode 100644
index 000000000000..246e638fd59d
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-Makefile.am
@@ -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
+
diff --git a/net-mgmt/rancid-devel/files/patch-Makefile.in b/net-mgmt/rancid-devel/files/patch-Makefile.in
new file mode 100644
index 000000000000..eabf76568439
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-Makefile.in
@@ -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
+
diff --git a/net-mgmt/rancid-devel/files/patch-util::Makefile.in b/net-mgmt/rancid-devel/files/patch-util::Makefile.in
new file mode 100644
index 000000000000..833b917fc36e
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-util::Makefile.in
@@ -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@
diff --git a/net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in b/net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in
new file mode 100644
index 000000000000..ed113c7c2c95
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-util::lg::Makefile.in
@@ -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@
diff --git a/net-mgmt/rancid-devel/pkg-comment b/net-mgmt/rancid-devel/pkg-comment
new file mode 100644
index 000000000000..9680e9e1fc1c
--- /dev/null
+++ b/net-mgmt/rancid-devel/pkg-comment
@@ -0,0 +1 @@
+Really Awesome New Cisco confIg Differ
diff --git a/net-mgmt/rancid-devel/pkg-descr b/net-mgmt/rancid-devel/pkg-descr
new file mode 100644
index 000000000000..c0d9ccf4140f
--- /dev/null
+++ b/net-mgmt/rancid-devel/pkg-descr
@@ -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/
diff --git a/net-mgmt/rancid-devel/pkg-message b/net-mgmt/rancid-devel/pkg-message
new file mode 100644
index 000000000000..b41462caeca9
--- /dev/null
+++ b/net-mgmt/rancid-devel/pkg-message
@@ -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.
diff --git a/net-mgmt/rancid-devel/pkg-plist b/net-mgmt/rancid-devel/pkg-plist
new file mode 100644
index 000000000000..c8e8f5da5a03
--- /dev/null
+++ b/net-mgmt/rancid-devel/pkg-plist
@@ -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