Gentoo Archives: gentoo-commits

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