pkgsrc/net/rancid/Makefile
pettai 72853ea4dc 2.3.8
- rancid: filter sup-bootflash if sup-bootdisk worked
      - *login: fix match of (yes/no) prompts from ssh
      - rancid: carry-over additional inventory filtering from XR

2.3.7
      - xrrancid: change some "admin show" sorting to reflect previous code
      - xrrancid: filter useless junk from show inventory
      - mrvrancid: update ShowChassis() for temp filtering in new s/w
      - nrancid: installed memory on Juniper SSG series
      - rancid: missing CR after s/n
      - xrrancid: admin show variables boot clean-up
      - xrrancid: add admin show install summary, license
      - xrrancid: fix access-list formatting & sorting
      - rancid: collect show capture & shun for ASA
      - xrancid: misc patches for XOS
      - rancid-cvs: svn repository handling improvement
      - rancid: filter WPA passwd
      - rancid: add 'show running-config view full' for role cli
      - rancid: filter ppp hostnames (aka usernames) - Pavel Korovin
      - *login: update host key change match for newer ssh
      - clogin: disable pager for XOS-12.3
      - rancid.conf & control_rancid: support arbitrary subversion URLs as
        (pre-provisioned) repositories and do not overwrite an existing local
         repository
      - rancid.conf: add LC_COLLATE
      - nlogin: add identfile support
      - hrancid: match 'logout' in new procurve versions for end of run
      - hrancid: include comment line for procurve parser
      - hrancid: collect show config status
      - nxrancid: add show environment fex all fan cmd - Deny IP Any Any
      - *login: dont split $sshcmd
      - nxrancid: Nexus 4000s don't support 'show environment power'
      - xrrancid: add admin show running
      - arancid: /info/sys -> /info/sys/dump
      - rancid: correct isakmp key filter
      - clogin; set terminal width to 132 for both -s and -c
      - clogin: respond to ASA's pager in long login banners
      - clogin: set terminal width to 132
      - rancid: match flash memory on likes of Cisco 2811 and 2621XM
      - import share/rancid-cvspurge
      - rancid: add 'dir /all sup-bootdisk:' for 6500 sup32
      - rancid: adjust regex for tacacs key match
      - *login: join sshcmd clogin directive to handle spaces properly
      - mt{login,rancid}: import Microtik module
      - rancid: ppp password missed on dialer interfaces
      - arancid: filter "esecret" lines which change with each config display
      - hlogin: logout from enabled mode instead of exit for -S
      - hrancid: collect show config files and show tech transceivers
      - rancid: filter config timestamp on MDS/NX-OS
      - avorancid: collect power management file
      - fnrancid: correct comment character
      - fnrancid: update system time and conf_file_ver filters
      - nxrancid: do not require 'show system redundancy status', apparently
        unsupported on some nexus models.
      - clogin: set terminal width for -c and -s
      - hlogin: stacks prompt for switch number or CR at login, send CR
2012-02-25 16:03:37 +00:00

73 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2012/02/25 16:03:37 pettai Exp $
#
DISTNAME= rancid-2.3.8
CATEGORIES= net
MASTER_SITES= ftp://ftp.shrubbery.net/pub/rancid/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.shrubbery.net/rancid/
COMMENT= Really Awesome New Cisco confIg Differ
LICENSE= original-bsd
DEPENDS+= tcl-expect>=5.4:../../lang/tcl-expect
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
GNU_CONFIGURE= yes
USE_TOOLS+= perl:run
CONFIGURE_ARGS+= --disable-conf-install
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/rancid
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
CONFIGURE_ENV+= PERLV_PATH=${PERL5:Q}
CONFIGURE_ENV+= DIRNAME=${DIRNAME}
CONFIGURE_ENV+= ID=${ID}
RC_USER?= rancid
RC_GROUP?= rancid
PKG_GROUPS= ${RC_GROUP}
PKG_USERS= ${RC_USER}:${RC_GROUP}
PKG_GECOS.${RC_USER}= Really Awesome New Cisco confIg Differ
PKG_HOME.${RC_USER}= ${VARBASE}/rancid
PKG_SHELL.${RC_USER}= ${SH}
PKG_USERS_VARS+= RC_USER
PKG_GROUPS_VARS+= RC_GROUP
EGDIR= ${PREFIX}/share/examples/rancid
PKG_SYSCONFSUBDIR?= rancid
CONF_FILES_PERMS= ${EGDIR}/lg.conf.sample ${PKG_SYSCONFDIR}/lg.conf \
${ROOT_USER} ${ROOT_GROUP} 0644
CONF_FILES_PERMS+= ${EGDIR}/rancid.conf.sample ${PKG_SYSCONFDIR}/rancid.conf \
${ROOT_USER} ${ROOT_GROUP} 0644
MESSAGE_SUBST+= PREFIX=${PREFIX}
MESSAGE_SUBST+= RC_USER=${RC_USER}
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/etc/lg.conf.sample.in
SUBST_FILES.paths+= ${WRKSRC}/etc/rancid.conf.sample.in
SUBST_STAGE.paths= post-extract
SUBST_SED.paths= -e 's,@ENV_PATH@,${PREFIX}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin,'
OWN_DIRS_PERMS+= ${VARBASE}/rancid ${RC_USER} ${RC_GROUP} 0755
INSTALLATION_DIRS= share/examples/rancid
INSTALLATION_DIRS+= share/doc/rancid
INSTALLATION_DIRS+= ${VARBASE}/rancid
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/sbin/ping)
CONFIGURE_ARGS+= ac_cv_PING_PATH=/sbin/ping
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/lg.conf.sample ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/rancid.conf.sample ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"