Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-process/procps/, sys-process/procps/files/
Date: Mon, 30 Aug 2021 02:41:48
Message-Id: 1630291267.099d46d4ccbc83ff93b766300e508dcedf07b121.sam@gentoo
1 commit: 099d46d4ccbc83ff93b766300e508dcedf07b121
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 30 02:40:47 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 30 02:41:07 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=099d46d4
7
8 sys-process/procps: treeclean
9
10 See: 87f87c28f18c7cdd396f4e2e68dfaee778506eb8
11 Bug: https://bugs.gentoo.org/794997
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-process/procps/Manifest | 1 -
15 .../files/procps-3.3.11-sysctl-manpage.patch | 32 --------
16 .../procps/files/procps-3.3.12-proc-tests.patch | 47 ------------
17 .../procps/files/procps-3.3.17-musl-fix.patch | 72 ------------------
18 sys-process/procps/metadata.xml | 18 -----
19 sys-process/procps/procps-3.3.17-r1.ebuild | 85 ----------------------
20 6 files changed, 255 deletions(-)
21
22 diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
23 deleted file mode 100644
24 index f9a2cf0..0000000
25 --- a/sys-process/procps/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST procps-ng-3.3.17.tar.xz 1008428 BLAKE2B 43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3 SHA512 59e9a5013430fd9da508c4655d58375dc32e025bb502bb28fb9a92a48e4f2838b3355e92b4648f7384b2050064d17079bf4595d889822ebb5030006bc154a1a7
29
30 diff --git a/sys-process/procps/files/procps-3.3.11-sysctl-manpage.patch b/sys-process/procps/files/procps-3.3.11-sysctl-manpage.patch
31 deleted file mode 100644
32 index 3523aad..0000000
33 --- a/sys-process/procps/files/procps-3.3.11-sysctl-manpage.patch
34 +++ /dev/null
35 @@ -1,32 +0,0 @@
36 ---- procps-ng-3.3.11-orig/sysctl.8
37 -+++ procps-ng-3.3.11/sysctl.8
38 -@@ -123,21 +123,21 @@
39 - \fB\-V\fR, \fB\-\-version\fR
40 - Display version information and exit.
41 - .SH EXAMPLES
42 --/sbin/sysctl \-a
43 -+/usr/sbin/sysctl \-a
44 - .br
45 --/sbin/sysctl \-n kernel.hostname
46 -+/usr/sbin/sysctl \-n kernel.hostname
47 - .br
48 --/sbin/sysctl \-w kernel.domainname="example.com"
49 -+/usr/sbin/sysctl \-w kernel.domainname="example.com"
50 - .br
51 --/sbin/sysctl \-p/etc/sysctl.conf
52 -+/usr/sbin/sysctl \-p/etc/sysctl.conf
53 - .br
54 --/sbin/sysctl \-a \-\-pattern forward
55 -+/usr/sbin/sysctl \-a \-\-pattern forward
56 - .br
57 --/sbin/sysctl \-a \-\-pattern forward$
58 -+/usr/sbin/sysctl \-a \-\-pattern forward$
59 - .br
60 --/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
61 -+/usr/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
62 - .br
63 --/sbin/sysctl \-\-system \-\-pattern '^net.ipv6'
64 -+/usr/sbin/sysctl \-\-system \-\-pattern '^net.ipv6'
65 - .SH DEPRECATED PARAMETERS
66 - The
67 - .B base_reachable_time
68
69 diff --git a/sys-process/procps/files/procps-3.3.12-proc-tests.patch b/sys-process/procps/files/procps-3.3.12-proc-tests.patch
70 deleted file mode 100644
71 index 9549252..0000000
72 --- a/sys-process/procps/files/procps-3.3.12-proc-tests.patch
73 +++ /dev/null
74 @@ -1,47 +0,0 @@
75 -https://bugs.gentoo.org/583036
76 -http://www.freelists.org/post/procps/Patch-Test-suite-fails-if-procpidsmaps-is-absent,1
77 -
78 -From: tobbs@×××××××××.com
79 -To: procps@×××××××××.org
80 -Date: Sun, 11 Sep 2016 15:01:29 +0200
81 -Subject: [procps] [Patch] Test suite fails if /proc/<pid>/smaps is absent
82 -Message-Id: <20160911130129.9A8B3322A81@××××××××××××××××××××××××.de>
83 -
84 -Summary: Some Linux systems do not have /proc/<pid>/smaps, hence the test
85 -suite fails. Attached a patch to skip tests in that case it.
86 -
87 -When pmap is called with either -c, -x, or -x it tries to read
88 -/proc/<pid>/smaps (pmap.c, l. 540). If not present it exits.
89 -The file /proc/<pid>/smaps exits on Linux systems only if the kernel is
90 -compiled with the option CONFIG_PROC_PAGE_MONITOR (see man page proc(5)).
91 -
92 -In the test suite some tests check the output of pmap -X et al, but they
93 -fail if /proc/<pid>/smaps is not present, because pmap does not produce
94 -their expected output.
95 -
96 -Attached a patch which checks if /proc/<pid>/smaps exits, if not it
97 -skipps the test related to it.
98 -
99 -Note: It is unclear what the 'expected' behaviour/output of pmap should
100 -be if the file /proc/<pid>/smaps is not present. Maybe add an additional
101 -test to check the return code if /proc/<pid>/smaps is absent.
102 -
103 ---- a/testsuite/pmap.test/pmap.exp
104 -+++ b/testsuite/pmap.test/pmap.exp
105 -@@ -45,6 +45,11 @@
106 - spawn $pmap -qd $mypid
107 - expect_table $test $pmap_procname $pmap_device_items "\$"
108 -
109 -+if { [ file readable "/proc/self/smaps" ] == 0 } {
110 -+ unsupported "Skipping test which require pmap to access /proc/<pid>/smaps, because kernel seems to be compiled without CONFIG_PROC_PAGE_MONITOR."
111 -+
112 -+} else {
113 -+
114 - set test "pmap extended output"
115 - spawn $pmap -x $mypid
116 - expect_table $test $pmap_ext_header $pmap_ext_items $pmap_ext_footer
117 -@@ -66,3 +71,4 @@
118 - spawn $pmap -XX 1
119 - expect_pass $test "$pmap_initname\$"
120 -
121 -+}
122
123 diff --git a/sys-process/procps/files/procps-3.3.17-musl-fix.patch b/sys-process/procps/files/procps-3.3.17-musl-fix.patch
124 deleted file mode 100644
125 index ec3d1f8..0000000
126 --- a/sys-process/procps/files/procps-3.3.17-musl-fix.patch
127 +++ /dev/null
128 @@ -1,72 +0,0 @@
129 -From 7bfe2b7c12b33aabca71491360c433d2d3f7bbf4 Mon Sep 17 00:00:00 2001
130 -From: Alexander Kanavin <alex.kanavin@×××××.com>
131 -Date: Wed, 24 Feb 2021 21:14:31 +0000
132 -Subject: [PATCH 1/2] w.c: correct musl builds
133 -
134 -No need to redefine UT_ stuff to something that does not exist.
135 -
136 -UT_ is already provided in musl but via utmp.h header, so include
137 -it always.
138 -
139 -Signed-off-by: Alexander Kanavin <alex.kanavin@×××××.com>
140 ----
141 - w.c | 9 +--------
142 - 1 file changed, 1 insertion(+), 8 deletions(-)
143 -
144 -diff --git a/w.c b/w.c
145 -index 9d07ac9e..d10639b8 100644
146 ---- a/w.c
147 -+++ b/w.c
148 -@@ -57,9 +57,8 @@
149 - #include <unistd.h>
150 - #ifdef HAVE_UTMPX_H
151 - # include <utmpx.h>
152 --#else
153 --# include <utmp.h>
154 - #endif
155 -+#include <utmp.h>
156 - #include <arpa/inet.h>
157 -
158 - static int ignoreuser = 0; /* for '-u' */
159 -@@ -72,12 +71,6 @@ typedef struct utmpx utmp_t;
160 - typedef struct utmp utmp_t;
161 - #endif
162 -
163 --#if !defined(UT_HOSTSIZE) || defined(__UT_HOSTSIZE)
164 --# define UT_HOSTSIZE __UT_HOSTSIZE
165 --# define UT_LINESIZE __UT_LINESIZE
166 --# define UT_NAMESIZE __UT_NAMESIZE
167 --#endif
168 --
169 - #ifdef W_SHOWFROM
170 - # define FROM_STRING "on"
171 - #else
172 ---
173 -GitLab
174 -
175 -
176 -From 145165aba6c659f3f0f3567a323a3e6170408ea6 Mon Sep 17 00:00:00 2001
177 -From: Alexander Kanavin <alex.kanavin@×××××.com>
178 -Date: Wed, 24 Feb 2021 21:16:14 +0000
179 -Subject: [PATCH 2/2] proc/escape.c: add missing include
180 -
181 -Signed-off-by: Alexander Kanavin <alex.kanavin@×××××.com>
182 ----
183 - proc/escape.c | 1 +
184 - 1 file changed, 1 insertion(+)
185 -
186 -diff --git a/proc/escape.c b/proc/escape.c
187 -index 2e8fb7dd..e1f4612d 100644
188 ---- a/proc/escape.c
189 -+++ b/proc/escape.c
190 -@@ -21,6 +21,7 @@
191 - #include <sys/types.h>
192 - #include <string.h>
193 - #include <limits.h>
194 -+#include <langinfo.h>
195 - #include "procps.h"
196 - #include "escape.h"
197 - #include "readproc.h"
198 ---
199 -GitLab
200 -
201
202 diff --git a/sys-process/procps/metadata.xml b/sys-process/procps/metadata.xml
203 deleted file mode 100644
204 index c0aa0de..0000000
205 --- a/sys-process/procps/metadata.xml
206 +++ /dev/null
207 @@ -1,18 +0,0 @@
208 -<?xml version="1.0" encoding="UTF-8"?>
209 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
210 -<pkgmetadata>
211 -<maintainer type="project">
212 - <email>base-system@g.o</email>
213 - <name>Gentoo Base System</name>
214 -</maintainer>
215 -<use>
216 - <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking.</flag>
217 - <flag name="kill">Build the kill program</flag>
218 - <flag name="modern-top">Enables new startup defaults of top. Keeps old defaults if disabled</flag>
219 - <flag name="ncurses">Build programs that use ncurses: top, slabtop, watch</flag>
220 -</use>
221 -<upstream>
222 - <remote-id type="sourceforge">procps</remote-id>
223 - <remote-id type="cpe">cpe:/a:procps_project:procps</remote-id>
224 -</upstream>
225 -</pkgmetadata>
226
227 diff --git a/sys-process/procps/procps-3.3.17-r1.ebuild b/sys-process/procps/procps-3.3.17-r1.ebuild
228 deleted file mode 100644
229 index c2df728..0000000
230 --- a/sys-process/procps/procps-3.3.17-r1.ebuild
231 +++ /dev/null
232 @@ -1,85 +0,0 @@
233 -# Copyright 1999-2021 Gentoo Authors
234 -# Distributed under the terms of the GNU General Public License v2
235 -
236 -EAPI=7
237 -
238 -inherit flag-o-matic multilib-minimal usr-ldscript
239 -
240 -DESCRIPTION="Standard informational utilities and process-handling tools"
241 -HOMEPAGE="http://procps-ng.sourceforge.net/ https://gitlab.com/procps-ng/procps"
242 -SRC_URI="mirror://sourceforge/${PN}-ng/${PN}-ng-${PV}.tar.xz"
243 -
244 -LICENSE="GPL-2"
245 -SLOT="0/8" # libprocps.so
246 -KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
247 -IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test unicode"
248 -RESTRICT="!test? ( test )"
249 -
250 -DEPEND="
251 - elogind? ( sys-auth/elogind )
252 - ncurses? ( >=sys-libs/ncurses-5.7-r7:=[unicode(+)?] )
253 - selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
254 - systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
255 -"
256 -BDEPEND="
257 - elogind? ( virtual/pkgconfig )
258 - ncurses? ( virtual/pkgconfig )
259 - systemd? ( virtual/pkgconfig )
260 - test? ( dev-util/dejagnu )
261 -"
262 -RDEPEND="${DEPEND}
263 - kill? (
264 - !sys-apps/coreutils[kill]
265 - !sys-apps/util-linux[kill]
266 - )
267 - !<app-i18n/man-pages-l10n-4.2.0-r1
268 - !<app-i18n/man-pages-de-2.12-r1
269 - !<app-i18n/man-pages-pl-0.7-r1
270 -"
271 -
272 -PATCHES=(
273 - "${FILESDIR}"/${PN}-3.3.11-sysctl-manpage.patch # 565304
274 - "${FILESDIR}"/${PN}-3.3.12-proc-tests.patch # 583036
275 - "${FILESDIR}"/${PN}-3.3.17-musl-fix.patch
276 -)
277 -
278 -multilib_src_configure() {
279 - # http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
280 - append-lfs-flags #471102
281 - local myeconfargs=(
282 - $(multilib_native_use_with elogind) # No elogind multilib support
283 - $(multilib_native_use_enable kill)
284 - $(multilib_native_use_enable modern-top)
285 - $(multilib_native_use_with ncurses)
286 - $(use_enable nls)
287 - $(use_enable selinux libselinux)
288 - $(use_enable static-libs static)
289 - $(use_with systemd)
290 - $(use_enable unicode watch8bit)
291 - )
292 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
293 -}
294 -
295 -multilib_src_test() {
296 - emake check </dev/null #461302
297 -}
298 -
299 -multilib_src_install() {
300 - default
301 - dodoc "${S}"/sysctl.conf
302 -
303 - if multilib_is_native_abi ; then
304 - dodir /bin
305 - mv "${ED}"/usr/bin/ps "${ED}"/bin/ || die
306 - if use kill ; then
307 - mv "${ED}"/usr/bin/kill "${ED}"/bin/ || die
308 - fi
309 -
310 - gen_usr_ldscript -a procps
311 - fi
312 -}
313 -
314 -multilib_src_install_all() {
315 - einstalldocs
316 - find "${ED}" -type f -name '*.la' -delete || die
317 -}