summaryrefslogtreecommitdiff
path: root/sys-process/lsof
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/lsof
parent0a3d5f62f59ea08933fd51b22c8c35ea85e2ce7c (diff)
gentoo auto-resync : 04:01:2024 - 01:57:56
Diffstat (limited to 'sys-process/lsof')
-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
5 files changed, 67 insertions, 7 deletions
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"