Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/, sys-process/atop/files/
Date: Thu, 13 May 2021 22:11:09
Message-Id: 1620943839.c7e064ff8f5a8149a6a4567cf00c573cca957f71.soap@gentoo
1 commit: c7e064ff8f5a8149a6a4567cf00c573cca957f71
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 13 22:10:39 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu May 13 22:10:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e064ff
7
8 sys-process/atop: Remove old 2.3.0-r1, 2.4.0, 2.5.0-r1
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sys-process/atop/Manifest | 6 --
14 sys-process/atop/atop-2.3.0-r1.ebuild | 64 -------------------
15 sys-process/atop/atop-2.4.0.ebuild | 56 -----------------
16 sys-process/atop/atop-2.5.0-r1.ebuild | 71 ----------------------
17 sys-process/atop/files/atop-2.2-build.patch | 27 --------
18 sys-process/atop/files/atop-2.2-sysmacros.patch | 14 -----
19 sys-process/atop/files/atop-2.4.0-build.patch | 22 -------
20 .../atop/files/atop-2.5.0-install_fix.patch | 31 ----------
21 8 files changed, 291 deletions(-)
22
23 diff --git a/sys-process/atop/Manifest b/sys-process/atop/Manifest
24 index 12f173f52a4..3dabab96bcb 100644
25 --- a/sys-process/atop/Manifest
26 +++ b/sys-process/atop/Manifest
27 @@ -1,7 +1 @@
28 -DIST atop-2.3.0-netatop_h.patch 3279 BLAKE2B ac663d50c4474d28bbc1c6b70a2f439ccf7f6e0d8c759e6240736fc44bea788fc76eea18769422bf391079945515a12615bae3139ca758d03b4687653a1d5cd1 SHA512 9b84adf3e740eca5e42199bb3e9e65e08ffb07f60e7c02d04b73cfe4b63a4f563991a797def5826ba10a32c78d2363ebe9b4e41d12cf9e7118e3eb82d259c31b
29 -DIST atop-2.3.0-version_c.patch 1537 BLAKE2B eda9f0aa427e39ef12aa1584e6277de00577dff81a85085b8b12478a7631cb1739196a91feb684c2b9bdc0bd879493d1bb3a5dca8062da650cda78ae7744e934 SHA512 48589cb29cc969c25d0dbc5c5237200b28af6f1b5daf478abdd52079360938887f9de0fa4a379479c5bf8f3ba31946eba5aae19fe3246f36e82a132708840373
30 -DIST atop-2.3.0-version_h.patch 748 BLAKE2B 95aa0e819d35498436ddb2554f457e9bf74a70395f077d8f0625b52469d3f4a1f5793afc061aa1f7105fbea6223bb19bbcb999be4231b761523eb28cb5243542 SHA512 79ea49421e9bd82322cae26148d608560910a3d2e089228d2218d93744dcba8398058dd75255b64d15301c8bc4bde1dd6e15b6c6949a01534557b24b3d79089d
31 -DIST atop-2.3.0.tar.gz 190560 BLAKE2B 4c7a8f33f7e32fb6107275c21db54af91ffdb06cea14039ba85c6e844efc05e5c64708dae48eb3a7b8e075378838937ddd4756a954e6a040d4b3e8c4e7dd9e93 SHA512 8347f480b3e8f957be9aa8982b9c69c5fbc59b8a32044662995495cc2218de48342788aae40538d2ad67d402c8c470d0514261791ead70303f97221ea6983621
32 -DIST atop-2.4.0.tar.gz 230066 BLAKE2B 75070f0a87f9745f0e018ef5aac7e71060acea77e2043d43594a492875126945ef4c5bfe15f69b300ce6ac25c38f54360ba761ad7fc510016a91b71dc3377957 SHA512 8872626db447b2b7265fa257bc78795c3a5bc2f0dfffae94d01df4090de75feeb092e5a33421877aa12563dde3df18734b5db947c828cec6949284fbeb9dbc8d
33 -DIST atop-2.5.0.tar.gz 233835 BLAKE2B e40ae26cb1f8ddecbf6ea8f8f83d09bf9d62003a54e0679d5eefdf7c6fdaaff1940ba5f097fc1fc181ddb6aedcb8e1482feeb451cce5905b98c929c786db147d SHA512 8c50482194b60afedfd9d593ea7e916b63310bd3b43965fbd2769a2673f6f2247dec764ed1576866321a4b9c7301d5d8369c97fb6d351246395d01772ad04489
34 DIST atop-2.6.0.tar.gz 242323 BLAKE2B 8cf39c4b18994de26188ad5e19e282bc3ef7693eeff4853386f6b254d1115dbd2308eaa4c6e7620e6081d44037e6ce01356ad72ba25bcf4b1c3e7674768e5c24 SHA512 46cbc1c67ee6683be8dca79bf68d85962a119469ddce4947519cf4fe178b14d54b69451cfaa2b5c0a3f8c9bf8769de619aa5a7768eae34422688c7fc26fe0a58
35
36 diff --git a/sys-process/atop/atop-2.3.0-r1.ebuild b/sys-process/atop/atop-2.3.0-r1.ebuild
37 deleted file mode 100644
38 index e18dd9782b7..00000000000
39 --- a/sys-process/atop/atop-2.3.0-r1.ebuild
40 +++ /dev/null
41 @@ -1,64 +0,0 @@
42 -# Copyright 1999-2018 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -
45 -EAPI=6
46 -
47 -inherit linux-info systemd toolchain-funcs
48 -
49 -DESCRIPTION="Resource-specific view of processes"
50 -HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop"
51 -SRC_URI="https://github.com/Atoptool/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 -
53 -# Tarballs lacks version.{c,h} files
54 -SRC_URI+=" https://github.com/Atoptool/atop/commit/42e86fcc42ce60f8c92f3c7d5f3a6ccde47c0b33.patch -> ${PN}-2.3.0-version_h.patch"
55 -SRC_URI+=" https://github.com/Atoptool/atop/commit/a8d850d06efc8d70a19f55ec93fe83df51e99077.patch -> ${PN}-2.3.0-version_c.patch"
56 -SRC_URI+=" https://github.com/Atoptool/atop/commit/5f101e656a24271726d1e9cd672631b6033c36c1.patch -> ${PN}-2.3.0-netatop_h.patch"
57 -
58 -LICENSE="GPL-2"
59 -SLOT="0"
60 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
61 -IUSE=""
62 -
63 -RDEPEND="
64 - sys-libs/ncurses:0=
65 - >=sys-process/acct-6.6.4-r1
66 -"
67 -DEPEND="
68 - ${RDEPEND}
69 - virtual/pkgconfig
70 -"
71 -
72 -PATCHES=(
73 - "${FILESDIR}"/${PN}-2.2-build.patch
74 - "${FILESDIR}"/${PN}-2.2-sysmacros.patch #580372
75 -
76 - # taken from upstream.
77 - "${DISTDIR}"/${P}-version_{h,c}.patch
78 - "${DISTDIR}"/${P}-netatop_h.patch
79 -)
80 -
81 -pkg_pretend() {
82 - if use kernel_linux ; then
83 - CONFIG_CHECK="~BSD_PROCESS_ACCT"
84 - check_extra_config
85 - fi
86 -}
87 -
88 -src_prepare() {
89 - default
90 - tc-export CC PKG_CONFIG
91 - sed -i 's: root : :' atop.cronsysv || die #191926
92 - # prefixify
93 - sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die
94 -}
95 -
96 -src_install() {
97 - emake DESTDIR="${D}" genericinstall
98 - # useless -${PV} copies ?
99 - rm "${ED%/}"/usr/bin/atop*-${PV} || die
100 - newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN}
101 - newinitd "${FILESDIR}"/atopacct.rc atopacct
102 - systemd_dounit "${FILESDIR}"/${PN}.service
103 - systemd_dounit "${FILESDIR}"/atopacct.service
104 - dodoc atop.cronsysv AUTHOR README
105 -}
106
107 diff --git a/sys-process/atop/atop-2.4.0.ebuild b/sys-process/atop/atop-2.4.0.ebuild
108 deleted file mode 100644
109 index 8af7b18c2d7..00000000000
110 --- a/sys-process/atop/atop-2.4.0.ebuild
111 +++ /dev/null
112 @@ -1,56 +0,0 @@
113 -# Copyright 1999-2019 Gentoo Authors
114 -# Distributed under the terms of the GNU General Public License v2
115 -
116 -EAPI=6
117 -
118 -inherit linux-info systemd toolchain-funcs
119 -
120 -DESCRIPTION="Resource-specific view of processes"
121 -HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop"
122 -SRC_URI="https://github.com/Atoptool/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
123 -
124 -LICENSE="GPL-2"
125 -SLOT="0"
126 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
127 -IUSE=""
128 -
129 -RDEPEND="
130 - sys-libs/ncurses:0=
131 - >=sys-process/acct-6.6.4-r1
132 -"
133 -DEPEND="
134 - ${RDEPEND}
135 - virtual/pkgconfig
136 -"
137 -
138 -PATCHES=(
139 - "${FILESDIR}"/${PN}-2.4.0-build.patch
140 -
141 - # taken from upstream.
142 -)
143 -
144 -pkg_pretend() {
145 - if use kernel_linux ; then
146 - CONFIG_CHECK="~BSD_PROCESS_ACCT"
147 - check_extra_config
148 - fi
149 -}
150 -
151 -src_prepare() {
152 - default
153 - tc-export CC PKG_CONFIG
154 - sed -i 's: root : :' atop.cronsysv || die #191926
155 - # prefixify
156 - sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die
157 -}
158 -
159 -src_install() {
160 - emake DESTDIR="${D}" genericinstall
161 - # useless -${PV} copies ?
162 - rm "${ED%/}"/usr/bin/atop*-${PV} || die
163 - newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN}
164 - newinitd "${FILESDIR}"/atopacct.rc atopacct
165 - systemd_dounit "${FILESDIR}"/${PN}.service
166 - systemd_dounit "${FILESDIR}"/atopacct.service
167 - dodoc atop.cronsysv AUTHOR README
168 -}
169
170 diff --git a/sys-process/atop/atop-2.5.0-r1.ebuild b/sys-process/atop/atop-2.5.0-r1.ebuild
171 deleted file mode 100644
172 index dde668f9ea5..00000000000
173 --- a/sys-process/atop/atop-2.5.0-r1.ebuild
174 +++ /dev/null
175 @@ -1,71 +0,0 @@
176 -# Copyright 1999-2019 Gentoo Authors
177 -# Distributed under the terms of the GNU General Public License v2
178 -
179 -EAPI=7
180 -
181 -inherit linux-info systemd toolchain-funcs
182 -
183 -DESCRIPTION="Resource-specific view of processes"
184 -HOMEPAGE="https://www.atoptool.nl/ https://github.com/Atoptool/atop"
185 -SRC_URI="https://github.com/Atoptool/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
186 -
187 -LICENSE="GPL-2"
188 -SLOT="0"
189 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
190 -IUSE=""
191 -
192 -RDEPEND="
193 - sys-libs/ncurses:0=
194 - >=sys-process/acct-6.6.4-r1
195 -"
196 -DEPEND="
197 - ${RDEPEND}
198 -"
199 -BDEPEND="
200 - virtual/pkgconfig
201 -"
202 -
203 -PATCHES=(
204 - "${FILESDIR}"/${PN}-2.4.0-build.patch
205 - "${FILESDIR}"/${PN}-2.5.0-install_fix.patch
206 -
207 - # taken from upstream.
208 -)
209 -
210 -pkg_pretend() {
211 - if use kernel_linux ; then
212 - CONFIG_CHECK="~BSD_PROCESS_ACCT"
213 - check_extra_config
214 - fi
215 -}
216 -
217 -src_prepare() {
218 - default
219 - tc-export CC PKG_CONFIG
220 - sed -i 's: root : :' atop.cronsysv || die #191926
221 - # prefixify
222 - sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die
223 -}
224 -
225 -src_install() {
226 - emake DESTDIR="${D}" genericinstall
227 -
228 - # useless -${PV} copies ?
229 - rm "${ED}"/usr/bin/atop*-${PV} || die
230 -
231 - newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN}
232 - newinitd "${FILESDIR}"/atopacct.rc atopacct
233 -
234 - systemd_dounit "${FILESDIR}"/${PN}.service
235 - systemd_dounit "${FILESDIR}"/atopacct.service
236 -
237 - dodoc atop.cronsysv AUTHOR README
238 -
239 - exeinto /usr/share/${PN}
240 - doexe ${PN}.daily
241 -
242 - insinto /etc/default
243 - newins ${PN}{.default,}
244 -
245 - keepdir /var/log/${PN}
246 -}
247
248 diff --git a/sys-process/atop/files/atop-2.2-build.patch b/sys-process/atop/files/atop-2.2-build.patch
249 deleted file mode 100644
250 index 70840a25330..00000000000
251 --- a/sys-process/atop/files/atop-2.2-build.patch
252 +++ /dev/null
253 @@ -1,27 +0,0 @@
254 ---- atop-2.2-3/Makefile
255 -+++ atop-2.2-3/Makefile
256 -@@ -19,7 +19,7 @@
257 - PMPATH2 = /usr/lib64/pm-utils/sleep.d
258 - PMPATHD = /usr/lib/systemd/system-sleep
259 -
260 --CFLAGS += -O2 -I. -Wall # -DHTTPSTATS
261 -+CFLAGS += -I. -Wall # -DHTTPSTATS
262 - OBJMOD0 = version.o
263 - OBJMOD1 = various.o deviate.o procdbase.o
264 - OBJMOD2 = acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o
265 -@@ -32,13 +32,13 @@
266 - all: atop atopsar atopacctd
267 -
268 - atop: atop.o $(ALLMODS) Makefile
269 -- $(CC) atop.o $(ALLMODS) -o atop -lncurses -lz -lm -lrt $(LDFLAGS)
270 -+ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop $(shell ${PKG_CONFIG} --libs ncurses) -lz -lm -lrt
271 -
272 - atopsar: atop
273 - ln -sf atop atopsar
274 -
275 - atopacctd: atopacctd.o netlink.o
276 -- $(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
277 -+ $(CC) $(CFLAGS) $(LDFLAGS) atopacctd.o netlink.o -o atopacctd
278 -
279 - netlink.o: netlink.c
280 - $(CC) -I. -Wall -c netlink.c
281
282 diff --git a/sys-process/atop/files/atop-2.2-sysmacros.patch b/sys-process/atop/files/atop-2.2-sysmacros.patch
283 deleted file mode 100644
284 index 87fd069c8fd..00000000000
285 --- a/sys-process/atop/files/atop-2.2-sysmacros.patch
286 +++ /dev/null
287 @@ -1,14 +0,0 @@
288 -https://bugs.gentoo.org/580372
289 -
290 -include sys/sysmacros.h for major/minor prototypes
291 -
292 ---- a/photosyst.c
293 -+++ b/photosyst.c
294 -@@ -164,6 +164,7 @@
295 - #include <signal.h>
296 - #include <string.h>
297 - #include <dirent.h>
298 -+#include <sys/sysmacros.h>
299 -
300 - #include <sys/socket.h>
301 - #include <netinet/in.h>
302
303 diff --git a/sys-process/atop/files/atop-2.4.0-build.patch b/sys-process/atop/files/atop-2.4.0-build.patch
304 deleted file mode 100644
305 index 73fd4169129..00000000000
306 --- a/sys-process/atop/files/atop-2.4.0-build.patch
307 +++ /dev/null
308 @@ -1,22 +0,0 @@
309 ---- atop-2.4.0/Makefile
310 -+++ atop-2.4.0/Makefile
311 -@@ -33,16 +33,16 @@
312 -
313 - atop: atop.o $(ALLMODS) Makefile
314 - $(CC) -c version.c
315 -- $(CC) atop.o $(ALLMODS) -o atop -lncurses -lz -lm -lrt $(LDFLAGS)
316 -+ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop $(shell ${PKG_CONFIG} --libs ncurses) -lz -lm -lrt
317 -
318 - atopsar: atop
319 - ln -sf atop atopsar
320 -
321 - atopacctd: atopacctd.o netlink.o
322 -- $(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
323 -+ $(CC) $(CFLAGS) $(LDFLAGS) atopacctd.o netlink.o -o atopacctd
324 -
325 - atopconvert: atopconvert.o
326 -- $(CC) atopconvert.o -o atopconvert -lz $(LDFLAGS)
327 -+ $(CC) $(CFLAGS) $(LDFLAGS) atopconvert.o -o atopconvert -lz
328 -
329 - netlink.o: netlink.c
330 - $(CC) -I. -Wall -c netlink.c
331
332 diff --git a/sys-process/atop/files/atop-2.5.0-install_fix.patch b/sys-process/atop/files/atop-2.5.0-install_fix.patch
333 deleted file mode 100644
334 index b46e88c76f3..00000000000
335 --- a/sys-process/atop/files/atop-2.5.0-install_fix.patch
336 +++ /dev/null
337 @@ -1,31 +0,0 @@
338 -From 485a453d2ae5700874a57dffc297030254b5ae7c Mon Sep 17 00:00:00 2001
339 -From: BlackEagle <ike.devolder@×××××.com>
340 -Date: Mon, 4 Nov 2019 09:00:54 +0100
341 -Subject: [PATCH] DEFPATH not created so touch fails
342 -
343 -```
344 -touch /build/atop/pkg/atop/etc/default/atop
345 -touch: cannot touch '/build/atop/pkg/atop/etc/default/atop': No such file or directory
346 -```
347 -
348 -Add DEFPATH mkdir in genericinstall to make sure the folder
349 -`$(DESTDIR)/etc/default` exits
350 -
351 -Signed-off-by: BlackEagle <ike.devolder@×××××.com>
352 ----
353 - Makefile | 2 ++
354 - 1 file changed, 2 insertions(+)
355 -
356 -diff --git a/Makefile b/Makefile
357 -index 929b0d7..a662fd6 100644
358 ---- a/Makefile
359 -+++ b/Makefile
360 -@@ -140,6 +140,8 @@ sysvinstall: genericinstall
361 - genericinstall: atop atopacctd atopconvert
362 - if [ ! -d $(DESTDIR)$(LOGPATH) ]; \
363 - then mkdir -p $(DESTDIR)$(LOGPATH); fi
364 -+ if [ ! -d $(DESTDIR)$(DEFPATH) ]; \
365 -+ then mkdir -p $(DESTDIR)$(DEFPATH); fi
366 - if [ ! -d $(DESTDIR)$(BINPATH) ]; \
367 - then mkdir -p $(DESTDIR)$(BINPATH); fi
368 - if [ ! -d $(DESTDIR)$(SBINPATH) ]; \