commit:     88d0fad659518ff7b0d0771391b9dfe20df57056
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 18 15:10:41 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 18 16:03:19 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d0fad6

sys-process/procps: drop 4.0.4-r2, 4.0.5-r2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/procps/Manifest                        |   1 -
 .../files/procps-4.0.4-fix-systemd-linkage.patch   |  27 -----
 .../files/procps-4.0.4-fix-tests-multilib.patch    |  52 --------
 .../procps/files/procps-4.0.4-sysctl-manpage.patch |  33 ------
 sys-process/procps/procps-4.0.4-r2.ebuild          | 119 -------------------
 sys-process/procps/procps-4.0.5-r2.ebuild          | 132 ---------------------
 6 files changed, 364 deletions(-)

diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
index 12b2b155619c..d4aa26e48717 100644
--- a/sys-process/procps/Manifest
+++ b/sys-process/procps/Manifest
@@ -1,2 +1 @@
-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-4.0.4-fix-systemd-linkage.patch 
b/sys-process/procps/files/procps-4.0.4-fix-systemd-linkage.patch
deleted file mode 100644
index 32f4d6da6dc6..000000000000
--- a/sys-process/procps/files/procps-4.0.4-fix-systemd-linkage.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://gitlab.com/procps-ng/procps/-/commit/ca004d4657d5e8b468a4552ede429be53193a3a9
-
-From ca004d4657d5e8b468a4552ede429be53193a3a9 Mon Sep 17 00:00:00 2001
-From: Craig Small <[email protected]>
-Date: Thu, 31 Aug 2023 22:24:23 +1000
-Subject: [PATCH] build-sys: Add systemd/elogind to w
-
-Depending on the compiler flags, w needs to be explictly linked
-to libsystemd or elogind even though libproc2 is linked to it.
-
-Signed-off-by: Craig Small <[email protected]>
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -149,6 +149,13 @@ endif
- 
- dist_man_MANS += man/w.1
- src_w_SOURCES = src/w.c local/fileutils.c
-+src_w_LDADD = $(LDADD)
-+if WITH_SYSTEMD
-+src_w_LDADD += @SYSTEMD_LIBS@
-+endif
-+if WITH_ELOGIND
-+src_w_LDADD += @ELOGIND_LIBS@
-+endif
- else
-   EXTRA_DIST += man/w.1
- endif

diff --git a/sys-process/procps/files/procps-4.0.4-fix-tests-multilib.patch 
b/sys-process/procps/files/procps-4.0.4-fix-tests-multilib.patch
deleted file mode 100644
index ed52af8582b9..000000000000
--- a/sys-process/procps/files/procps-4.0.4-fix-tests-multilib.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-https://gitlab.com/procps-ng/procps/-/merge_requests/205
-
-From 4b6b91b393c0f5d3ec26910785cb3e3a463fcb57 Mon Sep 17 00:00:00 2001
-From: Sam James <[email protected]>
-Date: Sat, 2 Sep 2023 10:46:38 +0100
-Subject: [PATCH] testsuite: skip tests where relevant binaries aren't built
-
-* With --without-ncurses, slabtop isn't built.
-* With --disable-w, w isn't built.
-
-Signed-off-by: Sam James <[email protected]>
---- a/testsuite/Makefile.am
-+++ b/testsuite/Makefile.am
-@@ -14,16 +14,23 @@ if LINUX
- # 3d807ae853b8b4264da156065b34f1447658a8ba
- DEJATOOL += \
-       pmap
-+
- if !CYGWIN
--DEJATOOL += \
--      slabtop \
--      sysctl
-+if WITH_NCURSES
-+DEJATOOL += slabtop
-+endif
-+
-+DEJATOOL += sysctl
- endif
- 
- if BUILD_KILL
- DEJATOOL += kill
- endif
- 
-+if BUILD_W
-+DEJATOOL += w
-+endif
-+
- DEJATOOL += \
-       free \
-       lib \
-@@ -31,10 +38,8 @@ DEJATOOL += \
-       pkill \
-       ps \
-       pwdx \
--      slabtop \
-       uptime \
--      vmstat \
--      w
-+      vmstat
- endif
- 
- EXTRA_DIST = \

diff --git a/sys-process/procps/files/procps-4.0.4-sysctl-manpage.patch 
b/sys-process/procps/files/procps-4.0.4-sysctl-manpage.patch
deleted file mode 100644
index 3582f7e79306..000000000000
--- a/sys-process/procps/files/procps-4.0.4-sysctl-manpage.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://bugs.gentoo.org/565304
---- a/man/sysctl.8
-+++ b/man/sysctl.8
-@@ -141,21 +141,21 @@ replaced (by having a new configuration file with the 
same name in a
- directory of higher priority) or partially replaced (by having a configuration
- file that is ordered later).
- .SH EXAMPLES
--/sbin/sysctl \-a
-+/usr/bin/sysctl \-a
- .br
--/sbin/sysctl \-n kernel.hostname
-+/usr/bin/sysctl \-n kernel.hostname
- .br
--/sbin/sysctl \-w kernel.domainname="example.com"
-+/usr/bin/sysctl \-w kernel.domainname="example.com"
- .br
--/sbin/sysctl \-p/etc/sysctl.conf
-+/usr/bin/sysctl \-p/etc/sysctl.conf
- .br
--/sbin/sysctl \-a \-\-pattern forward
-+/usr/bin/sysctl \-a \-\-pattern forward
- .br
--/sbin/sysctl \-a \-\-pattern forward$
-+/usr/bin/sysctl \-a \-\-pattern forward$
- .br
--/sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
-+/usr/bin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp'
- .br
--/sbin/sysctl \-\-pattern '\[char94]net.ipv6' \-\-system
-+/usr/bin/sysctl \-\-pattern '\[char94]net.ipv6' \-\-system
- .SH DEPRECATED PARAMETERS
- The
- .B base_reachable_time

diff --git a/sys-process/procps/procps-4.0.4-r2.ebuild 
b/sys-process/procps/procps-4.0.4-r2.ebuild
deleted file mode 100644
index 8d369dfb0c73..000000000000
--- a/sys-process/procps/procps-4.0.4-r2.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic multilib-minimal
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="https://gitlab.com/procps-ng/procps";
-# Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.4, the dist 
tarballs
-# are still hosted on SF.
-SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz";
-S="${WORKDIR}"/${PN}-ng-${PV}
-
-# See bug #913210
-LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
-SLOT="0/0-ng"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
-IUSE="elogind +kill modern-top +ncurses nls selinux static-libs skill 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}] )
-"
-RDEPEND="
-       ${DEPEND}
-       !<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
-       kill? (
-               !sys-apps/coreutils[kill]
-               !sys-apps/util-linux[kill]
-       )
-"
-BDEPEND="
-       elogind? ( virtual/pkgconfig )
-       ncurses? ( virtual/pkgconfig )
-       systemd? ( virtual/pkgconfig )
-       test? ( dev-util/dejagnu )
-"
-
-# https://bugs.gentoo.org/898830
-QA_CONFIG_IMPL_DECL_SKIP=( makedev )
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.0.4-sysctl-manpage.patch # bug #565304
-       "${FILESDIR}"/${PN}-4.0.4-fix-tests-multilib.patch
-       "${FILESDIR}"/${PN}-4.0.4-xfail-pmap-test.patch
-       "${FILESDIR}"/${P}-fix-systemd-linkage.patch
-)
-
-src_prepare() {
-       default
-
-       # Only for fix-tests-multilib.patch and fix-systemd-linkage.patch
-       eautoreconf
-}
-
-multilib_src_configure() {
-       # 
http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
-       # bug #471102
-       append-lfs-flags
-
-       local myeconfargs=(
-               # No elogind multilib support
-               $(multilib_native_use_with elogind)
-               $(multilib_native_use_enable kill)
-               $(multilib_native_use_enable modern-top)
-               $(multilib_native_enable pidof)
-               $(multilib_native_use_with ncurses)
-               # bug #794997
-               $(multilib_native_use_enable !elibc_musl w)
-               $(use_enable nls)
-               $(use_enable selinux libselinux)
-               $(use_enable static-libs static)
-               $(use_with systemd)
-               $(use_enable skill)
-       )
-
-       if use ncurses; then
-               # Only pass whis when we are building the 'watch' command
-               myeconfargs+=( $(multilib_native_use_enable unicode watch8bit) )
-       fi
-
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-       local ps="${BUILD_DIR}/src/ps/pscommand"
-       if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then
-               # bug 708230
-               ewarn "Skipping tests due to SCHED_IDLE"
-       else
-               # bug #461302
-               emake check </dev/null
-       fi
-}
-
-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
-       fi
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -type f -name '*.la' -delete || die
-}

diff --git a/sys-process/procps/procps-4.0.5-r2.ebuild 
b/sys-process/procps/procps-4.0.5-r2.ebuild
deleted file mode 100644
index e99e3423aaac..000000000000
--- a/sys-process/procps/procps-4.0.5-r2.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic multilib-minimal toolchain-funcs
-
-DESCRIPTION="Standard informational utilities and process-handling tools"
-HOMEPAGE="https://gitlab.com/procps-ng/procps";
-# Per e.g. https://gitlab.com/procps-ng/procps/-/releases/v4.0.5, the dist 
tarballs
-# are still hosted on SF.
-SRC_URI="https://downloads.sourceforge.net/${PN}-ng/${PN}-ng-${PV}.tar.xz";
-S="${WORKDIR}"/${PN}-ng-${PV}
-
-# See bug #913210
-LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
-SLOT="0/1-ng"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86"
-IUSE="elogind +kill modern-top +ncurses nls selinux static-libs skill systemd 
test unicode"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       elogind? ( sys-auth/elogind )
-       elibc_musl? ( sys-libs/error-standalone )
-       ncurses? ( >=sys-libs/ncurses-5.7-r7:=[unicode(+)?] )
-       selinux? ( sys-libs/libselinux[${MULTILIB_USEDEP}] )
-       systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] )
-"
-RDEPEND="
-       ${DEPEND}
-       !<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
-       !<app-i18n/man-pages-zh_CN-1.6.4.2
-       kill? (
-               !sys-apps/coreutils[kill]
-               !sys-apps/util-linux[kill]
-       )
-"
-BDEPEND="
-       elogind? ( virtual/pkgconfig )
-       elibc_musl? ( virtual/pkgconfig )
-       ncurses? ( virtual/pkgconfig )
-       systemd? ( virtual/pkgconfig )
-       test? ( dev-util/dejagnu )
-"
-
-# bug #898830
-QA_CONFIG_IMPL_DECL_SKIP=( makedev )
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-4.0.4-xfail-pmap-test.patch
-       "${FILESDIR}"/${PN}-4.0.5-sysctl-manpage.patch # bug #565304
-       "${FILESDIR}"/${PN}-4.0.5-fix-tests-multilib.patch
-       "${FILESDIR}"/${PN}-4.0.5-top-legacy-config-vuln.patch # bug #958286
-       "${FILESDIR}"/${PN}-4.0.5-macos.patch
-       "${FILESDIR}"/${PN}-4.0.5-pgrep-old-linux-headers.patch # bug #911375
-)
-
-src_prepare() {
-       default
-
-       # Only needed for fix-tests-multilib.patch and 
pgrep-old-linux-headers.patch
-       eautoreconf
-}
-
-multilib_src_configure() {
-       # 
http://www.freelists.org/post/procps/PATCH-enable-transparent-large-file-support
-       # bug #471102
-       append-lfs-flags
-
-       # Workaround for bug #947680, can be dropped w/ >4.0.5
-       if use elibc_musl ; then
-               append-cflags "$($(tc-getPKG_CONFIG) --cflags error-standalone)"
-               append-libs "$($(tc-getPKG_CONFIG) --libs error-standalone)"
-       fi
-
-       local myeconfargs=(
-               # No elogind multilib support
-               $(multilib_native_use_with elogind)
-               $(multilib_native_use_enable kill)
-               $(multilib_native_use_enable modern-top)
-               $(multilib_native_enable pidof)
-               $(multilib_native_enable pidwait)
-               $(multilib_native_use_with ncurses)
-               # bug #794997
-               $(multilib_native_use_enable !elibc_musl w)
-               $(use_enable nls)
-               $(use_enable selinux libselinux)
-               $(use_enable static-libs static)
-               $(use_with systemd)
-               $(use_enable skill)
-       )
-
-       if use ncurses; then
-               # Only pass whis when we are building the 'watch' command
-               myeconfargs+=( $(multilib_native_use_enable unicode watch8bit) )
-       fi
-
-       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-       local ps="${BUILD_DIR}/src/ps/pscommand"
-       if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then
-               # bug #708230
-               ewarn "Skipping tests due to SCHED_IDLE"
-       else
-               # bug #461302
-               emake check </dev/null
-       fi
-}
-
-multilib_src_install() {
-       default
-
-       dodoc "${S}"/sysctl.conf
-
-       if multilib_is_native_abi; then
-               # We keep ps and kill in /bin per bug #565304.
-               dodir /bin
-               mv "${ED}"/usr/bin/ps "${ED}"/bin/ || die
-               if use kill; then
-                       mv "${ED}"/usr/bin/kill "${ED}"/bin/ || die
-               fi
-       fi
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       find "${ED}" -type f -name '*.la' -delete || die
-}

Reply via email to