/[gentoo-x86]/app-forensics/chkrootkit/chkrootkit-0.43.ebuild
Gentoo

Contents of /app-forensics/chkrootkit/chkrootkit-0.43.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Oct 4 10:40:10 2004 UTC (9 years, 9 months ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Marked 0.43-r4 stable on x86; clean up old versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/chkrootkit-0.43.ebuild,v 1.1 2004/09/12 06:58:28 dragonheart Exp $
4
5 inherit eutils
6
7 DESCRIPTION="a tool to locally check for signs of a rootkit"
8 HOMEPAGE="http://www.chkrootkit.org/"
9 SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz
10 mirror://gentoo/${P}-gentoo.diff.gz"
11
12 LICENSE="AMS"
13 SLOT="0"
14 KEYWORDS="x86 ~ppc sparc alpha ~ia64 amd64"
15 IUSE=""
16
17 DEPEND="virtual/libc
18 >=sys-apps/sed-4"
19
20 src_unpack() {
21 unpack ${A}
22 cd ${S}
23 epatch ${WORKDIR}/${P}-gentoo.diff
24 sed -i 's:${head} -:${head} -n :' chkrootkit
25 sed -i 's:/var/adm:/var/log:g' chklastlog.c
26 }
27
28 src_compile() {
29 make sense || die
30 make strings || die
31 }
32
33 src_install() {
34 dosbin check_wtmpx chklastlog chkproc chkrootkit chkwtmp ifpromisc || die
35 newsbin strings strings-static || die
36 dodoc README README.chklastlog README.chkwtmp
37 }

  ViewVC Help
Powered by ViewVC 1.1.20