Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-forensics/rkhunter: ChangeLog rkhunter-1.4.0.ebuild
Date: Tue, 01 May 2012 04:34:32
Message-Id: 20120501043418.4A2E92004B@flycatcher.gentoo.org
1 radhermit 12/05/01 04:34:18
2
3 Modified: ChangeLog
4 Added: rkhunter-1.4.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.91 app-forensics/rkhunter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?rev=1.91&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?rev=1.91&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?r1=1.90&r2=1.91
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v
20 retrieving revision 1.90
21 retrieving revision 1.91
22 diff -u -r1.90 -r1.91
23 --- ChangeLog 9 Apr 2012 03:43:46 -0000 1.90
24 +++ ChangeLog 1 May 2012 04:34:18 -0000 1.91
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-forensics/rkhunter
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.90 2012/04/09 03:43:46 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.91 2012/05/01 04:34:18 radhermit Exp $
30 +
31 +*rkhunter-1.4.0 (01 May 2012)
32 +
33 + 01 May 2012; Tim Harder <radhermit@g.o> +rkhunter-1.4.0.ebuild:
34 + Version bump.
35
36 *rkhunter-1.3.8-r1 (09 Apr 2012)
37
38
39
40
41 1.1 app-forensics/rkhunter/rkhunter-1.4.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/rkhunter-1.4.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/rkhunter-1.4.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rkhunter-1.4.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.4.0.ebuild,v 1.1 2012/05/01 04:34:18 radhermit Exp $
51
52 EAPI=4
53
54 inherit eutils bash-completion-r1
55
56 DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers."
57 HOMEPAGE="http://rkhunter.sf.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~mips ~ppc ~x86"
63 IUSE=""
64
65 RDEPEND="
66 app-shells/bash
67 dev-lang/perl
68 sys-process/lsof
69 virtual/cron
70 "
71
72 S="${WORKDIR}/${P}/files"
73
74 src_prepare() {
75 epatch "${FILESDIR}/${PN}.conf.patch"
76 }
77
78 src_install() {
79 # rkhunter requires to be root
80 dosbin ${PN}
81
82 # rkhunter doesn't create it by itself
83 dodir /var/lib/${PN}/tmp
84
85 insinto /etc
86 doins ${PN}.conf
87
88 exeinto /usr/lib/${PN}/scripts
89 doexe *.pl
90
91 insinto /var/lib/${PN}/db
92 doins *.dat
93
94 insinto /var/lib/${PN}/db/i18n
95 doins i18n/*
96
97 doman ${PN}.8
98 dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
99
100 exeinto /etc/cron.daily
101 newexe "${FILESDIR}/${PN}-1.3.cron" ${PN}
102
103 newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
104 }
105
106 pkg_postinst() {
107 elog "A cron script has been installed to /etc/cron.daily/rkhunter."
108 elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
109 elog "directions."
110 elog "If you want ${PN} to send mail, you will need to install"
111 elog "virtual/mailx or alter the EMAIL_CMD variable in the"
112 elog "cron script and possibly the MAIL_CMD variable in the"
113 elog "${PN}.conf file to use another mail client."
114 }