diff options
author | Ned Ludd <solar@gentoo.org> | 2004-05-30 06:25:06 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-05-30 06:25:06 +0000 |
commit | 693a6ba5347d1f3dfd97088a0c9532294922f138 (patch) | |
tree | 1d1f2ff71b743209e46f7f205b93bd152fdf8065 /app-admin | |
parent | ebuild cleanup. (diff) | |
download | historical-693a6ba5347d1f3dfd97088a0c9532294922f138.tar.gz historical-693a6ba5347d1f3dfd97088a0c9532294922f138.tar.bz2 historical-693a6ba5347d1f3dfd97088a0c9532294922f138.zip |
Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers. Bugzilla Bug 47781 - Initial commit
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/rkhunter/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/rkhunter/Manifest | 4 | ||||
-rw-r--r-- | app-admin/rkhunter/files/digest-rkhunter-1.0.9 | 1 | ||||
-rw-r--r-- | app-admin/rkhunter/metadata.xml | 8 | ||||
-rw-r--r-- | app-admin/rkhunter/rkhunter-1.0.9.ebuild | 45 |
5 files changed, 66 insertions, 0 deletions
diff --git a/app-admin/rkhunter/ChangeLog b/app-admin/rkhunter/ChangeLog new file mode 100644 index 000000000000..b11e192d68e9 --- /dev/null +++ b/app-admin/rkhunter/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-admin/rkhunter +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rkhunter/ChangeLog,v 1.1 2004/05/30 06:25:06 solar Exp $ + + 30 May 2004; <solar@gentoo.org> : + Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers. + Bugzilla Bug 47781 - Initial commit + diff --git a/app-admin/rkhunter/Manifest b/app-admin/rkhunter/Manifest new file mode 100644 index 000000000000..f11cbf33ecf6 --- /dev/null +++ b/app-admin/rkhunter/Manifest @@ -0,0 +1,4 @@ +MD5 6bf22139a546c98380dc6a39b9d7aa80 rkhunter-1.0.9.ebuild 1284 +MD5 a6cc89ec646c252980dcfe4018b383bc ChangeLog 372 +MD5 e412a91eab0edc866384121b20ab8793 metadata.xml 230 +MD5 1d599483a268947d3276b239ad433055 files/digest-rkhunter-1.0.9 65 diff --git a/app-admin/rkhunter/files/digest-rkhunter-1.0.9 b/app-admin/rkhunter/files/digest-rkhunter-1.0.9 new file mode 100644 index 000000000000..6de4f11c6c26 --- /dev/null +++ b/app-admin/rkhunter/files/digest-rkhunter-1.0.9 @@ -0,0 +1 @@ +MD5 ef2eff5b8eafb781cb6080913105e6c7 rkhunter-1.0.9.tar.gz 84878 diff --git a/app-admin/rkhunter/metadata.xml b/app-admin/rkhunter/metadata.xml new file mode 100644 index 000000000000..28b9deafca43 --- /dev/null +++ b/app-admin/rkhunter/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>solar@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/app-admin/rkhunter/rkhunter-1.0.9.ebuild b/app-admin/rkhunter/rkhunter-1.0.9.ebuild new file mode 100644 index 000000000000..f5ed05dfa799 --- /dev/null +++ b/app-admin/rkhunter/rkhunter-1.0.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rkhunter/rkhunter-1.0.9.ebuild,v 1.1 2004/05/30 06:25:06 solar Exp $ + +DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers." +HOMEPAGE="http://www.rootkit.nl/" +SRC_URI="http://downloads.rootkit.nl/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="app-arch/tar + app-arch/gzip + virtual/mta" +RDEPEND="app-shells/bash + dev-lang/perl" + +src_install() { + cd ${WORKDIR}/${PN}/files + dodir /usr/lib/rkhunter + dodir /usr/lib/rkhunter/db + insinto /usr/lib/rkhunter/db + doins *.dat + dodir /usr/lib/rkhunter/scripts + exeinto /usr/lib/rkhunter/scripts + doexe *.pl + insinto /etc + doins rkhunter.conf + dosed "s:#DBDIR=/usr/local/rkhunter/db:DBDIR=/usr/lib/rkhunter/db\nINSTALLDIR=/usr:g" /etc/rkhunter.conf + exeinto /usr/bin + doexe rkhunter + dodoc CHANGELOG LICENSE README WISHLIST +} + +pkg_postinst() { + echo + einfo "Add the following to /etc/crontab to run un Rootkit Hunter as a cronjob:" + einfo "30 5 * * * root /usr/bin/rkhunter -c --cronjob <more options>" + einfo "Rootkit Hunter will now run on a daily basis at 5:30 (AM)" + echo +} + +pkg_prerm() { + rm -rf /usr/lib/rkhunter/tmp +} |