summaryrefslogtreecommitdiff
path: root/sys-process/procps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-07 21:58:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-07 21:58:53 +0000
commitafb0b2f6a3d0dec97ba521230d62d0f9b9e0cd01 (patch)
tree615e36157bca77a49d7a0c35e26b4b5855e3c4cf /sys-process/procps
parenta704e825f55e39189114ffabe2634acee9ec0164 (diff)
gentoo auto-resync : 07:02:2024 - 21:58:53
Diffstat (limited to 'sys-process/procps')
-rw-r--r--sys-process/procps/Manifest1
-rw-r--r--sys-process/procps/procps-4.0.4-r1.ebuild109
2 files changed, 110 insertions, 0 deletions
diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
index 465a20db93e1..5272f05ccf9a 100644
--- a/sys-process/procps/Manifest
+++ b/sys-process/procps/Manifest
@@ -8,5 +8,6 @@ AUX procps-4.0.4-xfail-pmap-test.patch 697 BLAKE2B 22f9ebf50f0a89a804eaeaf9515a4
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
EBUILD procps-3.3.17-r2.ebuild 2587 BLAKE2B a2f0c26b0f1da996566b2798b44789a0e7c9ed6baf7fc248a318036092e180af55da5ff6bb4fd39a907bf3aeeaf66a612350b4f695d4e85355f9e4eaf8a9da91 SHA512 d2f052ab6f3da4cbaa286c63af409c8e6de6aab304249580eb4b243f7b4f2cd6dbb31d6b0ebef2001eabb540d6933d520ec0a6244bbddc036c7e421b417cb317
+EBUILD procps-4.0.4-r1.ebuild 2824 BLAKE2B 4d37e23c6dae90de3b51497e50daa301d379e80771ade81707488ca3343173e00833bcfc0d9ef155461d5749ee6385039ffb17bc168f719ff4eb090047835a1c SHA512 691b7ec33eda787dc9c5e4c0a4ba7f0d37dcfd8eae91133e2c6d956c18326fb5bf018adc0d364a54af5a678d21d860f16d56ccccaf1d6092bfbd14e2e20520e1
EBUILD procps-4.0.4.ebuild 2861 BLAKE2B 83b8f773e670d07e4074c9a16360f65d8a6b30fd3c0f9ae26fdde0dfde7605e1b96cd4dbcf9f53cba27500154371f75ea9b9c888c3c328bd2eb6b41420e31895 SHA512 8c8e6e298e0069eb654cd61c51a4afdf4f23d827b5af31b3baa4d7c10dccdb8557191700b07334bb7e4d88dd390ef6d0bebe55db5601c550710e53ebabf950f9
MISC metadata.xml 788 BLAKE2B b8352d682de7ad98344997d344783c444f326153bf5ed479d9e3032dac52b5f938c47ec83ca2d284617f98d0fbde2d9357ee7c205f74d7a2b2c586865a1de756 SHA512 cb6ebcf57a2800ae492fed52ad3de2ba7e767b121ccd6c20f8a0fd6c5fbbc97fb42d20e083ee3d3935fa6fa6e318bccd96d557c9b693507e64b22b8d3c92d1fd
diff --git a/sys-process/procps/procps-4.0.4-r1.ebuild b/sys-process/procps/procps-4.0.4-r1.ebuild
new file mode 100644
index 000000000000..f522ae5f965a
--- /dev/null
+++ b/sys-process/procps/procps-4.0.4-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2024 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="mirror://sourceforge/${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 ~ia64 ~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"
+REQUIRED_USE="unicode? ( ncurses )"
+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)
+ $(multilib_native_use_enable unicode watch8bit)
+ $(use_enable nls)
+ $(use_enable selinux libselinux)
+ $(use_enable static-libs static)
+ $(use_with systemd)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+ # bug #461302
+ emake check </dev/null
+}
+
+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
+}