summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-03-19 14:26:37 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-03-19 14:26:37 +0000
commita0a7183c4a5cd820eeffd7a86a0191b552a8b2c5 (patch)
treef9956c26350423b2563e48bd870f8527679bfc0e /app-forensics/rkhunter
parentVersion bump, closes bug #83365. LICENSE correction. (diff)
downloadgentoo-2-a0a7183c4a5cd820eeffd7a86a0191b552a8b2c5.tar.gz
gentoo-2-a0a7183c4a5cd820eeffd7a86a0191b552a8b2c5.tar.bz2
gentoo-2-a0a7183c4a5cd820eeffd7a86a0191b552a8b2c5.zip
Version bump for bug 85840; marked 1.2.1 stable on x86.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-forensics/rkhunter')
-rw-r--r--app-forensics/rkhunter/ChangeLog9
-rw-r--r--app-forensics/rkhunter/Manifest17
-rw-r--r--app-forensics/rkhunter/files/digest-rkhunter-1.2.21
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff18
-rw-r--r--app-forensics/rkhunter/rkhunter-1.2.1.ebuild4
-rw-r--r--app-forensics/rkhunter/rkhunter-1.2.2.ebuild65
6 files changed, 99 insertions, 15 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog
index bb355e827a63..e5ff7416b182 100644
--- a/app-forensics/rkhunter/ChangeLog
+++ b/app-forensics/rkhunter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-forensics/rkhunter
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.26 2005/02/22 11:00:12 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.27 2005/03/19 14:26:37 ka0ttic Exp $
+
+*rkhunter-1.2.2 (19 Mar 2005)
+
+ 19 Mar 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/rkhunter-1.2.2-fix-broken-test.diff, rkhunter-1.2.1.ebuild,
+ +rkhunter-1.2.2.ebuild:
+ Version bump; marked 1.2.1 stable on x86.
*rkhunter-1.2.1 (22 Feb 2005)
diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest
index f775ec89f281..72d42660e44b 100644
--- a/app-forensics/rkhunter/Manifest
+++ b/app-forensics/rkhunter/Manifest
@@ -1,23 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 ef857bb85b1db91d75c5ccc20ec0db77 rkhunter-1.2.0.ebuild 1697
MD5 023a96c68f424d636a21e1b2cba1f17f rkhunter-1.1.9.ebuild 1697
-MD5 420401ac56f249bad3934421d6fe1c19 ChangeLog 6319
+MD5 101157a8a2c63889d5081e7dc7f6c764 rkhunter-1.2.2.ebuild 1801
+MD5 8399c84b41550170a98f6a47423972ba ChangeLog 6539
MD5 f1608c19ea0727ee36b2a692b1f3470b metadata.xml 264
-MD5 b569fec09ea053c375f75420895bb5a1 rkhunter-1.2.1.ebuild 1748
+MD5 cb83d964279da07f17fcef367e606159 rkhunter-1.2.1.ebuild 1747
MD5 9b82f88f42c67bf2a8b855a851d3cdd7 files/rkhunter-1.2.0-specify-logfile.patch 2439
+MD5 7a80610ccd08ff160d990ae57cae3a81 files/rkhunter-1.2.2-fix-broken-test.diff 647
MD5 4aace52e301a67ef5b8b23d8d2c5ba46 files/rkhunter.cron 3855
MD5 2473ff095ea8aa159a379872571b5d43 files/rkhunter.bash-completion 2628
MD5 a67c10cf68af091e9f17ad100b38ee7c files/rkhunter-1.1.9-specify-logfile.patch 2379
MD5 a8206bcb42fdb2f63d50390afe76a7be files/digest-rkhunter-1.1.9 66
MD5 109877c6e8a34dfc0c80865daf3102f0 files/digest-rkhunter-1.2.0 66
MD5 c8d3c0a3f16a749c915f20be1047f683 files/digest-rkhunter-1.2.1 66
+MD5 9e37d314e5ae875453e463680b85616e files/digest-rkhunter-1.2.2 66
MD5 d07a47cbe2364dc010d37ead80ff8f4b files/rkhunter-1.2.1-create-tmpdir.diff 551
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCGxFEEZCkKN40op4RAiIwAKCMXIa7c0y5LZEOdcKFLDUGroNlngCfQTcx
-muLvrYkPU9MR+raCXavNf0Y=
-=2v7A
------END PGP SIGNATURE-----
diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.2 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.2
new file mode 100644
index 000000000000..8b007d366603
--- /dev/null
+++ b/app-forensics/rkhunter/files/digest-rkhunter-1.2.2
@@ -0,0 +1 @@
+MD5 07c6f9450b9af22c63a3821d96f7e1c9 rkhunter-1.2.2.tar.gz 121868
diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff b/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff
new file mode 100644
index 000000000000..a634766f132f
--- /dev/null
+++ b/app-forensics/rkhunter/files/rkhunter-1.2.2-fix-broken-test.diff
@@ -0,0 +1,18 @@
+--- rkhunter.orig 2005-03-19 09:21:45.000000000 -0500
++++ rkhunter 2005-03-19 09:20:24.000000000 -0500
+@@ -1,5 +1,6 @@
+ #!/bin/bash
+
++
+ #################################################################################
+ #
+ # Rootkit Hunter
+@@ -3865,7 +3866,7 @@
+ USER=`echo "${I}" | cut -d ':' -f1`
+ PASSWORD=`echo "${I}" | cut -d ':' -f2`
+ # Exclude NIS-user (+::::::)
+- if [ ! ${USER} = "+" -a "${PASSWORD}" = "" ]; then
++ if [ ${USER} != "+" ] && [ "${PASSWORD}" = "" ]; then
+ FOUND=1
+ logtext "Warning! Found passwordless account (${USER})"
+ logtext "Check this account and give it a password."
diff --git a/app-forensics/rkhunter/rkhunter-1.2.1.ebuild b/app-forensics/rkhunter/rkhunter-1.2.1.ebuild
index 2014c19e9966..c6807074f68f 100644
--- a/app-forensics/rkhunter/rkhunter-1.2.1.ebuild
+++ b/app-forensics/rkhunter/rkhunter-1.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.2.1.ebuild,v 1.1 2005/02/22 11:00:12 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.2.1.ebuild,v 1.2 2005/03/19 14:26:37 ka0ttic Exp $
inherit eutils bash-completion
@@ -10,7 +10,7 @@ SRC_URI="http://downloads.rootkit.nl/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~sparc"
+KEYWORDS="x86 ~ppc ~alpha ~amd64 ~sparc"
IUSE=""
DEPEND="app-arch/tar
diff --git a/app-forensics/rkhunter/rkhunter-1.2.2.ebuild b/app-forensics/rkhunter/rkhunter-1.2.2.ebuild
new file mode 100644
index 000000000000..dd8104c9b5f2
--- /dev/null
+++ b/app-forensics/rkhunter/rkhunter-1.2.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.2.2.ebuild,v 1.1 2005/03/19 14:26:37 ka0ttic Exp $
+
+inherit eutils bash-completion
+
+DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers."
+HOMEPAGE="http://www.rootkit.org/"
+SRC_URI="http://downloads.rootkit.nl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~sparc"
+IUSE=""
+
+DEPEND="app-arch/tar
+ app-arch/gzip
+ virtual/mta"
+RDEPEND="app-shells/bash
+ dev-lang/perl"
+
+S="${WORKDIR}/${PN}/files"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.2.0-specify-logfile.patch
+ epatch ${FILESDIR}/${PN}-1.2.1-create-tmpdir.diff
+ epatch ${FILESDIR}/${P}-fix-broken-test.diff
+}
+
+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"
+
+ dobin 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
+ 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
+ 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."
+ bash-completion_pkg_postinst
+}
+
+pkg_prerm() {
+ rm -rf /usr/lib/rkhunter/tmp
+}