mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
app-forensics/rkhunter: drop 1.4.6-r1
Closes: https://bugs.gentoo.org/913054 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers"
|
||||
HOMEPAGE="https://rkhunter.sf.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~mips ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
app-shells/bash
|
||||
dev-lang/perl
|
||||
sys-process/lsof[rpc]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/files"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.4.6-conf.patch"
|
||||
"${FILESDIR}/${PN}-1.4.6-no-insecure-web.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
# rkhunter requires to be root
|
||||
dosbin ${PN}
|
||||
|
||||
insinto /etc
|
||||
doins ${PN}.conf
|
||||
|
||||
exeinto /usr/lib/${PN}/scripts
|
||||
doexe *.pl
|
||||
|
||||
insinto /var/lib/${PN}/db
|
||||
doins *.dat
|
||||
|
||||
insinto /var/lib/${PN}/db/i18n
|
||||
doins i18n/*
|
||||
|
||||
doman ${PN}.8
|
||||
dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
newexe "${FILESDIR}/${PN}-1.4.cron" ${PN}
|
||||
|
||||
newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A cron script has been installed to /etc/cron.daily/rkhunter."
|
||||
elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
|
||||
elog "directions."
|
||||
elog "If you want ${PN} to send mail, you will need to install"
|
||||
elog "virtual/mailx or alter the EMAIL_CMD variable in the"
|
||||
elog "cron script and possibly the MAIL_CMD variable in the"
|
||||
elog "${PN}.conf file to use another mail client."
|
||||
}
|
||||
Reference in New Issue
Block a user