diff options
author | Daniel Black <dragonheart@gentoo.org> | 2007-02-18 11:25:18 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2007-02-18 11:25:18 +0000 |
commit | 19b0f1e9a532c6c09667386699140ba9b72de664 (patch) | |
tree | fe0b736b6a3d32fa7e31fe2f228e9d8871fe024d /app-forensics/rkhunter | |
parent | Stable on ppc wrt bug 167391 (diff) | |
download | gentoo-2-19b0f1e9a532c6c09667386699140ba9b72de664.tar.gz gentoo-2-19b0f1e9a532c6c09667386699140ba9b72de664.tar.bz2 gentoo-2-19b0f1e9a532c6c09667386699140ba9b72de664.zip |
version bump as per bug #149951
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-forensics/rkhunter')
-rw-r--r-- | app-forensics/rkhunter/ChangeLog | 9 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/digest-rkhunter-1.2.9 | 3 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch | 30 | ||||
-rw-r--r-- | app-forensics/rkhunter/rkhunter-1.2.9.ebuild | 64 |
4 files changed, 105 insertions, 1 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog index 7e19c83e3912..8aa3ffe35887 100644 --- a/app-forensics/rkhunter/ChangeLog +++ b/app-forensics/rkhunter/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-forensics/rkhunter # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.54 2007/01/24 03:22:16 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.55 2007/02/18 11:25:18 dragonheart Exp $ + +*rkhunter-1.2.9 (18 Feb 2007) + + 18 Feb 2007; Daniel Black <dragonheart@gentoo.org> + +files/rkhunter-1.2.9-ppc64.patch, +rkhunter-1.2.9.ebuild: + version bump as per bug #149951 thanks Janne for the ebuild and Narayan + Newton for ppc64 support 24 Jan 2007; Marius Mauch <genone@gentoo.org> rkhunter-1.2.7-r1.ebuild, rkhunter-1.2.8.ebuild: diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.9 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.9 new file mode 100644 index 000000000000..7960cd19c998 --- /dev/null +++ b/app-forensics/rkhunter/files/digest-rkhunter-1.2.9 @@ -0,0 +1,3 @@ +MD5 b442c1a332746a7c40767aa587a5ca8a rkhunter-1.2.9.tar.gz 147123 +RMD160 ffa89d3c953bd0f1d8266067ae1e99b829bdc504 rkhunter-1.2.9.tar.gz 147123 +SHA256 64d21cef13574338f49015127d369e1f02515fe4eb81cbda716d885ff4cd1278 rkhunter-1.2.9.tar.gz 147123 diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch b/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch new file mode 100644 index 000000000000..27c7363aa52d --- /dev/null +++ b/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch @@ -0,0 +1,30 @@ +diff -ru rkhunter-1.2.9.orig/files/os.dat rkhunter-1.2.9/files/os.dat +--- rkhunter-1.2.9.orig/files/os.dat 2006-09-30 12:16:27.000000000 +1000 ++++ rkhunter-1.2.9/files/os.dat 2007-02-18 22:05:23.000000000 +1100 +@@ -181,3 +181,5 @@ + 722:Red Hat Enterprise Linux ES release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: + 722:Red Hat Enterprise Linux WS release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: + 722:Red Hat Enterprise Linux AS release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: ++723:Gentoo Linux 1.6 (powerpc64):/usr/bin/md5sum:/bin: ++ +diff -ru rkhunter-1.2.9.orig/files/rkhunter rkhunter-1.2.9/files/rkhunter +--- rkhunter-1.2.9.orig/files/rkhunter 2007-02-18 21:59:23.000000000 +1100 ++++ rkhunter-1.2.9/files/rkhunter 2007-02-18 22:05:48.000000000 +1100 +@@ -2055,11 +2055,12 @@ + version=`cat /etc/gentoo-release | awk '{ print $5 }' | cut -d '.' -f1,2` + uname_model=`uname -m` + case $uname_model in +- i[0-9]86) architecture=i386; ;; +- ppc) architecture=powerpc; ;; +- sparc) architecture=sparc; ;; +- sparc64) architecture=sparc64; ;; +- x86_64) architecture=x86_64; ;; ++ i[0-9]86) architecture=i386; ;; ++ ppc) architecture=powerpc; ;; ++ ppc64) architecture=powerpc64; ;; ++ sparc) architecture=sparc; ;; ++ sparc64) architecture=sparc64; ;; ++ x86_64) architecture=x86_64; ;; + esac + logtext "Architecture ${uname_model} (->${architecture})" + diff --git a/app-forensics/rkhunter/rkhunter-1.2.9.ebuild b/app-forensics/rkhunter/rkhunter-1.2.9.ebuild new file mode 100644 index 000000000000..53a5cf44adae --- /dev/null +++ b/app-forensics/rkhunter/rkhunter-1.2.9.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 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.ebuild,v 1.1 2007/02/18 11:25:18 dragonheart 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" + + 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 || 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 +} |