1 |
commit: 490f46f341d08806e8577a36b291ed623bb290b7 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 10:22:44 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 10:22:55 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490f46f3 |
7 |
|
8 |
app-forensics/rkhunter: remove vulnerable |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
app-forensics/rkhunter/Manifest | 2 - |
13 |
.../rkhunter/files/rkhunter-1.4.2.conf.patch | 38 ------------- |
14 |
app-forensics/rkhunter/rkhunter-1.4.2.ebuild | 64 --------------------- |
15 |
app-forensics/rkhunter/rkhunter-1.4.4.ebuild | 65 ---------------------- |
16 |
4 files changed, 169 deletions(-) |
17 |
|
18 |
diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest |
19 |
index 5fa0e6267d2..af34b039b9e 100644 |
20 |
--- a/app-forensics/rkhunter/Manifest |
21 |
+++ b/app-forensics/rkhunter/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST rkhunter-1.4.2.tar.gz 277707 BLAKE2B 97968801ce5dccefc7d5eb246fd8031091447b9090c5bc9b958ea64835c47661d1f40b5a6352e0c92608a514f237ac2946a7f84498915418581a71d16b497f61 SHA512 a4e45caaaf5b8262619ebb890784c75c4e30db4c6c0eba305f86d419142b4796c95bc55fe8846dce8d58bc7636bdb365a4a8c41707f64d4d81373687c5a3b0d4 |
24 |
-DIST rkhunter-1.4.4.tar.gz 297626 BLAKE2B 9d9a50e3541817d8dfec6c76665ae84b92f49ed3128244cb5359f2149203ccdc7cdaa05db3da87f6aa6ee79fa84491f40cdc3443d77359b64c23947cb685516e SHA512 87e9c617220765678cc4519eee27d1d56185c3a7fb1d6338c8fb984ac4f5176c31bb54b69e1de615d66a0cf1e72b672e66b368e37851a459def69463cbb8661e |
25 |
DIST rkhunter-1.4.6.tar.gz 302137 BLAKE2B 89c61386b57f743f4205f8c826eaa8a9dc9a0d413ac47efb26b6f93d8d642f619f35b7a4c021521b662547c02a16071b8980d158cfb9e081a64870558dbaeff0 SHA512 c51a21b6b66ed1f73a19d8ce04eaba35999eefcb666acc824989c3bf53ac56d24a33ac4fec290be942e33fe24674406b371eafff73f7e697b9e03ec031b37216 |
26 |
|
27 |
diff --git a/app-forensics/rkhunter/files/rkhunter-1.4.2.conf.patch b/app-forensics/rkhunter/files/rkhunter-1.4.2.conf.patch |
28 |
deleted file mode 100644 |
29 |
index 8fd49ab421d..00000000000 |
30 |
--- a/app-forensics/rkhunter/files/rkhunter-1.4.2.conf.patch |
31 |
+++ /dev/null |
32 |
@@ -1,38 +0,0 @@ |
33 |
-diff -Naur rkhunter-1.4.2/files/rkhunter.conf rkhunter-1.4.2-fixed/files/rkhunter.conf |
34 |
---- rkhunter-1.4.2/files/rkhunter.conf 2014-01-25 16:29:51.000000000 -0500 |
35 |
-+++ rkhunter-1.4.2-fixed/files/rkhunter.conf 2014-05-27 11:58:11.098750088 -0400 |
36 |
-@@ -72,6 +72,7 @@ |
37 |
- # to use. |
38 |
- # |
39 |
- |
40 |
-+INSTALLDIR=/usr |
41 |
- |
42 |
- # |
43 |
- # If this option is set to '1', it specifies that the mirrors file |
44 |
-@@ -154,7 +155,7 @@ |
45 |
- # subsequently commented out or removed, then the program will assume a |
46 |
- # default directory beneath the installation directory. |
47 |
- # |
48 |
--#TMPDIR=/var/lib/rkhunter/tmp |
49 |
-+TMPDIR=/var/lib/rkhunter/tmp |
50 |
- |
51 |
- # |
52 |
- # This option specifies the database directory to use. |
53 |
-@@ -163,7 +164,7 @@ |
54 |
- # subsequently commented out or removed, then the program will assume a |
55 |
- # default directory beneath the installation directory. |
56 |
- # |
57 |
--#DBDIR=/var/lib/rkhunter/db |
58 |
-+DBDIR=/var/lib/rkhunter/db |
59 |
- |
60 |
- # |
61 |
- # This option specifies the script directory to use. |
62 |
-@@ -171,7 +172,7 @@ |
63 |
- # The installer program will set the default directory. If this default is |
64 |
- # subsequently commented out or removed, then the program will not run. |
65 |
- # |
66 |
--#SCRIPTDIR=/usr/local/lib/rkhunter/scripts |
67 |
-+SCRIPTDIR=/usr/lib/rkhunter/scripts |
68 |
- |
69 |
- # |
70 |
- # This option can be used to modify the command directory list used by rkhunter |
71 |
|
72 |
diff --git a/app-forensics/rkhunter/rkhunter-1.4.2.ebuild b/app-forensics/rkhunter/rkhunter-1.4.2.ebuild |
73 |
deleted file mode 100644 |
74 |
index abaf05c31f4..00000000000 |
75 |
--- a/app-forensics/rkhunter/rkhunter-1.4.2.ebuild |
76 |
+++ /dev/null |
77 |
@@ -1,64 +0,0 @@ |
78 |
-# Copyright 1999-2014 Gentoo Foundation |
79 |
-# Distributed under the terms of the GNU General Public License v2 |
80 |
- |
81 |
-EAPI=5 |
82 |
- |
83 |
-inherit eutils bash-completion-r1 |
84 |
- |
85 |
-DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers" |
86 |
-HOMEPAGE="http://rkhunter.sf.net/" |
87 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
88 |
- |
89 |
-LICENSE="GPL-2" |
90 |
-SLOT="0" |
91 |
-KEYWORDS="alpha amd64 ~mips ppc x86" |
92 |
-IUSE="" |
93 |
- |
94 |
-RDEPEND=" |
95 |
- app-shells/bash |
96 |
- dev-lang/perl |
97 |
- sys-process/lsof[rpc] |
98 |
- virtual/cron |
99 |
- virtual/mailx |
100 |
-" |
101 |
- |
102 |
-S="${WORKDIR}/${P}/files" |
103 |
- |
104 |
-src_prepare() { |
105 |
- epatch "${FILESDIR}/${P}.conf.patch" |
106 |
-} |
107 |
- |
108 |
-src_install() { |
109 |
- # rkhunter requires to be root |
110 |
- dosbin ${PN} |
111 |
- |
112 |
- insinto /etc |
113 |
- doins ${PN}.conf |
114 |
- |
115 |
- exeinto /usr/lib/${PN}/scripts |
116 |
- doexe *.pl |
117 |
- |
118 |
- insinto /var/lib/${PN}/db |
119 |
- doins *.dat |
120 |
- |
121 |
- insinto /var/lib/${PN}/db/i18n |
122 |
- doins i18n/* |
123 |
- |
124 |
- doman ${PN}.8 |
125 |
- dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README |
126 |
- |
127 |
- exeinto /etc/cron.daily |
128 |
- newexe "${FILESDIR}/${PN}-1.3.cron" ${PN} |
129 |
- |
130 |
- newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN} |
131 |
-} |
132 |
- |
133 |
-pkg_postinst() { |
134 |
- elog "A cron script has been installed to /etc/cron.daily/rkhunter." |
135 |
- elog "To enable it, edit /etc/cron.daily/rkhunter and follow the" |
136 |
- elog "directions." |
137 |
- elog "If you want ${PN} to send mail, you will need to install" |
138 |
- elog "virtual/mailx or alter the EMAIL_CMD variable in the" |
139 |
- elog "cron script and possibly the MAIL_CMD variable in the" |
140 |
- elog "${PN}.conf file to use another mail client." |
141 |
-} |
142 |
|
143 |
diff --git a/app-forensics/rkhunter/rkhunter-1.4.4.ebuild b/app-forensics/rkhunter/rkhunter-1.4.4.ebuild |
144 |
deleted file mode 100644 |
145 |
index e8eaba4a2a0..00000000000 |
146 |
--- a/app-forensics/rkhunter/rkhunter-1.4.4.ebuild |
147 |
+++ /dev/null |
148 |
@@ -1,65 +0,0 @@ |
149 |
-# Copyright 1999-2017 Gentoo Foundation |
150 |
-# Distributed under the terms of the GNU General Public License v2 |
151 |
- |
152 |
-EAPI=6 |
153 |
- |
154 |
-inherit bash-completion-r1 |
155 |
- |
156 |
-DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers" |
157 |
-HOMEPAGE="http://rkhunter.sf.net/" |
158 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
159 |
- |
160 |
-LICENSE="GPL-2" |
161 |
-SLOT="0" |
162 |
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~x86" |
163 |
-IUSE="" |
164 |
- |
165 |
-RDEPEND=" |
166 |
- app-shells/bash |
167 |
- dev-lang/perl |
168 |
- sys-process/lsof[rpc] |
169 |
- virtual/cron |
170 |
- virtual/mailx |
171 |
-" |
172 |
- |
173 |
-S="${WORKDIR}/${P}/files" |
174 |
- |
175 |
-src_prepare() { |
176 |
- default |
177 |
- eapply -p2 "${FILESDIR}/${PN}-1.4.2.conf.patch" |
178 |
-} |
179 |
- |
180 |
-src_install() { |
181 |
- # rkhunter requires to be root |
182 |
- dosbin ${PN} |
183 |
- |
184 |
- insinto /etc |
185 |
- doins ${PN}.conf |
186 |
- |
187 |
- exeinto /usr/lib/${PN}/scripts |
188 |
- doexe *.pl |
189 |
- |
190 |
- insinto /var/lib/${PN}/db |
191 |
- doins *.dat |
192 |
- |
193 |
- insinto /var/lib/${PN}/db/i18n |
194 |
- doins i18n/* |
195 |
- |
196 |
- doman ${PN}.8 |
197 |
- dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README |
198 |
- |
199 |
- exeinto /etc/cron.daily |
200 |
- newexe "${FILESDIR}/${PN}-1.3.cron" ${PN} |
201 |
- |
202 |
- newbashcomp "${FILESDIR}/${PN}.bash-completion" ${PN} |
203 |
-} |
204 |
- |
205 |
-pkg_postinst() { |
206 |
- elog "A cron script has been installed to /etc/cron.daily/rkhunter." |
207 |
- elog "To enable it, edit /etc/cron.daily/rkhunter and follow the" |
208 |
- elog "directions." |
209 |
- elog "If you want ${PN} to send mail, you will need to install" |
210 |
- elog "virtual/mailx or alter the EMAIL_CMD variable in the" |
211 |
- elog "cron script and possibly the MAIL_CMD variable in the" |
212 |
- elog "${PN}.conf file to use another mail client." |
213 |
-} |