summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2009-12-19 19:21:01 +0000
committerWilliam Hubbs <williamh@gentoo.org>2009-12-19 19:21:01 +0000
commit8761c1424b1f7b4a95aa8665670b5124edf997c3 (patch)
treed513acad72367c650288d2c69f9c709352fd4551 /app-forensics
parentVersion bump (diff)
downloadgentoo-2-8761c1424b1f7b4a95aa8665670b5124edf997c3.tar.gz
gentoo-2-8761c1424b1f7b4a95aa8665670b5124edf997c3.tar.bz2
gentoo-2-8761c1424b1f7b4a95aa8665670b5124edf997c3.zip
This rev bump closes #268719 and #268762.
(Portage version: 2.2_rc60/cvs/Linux i686)
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/rkhunter/ChangeLog8
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.3.cron4
-rw-r--r--app-forensics/rkhunter/rkhunter-1.3.4-r3.ebuild66
3 files changed, 75 insertions, 3 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog
index 61780579ccc8..bcf83e4c15c5 100644
--- a/app-forensics/rkhunter/ChangeLog
+++ b/app-forensics/rkhunter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-forensics/rkhunter
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.70 2009/07/29 15:50:47 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.71 2009/12/19 19:21:01 williamh Exp $
+
+*rkhunter-1.3.4-r3 (19 Dec 2009)
+
+ 19 Dec 2009; William Hubbs <williamh@gentoo.org>
+ +rkhunter-1.3.4-r3.ebuild, files/rkhunter-1.3.cron:
+ This rev bump closes #268719 and #268762.
29 Jul 2009; Steve Dibb <beandog@gentoo.org> rkhunter-1.3.4-r2.ebuild:
amd64 stable
diff --git a/app-forensics/rkhunter/files/rkhunter-1.3.cron b/app-forensics/rkhunter/files/rkhunter-1.3.cron
index fc92f4d20e39..67a4755a59e0 100644
--- a/app-forensics/rkhunter/files/rkhunter-1.3.cron
+++ b/app-forensics/rkhunter/files/rkhunter-1.3.cron
@@ -1,5 +1,5 @@
#!/bin/bash
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/files/rkhunter-1.3.cron,v 1.1 2009/01/18 00:20:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/files/rkhunter-1.3.cron,v 1.2 2009/12/19 19:21:00 williamh Exp $
# original author: Aaron Walker <ka0ttic@gentoo.org>
########################## Begin Configuration ###############################
@@ -81,7 +81,7 @@ exec > ${_tmpout} 2>&1
if [[ "${UPDATE}" == "yes" ]] ; then
# save the output of --update in a tmp file so that it can be mailed
# along with the scan output; otherwise the user will get 2 mails
- ${RKHUNTER_EXEC} --update
+ ${RKHUNTER_EXEC} --nocolor --update
fi
# formulate options string according to user configuration
diff --git a/app-forensics/rkhunter/rkhunter-1.3.4-r3.ebuild b/app-forensics/rkhunter/rkhunter-1.3.4-r3.ebuild
new file mode 100644
index 000000000000..89dbcdefa82c
--- /dev/null
+++ b/app-forensics/rkhunter/rkhunter-1.3.4-r3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.4-r3.ebuild,v 1.1 2009/12/19 19:21:01 williamh Exp $
+
+EAPI=2
+
+inherit eutils bash-completion
+
+DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers."
+HOMEPAGE="http://rkhunter.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="virtual/mta
+ app-shells/bash
+ dev-lang/perl
+ sys-process/lsof"
+
+S="${WORKDIR}/${P}/files"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}.conf.patch"
+ epatch "${FILESDIR}/${PN}-ppc64.patch"
+}
+
+src_install() {
+ # rkhunter requires to be root
+ dosbin ${PN}
+
+ # rkhunter doesn't create it by itself
+ dodir /var/lib/${PN}/tmp
+
+ insinto /etc
+ doins ${PN}.conf || die "failed to install ${PN}.conf"
+
+ exeinto /usr/lib/${PN}/scripts
+ doexe *.pl || die "failed to install scripts"
+
+ insinto /var/lib/${PN}/db
+ doins *.dat || die "failed to install dat files"
+
+ insinto /var/lib/${PN}/db/i18n
+ doins i18n/*
+
+ doman ${PN}.8 || die "doman failed"
+ dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README WISHLIST || die "dodoc failed"
+
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}/${PN}-1.3.cron" ${PN} || \
+ die "failed to install cron script"
+
+ dobashcompletion "${FILESDIR}/${PN}.bash-completion"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "A cron script has been installed to /etc/cron.daily/rkhunter."
+ einfo "To enable it, edit /etc/cron.daily/rkhunter and follow the"
+ einfo "directions."
+ einfo
+ bash-completion_pkg_postinst
+}