# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=rancid pkgver=3.6.1 pkgrel=0 pkgdesc="A Cisco config Differ" url="http://www.shrubbery.net/rancid/" arch="all" license="BSD with advertising" depends="expect perl logrotate iputils" depends_dev="" makedepends="$depends_dev openssh-client cvs subversion" install="$pkgname.pre-install" subpackages="$pkgname-doc" pkgusers="rancid" pkggroups="netadm" source="ftp://ftp.shrubbery.net/pub/rancid/rancid-$pkgver.tar.gz rancid-2.3.2-conf.patch rancid.logrotate" builddir="$srcdir"/rancid-$pkgver build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc/rancid \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-conf-install \ --with-svn make } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -D -m644 "$srcdir"/rancid.logrotate \ "$pkgdir"/etc/logrotate.d/rancid install -d -m 0755 -o rancid -g netadm "$pkgdir"/var/rancid install -d -m 0755 -o rancid -g netadm "$pkgdir"/var/log/rancid install -d -m 0755 -o rancid -g netadm "$pkgdir"/var/log/rancid/old } sha512sums="a0cd97cc8193232507186e87e0c86a22d04a31d1f69ff936e70fad7e5b3f58a2f8ef4d2d50e578d8f976e2a370c8d714ace4920bbceea70058db96abc238cee1 rancid-3.6.1.tar.gz dbebdecb80483fff45cfdd7a541805f45ee4e180d47a79ce9b71c5aad012d6e782c9a9d29f1de0fc2b89642aeecfc90dfddb86a1e11564e30683fa55e7009d76 rancid-2.3.2-conf.patch aefbdeb99acd6840ab7fe75602b4cec2ed07a4eb24d073a951feef22ab7e56aff098bed7e0ca042c977218a2311465780aa5e6203507da8ab43e132df9a21795 rancid.logrotate"