pkgsrc/net/rancid/Makefile
pettai 9cf48eb17b * nracnid: fix serial number matching, fix pager prompt filtering
* rancid: remove sequences from IPv6 prefix-lists
* clogin: adjust default ssh password prompt for ExtremeOS 12.3.3.6
* rancid: Accept '>' prompt, rather than just '#'
* avologin: fix ssh command substitution
* fnrancid: filter application signature, System Time & conf_file_ver=
  from GetSystem/GetConf
* mrvrancid: filter other oscillating info from show version
* xrrancid: disable timestamps
* hlogin: implement -autoenable for newer hp procurve releases
* cat5rancid: snmp community may have multiple spaces b/t community name
  and permissions
* cat5rancid: filter local user password
* f5rancid: filter Failover time stamps
* hlogin: Add support for ssh identity file & passphrase for newer boxes
* rancid: split IOS-XR into its own device type: cisco-xr
* clogin: set term width for catos like for ios.
* rancid: parse admin show diag for XR better with a separate function
* hlogin: hpuifilter got omitted from the ssh spawn; replace it.
* nxrancid: match unknown command errors appropriately & GC some junk
  carried-over from IOS-rancid.
* rancid: check for device busy when opening flash fails, which seems to
  occur on 6500s when some other command is run.
* *login: support :port method syntax for ssh and adjust to allow spaces
  in sshcmd
* jrancid: fix return values of formatting functions
* clogin: set terminal width so that o/p is consistent
* rancid: filter some crud resulting from the change in handling non-empty
  comment lines. fail if the configuration buffer fills. filter
  dhcp_[^[:space:].].txt from flash directories, so it does not create
  constant changes resulting from the ip dhcp database saves. filter ldap host
  password on PIX. when compressing consecutive comment lines, only consider
  empty lines.
* arancid: handle password filter for HP 1:10Gb Ethernet Blade Switch
  5.0.4-Base, running AOS
* *login: add cloginrc timeout directive
* nrancid: fix control number match
* rancid: remove ASA coredump* filter - Cisco Bug CSCsz85597, fixed in
  8.2(1.2), 8.3(0.0), 100.3(0.3)M
* f5rancid: adjust fan rpm and config sync time filters for new f5 code
* rancid: ACE/SANOS report invalid input differently. skip leading blank lines
  in config.remove ASA keys such as tacacs and radius. match non-space for
  usernames in "Written by" line.
* *rancid: quote meta characters
* rancid: Fail on error msg "% Configuration buffer full" seen on 6500. Dont
  filter 'show vlan' on Catalyst 3550/4500s
* import Arista script
* jerancid: fix for 'show environment all' for filtering with auto-sync
  on BRASes
* francid,flogin: edgeiron can not disable the pager and does not offer
  some commands found on the bigirons
* rancid: filter coredumpinfo/coredump.cfg found on ASA - rancid-discuss@
* f5rancid: fileter HA peer status
* WTI scripts from Geert Jan de Groot with a few tweaks
* jerancid: include standby slots in showversion o/p
* lg: add code for LG_SINGLE config knob
* clogin: run_commands() needs do_saveconfig
* f10rancid: change fan status parsing to handle c300
* nxrancid: collect license info; fix 'show env temp' & 'show
  env power' parsing; drop unused code.
* change zero-config check to avoid broken awks
2010-07-19 11:22:25 +00:00

73 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2010/07/19 11:22:25 pettai Exp $
#
DISTNAME= rancid-2.3.4
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}/sbin:/bin:/usr/bin:/usr/sbin:/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"