Browse Source
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>alarig-LibreTranslate
4 changed files with 57 additions and 0 deletions
@ -0,0 +1 @@
|
||||
DIST rancid-3.13.tar.gz 506297 BLAKE2B cb28c03a09ecbc79b55c4962880c54088908598ceaacdc62751fdd2adf08fdb3e38917365c47e95eb7b49671731d8146bb6d6cb2f775cc9ff57c83eed92deb5e SHA512 2dbd8a743a03cd94b474c08b0bb1868a991353690b9f3ff2828d16a3a102ca68e4092cb07f24ec4e57c4436e6657f3f2638f890069fbbd35d6c7a34d5bd55df5 |
@ -0,0 +1,4 @@
|
||||
# run config differ hourly |
||||
1 * * * * rancid /usr/bin/rancid-run |
||||
# clean out config differ logs |
||||
50 23 * * * rancid find /var/log/rancid -type f -mtime +2 -exec rm {} \; |
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
||||
<pkgmetadata> |
||||
<maintainer type="person"> |
||||
<email>alarig@swordarmor.fr</email> |
||||
<name>Alarig Le Lay</name> |
||||
</maintainer> |
||||
</pkgmetadata> |
@ -0,0 +1,44 @@
|
||||
# Copyright 2021 Gentoo Authors |
||||
# Distributed under the terms of the GNU General Public License v2 |
||||
|
||||
EAPI=7 |
||||
|
||||
DESCRIPTION="Really Awesome New Cisco confIg Differ" |
||||
HOMEPAGE="https://shrubbery.net/rancid/" |
||||
SRC_URI="https://shrubbery.net/pub/${PN}/${P}.tar.gz" |
||||
|
||||
LICENSE="BSD" |
||||
SLOT="0" |
||||
KEYWORDS="~amd64 ~x86" |
||||
|
||||
DEPEND=" |
||||
acct-group/rancid |
||||
acct-user/rancid |
||||
dev-tcltk/expect |
||||
net-misc/iputils |
||||
net-misc/openssh |
||||
|| ( net-misc/netkit-telnetd net-misc/telnet-bsd ) |
||||
" |
||||
RDEPEND="${DEPEND}" |
||||
BDEPEND="" |
||||
|
||||
src_configure() { |
||||
local myeconfargs=( |
||||
--localstatedir="/var/lib/${PN}" |
||||
--sysconfdir="/etc/${PN}" |
||||
) |
||||
econf "${myeconfargs[@]}" |
||||
} |
||||
|
||||
src_install() { |
||||
default |
||||
|
||||
insinto "/etc/cron.d/" |
||||
newins "${FILESDIR}/${PN}-cron" "${PN}" |
||||
} |
||||
|
||||
pkg_postinst() { |
||||
optfeature "cvs" dev-vcs/cvs |
||||
optfeature "git" dev-vcs/git |
||||
optfeature "subversion" dev-vcs/subversion |
||||
} |
Loading…
Reference in new issue