summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-22 11:00:12 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-22 11:00:12 +0000
commit07d2a6e4bf602a6cc93c3a8e5721c80bdf42d1de (patch)
treee2588349d0cc098a5596ddbbdf9f876cc2382092 /app-forensics/rkhunter
parent~amd64 (diff)
downloadhistorical-07d2a6e4bf602a6cc93c3a8e5721c80bdf42d1de.tar.gz
historical-07d2a6e4bf602a6cc93c3a8e5721c80bdf42d1de.tar.bz2
historical-07d2a6e4bf602a6cc93c3a8e5721c80bdf42d1de.zip
Version bump.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'app-forensics/rkhunter')
-rw-r--r--app-forensics/rkhunter/ChangeLog8
-rw-r--r--app-forensics/rkhunter/Manifest11
-rw-r--r--app-forensics/rkhunter/files/digest-rkhunter-1.2.11
-rw-r--r--app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff14
-rw-r--r--app-forensics/rkhunter/rkhunter-1.2.1.ebuild64
5 files changed, 93 insertions, 5 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog
index 8a9517070ed7..bb355e827a63 100644
--- a/app-forensics/rkhunter/ChangeLog
+++ b/app-forensics/rkhunter/ChangeLog
@@ -1,6 +1,12 @@
# 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.25 2005/02/11 10:51:54 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.26 2005/02/22 11:00:12 ka0ttic Exp $
+
+*rkhunter-1.2.1 (22 Feb 2005)
+
+ 22 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/rkhunter-1.2.1-create-tmpdir.diff, +rkhunter-1.2.1.ebuild:
+ Version bump.
*rkhunter-1.2.0 (11 Feb 2005)
diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest
index 37633232edda..f775ec89f281 100644
--- a/app-forensics/rkhunter/Manifest
+++ b/app-forensics/rkhunter/Manifest
@@ -3,18 +3,21 @@ Hash: SHA1
MD5 ef857bb85b1db91d75c5ccc20ec0db77 rkhunter-1.2.0.ebuild 1697
MD5 023a96c68f424d636a21e1b2cba1f17f rkhunter-1.1.9.ebuild 1697
-MD5 fb132d16baccc696256ad15a46a022d9 ChangeLog 6154
+MD5 420401ac56f249bad3934421d6fe1c19 ChangeLog 6319
MD5 f1608c19ea0727ee36b2a692b1f3470b metadata.xml 264
+MD5 b569fec09ea053c375f75420895bb5a1 rkhunter-1.2.1.ebuild 1748
MD5 9b82f88f42c67bf2a8b855a851d3cdd7 files/rkhunter-1.2.0-specify-logfile.patch 2439
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 d07a47cbe2364dc010d37ead80ff8f4b files/rkhunter-1.2.1-create-tmpdir.diff 551
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCDI5TEZCkKN40op4RAmnHAJ49pf/RkKZtGd6B/JZJfSQ0LRpcgwCfcAUb
-xGzaIvZ2t54yVBxs9xAzQh0=
-=+s3P
+iD8DBQFCGxFEEZCkKN40op4RAiIwAKCMXIa7c0y5LZEOdcKFLDUGroNlngCfQTcx
+muLvrYkPU9MR+raCXavNf0Y=
+=2v7A
-----END PGP SIGNATURE-----
diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.1 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.1
new file mode 100644
index 000000000000..8ea579b18081
--- /dev/null
+++ b/app-forensics/rkhunter/files/digest-rkhunter-1.2.1
@@ -0,0 +1 @@
+MD5 a5591b84c41a736b1e0ae64947f65b76 rkhunter-1.2.1.tar.gz 119709
diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff b/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff
new file mode 100644
index 000000000000..ab0ec495cc7a
--- /dev/null
+++ b/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff
@@ -0,0 +1,14 @@
+diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter
+--- rkhunter.orig/files/rkhunter 2005-02-21 23:22:16.277815344 -0500
++++ rkhunter/files/rkhunter 2005-02-21 23:25:43.586299664 -0500
+@@ -2072,8 +2072,8 @@
+ then
+ logtext "Info: using ${TMPDIR} as temporary directory"
+ else
+- logtext "Fatal: temporary directory ${TMPDIR} doesn't exist." >> ${DEBUGFILE}
+- exit 1
++ logtext "Info: ${TMPDIR} not present. Creating it." >> ${DEBUGFILE}
++ mkdir -p ${TMPDIR}
+ fi
+
+ if [ `${BINPREFIX}id -u` = "0" ]
diff --git a/app-forensics/rkhunter/rkhunter-1.2.1.ebuild b/app-forensics/rkhunter/rkhunter-1.2.1.ebuild
new file mode 100644
index 000000000000..2014c19e9966
--- /dev/null
+++ b/app-forensics/rkhunter/rkhunter-1.2.1.ebuild
@@ -0,0 +1,64 @@
+# 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 $
+
+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}/${P}-create-tmpdir.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
+}