summaryrefslogtreecommitdiff
path: root/sys-process
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-04 01:57:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-04 01:57:57 +0000
commitfa3c4c282d03b85eb600bae6ec57b619004feb5a (patch)
treee427243594c435e7223f05759d54ec8f412e67ea /sys-process
parent0a3d5f62f59ea08933fd51b22c8c35ea85e2ce7c (diff)
gentoo auto-resync : 04:01:2024 - 01:57:56
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/Manifest.gzbin10131 -> 10138 bytes
-rw-r--r--sys-process/lsof/Manifest7
-rw-r--r--sys-process/lsof/files/lsof-4.98.0-fix-clang-version-parser.patch15
-rw-r--r--sys-process/lsof/lsof-4.98.0-r1.ebuild12
-rw-r--r--sys-process/lsof/lsof-4.99.0.ebuild20
-rw-r--r--sys-process/lsof/lsof-4.99.3.ebuild20
-rw-r--r--sys-process/schedtool/Manifest2
-rw-r--r--sys-process/schedtool/files/schedtool-1.3.0-c99.patch33
-rw-r--r--sys-process/schedtool/schedtool-1.3.0-r2.ebuild36
9 files changed, 138 insertions, 7 deletions
diff --git a/sys-process/Manifest.gz b/sys-process/Manifest.gz
index a48acbb4e70c..cf44137f365e 100644
--- a/sys-process/Manifest.gz
+++ b/sys-process/Manifest.gz
Binary files differ
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 2c021847934b..42b616878ffc 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,8 +1,9 @@
+AUX lsof-4.98.0-fix-clang-version-parser.patch 521 BLAKE2B 1e31f1a59c82c7cf25d72640d965aef8c8fc230ac9d8c7347232c95ba5e621aaf472c7c91db736fa62ee918f25f67b69ac033d3e8e46691557425d38981bde5f SHA512 2c1fb49855b9745a22e541cf41ab12c662c11b20e2a1d58c07650e346977a2ca2138a2ef220e26ddb9e1ab7aed3ddb105d1bf236f63287dadd1755530773b7b1
AUX lsof-4.98.0-fix-common-include-strftime.patch 711 BLAKE2B 3c5182bcc967be342f9c4c677ffe8c6eee16d3b8c2d21c4433b86e28b7c9a1db8d04e2fd6e10d680765cd4b54d518d81d4a286ccf899a0806b98ee0c646a2dff SHA512 ea6c120e850bca271cc2152ddafe97a1a3105050ca59e83dd9b46bb1249686e2578f97d07f22128ed0f420170c669b031288b3fc4b0668947e6af9da512093ee
DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024 SHA512 6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8
DIST lsof-4.99.0.tar.gz 1127302 BLAKE2B 257f84e01b9530ab3a6c637c13c8e84c2562fa3ecd9048f93e2816bbed36ffd529311bc1424a41cde72383642decbd6f44e680bfdd2594bbae5908b07c466165 SHA512 6fe3039f1167fb3023a7f358dda2b4ea6eace1e50a97d0168af494217581eef73cc1742f544d2fb9f85ded8370c86e63d48104da899396de7b3007997a201825
DIST lsof-4.99.3.tar.gz 1131470 BLAKE2B f2f298d8fe3f03b192984a31bd6b368e08c3ae5b8776625df413b94a0db59258e8aadb8ab4b94b9a3a54803fab463c1b920b524ee0ff512c8cda4b88e89b4c50 SHA512 83f62f62fa273becfdded4e553d398bafebf0186c7f8ac86a800dabf63ef0614c3c546b6dcd6d13f30c97ab33088a82e1e6b66cc8ed61f700c54487cab19d009
-EBUILD lsof-4.98.0-r1.ebuild 1428 BLAKE2B 020d885de3642953a29f1079187da7a9cbdc3967728aa52d15fb64920905d7ccbe11e625d22217bf1a78e77521f89362192e1ae4fecd32aee469e9f9f5858a5f SHA512 e20b5f9b57ee0c5a6afdc70117daa57e7a5e1a4a0b92fe7be0702192f2c2c96097fe3d42231c225ba1114a7e99a18de88a122cab0dee14844698524c883d318c
-EBUILD lsof-4.99.0.ebuild 1018 BLAKE2B 10e1879dc5fccfde8c29d260bdf8931c558b11645958126b1898e303473b9221aa3d3dca9cff8da454169e2ba079a2377616006aa27f9fb002fdd77c59de934f SHA512 0df92a33e7f8b48f8749f58334bd41eec3965e3497a4b2f760a6ed42d6762eb326899f381b81e71a49000f9188cd1fc5db11348fa50f0f5f8a67984248b9ef60
-EBUILD lsof-4.99.3.ebuild 1026 BLAKE2B 0124926a9e1404651eea7d59242cf0a47c9c79afb6cbb78ef590944dc437732b78ccefd81821d38229a9dcf035170a9350c646b19c9928c94007cb196b4debea SHA512 883c201598aaaf9d07a489bf4bace34acdb1fb10c630871c6da97e5c21e3124ea18083e22d15d0d758a51ae2beafe03a013fd64aa61b6a2ef177433e0a2e6f23
+EBUILD lsof-4.98.0-r1.ebuild 1671 BLAKE2B 59c84ddc195263c9ff0554026982af283f6b3b35cfe66c36207ab4b06351b0dc056d84f0770025d7c823b1a1a0cf67c3b0c3e1d9c5d66dbd40c248cc8a939712 SHA512 9b730ed7c336d47e48331f8448952f6f8a1fc3ea916cde533c24cd5e1c266fe1a9bdf37d6f9287e0777ba1db7f7a79e02ffd3ea41f1d046ae5b70e3b72ba3ee5
+EBUILD lsof-4.99.0.ebuild 1353 BLAKE2B e2370d283899138fe04001a54aa0ca8d014466f9ae247872cbfb2489d9d181599b90ce60a308f41234340af2d39d345a9e86cd5d8f8dc5f74e56015074ddd19f SHA512 bf23740177d23e54b29449c16dfd68e5e8f85af03c3ca039401dc9a17223626cce151fc1ca16fb5c4081e0fe4f4445ca572420498cc3d184980a1310ff78cdfd
+EBUILD lsof-4.99.3.ebuild 1361 BLAKE2B a0141a3fbc035bfbc35974d2574f0851c091a96fd4cfa6bf3caf2cdea94190a2f7a2f3f579fec29954d6a00c3a8625462bf0321fc71010efdbaa67bc9be0c0e3 SHA512 345de85998e9cf5e63d861c64d9b11976fc536c7c327111a0af250e53699fe9c99c0da13e80e90c76c161735c7a0cbdeb8667e41a06ea3943b70fd472e34f653
MISC metadata.xml 474 BLAKE2B d3c6368abc4d7656f3e2b136ffb651465fe7a65d65cb355b675b055ee6aa118d13d08ef224bd31fd17017d2ac3669b35a12dbd85f5375268bd48c099557c6eb1 SHA512 b7f98a413e6eb9fd787725e27c966586fea085ecbde22c84fd01e4fe5582e2e0d2ca18d1cce786d8e979d08e0fbdfed338c22d122d84544c1fc848b61573adfc
diff --git a/sys-process/lsof/files/lsof-4.98.0-fix-clang-version-parser.patch b/sys-process/lsof/files/lsof-4.98.0-fix-clang-version-parser.patch
new file mode 100644
index 000000000000..ebb5d85d2e5d
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.98.0-fix-clang-version-parser.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/919253
+https://github.com/lsof-org/lsof/issues/305
+
+Ignore HIP or CUDA versions in clang, when checking for compiler version
+--- a/configure.ac
++++ b/configure.ac
+@@ -410,7 +410,7 @@ AC_CONFIG_FILES([Makefile])
+
+ # Pass build configurations to version.h.in
+ AC_SUBST(cc, $CC)
+-AC_SUBST(ccv, $($CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'))
++AC_SUBST(ccv, $($CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p;q'))
+ AC_SUBST(ccflags, $CFLAGS)
+ AC_SUBST(ldflags, "$LDFLAGS$LIBS")
+ # Reproducible build
diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 77f81e741013..8505f4c5cb0f 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit flag-o-matic
+inherit autotools flag-o-matic
MY_P="${P/-/_}"
DESCRIPTION="Lists open files for running Unix processes"
@@ -30,8 +30,16 @@ RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${P}-fix-common-include-strftime.patch
+ "${FILESDIR}"/${PN}-4.98.0-fix-clang-version-parser.patch
)
+# TODO: drop this block, "inherit autotools" and clang-version-parser patch after 4.99.3
+# https://github.com/lsof-org/lsof/pull/306
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
# TODO: drop after 4.98.0: https://github.com/lsof-org/lsof/commit/4fbe0b78f63ce115f25cf7a49756745e3bf47fea
export ac_cv_header_selinux_selinux_h=$(usex selinux)
diff --git a/sys-process/lsof/lsof-4.99.0.ebuild b/sys-process/lsof/lsof-4.99.0.ebuild
index c94a98abca1d..5a38a82c4076 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+inherit autotools
+
MY_P="${P/-/_}"
DESCRIPTION="Lists open files for running Unix processes"
HOMEPAGE="https://github.com/lsof-org/lsof"
@@ -26,6 +28,17 @@ BDEPEND="
# Needs fixing first for sandbox
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.98.0-fix-clang-version-parser.patch
+)
+
+# TODO: drop this block, "inherit autotools" and clang-version-parser patch after 4.99.3
+# https://github.com/lsof-org/lsof/pull/306
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
local myeconfargs=(
$(use_with rpc libtirpc)
@@ -39,6 +52,11 @@ src_compile() {
emake DEBUG="" all
}
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
+
pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions on"
diff --git a/sys-process/lsof/lsof-4.99.3.ebuild b/sys-process/lsof/lsof-4.99.3.ebuild
index 9965531bc30b..89ddf51e8c2e 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+inherit autotools
+
MY_P="${P/-/_}"
DESCRIPTION="Lists open files for running Unix processes"
HOMEPAGE="https://github.com/lsof-org/lsof"
@@ -26,6 +28,17 @@ BDEPEND="
# Needs fixing first for sandbox
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.98.0-fix-clang-version-parser.patch
+)
+
+# TODO: drop this block, "inherit autotools" and clang-version-parser patch after 4.99.3
+# https://github.com/lsof-org/lsof/pull/306
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
local myeconfargs=(
$(use_with rpc libtirpc)
@@ -39,6 +52,11 @@ src_compile() {
emake DEBUG="" all
}
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
+
pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions on"
diff --git a/sys-process/schedtool/Manifest b/sys-process/schedtool/Manifest
index 29220bb2c04c..42280af50ec3 100644
--- a/sys-process/schedtool/Manifest
+++ b/sys-process/schedtool/Manifest
@@ -1,3 +1,5 @@
+AUX schedtool-1.3.0-c99.patch 1040 BLAKE2B 3bf6de11ec6cbce4a1530bd66b97faf5455728f3e6c8b568cba7549ce376e499085bf1608b42c81f4737d2c83bf96971e7833ade48a352621fdb90ae55c2cc31 SHA512 7cb1027c378d9ef07bbe2b8bb3c21ddcd6ad309b208a126d0bcb630c5fe32309453d1afd913de5514645198ea033ca6d33844cff7d6f0e68048ac629fcc15e3d
DIST schedtool-1.3.0.tar.gz 29040 BLAKE2B 45e9f0c84b99be83be4e250c71a3ef43e323efff565a89a8e69960b8cb703faa7df94fbfbd3a11863e4ecb54cc07acca8cd7803e21aaafe59cc0e923d1117025 SHA512 71b7bbc91ee86a83639b179c8cce70e0fd3acca3af3cbc51880cf1f177fdd901e1fb6d0ecea2aa40761608589e7b903431ac97d5046f9ec50535bad691af2964
EBUILD schedtool-1.3.0-r1.ebuild 785 BLAKE2B 7a0384120162e90dcc3df8b60759ea32ae4b995a484bde5e572c6b0e29def9fa15bda8b09f7a88226e0494c001821362e08abac7bbb0b4e4340562e98347059f SHA512 1d654c40a0a067a5b26c05d4f3fe1f978c30fc7c0fdd0a1d4694339519ceb83d4ef52b244d8d05e3558b7d3f66d50e36596fda4fc56142c8f818bede0f70196f
+EBUILD schedtool-1.3.0-r2.ebuild 831 BLAKE2B 175c7b11492ec33a20b5156a52c4b037bff4172be6ebd962a14b2daa4db35abb67dfd5b3cefbbe1cba5a1d6a034d7b732f869d3ec6ed8e33be3739b743c596b0 SHA512 811fb48f83883dd60b40bb167dfa99253942c6d721847a1d639d9c6d7922da0fa56baa72e47a3de1a5d3db80910754f25aac0109b020578d9c0f48716febe244
MISC metadata.xml 252 BLAKE2B b3f1f88797710ca64e0608a76efb3c82e9e51e190ac0efd139916b1d15f433d16735b491e2e2950f6b085e917f676c1a9bbe411f73f9e7dfa0b5e9ae6f5edb5f SHA512 ae8a9440fa87122d4a1aaece3e6759402ece2bc6a65e304eaf3de043bd2d6dcd878bebd184a3990a2181310742d000b0d015cdcbd2fd480209388d3211d5bf0a
diff --git a/sys-process/schedtool/files/schedtool-1.3.0-c99.patch b/sys-process/schedtool/files/schedtool-1.3.0-c99.patch
new file mode 100644
index 000000000000..8f3c0b33afca
--- /dev/null
+++ b/sys-process/schedtool/files/schedtool-1.3.0-c99.patch
@@ -0,0 +1,33 @@
+https://bugs.gentoo.org/918974
+https://src.fedoraproject.org/rpms/schedtool/c/f84b6a0fdc4b368e2b1c5ea59739f002063e3c9e?branch=rawhide
+
+Invoke decode_error separately with the correct argument types for
+each variant. This avoids an int-conversion error.
+
+--- a/schedtool.c
++++ b/schedtool.c
+@@ -422,19 +422,14 @@ int set_process(pid_t pid, int policy, int prio)
+ struct sched_param p;
+ int ret;
+
+- char *msg1="could not set PID %d to %s";
+- char *msg2="could not set PID %d to raw policy #%d";
+-
+ p.sched_priority=prio;
+
+ /* anything other than 0 indicates error */
+ if((ret=sched_setscheduler(pid, policy, &p))) {
+-
+- /* la la pointer mismatch .. lala */
+- decode_error((CHECK_RANGE_POLICY(policy) ? msg1 : msg2),
+- pid,
+- (CHECK_RANGE_POLICY(policy) ? TAB[policy] : policy)
+- );
++ if (CHECK_RANGE_POLICY(policy))
++ decode_error("could not set PID %d to %s", pid, TAB[policy]);
++ else
++ decode_error("could not set PID %d to raw policy #%d", pid, policy);
+ return(ret);
+ }
+ return(0);
+
diff --git a/sys-process/schedtool/schedtool-1.3.0-r2.ebuild b/sys-process/schedtool/schedtool-1.3.0-r2.ebuild
new file mode 100644
index 000000000000..7f3a2230158e
--- /dev/null
+++ b/sys-process/schedtool/schedtool-1.3.0-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="A tool to query or alter a process' scheduling policy"
+HOMEPAGE="https://github.com/freequaos/schedtool"
+SRC_URI="https://github.com/freequaos/schedtool/archive/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.3.0-c99.patch
+)
+
+src_prepare() {
+ default
+ sed \
+ -e '/^CFLAGS=/d;/^install:/s@ install-doc zipman@@' \
+ -e '/install/s@\(schedtool.8\).gz@\1@' \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ emake DESTPREFIX="${ED}"/usr install
+ dodoc CHANGES INSTALL PACKAGERS README SCHED_DESIGN TODO TUNING
+}