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 | 798937658433d2e68a79434e5cb0b97527eec82b (patch) | |
tree | 77d6f285463e97d5e58671568b83e71026aadf11 /app-admin/rkhunter | |
parent | ebuild cleanup. (Manifest recommit) (diff) | |
download | gentoo-2-798937658433d2e68a79434e5cb0b97527eec82b.tar.gz gentoo-2-798937658433d2e68a79434e5cb0b97527eec82b.tar.bz2 gentoo-2-798937658433d2e68a79434e5cb0b97527eec82b.zip |
Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers. Bugzilla Bug 47781 - Initial commit
Diffstat (limited to 'app-admin/rkhunter')
-rw-r--r-- | app-admin/rkhunter/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/rkhunter/Manifest | 3 | ||||
-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, 65 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..160de0c27ff7 --- /dev/null +++ b/app-admin/rkhunter/Manifest @@ -0,0 +1,3 @@ +MD5 b61529f33da2c5b2c1a31906da186e65 rkhunter-1.0.9.ebuild 1182 +MD5 b19179a49bdd85f7c3a75091834bd8c6 ChangeLog 282 +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 +} |