1 |
commit: 0a35d85e9325840f962ba024ef344bf6cf80b9be |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 21:04:07 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 21:04:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a35d85e |
7 |
|
8 |
app-forensics/chkrootkit: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-forensics/chkrootkit/Manifest | 2 - |
13 |
app-forensics/chkrootkit/chkrootkit-0.48-r1.ebuild | 48 ------------------ |
14 |
...ootkit-0.48-chkutmp.c-some-overruns-fixes.patch | 57 ---------------------- |
15 |
.../chkrootkit-0.48-shell-history-anomalies.diff | 21 -------- |
16 |
4 files changed, 128 deletions(-) |
17 |
|
18 |
diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest |
19 |
index e54ddf4..c7a7ac6 100644 |
20 |
--- a/app-forensics/chkrootkit/Manifest |
21 |
+++ b/app-forensics/chkrootkit/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
-DIST chkrootkit-0.48-gentoo.diff.bz2 4534 SHA256 af7cdac03a2357615e6a6973c8f892b7541912e05c90b4e876eb1c0c8976d7dc SHA512 926c6913cc9a13f5578070e48301c6f3ff026d3f4df236dcf4b53e092ba4ba288f7d77fa8d8c7268e0e3c21921ae20b4027898e872c59a0cb1c451961bf862fb WHIRLPOOL b836f0846d5dbdcfb1a17f89328be62428107789b463537b0eb4daf9547771c6227d3caa37921a6030ae949ed1fbcb5dd38a24b98c4f08e7148218e304df5ece |
24 |
-DIST chkrootkit-0.48.tar.gz 38323 SHA256 b4b3d3540a7022aa7a81cae93f28c8475bc2660a21f88126725624c09769f1fb SHA512 df0348a1abd70ff905979ecead1e99b3fef1d706062112e3461e1e6b76e490e36466d46d254a02a2033e67e9774cfeb44ebff29fcc62a217e7a0e7843a239a24 WHIRLPOOL 76f9986dc0291789d16ae4ab1adb8c24b53c1013ad0984f9efe706aa52d0fb539ffc636ad738e3bc347081efad8f20c888d58cbb6a9619a540e9b383f7cd59ef |
25 |
DIST chkrootkit-0.49-gentoo.diff.bz2 5472 SHA256 85a01c8bb159420fc7681b5f3ec6529bc69cf10b3484daee0a5c126ef4a7b5d8 SHA512 4121d09f7bb6ad7d3f2ed42c914087f4724877def3c591fd6b7fa8e2b2b23a1b32b1bb1ba94dc079914c967d2483ebd614582b13afb4c1c801701a58ada89b62 WHIRLPOOL 25df5424700c72d19201faf6555790b04b878af3ef185f52f44807e018701926cd9e8d112343b86168ad6688df8fffcc2829c11886d8f628b03ff7f63f1ac7d0 |
26 |
DIST chkrootkit-0.49.tar.gz 39421 SHA256 ccb87be09e8923d51f450a167f484414f70c36c942f8ef5b9e5e4a69b7baa17f SHA512 b796547fc483635ff6ee4e953f7dda34913189459de05b547522b79f8edeef5adae72cc05515b8ff9382cbabffd93cae7d114a40636e14c55da513bb42b05909 WHIRLPOOL c94f96f185ae5f5dd038a7b2ffd9603ee8c0f2fcbaeb3eb73d20260898f1677a2c1aad5cd6a257b29ca540d02916dca59434ff10b807567447889cf23f65b25e |
27 |
|
28 |
diff --git a/app-forensics/chkrootkit/chkrootkit-0.48-r1.ebuild b/app-forensics/chkrootkit/chkrootkit-0.48-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index e6bd443..0000000 |
31 |
--- a/app-forensics/chkrootkit/chkrootkit-0.48-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,48 +0,0 @@ |
34 |
-# Copyright 1999-2010 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-inherit eutils toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="a tool to locally check for signs of a rootkit" |
41 |
-HOMEPAGE="http://www.chkrootkit.org/" |
42 |
-SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz |
43 |
- mirror://gentoo/${P}-gentoo.diff.bz2" |
44 |
- |
45 |
-LICENSE="BSD-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" |
48 |
-IUSE="" |
49 |
- |
50 |
-src_unpack() { |
51 |
- unpack ${A} |
52 |
- cd "${S}" |
53 |
- |
54 |
- epatch "${WORKDIR}/${P}-gentoo.diff" |
55 |
- epatch "${FILESDIR}/${P}-shell-history-anomalies.diff" |
56 |
- epatch "${FILESDIR}/${P}-chkutmp.c-some-overruns-fixes.patch" |
57 |
- sed -i 's:/var/adm/:/var/log/:g' chklastlog.c || die "sed chklastlog.c failed" |
58 |
-} |
59 |
- |
60 |
-src_compile() { |
61 |
- emake CC=$(tc-getCC) STRIP=true sense || die "emake sense failed" |
62 |
-} |
63 |
- |
64 |
-src_install() { |
65 |
- dosbin chkdirs chklastlog chkproc chkrootkit chkwtmp chkutmp ifpromisc \ |
66 |
- strings-static || die |
67 |
- dodoc ACKNOWLEDGMENTS README* |
68 |
- |
69 |
- exeinto /etc/cron.weekly |
70 |
- newexe "${FILESDIR}"/${PN}.cron ${PN} || die |
71 |
-} |
72 |
- |
73 |
-pkg_postinst() { |
74 |
- echo |
75 |
- elog "Edit /etc/cron.weekly/chkrootkit to activate chkrootkit!" |
76 |
- elog |
77 |
- elog "Some applications, such as portsentry, will cause chkrootkit" |
78 |
- elog "to produce false positives. Read the chkrootkit FAQ at" |
79 |
- elog "http://www.chkrootkit.org/ for more information." |
80 |
- echo |
81 |
-} |
82 |
|
83 |
diff --git a/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch b/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch |
84 |
deleted file mode 100644 |
85 |
index 09ba065..0000000 |
86 |
--- a/app-forensics/chkrootkit/files/chkrootkit-0.48-chkutmp.c-some-overruns-fixes.patch |
87 |
+++ /dev/null |
88 |
@@ -1,57 +0,0 @@ |
89 |
-=== modified file 'chkutmp.c' |
90 |
---- chkutmp.c 2008-10-06 19:07:51 +0000 |
91 |
-+++ chkutmp.c 2007-10-20 07:56:19 +0000 |
92 |
-@@ -23,6 +23,7 @@ |
93 |
- * |
94 |
- * Changelog: |
95 |
- * Ighighi X - Improved speed via break command - 2005/03/27 |
96 |
-+ * Stewart Gebbie - fixed buffer overrun bug related to MAXREAD and UT_PIDLENGTH - 2007-10-20 |
97 |
- * |
98 |
- */ |
99 |
- |
100 |
-@@ -42,7 +43,7 @@ |
101 |
- #endif |
102 |
- #include <ctype.h> |
103 |
- |
104 |
--#define MAXREAD 1024 |
105 |
-+#define MAXREAD 4096 |
106 |
- #define MAXBUF 4096 |
107 |
- #define MAXLENGTH 256 |
108 |
- #define UT_PIDSIZE 12 |
109 |
-@@ -57,13 +58,13 @@ |
110 |
- #endif |
111 |
- |
112 |
- struct ps_line { |
113 |
-- char ps_tty[UT_LINESIZE]; |
114 |
-- char ps_user[UT_NAMESIZE]; |
115 |
-- char ps_args[MAXLENGTH]; |
116 |
-+ char ps_tty[UT_LINESIZE+1]; |
117 |
-+ char ps_user[UT_NAMESIZE+1]; |
118 |
-+ char ps_args[MAXLENGTH+1]; |
119 |
- int ps_pid; |
120 |
- }; |
121 |
- struct utmp_line { |
122 |
-- char ut_tty[UT_LINESIZE]; |
123 |
-+ char ut_tty[UT_LINESIZE+1]; |
124 |
- int ut_pid; |
125 |
- int ut_type; |
126 |
- }; |
127 |
-@@ -77,7 +78,7 @@ |
128 |
- int fetchps(struct ps_line *psl_p) |
129 |
- { |
130 |
- FILE *ps_fp; |
131 |
-- char line[MAXREAD + 1], pid[UT_PIDSIZE]; |
132 |
-+ char line[MAXREAD + 1], pid[UT_PIDSIZE+1]; |
133 |
- char *s, *d; |
134 |
- struct ps_line *curp = &psl_p[0]; |
135 |
- struct ps_line *endp = &psl_p[MAXBUF]; |
136 |
-@@ -97,7 +98,7 @@ |
137 |
- while (isspace(*s)) /* skip spaces */ |
138 |
- s++; |
139 |
- d = pid; |
140 |
-- for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= UT_LINESIZE; x++) /* grab pid */ |
141 |
-+ for (x = 0; (!isspace(*s)) && (*d++ = *s++) && x <= UT_PIDSIZE; x++) /* grab pid */ |
142 |
- ; |
143 |
- *d = '\0'; |
144 |
- curp->ps_pid = atoi(pid); |
145 |
- |
146 |
|
147 |
diff --git a/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff b/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff |
148 |
deleted file mode 100644 |
149 |
index b0a5615..0000000 |
150 |
--- a/app-forensics/chkrootkit/files/chkrootkit-0.48-shell-history-anomalies.diff |
151 |
+++ /dev/null |
152 |
@@ -1,21 +0,0 @@ |
153 |
-http://bugs.gentoo.org/show_bug.cgi?id=226067 |
154 |
- |
155 |
-*** a/chkrootkit Thu Jun 12 15:20:01 2008 |
156 |
---- b/chkrootkit Thu Jun 12 15:28:09 2008 |
157 |
-*************** |
158 |
-*** 1098,1104 **** |
159 |
- echo "Warning: \`${files}' file size is zero" |
160 |
- files1=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' \( -links 2 -o -type l \)` |
161 |
- [ ! -z "${files1}" ] && \ |
162 |
-! echo "Warning: \`${files}' is linked to another file" |
163 |
- fi |
164 |
- if [ -z "${files}" -a -z "${files1}" ]; then |
165 |
- if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi |
166 |
---- 1098,1104 ---- |
167 |
- echo "Warning: \`${files}' file size is zero" |
168 |
- files1=`${find} ${ROOTDIR}${HOME} ${findargs} -name '.*history' \( -links 2 -o -type l \)` |
169 |
- [ ! -z "${files1}" ] && \ |
170 |
-! echo "Warning: \`${files1}' is linked to another file" |
171 |
- fi |
172 |
- if [ -z "${files}" -a -z "${files1}" ]; then |
173 |
- if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi |