summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-02-15 11:27:02 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-02-15 11:27:02 +0000
commitf14d238dd8086873b086534601a2ad344cb8e6fa (patch)
tree87cb0f687e63cf4702c9b57f2237eab78b9ef41a /app-forensics/rkhunter
parentUpdate manifest files, upstream changed packages without versioning, bug #258509 (diff)
downloadhistorical-f14d238dd8086873b086534601a2ad344cb8e6fa.tar.gz
historical-f14d238dd8086873b086534601a2ad344cb8e6fa.tar.bz2
historical-f14d238dd8086873b086534601a2ad344cb8e6fa.zip
Fixing the location of the rkhunter binary, closes #258732
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'app-forensics/rkhunter')
-rw-r--r--app-forensics/rkhunter/ChangeLog8
-rw-r--r--app-forensics/rkhunter/Manifest3
-rw-r--r--app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild64
3 files changed, 73 insertions, 2 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog
index c382e417375e..77365a22d321 100644
--- a/app-forensics/rkhunter/ChangeLog
+++ b/app-forensics/rkhunter/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-forensics/rkhunter
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.67 2009/01/18 00:20:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.68 2009/02/15 11:27:02 patrick Exp $
+
+*rkhunter-1.2.9-r1 (15 Feb 2009)
+
+ 15 Feb 2009; Patrick Lauer <patrick@gentoo.org> +rkhunter-1.2.9-r1.ebuild:
+ Fixing rkhunter 1.2.9 binary path to match the cron and be consistent with
+ 1.3.4. Fixes bug #258732
*rkhunter-1.3.4-r2 (18 Jan 2009)
diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest
index c7e7d3f32949..f93f82a3ea61 100644
--- a/app-forensics/rkhunter/Manifest
+++ b/app-forensics/rkhunter/Manifest
@@ -12,8 +12,9 @@ DIST rkhunter-1.2.9.tar.gz 147123 RMD160 ffa89d3c953bd0f1d8266067ae1e99b829bdc50
DIST rkhunter-1.3.4.tar.gz 275653 RMD160 c4d4998c960e300a86fa0891f6da1bcc14d8eb4c SHA1 1d3d54852a6320e9eb1a77aee0d674816223d8d1 SHA256 d85d179850fee8ab04bc1733680c9c6dd8a1577975c12554db9c52bf4f7c50ba
EBUILD rkhunter-1.2.7-r1.ebuild 1762 RMD160 0257fd6f4868e163527b886f5f13b953b10d8130 SHA1 b7d4330905c55ae765cee85fa962f8c53882a48f SHA256 67e5bada442898eb23a64701e77f577d3867882dca40a9bbd6c42dd1e5b070e0
EBUILD rkhunter-1.2.8.ebuild 1765 RMD160 bf7a52d55663835646a869577238aff88ed7d332 SHA1 7608646479130fe51d6f6d34bac45567e3f2a214 SHA256 f549cf8097baa39b93625c4b1e6ceb8cb22dc1af33c10788a7f399525601c8d6
+EBUILD rkhunter-1.2.9-r1.ebuild 1764 RMD160 84a3e6b09afd1754831b0496eb7ec700c18990b0 SHA1 6b5b3090001ae13e64b35c9b298b6430d2426b4a SHA256 6423a886c7711c50ca1a18e7c9300f7ea6316fdd23dfedb1f184cd4622ae6899
EBUILD rkhunter-1.2.9.ebuild 1760 RMD160 aea4b84154e0ffae6fa443a2347604eb4d0abb59 SHA1 d124ff1901121094d878deb8c0f26ca034b2e09b SHA256 ae5bb0c997810824fea9ef013628a982d4b02ca8b0023ca41a13717663c1ec05
EBUILD rkhunter-1.3.4-r1.ebuild 1637 RMD160 a8ad7ccc95c79cc725010cf3f050eb970d1d43ad SHA1 bd864669c6f8fecb632b5107401cbcfe0875559c SHA256 1381445e843a0fc061bf1a480d57f5516d6288a15dd39ce5bbdbbee2b555c30f
EBUILD rkhunter-1.3.4-r2.ebuild 1641 RMD160 d0ff7578411bbee9152baec21c37f0bd7313a89d SHA1 995b765ca8e2fa4c2f72586042fa1e8c81cc1135 SHA256 a915e6c763c051b1b01d31c71e9e0f859511075d3aee6a31433272420e798fbe
-MISC ChangeLog 12134 RMD160 2eeb9d331670952a19fefe4474aa26f0ad0067cd SHA1 c1ae9659f62d518b94805c6af29669d016cda447 SHA256 b4b54b42c24c85b42d0e592d4d480ae26820c72c422a2ee3327ea0a5b994ff2e
+MISC ChangeLog 12350 RMD160 67906a7665256e02fd438834d0543dcee225c88f SHA1 e024eb546ac53359c07a8bfc534fc7fbd2f108d1 SHA256 9f27199fc3ae9fd28893f61775b1e5c93b6855269b085cc17b8f5a584b61be4c
MISC metadata.xml 164 RMD160 7cd3bffc39aa87dceaef97342b19343323175238 SHA1 97b9dc021ecbad46bf0f3a99aeb204f45792faeb SHA256 e8d7dfabbaf13302703ccc3428fa0ecedf5d444e0c58692ebbd03c5bd0d9240f
diff --git a/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild b/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild
new file mode 100644
index 000000000000..ab7376d62365
--- /dev/null
+++ b/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild
@@ -0,0 +1,64 @@
+# 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.2.9-r1.ebuild,v 1.1 2009/02/15 11:27:02 patrick Exp $
+
+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/rkhunter/${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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.2.1-create-tmpdir.diff
+ epatch "${FILESDIR}"/${PN}-1.2.9-ppc64.patch
+}
+
+src_install() {
+ insinto /usr/lib/rkhunter/db
+ doins *.dat || die "failed to install dat files"
+
+ exeinto /usr/lib/rkhunter/scripts
+ doexe *.pl check_update.sh || die "failed to install scripts"
+
+ dosbin rkhunter || die "failed to install rkhunter script"
+
+ insinto /etc
+ doins rkhunter.conf || die "failed to install rkhunter.conf"
+ dosed 's:^#\(DBDIR=.*\)local\(.*\)$:\1lib\2\nINSTALLDIR=/usr:' \
+ /etc/rkhunter.conf || die "sed rkhunter.conf failed"
+
+ doman development/rkhunter.8 || die "doman failed"
+ dodoc CHANGELOG LICENSE README WISHLIST || die "dodoc failed"
+
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/rkhunter.cron rkhunter || \
+ die "failed to install cron script"
+ dobashcompletion ${FILESDIR}/${PN}.bash-completion
+}
+
+pkg_postinst() {
+ echo
+ 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."
+ echo
+ bash-completion_pkg_postinst
+}
+
+pkg_prerm() {
+ rm -rf /usr/lib/rkhunter/tmp
+}