aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2024-11-21 19:13:05 +0000
committerLarry Rosenman <ler@FreeBSD.org>2024-11-21 19:13:05 +0000
commit4821043f882f76eeb5424e9b430bf5ccbfe8755b (patch)
tree3e2fa8efc5a28d7675e9face189b3c558b24742a
parentcb5ba1b39c4ded333ccfb161492327bc8f35ebdb (diff)
sysutils/lsof: update to 4.99.4
PR: 282897 Reported by: Älven <alster@vinterdalen.se>
-rw-r--r--sysutils/lsof/Makefile19
-rw-r--r--sysutils/lsof/distinfo10
-rw-r--r--sysutils/lsof/pkg-descr5
-rw-r--r--sysutils/lsof/pkg-plist3
4 files changed, 13 insertions, 24 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 4c1bac9d7317..f65273c5c932 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -2,14 +2,13 @@
# to commit it. I (ler) don't have access to all the ARCH's
PORTNAME= lsof
-DISTVERSION= 4.99.3
-PORTREVISION= 2
+DISTVERSION= 4.99.4
PORTEPOCH= 8
CATEGORIES= sysutils
MAINTAINER= ler@FreeBSD.org
COMMENT= Lists information about open files (similar to fstat(1))
-WWW= https://github.com/lsof-org/lsof
+WWW= https://github.com/lsof-org/lsof/
LICENSE= lsof
LICENSE_NAME= lsof
@@ -21,11 +20,6 @@ CPE_VENDOR= lsof_project
USE_GITHUB= yes
GH_ACCOUNT= lsof-org
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES= 003c8463fd6b8cf2d25a4b10a874825f8f4b471b.patch \
- 5233d10ec63ba674c250bdc4308c3a22a04f6d20.patch
-PATCH_DIST_STRIP= -p1
-
SHEBANG_FILES= scripts/*.pl
HAS_CONFIGURE= yes
@@ -47,7 +41,7 @@ CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -n freebsd
CONFIGURE_ENV= FREEBSD_SYS="${SRC_BASE}/sys" \
LSOF_CC="${CC}"
-BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
+BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
# GCC needs -lzfs -lzpool for reasons unknown. If someone can
# figure out why, I (ler) am all ears.
@@ -62,9 +56,8 @@ IGNORE+= requires kernel sources
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
(cd ${WRKSRC} && /usr/bin/soelim Lsof.8 > ${WRKSRC}/lsof.8)
- ${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${PREFIX}/share/man/man8/lsof.8
- @${MKDIR} ${STAGEDIR}${PREFIX}/share/lsof
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${PREFIX}/share/lsof
- @${CHMOD} 0444 ${STAGEDIR}${PREFIX}/share/lsof/00*
+ ${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MANDIRS}/man8/lsof.8
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${DATADIR}
.include <bsd.port.post.mk>
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 3a422a129f11..a91b2c4dc35a 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,7 +1,3 @@
-TIMESTAMP = 1711222041
-SHA256 (lsof-org-lsof-4.99.3_GH0.tar.gz) = b9c56468b927d9691ab168c0b1e9f8f1f835694a35ff898c549d383bd8d09bd4
-SIZE (lsof-org-lsof-4.99.3_GH0.tar.gz) = 1134357
-SHA256 (003c8463fd6b8cf2d25a4b10a874825f8f4b471b.patch) = 08a6982c00b937058a700657307b91486c873d8403e8b4ff7e127ce1ab41bbfd
-SIZE (003c8463fd6b8cf2d25a4b10a874825f8f4b471b.patch) = 2670
-SHA256 (5233d10ec63ba674c250bdc4308c3a22a04f6d20.patch) = d035dfdd9de8aebbb901c1992bd934d528808ec4376865e8857f3a219777c825
-SIZE (5233d10ec63ba674c250bdc4308c3a22a04f6d20.patch) = 603
+TIMESTAMP = 1732211983
+SHA256 (lsof-org-lsof-4.99.4_GH0.tar.gz) = 90d02ae35cd14341bfb04ce80e0030767476b0fc414a0acb115d49e79b13d56c
+SIZE (lsof-org-lsof-4.99.4_GH0.tar.gz) = 1135014
diff --git a/sysutils/lsof/pkg-descr b/sysutils/lsof/pkg-descr
index e369c6c5ef76..5073b86272c0 100644
--- a/sysutils/lsof/pkg-descr
+++ b/sysutils/lsof/pkg-descr
@@ -1,7 +1,6 @@
Lsof (LiSt Open Files) lists information about files that are open by the
running processes. An open file may be a regular file, a directory, a block
-special file, a character special file, an executing text reference, a
-library, a stream or a network file (Internet socket, NFS file or Unix domain
-socket).
+special file, a character special file, an executing text reference, a library,
+a stream or a network file (Internet socket, NFS file or Unix domain socket).
See also fstat(1) in the base system.
diff --git a/sysutils/lsof/pkg-plist b/sysutils/lsof/pkg-plist
index 4a1783204c72..48d3d1a6ec2e 100644
--- a/sysutils/lsof/pkg-plist
+++ b/sysutils/lsof/pkg-plist
@@ -2,10 +2,11 @@ share/man/man8/lsof.8.gz
@group kmem
@mode 2755
sbin/lsof
-@mode
@group wheel
+@mode 0444
%%DATADIR%%/00MANIFEST
%%DATADIR%%/00README
+@mode
%%DATADIR%%/big_brother.pl
%%DATADIR%%/count_pf.pl
%%DATADIR%%/identd.pl