[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-07 Thread Sam James
commit: 92b16bbf41fb7fa2e2825fb26ef20d3afdc495da
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  8 01:17:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  8 01:17:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b16bbf

sys-process/lsof: Stabilize 4.99.3 hppa, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 5dab048f2730..5a38a82c4076 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 1e6c4d1a97ca6f65cb81abe12f3bb21ecc99bc65
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 07:25:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 07:25:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6c4d1a

sys-process/lsof: Stabilize 4.99.3 arm, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 53a8031e60e0..92a1ff7aba73 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: cbff95a5224139553d8beb24b3909ea7bef7bc86
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 07:24:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 07:24:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbff95a5

sys-process/lsof: Stabilize 4.99.3 ppc, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 3221ae3121ee..53a8031e60e0 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 370e6b0f82900dc905a80a5319c01172f356eae1
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 07:25:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 07:25:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=370e6b0f

sys-process/lsof: Stabilize 4.99.3 ppc64, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 92a1ff7aba73..5dab048f2730 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 5369892dcec44d7320e2ac42ac19963a5d79c464
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 06:54:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 06:54:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5369892d

sys-process/lsof: Stabilize 4.99.3 arm64, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 4835f9084fe9..3221ae3121ee 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 888ffc87b0eb475742a26dff1367946b2f057c2f
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 06:53:59 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 06:53:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888ffc87

sys-process/lsof: Stabilize 4.99.3 sparc, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index a165969730cd..4835f9084fe9 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 18a215bd57c4d20a66c8a5beb6ac4cc20714f5bd
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 06:18:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 06:18:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a215bd

sys-process/lsof: Stabilize 4.99.3 x86, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 89ddf51e8c2e..c179511edae4 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-02-05 Thread Sam James
commit: 0c0fddd77cf3c67fd8904ddd7744277691d0d41e
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  6 06:18:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  6 06:18:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0fddd7

sys-process/lsof: Stabilize 4.99.3 amd64, #923866

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index c179511edae4..a165969730cd 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/, sys-process/lsof/files/

2024-01-03 Thread Sam James
commit: 4682a1f615e7eacf6242767c7e6a663614359e3c
Author: Sv. Lockal  gmail  com>
AuthorDate: Mon Dec 25 16:55:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  4 00:06:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4682a1f6

sys-process/lsof: fix compilation with clang when hip runtime is installed

Closes: https://bugs.gentoo.org/919253
Signed-off-by: Sv. Lockal  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34471
Signed-off-by: Sam James  gentoo.org>

 .../lsof/files/lsof-4.98.0-fix-clang-version-parser.patch | 15 +++
 sys-process/lsof/lsof-4.98.0-r1.ebuild| 10 +-
 sys-process/lsof/lsof-4.99.0.ebuild   | 13 +
 sys-process/lsof/lsof-4.99.3.ebuild   | 13 +
 4 files changed, 50 insertions(+), 1 deletion(-)

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 ..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..715ef0c9a4c3 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 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 d1dba0173182..e77a7a93b7e9 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -3,6 +3,8 @@
 
 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)

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index c22f1df517e3..591b4742d2de 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -3,6 +3,8 @@
 
 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)



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-01-03 Thread Sam James
commit: 4672163358ac5fdff3470273352a892cc13d3934
Author: Sv. Lockal  gmail  com>
AuthorDate: Mon Dec 25 16:57:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  4 00:05:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46721633

sys-process/lsof: do not install libtool .la files

Closes: https://bugs.gentoo.org/920370
Signed-off-by: Sv. Lockal  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 5 +
 sys-process/lsof/lsof-4.99.3.ebuild | 5 +
 2 files changed, 10 insertions(+)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index c94a98abca1d..d1dba0173182 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -39,6 +39,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..c22f1df517e3 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -39,6 +39,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"



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2024-01-03 Thread Sam James
commit: 4f3686c867b7c7220237cca087d4be88e54d872b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  4 00:07:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  4 00:07:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3686c8

sys-process/lsof: fix copyright

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 sys-process/lsof/lsof-4.99.0.ebuild| 2 +-
 sys-process/lsof/lsof-4.99.3.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 715ef0c9a4c3..8505f4c5cb0f 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index e77a7a93b7e9..5a38a82c4076 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
index 591b4742d2de..89ddf51e8c2e 100644
--- a/sys-process/lsof/lsof-4.99.3.ebuild
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-27 Thread Sam James
commit: 7772b6a04412e5e1a500e06f4e57851bd0eeca5d
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 28 03:59:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 28 03:59:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7772b6a0

sys-process/lsof: drop 4.98.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 52 -
 1 file changed, 52 deletions(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
deleted file mode 100644
index c87eb6b1158c..
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
-IUSE="rpc selinux"
-
-RDEPEND="
-   rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-apps/groff
-   rpc? ( virtual/pkgconfig )
-"
-
-# Needs fixing first for sandbox
-RESTRICT="test"
-
-src_configure() {
-   export ac_cv_header_selinux_selinux_h=$(usex selinux)
-
-   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
-
-   local myeconfargs=(
-   $(use_with rpc libtirpc)
-   )
-
-   econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-   emake DEBUG="" all
-}
-
-pkg_postinst() {
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   einfo "Note: to use lsof on Solaris you need read permissions 
on"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-23 Thread Sam James
commit: f3fa8f6206104d5bab643bc2016d6b06c1e4980b
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 24 02:19:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 24 02:19:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3fa8f62

sys-process/lsof: add 4.99.3

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |  1 +
 sys-process/lsof/lsof-4.99.3.ebuild | 47 +
 2 files changed, 48 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index a0c745e7e152..581bff9bb7c0 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/sys-process/lsof/lsof-4.99.3.ebuild 
b/sys-process/lsof/lsof-4.99.3.ebuild
new file mode 100644
index ..9965531bc30b
--- /dev/null
+++ b/sys-process/lsof/lsof-4.99.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="rpc selinux"
+
+RDEPEND="
+   rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/groff
+   rpc? ( virtual/pkgconfig )
+"
+
+# Needs fixing first for sandbox
+RESTRICT="test"
+
+src_configure() {
+   local myeconfargs=(
+   $(use_with rpc libtirpc)
+   $(use_with selinux)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+pkg_postinst() {
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   einfo "Note: to use lsof on Solaris you need read permissions 
on"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-17 Thread Arthur Zamarin
commit: 0747ee1c5015dfaa8a7c13fdfa47ddb5cff61671
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 17 16:59:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 17 16:59:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0747ee1c

sys-process/lsof: Stabilize 4.99.0 hppa, #919970

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index e0c926368d58..c94a98abca1d 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-15 Thread Arthur Zamarin
commit: 2010cd673a996954990f8e687c83954ddd3b5584
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 15 13:00:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 15 13:00:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2010cd67

sys-process/lsof: Stabilize 4.99.0 x86, #919970

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index adc9036fbaa9..e0c926368d58 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-15 Thread Michał Górny
commit: de777272be03db04225bbfac2052392a640b8389
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 10:09:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 10:09:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de777272

sys-process/lsof: Stabilize 4.99.0 ppc64, #919970

Signed-off-by: Michał Górny  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 58b6210abb6c..1971e788b021 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-15 Thread Michał Górny
commit: 8611d7f7c00029b8be138cba9d587dac030235f5
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 10:09:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 10:09:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8611d7f7

sys-process/lsof: Stabilize 4.99.0 ppc, #919970

Signed-off-by: Michał Górny  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 1971e788b021..adc9036fbaa9 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-14 Thread Sam James
commit: fe809e9c18122382472f193bdd89fec5013ea246
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 07:48:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 07:48:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe809e9c

sys-process/lsof: Stabilize 4.99.0 sparc, #919970

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 0b3cc4fcd11e..2f42f92facf8 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-14 Thread Sam James
commit: 3737a74040421a43d975e8129158e836c24c386c
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 07:48:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 07:48:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3737a740

sys-process/lsof: Stabilize 4.99.0 arm64, #919970

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 2f42f92facf8..58b6210abb6c 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-14 Thread Sam James
commit: aa76577ef5ddd64ff523172bda925b8f12d99819
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 07:42:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 07:42:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa76577e

sys-process/lsof: Stabilize 4.99.0 amd64, #919970

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 523ed0c3ec48..0b3cc4fcd11e 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-12-14 Thread Sam James
commit: f5a8c7325796ae56f5cb6d599d660cf36bba56c3
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 15 07:16:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 15 07:16:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a8c732

sys-process/lsof: Stabilize 4.99.0 arm, #919970

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.99.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
index 9965531bc30b..523ed0c3ec48 100644
--- a/sys-process/lsof/lsof-4.99.0.ebuild
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-11-11 Thread Sam James
commit: 668d113bf9ad3fe39bc15964900730dc869832f4
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 12 04:10:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 12 04:10:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=668d113b

sys-process/lsof: add 4.99.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |  1 +
 sys-process/lsof/lsof-4.99.0.ebuild | 47 +
 2 files changed, 48 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 7767d56a6339..a0c745e7e152 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1 +1,2 @@
 DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 
2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024
 SHA512 
6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8
+DIST lsof-4.99.0.tar.gz 1127302 BLAKE2B 
257f84e01b9530ab3a6c637c13c8e84c2562fa3ecd9048f93e2816bbed36ffd529311bc1424a41cde72383642decbd6f44e680bfdd2594bbae5908b07c466165
 SHA512 
6fe3039f1167fb3023a7f358dda2b4ea6eace1e50a97d0168af494217581eef73cc1742f544d2fb9f85ded8370c86e63d48104da899396de7b3007997a201825

diff --git a/sys-process/lsof/lsof-4.99.0.ebuild 
b/sys-process/lsof/lsof-4.99.0.ebuild
new file mode 100644
index ..9965531bc30b
--- /dev/null
+++ b/sys-process/lsof/lsof-4.99.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="rpc selinux"
+
+RDEPEND="
+   rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/groff
+   rpc? ( virtual/pkgconfig )
+"
+
+# Needs fixing first for sandbox
+RESTRICT="test"
+
+src_configure() {
+   local myeconfargs=(
+   $(use_with rpc libtirpc)
+   $(use_with selinux)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+pkg_postinst() {
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   einfo "Note: to use lsof on Solaris you need read permissions 
on"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-19 Thread Sam James
commit: 69666d02d861fb272bcb0d310b697a49221735a2
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 20 05:41:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 20 05:41:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69666d02

sys-process/lsof: Stabilize 4.98.0-r1 amd64, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 6fea87df2444..77f81e741013 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-19 Thread Sam James
commit: 004c3805780a720ffa58be8526b5e6c7ce481670
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 09:23:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 09:23:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004c3805

sys-process/lsof: Stabilize 4.98.0-r1 hppa, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index a6f4299b1e9d..30dbc6aaba60 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-19 Thread Sam James
commit: d635caa2e8a305a712fdfe6e879fa03a7575ac0a
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 09:23:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 09:23:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d635caa2

sys-process/lsof: Stabilize 4.98.0-r1 ppc, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 30dbc6aaba60..f9e2ea28dce8 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-19 Thread Sam James
commit: e3cd1d0633fe6145a8f3a49c0ee60995d43291e9
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 09:23:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 09:23:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cd1d06

sys-process/lsof: Stabilize 4.98.0-r1 ppc64, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index f9e2ea28dce8..6fea87df2444 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-19 Thread Arthur Zamarin
commit: 08ba18be1166ee6dbc2615dcb3d592238e7b025a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 19 07:41:57 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 19 07:41:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08ba18be

sys-process/lsof: Stabilize 4.98.0-r1 x86, #912570

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 1f8016f2955b..a6f4299b1e9d 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-18 Thread Arthur Zamarin
commit: ae9797fd3eda3febd1d872c07609d685d4ca9d90
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 19 06:58:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 19 06:58:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9797fd

sys-process/lsof: Stabilize 4.98.0-r1 sparc, #912570

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 92c460a5604a..1f8016f2955b 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-18 Thread Sam James
commit: 004516bb2a7e06c496a994b7c921b0c4671a7b94
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 06:19:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 06:19:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004516bb

sys-process/lsof: Stabilize 4.98.0-r1 arm, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index 963ca46d3377..92c460a5604a 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-08-18 Thread Sam James
commit: 9e149713f47fb44367fcce4ab4ecff0ed72d7e25
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 19 06:18:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 19 06:18:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e149713

sys-process/lsof: Stabilize 4.98.0-r1 arm64, #912570

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
index aef7b5fff4a8..963ca46d3377 100644
--- a/sys-process/lsof/lsof-4.98.0-r1.ebuild
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2023-07-19 Thread Sam James
commit: 1e505057e5ec18ae8b98d22d9cf1955ce0a46fad
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 19 22:42:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 19 22:42:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e505057

sys-process/lsof: backport strftime fix

Closes: https://bugs.gentoo.org/910547
Signed-off-by: Sam James  gentoo.org>

 .../lsof-4.98.0-fix-common-include-strftime.patch  | 28 +++
 sys-process/lsof/lsof-4.98.0-r1.ebuild | 58 ++
 2 files changed, 86 insertions(+)

diff --git 
a/sys-process/lsof/files/lsof-4.98.0-fix-common-include-strftime.patch 
b/sys-process/lsof/files/lsof-4.98.0-fix-common-include-strftime.patch
new file mode 100644
index ..4b22dbfb8a02
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.98.0-fix-common-include-strftime.patch
@@ -0,0 +1,28 @@
+https://bugs.gentoo.org/910547
+https://github.com/lsof-org/lsof/commit/437824cf35daf5a505bed5b619bef95af090ecc4
+
+From 437824cf35daf5a505bed5b619bef95af090ecc4 Mon Sep 17 00:00:00 2001
+From: Kalin KOZHUHAROV 
+Date: Wed, 19 Jul 2023 15:23:13 +0200
+Subject: [PATCH] src/util.cadd proper includes (#294)
+
+* src/util.c   add proper includes
+
+Fixes #293 for lsof-org/lsof
+
+Signed-off-by: Kalin KOZHUHAROV 
+
+-
+
+Signed-off-by: Kalin KOZHUHAROV 
+Co-authored-by: Jiajie Chen 
+--- a/util.c
 b/util.c
+@@ -35,6 +35,7 @@
+  * 4. This notice may not be removed or altered.
+  */
+ 
++#include "lsof.h"
+ 
+ #if   defined(HAS_STRFTIME)
+ #include 

diff --git a/sys-process/lsof/lsof-4.98.0-r1.ebuild 
b/sys-process/lsof/lsof-4.98.0-r1.ebuild
new file mode 100644
index ..aef7b5fff4a8
--- /dev/null
+++ b/sys-process/lsof/lsof-4.98.0-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="rpc selinux"
+
+RDEPEND="
+   rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/groff
+   rpc? ( virtual/pkgconfig )
+"
+
+# Needs fixing first for sandbox
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-fix-common-include-strftime.patch
+)
+
+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)
+
+   # TODO: drop after 4.98.0: 
https://github.com/lsof-org/lsof/commit/22d9cedfca4672601f35f7683907373cd5124121
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+
+   local myeconfargs=(
+   $(use_with rpc libtirpc)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+pkg_postinst() {
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   einfo "Note: to use lsof on Solaris you need read permissions 
on"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-07-18 Thread Joshua Kinard
commit: 3b97bc94f093bfd6cce2368cf12ee77a5bd01167
Author: Joshua Kinard  gentoo  org>
AuthorDate: Wed Jul 19 01:50:11 2023 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Wed Jul 19 01:50:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b97bc94

sys-process/lsof: Added ~mips to KEYWORDS

Closes: https://bugs.gentoo.org/891241
Signed-off-by: Joshua Kinard  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index 37f7da6b225a..c87eb6b1158c 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2023-06-10 Thread Sam James
commit: dd7e0c59bbebb6948aa7acb3b778630d1740847d
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  3 02:14:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 10:24:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7e0c59

sys-process/lsof: drop 4.96.3, 4.96.4

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest|   2 -
 sys-process/lsof/files/lsof-4.85-cross.patch |  37 -
 sys-process/lsof/lsof-4.96.3.ebuild  | 112 ---
 sys-process/lsof/lsof-4.96.4.ebuild  | 111 --
 4 files changed, 262 deletions(-)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 448c9e9aa29f..7767d56a6339 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,3 +1 @@
-DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
-DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985
 DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 
2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024
 SHA512 
6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8

diff --git a/sys-process/lsof/files/lsof-4.85-cross.patch 
b/sys-process/lsof/files/lsof-4.85-cross.patch
deleted file mode 100644
index c2c73ccb563f..
--- a/sys-process/lsof/files/lsof-4.85-cross.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-let the preprocessor work its magic rather than executing the code
-
-https://bugs.gentoo.org/432120
-
-make sure to use -P here
-
-https://bugs.gentoo.org/546636
-
 a/Configure
-+++ b/Configure
-@@ -2730,20 +2730,17 @@ LOCKF_OWNER4
-   rm -f ${LSOF_TMPC}.*
-   cat > $LSOF_TMPC.c << .LSOF_END_HERE_DOC1
- #include 
--main() {
-+#undef XXX
- #if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
--printf("-DGLIBCV=%d\n",__GLIBC__*100+__GLIBC_MINOR__);
-+XXX: __GLIBC__ * 100 + __GLIBC_MINOR__
- #elif defined(__GLIBC__)
--printf("-DGLIBCV=%d00\n",__GLIBC__);
--#else
--printf("\n");
-+XXX: __GLIBC__ * 100
- #endif
--return(0); }
- .LSOF_END_HERE_DOC1
--  $LINUX_CONF_CC ${LSOF_TMPC}.c -I$LSOF_INCLUDE -o ${LSOF_TMPC}.x > 
/dev/null 2>&1
-+  $LINUX_CONF_CC ${LSOF_TMPC}.c -E -P -I$LSOF_INCLUDE 2>/dev/null | sed 
-n '/^XXX:/s|.*:||p' > ${LSOF_TMPC}.x
--  if test -x ${LSOF_TMPC}.x   # {
-+  if test -s ${LSOF_TMPC}.x   # {
-   then
--  LINUX_CLIB=`${LSOF_TMPC}.x`
-+  LINUX_CLIB="-DGLIBCV=$(( `cat ${LSOF_TMPC}.x` ))"
-   LSOF_TMP=$?
-   else
-   LINUX_CLIB=""

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
deleted file mode 100644
index aa2ed67f1fc4..
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="examples ipv6 rpc selinux"
-
-RDEPEND="rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/groff
-   rpc? ( virtual/pkgconfig )"
-
-# Needs fixing first
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
-)
-
-src_prepare() {
-   default
-
-   # Fix POSIX compliance with `echo`
-   sed -i \
-   -e 's:echo -n:printf:' \
-   AFSConfig Configure Customize Inventory tests/CkTestDB || die
-   # Convert `test -r header.h` into a compile test.
-   # Make sure we convert `test ... -a ...` into two `test` commands
-   # so we can then convert both over into a compile test. #601432
-   sed -i -E \
-   -e '/if test .* -a /s: -a : \&\& test :g' \
-   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-06-10 Thread Sam James
commit: 20918dfc1ea98d29edae5ba0b07672efe7fddfb6
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  3 02:14:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 10:24:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20918dfc

sys-process/lsof: drop dead prefix targets

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 1 -
 sys-process/lsof/lsof-4.96.4.ebuild | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index dd8f8666fb7d..aa2ed67f1fc4 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -52,7 +52,6 @@ src_prepare() {
 target() {
case ${CHOST} in
*-darwin*)  echo darwin  ;;
-   *-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
*)  echo linux   ;;
esac

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 964c99c0f104..83c780162e1a 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -52,7 +52,6 @@ src_prepare() {
 target() {
case ${CHOST} in
*-darwin*)  echo darwin  ;;
-   *-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
*)  echo linux   ;;
esac



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-05-29 Thread Sam James
commit: d0b01c08c358f809ba58bd5b0e93b077abffc058
Author: Sam James  gentoo  org>
AuthorDate: Sun May 28 11:24:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 29 18:19:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0b01c08

sys-process/lsof: drop dead prefix targets

The removal was already done, so this is just cleanup afterwards.

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 6 +-
 sys-process/lsof/lsof-4.96.4.ebuild | 4 
 sys-process/lsof/lsof-4.98.0.ebuild | 3 ---
 3 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 58e678dc5e5c..dd8f8666fb7d 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -54,7 +54,6 @@ target() {
*-darwin*)  echo darwin  ;;
*-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
-   *-aix*) echo aixgcc  ;;
*)  echo linux   ;;
esac
 }
@@ -110,8 +109,5 @@ pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions 
on"
einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   elif [[ ${CHOST} == *-aix* ]] ; then
-   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
fi
 }

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 76162da57717..964c99c0f104 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -54,7 +54,6 @@ target() {
*-darwin*)  echo darwin  ;;
*-freebsd*) echo freebsd ;;
*-solaris*) echo solaris ;;
-   *-aix*) echo aixgcc  ;;
*)  echo linux   ;;
esac
 }
@@ -109,8 +108,5 @@ pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions 
on"
einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   elif [[ ${CHOST} == *-aix* ]] ; then
-   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
fi
 }

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index c512cba56469..37f7da6b225a 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -48,8 +48,5 @@ pkg_postinst() {
if [[ ${CHOST} == *-solaris* ]] ; then
einfo "Note: to use lsof on Solaris you need read permissions 
on"
einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   elif [[ ${CHOST} == *-aix* ]] ; then
-   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-03-24 Thread Arthur Zamarin
commit: 684fbad831a39b921287b126b45b119563c8b71f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 24 13:54:32 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 24 13:54:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684fbad8

sys-process/lsof: Stabilize 4.98.0 sparc, #902595

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index 7950b8046690..ec9d0e0f54d5 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-03-24 Thread Arthur Zamarin
commit: e3803965e42c765a94027a5f69349fe8ae64cb4a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 24 13:54:33 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 24 13:54:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3803965

sys-process/lsof: Stabilize 4.98.0 arm64, #902595

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index ec9d0e0f54d5..c512cba56469 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-03-22 Thread Sam James
commit: 43a2041274302c818b8a7a31ff0f864529bb4d6b
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 22 09:37:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 09:37:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a20412

sys-process/lsof: Stabilize 4.98.0 hppa, #902595

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index 1c3b3c23e9f5..7950b8046690 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 ~sparc x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-15 Thread Sam James
commit: a45f921a73e1d6a71bce3a4a4402dac690ec2c24
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 06:09:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 06:09:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a45f921a

sys-process/lsof: Stabilize 4.96.4 amd64, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 2d7553b62d99..fc26d54c810d 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-15 Thread Sam James
commit: f9e1634e21606f8bad60fa02483c09cdb1a35221
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 06:03:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 06:03:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e1634e

sys-process/lsof: Stabilize 4.96.4 x86, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index c5aa0163c227..2d7553b62d99 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-12 Thread Matt Turner
commit: 6379cccfafead3947e72e88dc4f8062cbd78bd57
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Feb 13 03:41:42 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Feb 13 03:41:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6379cccf

sys-process/lsof: Keyword 4.98.0 alpha, #891241

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/lsof/lsof-4.98.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
index 96cc4bd44ecc..fafd40b13795 100644
--- a/sys-process/lsof/lsof-4.98.0.ebuild
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-12 Thread Jakov Smolić
commit: c9327724b81f5eeb64792d271bd01a722d04f96e
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 12 18:42:11 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 12 18:42:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9327724

sys-process/lsof: Stabilize 4.96.4 hppa, #894016

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 9716dfdb1df1..c5aa0163c227 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: 75e78da341c07bc59d29d72cdc79547b08fd44c8
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:46:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:46:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e78da3

sys-process/lsof: Stabilize 4.96.4 ppc64, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 0dfbac3795a0..9716dfdb1df1 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: d29cf535f10f5480b5b863efe284fb13d876b6bd
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:44:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:44:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29cf535

sys-process/lsof: Stabilize 4.96.4 arm64, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 698c26f89dad..a6a3a6d85752 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: 0f973a866d12d010ab91842580aaf103e6858cfc
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:44:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:44:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f973a86

sys-process/lsof: Stabilize 4.96.4 sparc, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 3e46dec92c02..c57bc5296f72 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: 8f5bbb90aa164dd8a8c7ce4fb1b344124e276f65
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:44:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:44:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f5bbb90

sys-process/lsof: Stabilize 4.96.4 ppc, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index a6a3a6d85752..0dfbac3795a0 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: a5821e79cee9f042d98e92356c6f9a2d2fff2374
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:44:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:44:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5821e79

sys-process/lsof: Stabilize 4.96.4 arm, #894016

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index c57bc5296f72..698c26f89dad 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-02-11 Thread Sam James
commit: 66b2e9ba75b364c884931ae71258d7221997ba30
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 12 06:12:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 12 06:12:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b2e9ba

sys-process/lsof: drop 4.97.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |  1 -
 sys-process/lsof/lsof-4.97.0.ebuild | 63 -
 2 files changed, 64 deletions(-)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 4c7ff7e871c7..448c9e9aa29f 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,4 +1,3 @@
 DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
 DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985
-DIST lsof-4.97.0.tar.gz 1130140 BLAKE2B 
0034550ebbd41da66d7fef8d8f8ae148faa1f59ec086d2803ba406aeeff15f461c2dd8d9309724b61647164a66588f31027b972fd14c54a7f10432b0f0bbb46f
 SHA512 
7ac81c26374305d8fd3b114fb697f093f289367a3f2577d9bc3f671fef1ee477c97ec670382fb0e7fee4ac4eb75120ef3b0d9356d5c4c39f4c00af324e436287
 DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 
2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024
 SHA512 
6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
deleted file mode 100644
index c71f85d7ef29..
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="rpc selinux"
-
-RDEPEND="
-   rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-apps/groff
-   rpc? ( virtual/pkgconfig )
-"
-
-# Needs fixing first
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   eautoreconf
-}
-
-src_configure() {
-   export ac_cv_header_rpc_rpc_h=$(usex rpc)
-   export ac_cv_header_selinux_selinux_h=$(usex selinux)
-
-   if use rpc ; then
-   append-cppflags $($(tc-getPKG_CONFIG) libtirpc --cflags)
-   append-libs $($(tc-getPKG_CONFIG) libtirpc --libs)
-   fi
-
-   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
-
-   econf
-}
-
-src_compile() {
-   emake DEBUG="" all
-}
-
-pkg_postinst() {
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   einfo "Note: to use lsof on Solaris you need read permissions 
on"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   elif [[ ${CHOST} == *-aix* ]] ; then
-   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-22 Thread Sam James
commit: 3eb7d5ee7601aac2df8d70982fb670aca56da83a
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 03:07:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 03:08:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb7d5ee

sys-process/lsof: add 4.98.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |  1 +
 sys-process/lsof/lsof-4.98.0.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index fc6fbefc777d..4c7ff7e871c7 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,3 +1,4 @@
 DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
 DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985
 DIST lsof-4.97.0.tar.gz 1130140 BLAKE2B 
0034550ebbd41da66d7fef8d8f8ae148faa1f59ec086d2803ba406aeeff15f461c2dd8d9309724b61647164a66588f31027b972fd14c54a7f10432b0f0bbb46f
 SHA512 
7ac81c26374305d8fd3b114fb697f093f289367a3f2577d9bc3f671fef1ee477c97ec670382fb0e7fee4ac4eb75120ef3b0d9356d5c4c39f4c00af324e436287
+DIST lsof-4.98.0.tar.gz 734232 BLAKE2B 
2f4ba4d179e8061e5bcff7dda4a0981616530bd5577fc73904e2699e6e982efee9e4270d3f2d3c68751d73cb98bfed0fd49d4c6bd967d15b4e06dcb72494d024
 SHA512 
6fde12497ce9cbba698be624b45e8392d551626c3e46b50ec23e661b322438ef7162dbac0d06829d56f074c7d934fa1ca98aa50ee1487125c93bebfe8eb2a2e8

diff --git a/sys-process/lsof/lsof-4.98.0.ebuild 
b/sys-process/lsof/lsof-4.98.0.ebuild
new file mode 100644
index ..96cc4bd44ecc
--- /dev/null
+++ b/sys-process/lsof/lsof-4.98.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/releases/download/${PV}/${P}.tar.gz";
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="rpc selinux"
+
+RDEPEND="
+   rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/groff
+   rpc? ( virtual/pkgconfig )
+"
+
+# Needs fixing first for sandbox
+RESTRICT="test"
+
+src_configure() {
+   export ac_cv_header_selinux_selinux_h=$(usex selinux)
+
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+
+   local myeconfargs=(
+   $(use_with rpc libtirpc)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+pkg_postinst() {
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   einfo "Note: to use lsof on Solaris you need read permissions 
on"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
+   elif [[ ${CHOST} == *-aix* ]] ; then
+   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-22 Thread WANG Xuerui
commit: f7a717ba8f52a76ea7b00c07badf7375971c1ee6
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Jan 22 15:35:02 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Jan 22 15:39:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7a717ba

sys-process/lsof: keyword 4.97.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 83ad0144c329..c71f85d7ef29 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-21 Thread James Le Cuirot
commit: 41b20dc5b4fd0e6b6100ee30536123ed83026a74
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jan 21 19:43:40 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jan 21 19:43:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b20dc5

sys-process/lsof: Keyword 4.97.0 for ~m68k

Tested and working.

Signed-off-by: James Le Cuirot  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 70755220f0fa..83ad0144c329 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: 2862fc8d3ea7fb12e16dc15a1360b71b8d076a5f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 07:02:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 07:02:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2862fc8d

sys-process/lsof: Keyword 4.97.0 ia64, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index a5c50fda6b98..70755220f0fa 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: f0376b4516e0ae3c7499d8f4a4e9d8abdc84504b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:47 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0376b45

sys-process/lsof: Keyword 4.97.0 sparc, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 67b4757e9abd..dca7931d53d5 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: 39e95ed0f1ee6b6c2c15c73735ac8bc153b63c5d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:50 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e95ed0

sys-process/lsof: Keyword 4.97.0 hppa, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index dca7931d53d5..e748903174c7 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: d6293205e92b3caa1b1186c39401ec9a0d70d6b4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6293205

sys-process/lsof: Keyword 4.97.0 ppc64, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index d29b6d316e74..67b4757e9abd 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: b461ba5bbc215ee2e81f18249d27266e0da73f9e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b461ba5b

sys-process/lsof: Keyword 4.97.0 x86, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index e748903174c7..a5c50fda6b98 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: 7d5907c7d8471aae18c63aaec7c7ff277ccb668c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:34 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5907c7

sys-process/lsof: Keyword 4.97.0 arm, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index bf2d56e8a80f..bc58e0c4cbe4 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~s390"
+KEYWORDS="~amd64 ~arm ~ppc ~riscv ~s390"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: 21ca0037885fca025648e8d3e6e47472205a2260
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ca0037

sys-process/lsof: Keyword 4.97.0 arm64, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index bc58e0c4cbe4..d29b6d316e74 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~riscv ~s390"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-20 Thread Arthur Zamarin
commit: 28630829f9ed4485e4d8ae62d251b9a08bc8ba07
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 06:59:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 06:59:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28630829

sys-process/lsof: Keyword 4.97.0 s390, #891241

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 6752f3301425..bf2d56e8a80f 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv"
+KEYWORDS="~amd64 ~ppc ~riscv ~s390"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-18 Thread Yixun Lan
commit: 39b05eed19c36d275fed2127e1e5652274d09323
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 18 12:23:50 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 18 12:23:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b05eed

sys-process/lsof: Keyword 4.97.0 riscv, #891241

Signed-off-by: Yixun Lan  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 0fa9f25d0747..6752f3301425 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc"
+KEYWORDS="~amd64 ~ppc ~riscv"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-17 Thread Sam James
commit: 3b7c60ab7e0f552dd73ba42c0e410270802fe326
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 18 00:45:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 18 00:46:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7c60ab

sys-process/lsof: Keyword 4.97.0 ppc, #891241

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index 5bcf95c0223f..0fa9f25d0747 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc"
 IUSE="rpc selinux"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-17 Thread Sam James
commit: 26d1d8ad875885a68b3f0de84c7f435bc57af2a5
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 17 21:44:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 17 23:18:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d1d8ad

sys-process/lsof: fix finding RPC headers

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index ad7040fcc803..b99b7b47efa2 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic toolchain-funcs
 
 MY_P="${P/-/_}"
 DESCRIPTION="Lists open files for running Unix processes"
@@ -38,6 +38,10 @@ src_configure() {
export ac_cv_header_rpc_rpc_h=$(usex rpc)
export ac_cv_header_selinux_selinux_h=$(usex selinux)
 
+   if use rpc ; then
+   append-cppflags $(tc-getPKG_CONFIG) libtirpc --cflags)
+   fi
+
[[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
 
econf



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-17 Thread Sam James
commit: 7f39b8270a96b374e00fea55ed3d47982987fd45
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 17 23:18:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 17 23:18:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f39b827

sys-process/lsof: fix build w/ USE=rpc

Closes: https://bugs.gentoo.org/891249
Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.97.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
index b99b7b47efa2..5bcf95c0223f 100644
--- a/sys-process/lsof/lsof-4.97.0.ebuild
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -39,7 +39,8 @@ src_configure() {
export ac_cv_header_selinux_selinux_h=$(usex selinux)
 
if use rpc ; then
-   append-cppflags $(tc-getPKG_CONFIG) libtirpc --cflags)
+   append-cppflags $($(tc-getPKG_CONFIG) libtirpc --cflags)
+   append-libs $($(tc-getPKG_CONFIG) libtirpc --libs)
fi
 
[[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2023-01-17 Thread Sam James
commit: f0b0bf2d03b9dded103bec8ae1b35a52b5a8cffc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 17 21:36:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 17 21:37:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b0bf2d

sys-process/lsof: add 4.97.0

Drop keywords for big port to autotools.

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |  1 +
 sys-process/lsof/lsof-4.97.0.ebuild | 58 +
 2 files changed, 59 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index f2a14ca41f5b..fc6fbefc777d 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,2 +1,3 @@
 DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
 DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985
+DIST lsof-4.97.0.tar.gz 1130140 BLAKE2B 
0034550ebbd41da66d7fef8d8f8ae148faa1f59ec086d2803ba406aeeff15f461c2dd8d9309724b61647164a66588f31027b972fd14c54a7f10432b0f0bbb46f
 SHA512 
7ac81c26374305d8fd3b114fb697f093f289367a3f2577d9bc3f671fef1ee477c97ec670382fb0e7fee4ac4eb75120ef3b0d9356d5c4c39f4c00af324e436287

diff --git a/sys-process/lsof/lsof-4.97.0.ebuild 
b/sys-process/lsof/lsof-4.97.0.ebuild
new file mode 100644
index ..ad7040fcc803
--- /dev/null
+++ b/sys-process/lsof/lsof-4.97.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="rpc selinux"
+
+RDEPEND="
+   rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   sys-apps/groff
+   rpc? ( virtual/pkgconfig )
+"
+
+# Needs fixing first
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   export ac_cv_header_rpc_rpc_h=$(usex rpc)
+   export ac_cv_header_selinux_selinux_h=$(usex selinux)
+
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+
+   econf
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+pkg_postinst() {
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   einfo "Note: to use lsof on Solaris you need read permissions 
on"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
+   elif [[ ${CHOST} == *-aix* ]] ; then
+   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
+   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/, sys-process/lsof/files/

2022-12-26 Thread Sam James
commit: 19b4c55cf2ad7c4387b3624a7b337f47ab0bac75
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 26 08:31:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 26 08:33:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b4c55c

sys-process/lsof: drop 4.95.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest  |   1 -
 sys-process/lsof/files/lsof-4.95.0-test-typo.patch |  25 -
 sys-process/lsof/lsof-4.95.0.ebuild| 115 -
 3 files changed, 141 deletions(-)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index fbab9a3c28dc..f2a14ca41f5b 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,3 +1,2 @@
-DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B 
ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3
 SHA512 
09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef
 DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
 DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985

diff --git a/sys-process/lsof/files/lsof-4.95.0-test-typo.patch 
b/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
deleted file mode 100644
index f35b71e749fa..
--- a/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/lsof-org/lsof/commit/60e292652879a45ecaa20987e755e218c1396311
-
-From 60e292652879a45ecaa20987e755e218c1396311 Mon Sep 17 00:00:00 2001
-From: Masatake YAMATO 
-Date: Thu, 28 Apr 2022 08:03:02 +0900
-Subject: [PATCH] [linux] test case: fix a typo
-
-Signed-off-by: Masatake YAMATO 

- dialects/linux/tests/case-10-ux-socket-state.bash | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dialects/linux/tests/case-10-ux-socket-state.bash 
b/dialects/linux/tests/case-10-ux-socket-state.bash
-index 2c080d6..d58826e 100755
 a/dialects/linux/tests/case-10-ux-socket-state.bash
-+++ b/dialects/linux/tests/case-10-ux-socket-state.bash
-@@ -4,7 +4,7 @@ name=$(basename $0 .bash)
- lsof=$1
- report=$2
- 
--if ! [ -r "/proc/$self/stack" ]; then
-+if ! [ -r "/proc/self/stack" ]; then
- echo "this platform doesn't allow to access /proc/\$PID/stack" >> $report
- exit 2
- fi

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
deleted file mode 100644
index 763ba627605c..
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE="examples ipv6 rpc selinux"
-
-RDEPEND="rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/groff
-   rpc? ( virtual/pkgconfig )"
-
-# Needs fixing first
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
-   "${FILESDIR}"/${P}-test-typo.patch
-)
-
-src_prepare() {
-   default
-   # fix POSIX compliance with `echo`
-   sed -i \
-   -e 's:echo -n:printf:' \
-   AFSConfig Configure Customize Inventory tests/CkTestDB || die
-   # Convert `test -r header.h` into a compile test.
-   # Make sure we convert `test ... -a ...` into two `test` commands
-   # so we can then convert both over into a compile test. #601432
-   sed -i -E \
-   -e '/if test .* -a /s: -a : \&\& test :g' \
-   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
-   Configure || die
-
-   # "create" man-page (bug #689462)
-   # inspired by shipped "makeman" ksh script
-   soelim < Lsof.8

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-12-07 Thread WANG Xuerui
commit: 974c4bddd35b7b987b10b37f0e1e3c33ae8a8868
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Dec  7 04:40:25 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Dec  7 10:59:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974c4bdd

sys-process/lsof: keyword 4.96.4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-process/lsof/lsof-4.96.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
index 8469241372c2..3e46dec92c02 100644
--- a/sys-process/lsof/lsof-4.96.4.ebuild
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="examples rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-11-11 Thread Matt Turner
commit: f6372379f6e6591c96b94eda31f808e7d5922905
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Nov 12 02:46:29 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Nov 12 03:14:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6372379

sys-process/lsof: Version bump to 4.96.4

Drop IUSE=ipv6 for the obvious reasons, but also it was broken. The
Configure script detects IPv6 support and appends -DHASIPv6 *after* our
append-cppflags setting, so IPv6 support was always enabled.

Signed-off-by: Matt Turner  gentoo.org>

 sys-process/lsof/Manifest   |   1 +
 sys-process/lsof/lsof-4.96.4.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 96aefc575279..fbab9a3c28dc 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,2 +1,3 @@
 DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B 
ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3
 SHA512 
09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef
 DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98
+DIST lsof-4.96.4.tar.gz 1342514 BLAKE2B 
c420e2f928ffa8148a62298ba7176f860b15f9e78f4c2dc299162614a1d9b94a85c42ee93ef5e92b8a99f1c67e496cf2c848874b844c22c287aab53bfe211c58
 SHA512 
06f8005e1eb72324c1fd603d8b8287a61ad6fdec182e9da833991a8915aaa69c416af1564d3b1087cb08b3504ef9b15cdffec7051605e89d945d6750ec8da985

diff --git a/sys-process/lsof/lsof-4.96.4.ebuild 
b/sys-process/lsof/lsof-4.96.4.ebuild
new file mode 100644
index ..8469241372c2
--- /dev/null
+++ b/sys-process/lsof/lsof-4.96.4.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+IUSE="examples rpc selinux"
+
+RDEPEND="rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/groff
+   rpc? ( virtual/pkgconfig )"
+
+# Needs fixing first
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
+)
+
+src_prepare() {
+   default
+
+   # Fix POSIX compliance with `echo`
+   sed -i \
+   -e 's:echo -n:printf:' \
+   AFSConfig Configure Customize Inventory tests/CkTestDB || die
+   # Convert `test -r header.h` into a compile test.
+   # Make sure we convert `test ... -a ...` into two `test` commands
+   # so we can then convert both over into a compile test. #601432
+   sed -i -E \
+   -e '/if test .* -a /s: -a : \&\& test :g' \
+   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
+   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
+   Configure || die
+
+   # "create" man-page (bug #689462)
+   # inspired by shipped "makeman" ksh script
+   soelim < Lsof.8 > lsof.8 || die
+}
+
+target() {
+   case ${CHOST} in
+   *-darwin*)  echo darwin  ;;
+   *-freebsd*) echo freebsd ;;
+   *-solaris*) echo solaris ;;
+   *-aix*) echo aixgcc  ;;
+   *)  echo linux   ;;
+   esac
+}
+
+src_configure() {
+   append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || 
echo "-DHASNOTRPC -DHASNORPC_H")
+
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
+   # dummy location -- Darwin needs this for a Configure check to
+   # succeed
+   if [[ -e /usr/include/sys/proc_info.h ]] ; then
+   mkdir -p "${T}"/sys || die
+   ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) 
|| die
+   fi
+   fi
+
+   export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
+   $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
+
+   # Set LSOF_INCLUDE to a dummy

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/

2022-10-30 Thread Sam James
commit: f80a0aff3bcd5d9e3acdd47458793d411d4871ea
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Oct 30 07:59:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 30 09:27:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80a0aff

sys-process/lsof: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28037
Signed-off-by: Sam James  gentoo.org>

 .../files/lsof-4.95.0-clang-15-configure.patch | 134 -
 1 file changed, 134 deletions(-)

diff --git a/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch 
b/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch
deleted file mode 100644
index 2e81a089e273..
--- a/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-https://github.com/lsof-org/lsof/pull/248
-
-From 52f2c48790ced81aeef98807363ec94a867bbd88 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Mon, 12 Sep 2022 19:02:14 +0100
-Subject: [PATCH] Configure: fix configure tests broken with Clang 15
- (-Wimplicit-int)
-
-Clang 15 makes -Wimplicit-int an error by default.
-
-Before this fix, configure would think localtime() and strftime() support
-was not present.
-
-Signed-off-by: Sam James 
 a/Configure
-+++ b/Configure
-@@ -681,7 +681,7 @@ case $LSOF_TGT in  # {
- 
- rm -f ${LSOF_TMPC}.*
- echo "#include " > ${LSOF_TMPC}.c
--echo 'main(){ if (__KERNEL_32()) printf("32\\n");' >> ${LSOF_TMPC}.c
-+echo 'int main(){ if (__KERNEL_32()) printf("32\\n");' >> 
${LSOF_TMPC}.c
- echo 'else if (__KERNEL_64()) printf("64\\n");' >> ${LSOF_TMPC}.c
- echo 'else printf("0\\n");' >> ${LSOF_TMPC}.c
- echo "return(0); }" >> ${LSOF_TMPC}.c
-@@ -778,7 +778,7 @@ case $LSOF_TGT in  # {
- rm -f ${LSOF_TMPC}.*
- echo "#include " > ${LSOF_TMPC}.c
- echo "#include " >> ${LSOF_TMPC}.c
--echo "main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 0);}" 
>>${LSOF_TMPC}.c
-+echo "int main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 
0);}" >>${LSOF_TMPC}.c
- echo "Testing user.h with $LSOF_CC"
- $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x
- if ! ${LSOF_TMPC}.x   # {
-@@ -811,7 +811,7 @@ case $LSOF_TGT in  # {
-   # Get xlc version number
- 
-   rm -f ${LSOF_TMPC}.*
--  echo "main(){}" > ${LSOF_TMPC}.c
-+  echo "int main(){}" > ${LSOF_TMPC}.c
-   echo "Getting version number of ${LSOF_CC}."
-   $LSOF_CC -c ${LSOF_TMPC}.c -I${LSOF_INCLUDE} -o ${LSOF_TMPC}.o -qlist > 
/dev/null 2>&1
-   LSOF_CCV=`head -1 ${LSOF_TMPC}.lst | sed 's/\(.*\) ---.*/\1/'`
-@@ -1783,7 +1783,7 @@ kernel generation process.
- cat > ${LSOF_TMPC}.c << .LSOF_END_HERE_DOC3
- #undef _KERNEL
- #include 
--main() {
-+int main() {
- cpumask_t c;
- }
- .LSOF_END_HERE_DOC3
-@@ -2400,7 +2400,7 @@ LOCKF_OWNER4
- # Test for "const void" support.
- 
- rm -f ${LSOF_TMPC}.*
--echo "main() { const void *x; return(0); }" >> $LSOF_TMPC.c
-+echo "int main() { const void *x; return(0); }" >> $LSOF_TMPC.c
- $LSOF_CC $LSOF_TMPC.c -o $LSOF_TMPC.x > /dev/null 2>&1
- if test $? -eq 0  # {
- then
-@@ -2532,7 +2532,7 @@ LOCKF_OWNER4
- echo ""
- echo "Testing $LSOF_CC for 64 bit support"
- rm -f ${LSOF_TMPC}.*
--echo "main(){}" > ${LSOF_TMPC}.c
-+echo "int main(){}" > ${LSOF_TMPC}.c
- LSOF_TMP1=""
- $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
- if test $? -eq 0  # {
-@@ -4605,7 +4605,7 @@ return(0); }
-   rm -f ${LSOF_TMPC}.*
-   echo "#define _KMEMUSER" > ${LSOF_TMPC}.c
-   echo "#include " >> ${LSOF_TMPC}.c
--  echo "main(){" >> ${LSOF_TMPC}.c
-+  echo "int main(){" >> ${LSOF_TMPC}.c
-   echo "enum prnodetype p=PR_GWINDOWS;}" >> ${LSOF_TMPC}.c
-   echo "Testing prdata.h for PR_GWINDOWS, using $LSOF_CC"
-   echo $LSOF_CC | grep gcc > /dev/null
-@@ -4630,7 +4630,7 @@ return(0); }
-   rm -f ${LSOF_TMPC}.*
-   echo "#define _KMEMUSER" > ${LSOF_TMPC}.c
-   echo "#include " >> ${LSOF_TMPC}.c
--  echo "main(){" >> ${LSOF_TMPC}.c
-+  echo "int main(){" >> ${LSOF_TMPC}.c
-   echo "enum prnodetype p=PR_LDT;}" >> ${LSOF_TMPC}.c
-   echo "Testing prdata.h for PR_LDT, using $LSOF_CC"
-   echo $LSOF_CC | grep gcc > /dev/null
-@@ -4675,7 +4675,7 @@ return(0); }
- 
-   echo "Testing $LSOF_CC for 64 bit support"
-   rm -f ${LSOF_TMPC}.*
--  echo "main(){}" > ${LSOF_TMPC}.c
-+  echo "int main(){}" > ${LSOF_TMPC}.c
-   LSOF_TMP1=""
- 
-   # First try gcc's -m64 option -- it's the most current possibility.
-@@ -4695,7 +4695,7 @@ return(0); }
- 
-   # Try using the older -mcpu=v9 option with gcc instead of -m64.
- 
--echo "main(){}" > ${LSOF_TMPC}.c
-+ec

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Arthur Zamarin
commit: 8205dc75f259dfda8b8bc476df82f47bb767a992
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 29 05:45:39 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 29 05:45:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8205dc75

sys-process/lsof: Stabilize 4.96.3 hppa, #878561

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 8fbad29f51f9..141f3cdf9e28 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: f0e54eb710f0b56f1b434b8561a3e83511fc72c4
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 21:02:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 21:02:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0e54eb7

sys-process/lsof: Stabilize 4.96.3 sparc, #878561

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 6d825e412893..8fbad29f51f9 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: 8956f1f3cc4e1395937f442d61131cf98a9b6d2b
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:32:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:32:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8956f1f3

sys-process/lsof: Stabilize 4.96.3 amd64, #878561

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 80d709965324..64f6a7c2c9f8 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: 4e8c7089ed1acadee9fac85b88f82b61718fe7b4
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:32:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:32:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e8c7089

sys-process/lsof: Stabilize 4.96.3 arm, #878561

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 05098a35cf26..80d709965324 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: f95a892e8a1656f8f8df3a22fa40e04acbab1f05
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:27:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:27:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95a892e

sys-process/lsof: Stabilize 4.96.3 ppc64, #878561

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 7dbac84dbfaf..05098a35cf26 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: a5da137b96d78ffa3c5d85048b9626739dfc1a17
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 20:27:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 20:27:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5da137b

sys-process/lsof: Stabilize 4.96.3 ppc, #878561

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.96.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
index 02ae293dff8e..7dbac84dbfaf 100644
--- a/sys-process/lsof/lsof-4.96.3.ebuild
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-10-28 Thread Sam James
commit: e48727b6e54bec851f38d35c3e745cf55d9267de
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:49:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e48727b6

sys-process/lsof: drop 4.95.0-r1

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0-r1.ebuild | 116 -
 1 file changed, 116 deletions(-)

diff --git a/sys-process/lsof/lsof-4.95.0-r1.ebuild 
b/sys-process/lsof/lsof-4.95.0-r1.ebuild
deleted file mode 100644
index b5cabe286fcd..
--- a/sys-process/lsof/lsof-4.95.0-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE="examples ipv6 rpc selinux"
-
-RDEPEND="rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/groff
-   rpc? ( virtual/pkgconfig )"
-
-# Needs fixing first
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
-   "${FILESDIR}"/${P}-test-typo.patch
-   "${FILESDIR}"/${PN}-4.95.0-clang-15-configure.patch
-)
-
-src_prepare() {
-   default
-   # fix POSIX compliance with `echo`
-   sed -i \
-   -e 's:echo -n:printf:' \
-   AFSConfig Configure Customize Inventory tests/CkTestDB || die
-   # Convert `test -r header.h` into a compile test.
-   # Make sure we convert `test ... -a ...` into two `test` commands
-   # so we can then convert both over into a compile test. #601432
-   sed -i -E \
-   -e '/if test .* -a /s: -a : \&\& test :g' \
-   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
-   Configure || die
-
-   # "create" man-page (bug #689462)
-   # inspired by shipped "makeman" ksh script
-   soelim < Lsof.8 > lsof.8 || die
-}
-
-target() {
-   case ${CHOST} in
-   *-darwin*)  echo darwin  ;;
-   *-freebsd*) echo freebsd ;;
-   *-solaris*) echo solaris ;;
-   *-aix*) echo aixgcc  ;;
-   *)  echo linux   ;;
-   esac
-}
-
-src_configure() {
-   append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || 
echo "-DHASNOTRPC -DHASNORPC_H")
-   append-cppflags $(usex ipv6 -{D,U}HASIPv6)
-   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
-   # dummy location -- Darwin needs this for a Configure check to
-   # succeed
-   if [[ -e /usr/include/sys/proc_info.h ]] ; then
-   mkdir -p "${T}"/sys || die
-   ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) 
|| die
-   fi
-   fi
-
-   export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
-   $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
-
-   # Set LSOF_INCLUDE to a dummy location so the script doesn't poke
-   # around in it and mix /usr/include paths with cross-compile/etc.
-   touch .neverInv
-   LINUX_HASSELINUX=$(usex selinux y n) \
-   LSOF_INCLUDE=${T} \
-   LSOF_CC=$(tc-getCC) \
-   LSOF_AR="$(tc-getAR) rc" \
-   LSOF_RANLIB=$(tc-getRANLIB) \
-   LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
-   ./Configure -n $(target) || die
-}
-
-src_compile() {
-   emake DEBUG="" all
-}
-
-src_install() {
-   dobin lsof
-
-   if use examples ; then
-   insinto /usr/share/lsof/scripts
-   doins scripts/*
-   fi
-
-   doman lsof.8
-   dodoc 00*
-}
-
-pkg_postinst() {
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   einfo "Note: to use lsof on Solaris you need read permissions 
on"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group sys"
-   elif [[ ${CHOST} == *-aix* ]] ; then
-   einfo "Note: to use lsof on AIX you need read permissions on 
/dev/mem and"
-   einfo "/dev/kmem, i.e. you need to be root, or to be in the 
group system"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-09-16 Thread Sam James
commit: ccb0b9eb86adc6437d5d522feeb1fa42c703b2b5
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 17 02:01:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 17 02:01:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb0b9eb

sys-process/lsof: add 4.96.3

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest   |   1 +
 sys-process/lsof/lsof-4.96.3.ebuild | 117 
 2 files changed, 118 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index b1aaf692109b..96aefc575279 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1 +1,2 @@
 DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B 
ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3
 SHA512 
09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef
+DIST lsof-4.96.3.tar.gz 1342843 BLAKE2B 
79e276d0db5138c356cc8bfa32e6f991ce8860644eb5d02f49ba04ce08076232f0fb8b10e143ee135205de5c64bd053d7bf021e48d666b65ffc01c0a47b76116
 SHA512 
ad17a73590ffb154a13b8b5de8ada738ce343fcc833012b2a5e9b3bda587785b09ae8bf090a99fba8e84b788c2a6d61eaa7359f939bfa68d2423e604801e2a98

diff --git a/sys-process/lsof/lsof-4.96.3.ebuild 
b/sys-process/lsof/lsof-4.96.3.ebuild
new file mode 100644
index ..02ae293dff8e
--- /dev/null
+++ b/sys-process/lsof/lsof-4.96.3.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+IUSE="examples ipv6 rpc selinux"
+
+RDEPEND="rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/groff
+   rpc? ( virtual/pkgconfig )"
+
+# Needs fixing first
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
+)
+
+src_prepare() {
+   default
+
+   # Fix POSIX compliance with `echo`
+   sed -i \
+   -e 's:echo -n:printf:' \
+   AFSConfig Configure Customize Inventory tests/CkTestDB || die
+   # Convert `test -r header.h` into a compile test.
+   # Make sure we convert `test ... -a ...` into two `test` commands
+   # so we can then convert both over into a compile test. #601432
+   sed -i -E \
+   -e '/if test .* -a /s: -a : \&\& test :g' \
+   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
+   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
+   Configure || die
+
+   # "create" man-page (bug #689462)
+   # inspired by shipped "makeman" ksh script
+   soelim < Lsof.8 > lsof.8 || die
+}
+
+target() {
+   case ${CHOST} in
+   *-darwin*)  echo darwin  ;;
+   *-freebsd*) echo freebsd ;;
+   *-solaris*) echo solaris ;;
+   *-aix*) echo aixgcc  ;;
+   *)  echo linux   ;;
+   esac
+}
+
+src_configure() {
+   append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || 
echo "-DHASNOTRPC -DHASNORPC_H")
+   append-cppflags $(usex ipv6 -{D,U}HASIPv6)
+
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
+   # dummy location -- Darwin needs this for a Configure check to
+   # succeed
+   if [[ -e /usr/include/sys/proc_info.h ]] ; then
+   mkdir -p "${T}"/sys || die
+   ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) 
|| die
+   fi
+   fi
+
+   export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
+   $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
+
+   # Set LSOF_INCLUDE to a dummy location so the script doesn't poke
+   # around in it and mix /usr/include paths with cross-compile/etc.
+   touch .neverInv
+   LINUX_HASSELINUX=$(usex selinux y n) \
+   LSOF_INCLUDE=${T} \
+   LSOF_CC=$(tc-getCC) \
+   LSOF_AR="$(tc-getAR) rc" \
+   LSOF_RANLIB=$(tc-getRANLIB) \
+   LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
+   ./Configure -n $(target) || die
+}
+
+src_compile() {
+   emake DEBUG="" all
+}
+
+src_install() {
+  

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2022-09-12 Thread Sam James
commit: 8069922c8c22acaae7dde8ac2a479864b47f2294
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 12 18:04:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 12 18:04:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8069922c

sys-process/lsof: fix configure tests with Clang 15

Signed-off-by: Sam James  gentoo.org>

 .../files/lsof-4.95.0-clang-15-configure.patch | 134 +
 sys-process/lsof/lsof-4.95.0-r1.ebuild | 116 ++
 2 files changed, 250 insertions(+)

diff --git a/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch 
b/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch
new file mode 100644
index ..2e81a089e273
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.95.0-clang-15-configure.patch
@@ -0,0 +1,134 @@
+https://github.com/lsof-org/lsof/pull/248
+
+From 52f2c48790ced81aeef98807363ec94a867bbd88 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Mon, 12 Sep 2022 19:02:14 +0100
+Subject: [PATCH] Configure: fix configure tests broken with Clang 15
+ (-Wimplicit-int)
+
+Clang 15 makes -Wimplicit-int an error by default.
+
+Before this fix, configure would think localtime() and strftime() support
+was not present.
+
+Signed-off-by: Sam James 
+--- a/Configure
 b/Configure
+@@ -681,7 +681,7 @@ case $LSOF_TGT in  # {
+ 
+ rm -f ${LSOF_TMPC}.*
+ echo "#include " > ${LSOF_TMPC}.c
+-echo 'main(){ if (__KERNEL_32()) printf("32\\n");' >> ${LSOF_TMPC}.c
++echo 'int main(){ if (__KERNEL_32()) printf("32\\n");' >> 
${LSOF_TMPC}.c
+ echo 'else if (__KERNEL_64()) printf("64\\n");' >> ${LSOF_TMPC}.c
+ echo 'else printf("0\\n");' >> ${LSOF_TMPC}.c
+ echo "return(0); }" >> ${LSOF_TMPC}.c
+@@ -778,7 +778,7 @@ case $LSOF_TGT in  # {
+ rm -f ${LSOF_TMPC}.*
+ echo "#include " > ${LSOF_TMPC}.c
+ echo "#include " >> ${LSOF_TMPC}.c
+-echo "main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 0);}" 
>>${LSOF_TMPC}.c
++echo "int main(){exit((offsetof(struct user, U_irss) & 0x7) ? 1 : 
0);}" >>${LSOF_TMPC}.c
+ echo "Testing user.h with $LSOF_CC"
+ $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x
+ if ! ${LSOF_TMPC}.x   # {
+@@ -811,7 +811,7 @@ case $LSOF_TGT in  # {
+   # Get xlc version number
+ 
+   rm -f ${LSOF_TMPC}.*
+-  echo "main(){}" > ${LSOF_TMPC}.c
++  echo "int main(){}" > ${LSOF_TMPC}.c
+   echo "Getting version number of ${LSOF_CC}."
+   $LSOF_CC -c ${LSOF_TMPC}.c -I${LSOF_INCLUDE} -o ${LSOF_TMPC}.o -qlist > 
/dev/null 2>&1
+   LSOF_CCV=`head -1 ${LSOF_TMPC}.lst | sed 's/\(.*\) ---.*/\1/'`
+@@ -1783,7 +1783,7 @@ kernel generation process.
+ cat > ${LSOF_TMPC}.c << .LSOF_END_HERE_DOC3
+ #undef _KERNEL
+ #include 
+-main() {
++int main() {
+ cpumask_t c;
+ }
+ .LSOF_END_HERE_DOC3
+@@ -2400,7 +2400,7 @@ LOCKF_OWNER4
+ # Test for "const void" support.
+ 
+ rm -f ${LSOF_TMPC}.*
+-echo "main() { const void *x; return(0); }" >> $LSOF_TMPC.c
++echo "int main() { const void *x; return(0); }" >> $LSOF_TMPC.c
+ $LSOF_CC $LSOF_TMPC.c -o $LSOF_TMPC.x > /dev/null 2>&1
+ if test $? -eq 0  # {
+ then
+@@ -2532,7 +2532,7 @@ LOCKF_OWNER4
+ echo ""
+ echo "Testing $LSOF_CC for 64 bit support"
+ rm -f ${LSOF_TMPC}.*
+-echo "main(){}" > ${LSOF_TMPC}.c
++echo "int main(){}" > ${LSOF_TMPC}.c
+ LSOF_TMP1=""
+ $LSOF_CC ${LSOF_TMPC}.c -o ${LSOF_TMPC}.x > /dev/null 2>&1
+ if test $? -eq 0  # {
+@@ -4605,7 +4605,7 @@ return(0); }
+   rm -f ${LSOF_TMPC}.*
+   echo "#define _KMEMUSER" > ${LSOF_TMPC}.c
+   echo "#include " >> ${LSOF_TMPC}.c
+-  echo "main(){" >> ${LSOF_TMPC}.c
++  echo "int main(){" >> ${LSOF_TMPC}.c
+   echo "enum prnodetype p=PR_GWINDOWS;}" >> ${LSOF_TMPC}.c
+   echo "Testing prdata.h for PR_GWINDOWS, using $LSOF_CC"
+   echo $LSOF_CC | grep gcc > /dev/null
+@@ -4630,7 +4630,7 @@ return(0); }
+   rm -f ${LSOF_TMPC}.*
+   echo "#define _KMEMUSER" > ${LSOF_TMPC}.c
+   echo "#include " >> ${LSOF_TMPC}.c
+-  echo "main(){" >> ${LSOF_TMPC}.c
++  echo "int main(){" >> ${LSOF_TMPC}.c
+   echo "enum prnodetype p=PR_LDT;}" >> ${LSOF_TMPC}.c
+   echo "Testing prdata.h for PR_LDT, using $LSOF_CC"
+   echo $LSOF_CC | grep gcc > /dev/null
+@@ -4675,7 +4675,7 @@ return(0); }
+ 
+   echo "Testing $LSOF_CC for 64 bit support"
+   rm -f ${LSOF_TMPC}.*
+-  echo "main(){}" > ${LSOF_TMPC}.c
++  echo "int main(){}" > ${LSOF_TMPC}.c
+   LSOF_TMP1=""
+ 
+   # First try gcc's -m64 option -- it's the most current possibility.
+@@ -4695,7 +4695,7 @@ return(0); }
+ 
+   # Try using the older -mcpu=v9 option with gcc instead of -m64.
+ 
+-echo "main(){}" > ${LSOF_TMPC}.c
++echo "int main(){}" > ${LSOF_TMPC}.

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-07-28 Thread Sam James
commit: 77ad2d394a1c72d83675687e4bfb2a71d7e84858
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 13:01:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:19:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ad2d39

sys-process/lsof: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/metadata.xml | 21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/sys-process/lsof/metadata.xml b/sys-process/lsof/metadata.xml
index 5f1549b94773..91d3c9dc1485 100644
--- a/sys-process/lsof/metadata.xml
+++ b/sys-process/lsof/metadata.xml
@@ -1,14 +1,15 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
-
-   support looking up RPC service info
-
-
-   cpe:/a:lsof_project:lsof
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   support looking up RPC service info
+   
+   
+   cpe:/a:lsof_project:lsof
+   lsof-org/lsof
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2022-06-21 Thread David Seifert
commit: 984c598ad12bf8109d4b062236326d32a716f11f
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 09:41:01 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 09:41:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=984c598a

sys-process/lsof: drop 4.94.0-r1

Signed-off-by: David Seifert  gentoo.org>

 sys-process/lsof/Manifest  |   1 -
 .../lsof/files/lsof-4.94-arm-sigbus-fix.patch  |  63 ---
 sys-process/lsof/lsof-4.94.0-r1.ebuild | 117 -
 3 files changed, 181 deletions(-)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index e5fde09f82fe..b1aaf692109b 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,2 +1 @@
-DIST lsof-4.94.0.tar.gz 1340224 BLAKE2B 
b3d3c4707dac22c5431ac37c6a9f28ba5057b9a8dce65038934f1148209ef4615012ed887e263ec648679d0d95a06c78ed83a7d76cc8d97c05c013c563938793
 SHA512 
852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c
 DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B 
ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3
 SHA512 
09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef

diff --git a/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch 
b/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch
deleted file mode 100644
index 95bad206372e..
--- a/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-https://bugs.gentoo.org/797358
-
-From 21cb1dad1243f4c0a427d893babab12e48b60f0e Mon Sep 17 00:00:00 2001
-From: Masatake YAMATO 
-Date: Sun, 20 Jun 2021 21:40:55 +0900
-Subject: [PATCH] Adjust alignment of buffer passed to stat()
-
-Close #160.
-
-The original code passes char[] buffer to stat().
-This can be cause a SIGBUS.
-
-#160 reported an actual crash on armv7a + glibc-2.33 platform.
-See also https://sourceware.org/bugzilla/show_bug.cgi?id=27993.
-
-The issue is reported by @10ne1.
-
-Signed-off-by: Masatake YAMATO 
-[Adrian: Backported to 4.94]
-Signed-off-by: Adrian Ratiu 
 a/misc.c
-+++ b/misc.c
-@@ -293,7 +293,15 @@ doinchild(fn, fp, rbuf, rbln)
-*/
- 
-   int r_al, r_rbln;
--  char r_arg[MAXPATHLEN+1], r_rbuf[MAXPATHLEN+1];
-+  char r_arg[MAXPATHLEN+1];
-+  union {
-+  char r_rbuf[MAXPATHLEN+1];
-+  /*
-+   * This field is only for adjusting the alignment 
of r_rbuf that
-+   * can be used as an argument for stat().
-+   */
-+  struct stat _;
-+  } r;
-   int (*r_fn)();
-   /*
-* Close sufficient open file descriptors except Pipes[0] and
-@@ -358,16 +366,16 @@ doinchild(fn, fp, rbuf, rbln)
-   ||  read(Pipes[0], r_arg, r_al) != r_al
-   ||  read(Pipes[0], (char *)&r_rbln, sizeof(r_rbln))
-   != (int)sizeof(r_rbln)
--  ||  r_rbln < 1 || r_rbln > (int)sizeof(r_rbuf))
-+  ||  r_rbln < 1 || r_rbln > (int)sizeof(r.r_rbuf))
-   break;
--  zeromem (r_rbuf, r_rbln);
--  rv = r_fn(r_arg, r_rbuf, r_rbln);
-+  zeromem (r.r_rbuf, r_rbln);
-+  rv = r_fn(r_arg, r.r_rbuf, r_rbln);
-   en = errno;
-   if (write(Pipes[3], (char *)&rv, sizeof(rv))
-   != sizeof(rv)
-   ||  write(Pipes[3], (char *)&en, sizeof(en))
-   != sizeof(en)
--  ||  write(Pipes[3], r_rbuf, r_rbln) != r_rbln)
-+  ||  write(Pipes[3], r.r_rbuf, r_rbln) != r_rbln)
-   break;
-   }
-   (void) _exit(0);
--- 
-2.32.0
-

diff --git a/sys-process/lsof/lsof-4.94.0-r1.ebuild 
b/sys-process/lsof/lsof-4.94.0-r1.ebuild
deleted file mode 100644
index f90987e76701..
--- a/sys-process/lsof/lsof-4.94.0-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solar

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-02 Thread Jakov Smolić
commit: 3d8c5ba65b0bb69c45a63ed65cec075f0e9ec0de
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  2 07:31:38 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  2 07:31:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8c5ba6

sys-process/lsof: Stabilize 4.95.0 hppa, #849191

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 77dd328f6a7d..763ba627605c 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Jakov Smolić
commit: e733cb6b028feccfdf03a0ba69f27bbc50c0af93
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun  2 04:16:37 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun  2 04:16:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e733cb6b

sys-process/lsof: Stabilize 4.95.0 sparc, #849191

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 087186a43319..77dd328f6a7d 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: 15c04414af97f93c41ce54652e935f5520a9f562
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:59:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:59:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c04414

sys-process/lsof: Stabilize 4.95.0 ppc64, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 8c2f182e5fee..087186a43319 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: dbca3c0a2d4173ef416d4b55f0fcd9b4aad5d420
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:59:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:59:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbca3c0a

sys-process/lsof: Stabilize 4.95.0 ppc, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 90e92f3c1ceb..8c2f182e5fee 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: 04615a0a460dbadbdfc517f2f2c2ac174a79cab8
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:37:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:37:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04615a0a

sys-process/lsof: Stabilize 4.95.0 x86, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index a7804f1ff5d7..32d4f96266c3 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: 322e99df4872cfb1ba1b16125041017b36369317
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:37:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:37:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=322e99df

sys-process/lsof: Stabilize 4.95.0 amd64, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 32d4f96266c3..90e92f3c1ceb 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: 1118bd0ea2c96382e6927923130d99332feb6ff0
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:01:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:05:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1118bd0e

sys-process/lsof: Stabilize 4.95.0 arm, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 30d08a68e234..a7804f1ff5d7 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2022-06-01 Thread Sam James
commit: d1eeef589b74008cd4c426bc73819f4722c3da07
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  2 03:01:37 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 03:05:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1eeef58

sys-process/lsof: Stabilize 4.95.0 arm64, #849191

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.95.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
index 4d4956a7f95d..30d08a68e234 100644
--- a/sys-process/lsof/lsof-4.95.0.ebuild
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2022-04-27 Thread Sam James
commit: 33f06d887425c79e8318bd02e41e26c8071dfec0
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 28 01:34:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 28 01:34:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f06d88

sys-process/lsof: add 4.95.0

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/Manifest  |   1 +
 sys-process/lsof/files/lsof-4.95.0-test-typo.patch |  25 +
 sys-process/lsof/lsof-4.95.0.ebuild| 115 +
 3 files changed, 141 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index dde851268b03..e5fde09f82fe 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1 +1,2 @@
 DIST lsof-4.94.0.tar.gz 1340224 BLAKE2B 
b3d3c4707dac22c5431ac37c6a9f28ba5057b9a8dce65038934f1148209ef4615012ed887e263ec648679d0d95a06c78ed83a7d76cc8d97c05c013c563938793
 SHA512 
852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c
+DIST lsof-4.95.0.tar.gz 1343380 BLAKE2B 
ffb0a656463f8f0e84ddcba36d78a94a8b4b883f0ff043c3821b3236274fb11e04b8c82f84f4e67ab922f021769c2711c1e97716aef3190d640fc321110521a3
 SHA512 
09c5c4b0ea0530e23b98b96df8485f37c2594028b604097a816aee216a8b1a7bc887071e8727cbaf3c765d0992314a5aa49723572cfe926f88806be18a6b8aef

diff --git a/sys-process/lsof/files/lsof-4.95.0-test-typo.patch 
b/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
new file mode 100644
index ..f35b71e749fa
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.95.0-test-typo.patch
@@ -0,0 +1,25 @@
+https://github.com/lsof-org/lsof/commit/60e292652879a45ecaa20987e755e218c1396311
+
+From 60e292652879a45ecaa20987e755e218c1396311 Mon Sep 17 00:00:00 2001
+From: Masatake YAMATO 
+Date: Thu, 28 Apr 2022 08:03:02 +0900
+Subject: [PATCH] [linux] test case: fix a typo
+
+Signed-off-by: Masatake YAMATO 
+---
+ dialects/linux/tests/case-10-ux-socket-state.bash | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dialects/linux/tests/case-10-ux-socket-state.bash 
b/dialects/linux/tests/case-10-ux-socket-state.bash
+index 2c080d6..d58826e 100755
+--- a/dialects/linux/tests/case-10-ux-socket-state.bash
 b/dialects/linux/tests/case-10-ux-socket-state.bash
+@@ -4,7 +4,7 @@ name=$(basename $0 .bash)
+ lsof=$1
+ report=$2
+ 
+-if ! [ -r "/proc/$self/stack" ]; then
++if ! [ -r "/proc/self/stack" ]; then
+ echo "this platform doesn't allow to access /proc/\$PID/stack" >> $report
+ exit 2
+ fi

diff --git a/sys-process/lsof/lsof-4.95.0.ebuild 
b/sys-process/lsof/lsof-4.95.0.ebuild
new file mode 100644
index ..4d4956a7f95d
--- /dev/null
+++ b/sys-process/lsof/lsof-4.95.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+IUSE="examples ipv6 rpc selinux"
+
+RDEPEND="rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/groff
+   rpc? ( virtual/pkgconfig )"
+
+# Needs fixing first
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.85-cross.patch # bug #432120
+   "${FILESDIR}"/${P}-test-typo.patch
+)
+
+src_prepare() {
+   default
+   # fix POSIX compliance with `echo`
+   sed -i \
+   -e 's:echo -n:printf:' \
+   AFSConfig Configure Customize Inventory tests/CkTestDB || die
+   # Convert `test -r header.h` into a compile test.
+   # Make sure we convert `test ... -a ...` into two `test` commands
+   # so we can then convert both over into a compile test. #601432
+   sed -i -E \
+   -e '/if test .* -a /s: -a : \&\& test :g' \
+   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
+   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
+   Configure || die
+
+   # "create" man-page (bug #689462)
+   # inspired by shipped "makeman" ksh script
+   soelim < Lsof.8 > lsof.8 || die
+}
+
+target() {
+   case ${CHOST} in
+   *-darwin*)  echo darwin  ;;
+   *-freebsd*) echo freebsd ;;
+   *-solaris*) echo solaris ;;
+   *-aix*) echo aixgcc  ;;
+   *)  echo linux   ;;
+   esac
+}
+
+src_configure() {
+   append-cppflags $(use rpc &

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/files/, sys-process/lsof/

2021-06-21 Thread Sam James
commit: 6639b5025d4c120c30022cb2993832fcf0c2e928
Author: Adrian Ratiu  collabora  com>
AuthorDate: Mon Jun 21 09:21:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 21 13:26:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6639b502

sys-process/lsof: backport arm sigbus crash fix

This backports an upstream fix for a crash which happens on
armv7a + glibc 2.33 due to a buffer misalignment.

Upstream issue: https://github.com/lsof-org/lsof/issues/160
Upstream commit: 21cb1dad1243f4c0a427d893babab12e48b60f0e
Bug: https://bugs.gentoo.org/797358
Closes: https://github.com/gentoo/gentoo/pull/21354
Acked-by: David Seifert  gentoo.org>
Signed-off-by: Adrian Ratiu  collabora.com>
Signed-off-by: Sam James  gentoo.org>

 .../lsof/files/lsof-4.94-arm-sigbus-fix.patch  | 63 ++
 .../{lsof-4.94.0.ebuild => lsof-4.94.0-r1.ebuild}  |  1 +
 2 files changed, 64 insertions(+)

diff --git a/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch 
b/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch
new file mode 100644
index 000..95bad206372
--- /dev/null
+++ b/sys-process/lsof/files/lsof-4.94-arm-sigbus-fix.patch
@@ -0,0 +1,63 @@
+https://bugs.gentoo.org/797358
+
+From 21cb1dad1243f4c0a427d893babab12e48b60f0e Mon Sep 17 00:00:00 2001
+From: Masatake YAMATO 
+Date: Sun, 20 Jun 2021 21:40:55 +0900
+Subject: [PATCH] Adjust alignment of buffer passed to stat()
+
+Close #160.
+
+The original code passes char[] buffer to stat().
+This can be cause a SIGBUS.
+
+#160 reported an actual crash on armv7a + glibc-2.33 platform.
+See also https://sourceware.org/bugzilla/show_bug.cgi?id=27993.
+
+The issue is reported by @10ne1.
+
+Signed-off-by: Masatake YAMATO 
+[Adrian: Backported to 4.94]
+Signed-off-by: Adrian Ratiu 
+--- a/misc.c
 b/misc.c
+@@ -293,7 +293,15 @@ doinchild(fn, fp, rbuf, rbln)
+*/
+ 
+   int r_al, r_rbln;
+-  char r_arg[MAXPATHLEN+1], r_rbuf[MAXPATHLEN+1];
++  char r_arg[MAXPATHLEN+1];
++  union {
++  char r_rbuf[MAXPATHLEN+1];
++  /*
++   * This field is only for adjusting the alignment 
of r_rbuf that
++   * can be used as an argument for stat().
++   */
++  struct stat _;
++  } r;
+   int (*r_fn)();
+   /*
+* Close sufficient open file descriptors except Pipes[0] and
+@@ -358,16 +366,16 @@ doinchild(fn, fp, rbuf, rbln)
+   ||  read(Pipes[0], r_arg, r_al) != r_al
+   ||  read(Pipes[0], (char *)&r_rbln, sizeof(r_rbln))
+   != (int)sizeof(r_rbln)
+-  ||  r_rbln < 1 || r_rbln > (int)sizeof(r_rbuf))
++  ||  r_rbln < 1 || r_rbln > (int)sizeof(r.r_rbuf))
+   break;
+-  zeromem (r_rbuf, r_rbln);
+-  rv = r_fn(r_arg, r_rbuf, r_rbln);
++  zeromem (r.r_rbuf, r_rbln);
++  rv = r_fn(r_arg, r.r_rbuf, r_rbln);
+   en = errno;
+   if (write(Pipes[3], (char *)&rv, sizeof(rv))
+   != sizeof(rv)
+   ||  write(Pipes[3], (char *)&en, sizeof(en))
+   != sizeof(en)
+-  ||  write(Pipes[3], r_rbuf, r_rbln) != r_rbln)
++  ||  write(Pipes[3], r.r_rbuf, r_rbln) != r_rbln)
+   break;
+   }
+   (void) _exit(0);
+-- 
+2.32.0
+

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0-r1.ebuild
similarity index 98%
rename from sys-process/lsof/lsof-4.94.0.ebuild
rename to sys-process/lsof/lsof-4.94.0-r1.ebuild
index e71171a60c4..f90987e7670 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0-r1.ebuild
@@ -28,6 +28,7 @@ RESTRICT="test"
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.85-cross.patch #432120
+   "${FILESDIR}"/${PN}-4.94-arm-sigbus-fix.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-19 Thread Sergei Trofimovich
commit: 771b4d76aafe33d5a9076dfd7b278c6bc3230f4a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May 19 15:28:34 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 19 15:33:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=771b4d76

sys-process/lsof: stable 4.94.0 for hppa, bug #789930

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index 79b41f685c9..e71171a60c4 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread David Seifert
commit: 941dec9a994ca9be796db8d8ffe63e9fc829d3a5
Author: David Seifert  gentoo  org>
AuthorDate: Thu May 13 22:10:42 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu May 13 22:10:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941dec9a

sys-process/lsof: Remove old 4.93.2-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 sys-process/lsof/Manifest  |   1 -
 sys-process/lsof/lsof-4.93.2-r1.ebuild | 113 -
 2 files changed, 114 deletions(-)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index ca06222d720..dde851268b0 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1,2 +1 @@
-DIST lsof-4.93.2.tar.gz 1319222 BLAKE2B 
3b1756e7b72a0b0a2a11bce82a9b386f6dc5727d7837a4d544e2e33a98be3bfb46af50f0d8cc7b4a4bc419148d13f86d0f34cf806d90ba5d31312f426f81b7e9
 SHA512 
3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0
 DIST lsof-4.94.0.tar.gz 1340224 BLAKE2B 
b3d3c4707dac22c5431ac37c6a9f28ba5057b9a8dce65038934f1148209ef4615012ed887e263ec648679d0d95a06c78ed83a7d76cc8d97c05c013c563938793
 SHA512 
852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c

diff --git a/sys-process/lsof/lsof-4.93.2-r1.ebuild 
b/sys-process/lsof/lsof-4.93.2-r1.ebuild
deleted file mode 100644
index b0aa61597ce..000
--- a/sys-process/lsof/lsof-4.93.2-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_P="${P/-/_}"
-DESCRIPTION="Lists open files for running Unix processes"
-HOMEPAGE="https://github.com/lsof-org/lsof";
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="lsof"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE="examples ipv6 rpc selinux"
-
-RDEPEND="rpc? ( net-libs/libtirpc )
-   selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   sys-apps/groff
-   rpc? ( virtual/pkgconfig )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.85-cross.patch #432120
-)
-
-src_prepare() {
-   default
-   # fix POSIX compliance with `echo`
-   sed -i \
-   -e 's:echo -n:printf:' \
-   AFSConfig Configure Customize Inventory tests/CkTestDB || die
-   # Convert `test -r header.h` into a compile test.
-   # Make sure we convert `test ... -a ...` into two `test` commands
-   # so we can then convert both over into a compile test. #601432
-   sed -i -E \
-   -e '/if test .* -a /s: -a : \&\& test :g' \
-   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
-   Configure || die
-
-   # "create" man-page (bug #689462)
-   # inspired by shipped "makeman" ksh script
-   soelim < Lsof.8 > lsof.8 || die
-}
-
-target() {
-   case ${CHOST} in
-   *-darwin*)  echo darwin  ;;
-   *-freebsd*) echo freebsd ;;
-   *-solaris*) echo solaris ;;
-   *-aix*) echo aixgcc  ;;
-   *)  echo linux   ;;
-   esac
-}
-
-src_configure() {
-   append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || 
echo "-DHASNOTRPC -DHASNORPC_H")
-   append-cppflags $(usex ipv6 -{D,U}HASIPv6)
-   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
-   if [[ ${CHOST} == *-darwin* ]] ; then
-   # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
-   # dummy location -- Darwin needs this for a Configure check to
-   # succeed
-   if [[ -e /usr/include/sys/proc_info.h ]] ; then
-   mkdir -p "${T}"/sys || die
-   ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) 
|| die
-   fi
-   fi
-
-   export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
-   $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
-
-   # Set LSOF_INCLUDE to a dummy location so the script doesn't poke
-   # around in it and mix /usr/include paths with cross-compile/etc.
-   touch .neverInv
-   LINUX_HASSELINUX=$(usex selinux y n) \
-   LSOF_INCLUDE=${T} \
-   LSOF_CC=$(tc-getCC) \
-   LSOF_AR="$(tc-getAR) rc" \
-   LSOF_RANLIB=$(tc-getRANLIB) \
-   LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
-   ./Configure -n $(target) || die
-}
-
-src_compile() {
-   emake DEBUG="" al

[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sam James
commit: 47c9ade9380c97fcb25340fe10afd8485ae758cd
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 21:17:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 21:17:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c9ade9

sys-process/lsof: Stabilize 4.94.0 ppc, #789930

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index ae6af2e9854..79b41f685c9 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sam James
commit: f9c1dcb3b4a7197b054bf0b1802ac3c42c6b8601
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 18:58:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 18:58:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c1dcb3

sys-process/lsof: Stabilize 4.94.0 ppc64, #789930

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index 6ae8f6ec597..ae6af2e9854 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sam James
commit: 4710e68a6321b0c0e9da87f47489324e0e22fbc5
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 18:55:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 18:55:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4710e68a

sys-process/lsof: Stabilize 4.94.0 x86, #789930

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index 205aea2ee77..6ae8f6ec597 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sergei Trofimovich
commit: d4b7051f259101e8d8d3548e61322613ec4ae0bd
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu May 13 18:29:03 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu May 13 18:35:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b7051f

sys-process/lsof: stable 4.94.0 for sparc, bug #789930

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index e113264086c..205aea2ee77 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sam James
commit: eb3bf92e45fa5a12166801daadfa49e9cd9c0f09
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 17:15:21 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 17:15:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3bf92e

sys-process/lsof: Stabilize 4.94.0 amd64, #789930

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index cbcd4391c7c..e113264086c 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-05-13 Thread Sam James
commit: a43cf9269e2872752b66eca625f6aa832b1caadc
Author: Sam James  gentoo  org>
AuthorDate: Thu May 13 16:35:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 13 16:35:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43cf926

sys-process/lsof: Stabilize 4.94.0 arm, #789930

Signed-off-by: Sam James  gentoo.org>

 sys-process/lsof/lsof-4.94.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index a5dbe8986cb..cbcd4391c7c 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2021-03-26 Thread Lars Wendler
commit: 232a12739a8cc5ae1cc5c08d034f5bde643b3551
Author: David Michael  gmail  com>
AuthorDate: Thu Mar 25 21:15:18 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Mar 26 08:04:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232a1273

sys-process/lsof: move pkg-config to BDEPEND

Closes: https://bugs.gentoo.org/778257
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: Lars Wendler  gentoo.org>

 sys-process/lsof/lsof-4.93.2-r1.ebuild | 6 +++---
 sys-process/lsof/lsof-4.94.0.ebuild| 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-process/lsof/lsof-4.93.2-r1.ebuild 
b/sys-process/lsof/lsof-4.93.2-r1.ebuild
index ef5d9ba7c0f..cb17296fd86 100644
--- a/sys-process/lsof/lsof-4.93.2-r1.ebuild
+++ b/sys-process/lsof/lsof-4.93.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,10 +17,10 @@ IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )
selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
-   rpc? ( virtual/pkgconfig )"
+DEPEND="${RDEPEND}"
 BDEPEND="
sys-apps/groff
+   rpc? ( virtual/pkgconfig )
 "
 
 PATCHES=(

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index d314dedcc18..c711a7ed8aa 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,10 +17,10 @@ IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )
selinux? ( sys-libs/libselinux )"
-DEPEND="${RDEPEND}
-   rpc? ( virtual/pkgconfig )"
+DEPEND="${RDEPEND}"
 BDEPEND="
sys-apps/groff
+   rpc? ( virtual/pkgconfig )
 "
 
 # needs fixing first



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2020-12-27 Thread Fabian Groffen
commit: 32143cb87c7b90753a89721228a99be0bf9ba132
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Dec 27 18:20:34 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Dec 27 18:20:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32143cb8

sys-process/lsof: drop ppc-aix m68k-mint

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 sys-process/lsof/lsof-4.93.2-r1.ebuild | 2 +-
 sys-process/lsof/lsof-4.94.0.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/lsof/lsof-4.93.2-r1.ebuild 
b/sys-process/lsof/lsof-4.93.2-r1.ebuild
index e4d26293846..7f609621b1e 100644
--- a/sys-process/lsof/lsof-4.93.2-r1.ebuild
+++ b/sys-process/lsof/lsof-4.93.2-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
index da9d568ab34..d314dedcc18 100644
--- a/sys-process/lsof/lsof-4.94.0.ebuild
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="lsof"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 IUSE="examples ipv6 rpc selinux"
 
 RDEPEND="rpc? ( net-libs/libtirpc )



[gentoo-commits] repo/gentoo:master commit in: sys-process/lsof/

2020-11-10 Thread Lars Wendler
commit: 0864160f387a21c9638b896b93d06e857bd3f0ee
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 10 21:42:05 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 10 21:48:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0864160f

sys-process/lsof: Bump to version 4.94.0

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-process/lsof/Manifest   |   1 +
 sys-process/lsof/lsof-4.94.0.ebuild | 116 
 2 files changed, 117 insertions(+)

diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index d8e31733fa7..ca06222d720 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1 +1,2 @@
 DIST lsof-4.93.2.tar.gz 1319222 BLAKE2B 
3b1756e7b72a0b0a2a11bce82a9b386f6dc5727d7837a4d544e2e33a98be3bfb46af50f0d8cc7b4a4bc419148d13f86d0f34cf806d90ba5d31312f426f81b7e9
 SHA512 
3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0
+DIST lsof-4.94.0.tar.gz 1340224 BLAKE2B 
b3d3c4707dac22c5431ac37c6a9f28ba5057b9a8dce65038934f1148209ef4615012ed887e263ec648679d0d95a06c78ed83a7d76cc8d97c05c013c563938793
 SHA512 
852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c

diff --git a/sys-process/lsof/lsof-4.94.0.ebuild 
b/sys-process/lsof/lsof-4.94.0.ebuild
new file mode 100644
index 000..da9d568ab34
--- /dev/null
+++ b/sys-process/lsof/lsof-4.94.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P="${P/-/_}"
+DESCRIPTION="Lists open files for running Unix processes"
+HOMEPAGE="https://github.com/lsof-org/lsof";
+SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="lsof"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples ipv6 rpc selinux"
+
+RDEPEND="rpc? ( net-libs/libtirpc )
+   selinux? ( sys-libs/libselinux )"
+DEPEND="${RDEPEND}
+   rpc? ( virtual/pkgconfig )"
+BDEPEND="
+   sys-apps/groff
+"
+
+# needs fixing first
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.85-cross.patch #432120
+)
+
+src_prepare() {
+   default
+   # fix POSIX compliance with `echo`
+   sed -i \
+   -e 's:echo -n:printf:' \
+   AFSConfig Configure Customize Inventory tests/CkTestDB || die
+   # Convert `test -r header.h` into a compile test.
+   # Make sure we convert `test ... -a ...` into two `test` commands
+   # so we can then convert both over into a compile test. #601432
+   sed -i -E \
+   -e '/if test .* -a /s: -a : \&\& test :g' \
+   -e '/test -r/s:test -r 
\$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} 
${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
+   -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo 
"#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
+   Configure || die
+
+   # "create" man-page (bug #689462)
+   # inspired by shipped "makeman" ksh script
+   soelim < Lsof.8 > lsof.8 || die
+}
+
+target() {
+   case ${CHOST} in
+   *-darwin*)  echo darwin  ;;
+   *-freebsd*) echo freebsd ;;
+   *-solaris*) echo solaris ;;
+   *-aix*) echo aixgcc  ;;
+   *)  echo linux   ;;
+   esac
+}
+
+src_configure() {
+   append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || 
echo "-DHASNOTRPC -DHASNORPC_H")
+   append-cppflags $(usex ipv6 -{D,U}HASIPv6)
+   [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE
+   # dummy location -- Darwin needs this for a Configure check to
+   # succeed
+   if [[ -e /usr/include/sys/proc_info.h ]] ; then
+   mkdir -p "${T}"/sys || die
+   ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) 
|| die
+   fi
+   fi
+
+   export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \
+   $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)"
+
+   # Set LSOF_INCLUDE to a dummy location so the script doesn't poke
+   # around in it and mix /usr/include paths with cross-compile/etc.
+   touch .neverInv
+   LINUX_HASSELINUX=$(usex selinux y n) \
+   LSOF_INCLUDE=${T} \
+   LSOF_CC=$(tc-getCC) \
+   LSOF_AR="$(tc-getAR) rc" \
+   LSOF_RANLIB=$(tc-getRANLIB) \
+   LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \
+   ./Configure -n $(target) || die
+}
+
+s

  1   2   >