commit:     4e07380ec5db737d3246d569d712abce3be6c4cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 00:35:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 17 00:35:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e07380e

sys-process/procps: drop 3.3.17-r2

Bug: https://bugs.gentoo.org/913210
Bug: https://bugs.gentoo.org/913408
Bug: https://bugs.gentoo.org/913537
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/procps/Manifest                        |  1 -
 .../files/procps-3.3.11-sysctl-manpage.patch       | 32 -------
 .../procps/files/procps-3.3.12-proc-tests.patch    | 47 -----------
 .../procps/files/procps-3.3.17-musl-fix.patch      | 78 -----------------
 sys-process/procps/procps-3.3.17-r2.ebuild         | 98 ----------------------
 5 files changed, 256 deletions(-)

diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
index 6e5851528122..12b2b155619c 100644
--- a/sys-process/procps/Manifest
+++ b/sys-process/procps/Manifest
@@ -1,3 +1,2 @@
-DIST procps-ng-3.3.17.tar.xz 1008428 BLAKE2B 
43aa1a21d4f0725b1c02457f343cf1fc66bc1771b25c6eaf689c9775c190e90545bfac1729f027abc4d3d13de37ffac4828554b5b25e12bcf6af9540de1695f3
 SHA512 
59e9a5013430fd9da508c4655d58375dc32e025bb502bb28fb9a92a48e4f2838b3355e92b4648f7384b2050064d17079bf4595d889822ebb5030006bc154a1a7
 DIST procps-ng-4.0.4.tar.xz 1401540 BLAKE2B 
63b972666ef9e92042be96739ffa15c787d0346b2d3ffcb0d240b0a4e999dc90024b2c5b058df683dd9d2c436ceb812abd0b115cc877a6ca1023988b86de443f
 SHA512 
94375544e2422fefc23d7634063c49ef1be62394c46039444f85e6d2e87e45cfadc33accba5ca43c96897b4295bfb0f88d55a30204598ddb26ef66f0420cefb4
 DIST procps-ng-4.0.5.tar.xz 1517672 BLAKE2B 
4b273ac7737202147fbf392995da1c5ff385df2b53ad84180b6412dc45c2a671e81d7659c0a5824c0d8c19fa37cbf2e58b0545841c74399b3717a9f27fd26c23
 SHA512 
c27730743210cf850c4af98e1fb81bc8ee8d550b07b9eedb34a5b9d661263d0f1bc92c4e73802a0ed8d4405854aef4bc542bff283c28e8fbb6dabb967f9e4359

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
deleted file mode 100644
index 3523aad4ba46..000000000000
--- a/sys-process/procps/files/procps-3.3.11-sysctl-manpage.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- procps-ng-3.3.11-orig/sysctl.8
-+++ procps-ng-3.3.11/sysctl.8
-@@ -123,21 +123,21 @@
- \fB\-V\fR, \fB\-\-version\fR
- Display version information and exit.
- .SH EXAMPLES
--/sbin/sysctl \-a
-+/usr/sbin/sysctl \-a
- .br
--/sbin/sysctl \-n kernel.hostname
-+/usr/sbin/sysctl \-n kernel.hostname
- .br
--/sbin/sysctl \-w kernel.domainname="example.com"
-+/usr/sbin/sysctl \-w kernel.domainname="example.com"
- .br
--/sbin/sysctl \-p/etc/sysctl.conf
-+/usr/sbin/sysctl \-p/etc/sysctl.conf
- .br
--/sbin/sysctl \-a \-\-pattern forward
-+/usr/sbin/sysctl \-a \-\-pattern forward
- .br
--/sbin/sysctl \-a \-\-pattern forward$
-+/usr/sbin/sysctl \-a \-\-pattern forward$
- .br
--/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
-+/usr/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
- .br
--/sbin/sysctl \-\-system \-\-pattern '^net.ipv6'
-+/usr/sbin/sysctl \-\-system \-\-pattern '^net.ipv6'
- .SH DEPRECATED PARAMETERS
- The
- .B base_reachable_time

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
deleted file mode 100644
index 9549252dd485..000000000000
--- a/sys-process/procps/files/procps-3.3.12-proc-tests.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-https://bugs.gentoo.org/583036
-http://www.freelists.org/post/procps/Patch-Test-suite-fails-if-procpidsmaps-is-absent,1
-
-From: [email protected]
-To: [email protected]
-Date: Sun, 11 Sep 2016 15:01:29 +0200
-Subject: [procps] [Patch] Test suite fails if /proc/<pid>/smaps is absent
-Message-Id: <[email protected]>
-
-Summary: Some Linux systems do not have /proc/<pid>/smaps, hence the test
-suite fails. Attached a patch to skip tests in that case it.
-
-When pmap is called with either -c, -x, or -x it tries to read
-/proc/<pid>/smaps (pmap.c, l. 540). If not present it exits.
-The file /proc/<pid>/smaps exits on Linux systems only if the kernel is
-compiled with the option CONFIG_PROC_PAGE_MONITOR (see man page proc(5)).
-
-In the test suite some tests check the output of pmap -X et al, but they
-fail if /proc/<pid>/smaps is not present, because pmap does not produce
-their expected output.
-
-Attached a patch which checks if /proc/<pid>/smaps exits, if not it
-skipps the test related to it.
-
-Note: It is unclear what the 'expected' behaviour/output of pmap should
-be if the file /proc/<pid>/smaps is not present. Maybe add an additional
-test to check the return code if /proc/<pid>/smaps is absent.
-
---- a/testsuite/pmap.test/pmap.exp
-+++ b/testsuite/pmap.test/pmap.exp
-@@ -45,6 +45,11 @@
- spawn $pmap -qd $mypid
- expect_table $test $pmap_procname $pmap_device_items "\$"
- 
-+if  { [ file readable "/proc/self/smaps" ] == 0 } {
-+    unsupported "Skipping test which require pmap to access 
/proc/<pid>/smaps, because kernel seems to be compiled without 
CONFIG_PROC_PAGE_MONITOR."
-+
-+} else {
-+
- set test "pmap extended output"
- spawn $pmap -x $mypid
- expect_table $test $pmap_ext_header $pmap_ext_items $pmap_ext_footer
-@@ -66,3 +71,4 @@
- spawn $pmap -XX 1
- expect_pass $test "$pmap_initname\$"
- 
-+}

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
deleted file mode 100644
index 4402354c21e4..000000000000
--- a/sys-process/procps/files/procps-3.3.17-musl-fix.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-Temporary stopgap patch (a different solution was used upstream
-in the next release, should be in the next after 3.3.17 -- we'll need to
-add --disable-w instead).
-
-https://bugs.gentoo.org/794997
-
-From 7bfe2b7c12b33aabca71491360c433d2d3f7bbf4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Wed, 24 Feb 2021 21:14:31 +0000
-Subject: [PATCH 1/2] w.c: correct musl builds
-
-No need to redefine UT_ stuff to something that does not exist.
-
-UT_ is already provided in musl but via utmp.h header, so include
-it always.
-
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- w.c | 9 +--------
- 1 file changed, 1 insertion(+), 8 deletions(-)
-
-diff --git a/w.c b/w.c
-index 9d07ac9e..d10639b8 100644
---- a/w.c
-+++ b/w.c
-@@ -57,9 +57,8 @@
- #include <unistd.h>
- #ifdef HAVE_UTMPX_H
- #     include <utmpx.h>
--#else
--#     include <utmp.h>
- #endif
-+#include <utmp.h>
- #include <arpa/inet.h>
- 
- static int ignoreuser = 0;    /* for '-u' */
-@@ -72,12 +71,6 @@ typedef struct utmpx utmp_t;
- typedef struct utmp utmp_t;
- #endif
- 
--#if !defined(UT_HOSTSIZE) || defined(__UT_HOSTSIZE)
--#     define UT_HOSTSIZE __UT_HOSTSIZE
--#     define UT_LINESIZE __UT_LINESIZE
--#     define UT_NAMESIZE __UT_NAMESIZE
--#endif
--
- #ifdef W_SHOWFROM
- # define FROM_STRING "on"
- #else
--- 
-GitLab
-
-
-From 145165aba6c659f3f0f3567a323a3e6170408ea6 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Wed, 24 Feb 2021 21:16:14 +0000
-Subject: [PATCH 2/2] proc/escape.c: add missing include
-
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- proc/escape.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/proc/escape.c b/proc/escape.c
-index 2e8fb7dd..e1f4612d 100644
---- a/proc/escape.c
-+++ b/proc/escape.c
-@@ -21,6 +21,7 @@
- #include <sys/types.h>
- #include <string.h>
- #include <limits.h>
-+#include <langinfo.h>
- #include "procps.h"
- #include "escape.h"
- #include "readproc.h"
--- 
-GitLab
-

diff --git a/sys-process/procps/procps-3.3.17-r2.ebuild 
b/sys-process/procps/procps-3.3.17-r2.ebuild
deleted file mode 100644
index fa3db59f4dfd..000000000000
--- a/sys-process/procps/procps-3.3.17-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# See https://bugs.gentoo.org/835813 before bumping to 4.x!
-
-inherit flag-o-matic multilib-minimal usr-ldscript
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="http://procps-ng.sourceforge.net/ 
https://gitlab.com/procps-ng/procps";
-SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz";
-
-LICENSE="GPL-2"
-SLOT="0/8" # libprocps.so
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="elogind +kill modern-top +ncurses nls selinux static-libs systemd test 
unicode"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       elogind? ( sys-auth/elogind )
-       ncurses? ( >=sys-libs/ncurses-5.7-r7:=[unicode(+)?] )
-       selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
-       systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
-"
-BDEPEND="
-       elogind? ( virtual/pkgconfig )
-       ncurses? ( virtual/pkgconfig )
-       systemd? ( virtual/pkgconfig )
-       test? ( dev-util/dejagnu )
-"
-RDEPEND="${DEPEND}
-       kill? (
-               !sys-apps/coreutils[kill]
-               !sys-apps/util-linux[kill]
-       )
-       !<app-i18n/man-pages-l10n-4.2.0-r1
-       !<app-i18n/man-pages-de-2.12-r1
-       !<app-i18n/man-pages-pl-0.7-r1
-"
-
-# https://bugs.gentoo.org/898830
-QA_CONFIG_IMPL_DECL_SKIP=( makedev )
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-3.3.11-sysctl-manpage.patch # 565304
-       "${FILESDIR}"/${PN}-3.3.12-proc-tests.patch # 583036
-)
-
-src_prepare() {
-       default
-
-       # Please drop this after 3.3.17 and instead use --disable-w on musl.
-       # bug #794997
-       use elibc_musl && eapply "${FILESDIR}"/${PN}-3.3.17-musl-fix.patch
-}
-
-multilib_src_configure() {
-       # 
http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
-       append-lfs-flags #471102
-
-       local myeconfargs=(
-               $(multilib_native_use_with elogind) # No elogind multilib 
support
-               $(multilib_native_use_enable kill)
-               $(multilib_native_use_enable modern-top)
-               $(multilib_native_use_with ncurses)
-               $(use_enable nls)
-               $(use_enable selinux libselinux)
-               $(use_enable static-libs static)
-               $(use_with systemd)
-               $(use_enable unicode watch8bit)
-       )
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-       emake check </dev/null #461302
-}
-
-multilib_src_install() {
-       default
-       dodoc "${S}"/sysctl.conf
-
-       if multilib_is_native_abi ; then
-               dodir /bin
-               mv "${ED}"/usr/bin/ps "${ED}"/bin/ || die
-               if use kill ; then
-                       mv "${ED}"/usr/bin/kill "${ED}"/bin/ || die
-               fi
-
-               gen_usr_ldscript -a procps
-       fi
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -type f -name '*.la' -delete || die
-}

Reply via email to