summaryrefslogtreecommitdiff
path: root/sys-process
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-11 07:11:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-11 07:11:53 +0000
commit4b131dc86055ae87f0b1783b79d1ffba7aa66e47 (patch)
tree027fa0deb471c16aa8502fbcff4241aea3616791 /sys-process
parent47d0d6dac7824a756585895e0fd0e68618522d12 (diff)
downloadbaldeagleos-repo-4b131dc86055ae87f0b1783b79d1ffba7aa66e47.tar.gz
baldeagleos-repo-4b131dc86055ae87f0b1783b79d1ffba7aa66e47.tar.xz
baldeagleos-repo-4b131dc86055ae87f0b1783b79d1ffba7aa66e47.zip
Adding metadata
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/lsof/Manifest1
-rw-r--r--sys-process/lsof/lsof-4.99.6.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest
index 54ceebd6520f..04b3fee5447d 100644
--- a/sys-process/lsof/Manifest
+++ b/sys-process/lsof/Manifest
@@ -1 +1,2 @@
DIST lsof-4.99.5.tar.gz 1139280 BLAKE2B 2f11990956b64b5777721f669b231e8f2a520f4535cd3d6023a3d8563c65c83598a4b52c887a2c1c742d12b2f92f724a33873bf460a5fb52255d1622436b1d44 SHA512 1584804fd98f6d416dd1b334832a306abb8e557185523ba255032c3e33fdc472ce4912c50ef70a0ed5e33194ebc4d4853ed7a9baa40c327223614de209c60f13
+DIST lsof-4.99.6.tar.gz 1145434 BLAKE2B 42fbf8ed7dfed8c8570cf830ce8778d9cbbecbd3c0f33800dd7ebfc36e07c7f86075b97bc25c33b70d73b6dde248969bcd7814a792d54cff77f10124f00afd35 SHA512 025317f98b585f266e8cbd02cf7e17dcbd5c630bf927fd710e1700f393464eeebd54de8277955ad6e2d849ebc67ebd7e0ed9bbbc53d4b3754e13cecb29a1f28e
diff --git a/sys-process/lsof/lsof-4.99.6.ebuild b/sys-process/lsof/lsof-4.99.6.ebuild
new file mode 100644
index 000000000000..c850d19f81d1
--- /dev/null
+++ b/sys-process/lsof/lsof-4.99.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool
+
+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 ~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_prepare() {
+ default
+ elibtoolize
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with rpc libtirpc)
+ $(use_with selinux)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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"
+ einfo "/dev/kmem, i.e. you need to be root, or to be in the group sys"
+ fi
+}