Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-forensics/rkhunter: ChangeLog rkhunter-1.3.8-r1.ebuild
Date: Mon, 09 Apr 2012 03:44:01
Message-Id: 20120409034346.D1F922004C@flycatcher.gentoo.org
1 darkside 12/04/09 03:43:46
2
3 Modified: ChangeLog
4 Added: rkhunter-1.3.8-r1.ebuild
5 Log:
6 Revision bump to add upstream patch for sys-apps/file compatibility
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.90 app-forensics/rkhunter/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?rev=1.90&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?rev=1.90&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/ChangeLog?r1=1.89&r2=1.90
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v
20 retrieving revision 1.89
21 retrieving revision 1.90
22 diff -u -r1.89 -r1.90
23 --- ChangeLog 12 Jan 2012 00:09:42 -0000 1.89
24 +++ ChangeLog 9 Apr 2012 03:43:46 -0000 1.90
25 @@ -1,6 +1,12 @@
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.89 2012/01/12 00:09:42 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.90 2012/04/09 03:43:46 darkside Exp $
30 +
31 +*rkhunter-1.3.8-r1 (09 Apr 2012)
32 +
33 + 09 Apr 2012; Jeremy Olexa <darkside@g.o> +rkhunter-1.3.8-r1.ebuild,
34 + +files/rkhunter-1.3.8-file-compat.patch:
35 + Revision bump to add upstream patch for sys-apps/file compatibility
36
37 12 Jan 2012; Tim Harder <radhermit@g.o> -files/rkhunter-ppc64.patch,
38 -rkhunter-1.3.4-r3.ebuild, -rkhunter-1.3.6.ebuild:
39
40
41
42 1.1 app-forensics/rkhunter/rkhunter-1.3.8-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.8-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.8-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rkhunter-1.3.8-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.3.8-r1.ebuild,v 1.1 2012/04/09 03:43:46 darkside Exp $
52
53 EAPI=4
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
70 virtual/cron
71 "
72
73 S="${WORKDIR}/${P}/files"
74
75 src_prepare() {
76 epatch "${FILESDIR}/${PN}.conf.patch"
77 epatch "${FILESDIR}/${P}-file-compat.patch"
78 }
79
80 src_install() {
81 # rkhunter requires to be root
82 dosbin ${PN}
83
84 # rkhunter doesn't create it by itself
85 dodir /var/lib/${PN}/tmp
86
87 insinto /etc
88 doins ${PN}.conf
89
90 exeinto /usr/lib/${PN}/scripts
91 doexe *.pl
92
93 insinto /var/lib/${PN}/db
94 doins *.dat
95
96 insinto /var/lib/${PN}/db/i18n
97 doins i18n/*
98
99 doman ${PN}.8
100 dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README
101
102 exeinto /etc/cron.daily
103 newexe "${FILESDIR}/${PN}-1.3.cron" ${PN}
104
105 newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN}
106 }
107
108 pkg_postinst() {
109 elog "A cron script has been installed to /etc/cron.daily/rkhunter."
110 elog "To enable it, edit /etc/cron.daily/rkhunter and follow the"
111 elog "directions."
112 elog "If you want ${PN} to send mail, you will need to install"
113 elog "virtual/mailx or alter the EMAIL_CMD variable in the"
114 elog "cron script and possibly the MAIL_CMD variable in the"
115 elog "${PN}.conf file to use another mail client."
116 }