diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 4c1bac9d7317..f65273c5c932 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,70 +1,63 @@ # note: If someone has a fix for a particular ARCH please feel free # 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 LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= compiler cpe shebangfix 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 CFLAGS_powerpcspe= -DBOOKE OPTIONS_DEFINE_powerpc64= AIM BOOKE OPTIONS_DEFAULT_powerpc64= AIM AIM_DESC= Set for AIM hardware BOOKE_DESC= Set for BOOKE hardware AIM_CFLAGS= -DAIM BOOKE_CFLAGS= -DBOOKE .include 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. .if ${CHOSEN_COMPILER_TYPE} == gcc CONFIGURE_ENV+= LSOF_CFGL="-lzfs -lzpool" .endif .if !exists(${SRC_BASE}/sys/kern/kern_lockf.c) IGNORE+= requires kernel sources .endif 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 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 @@ -1,19 +1,20 @@ 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 %%DATADIR%%/idrlogin.pl %%DATADIR%%/list_NULf.pl %%DATADIR%%/list_fields.awk %%DATADIR%%/list_fields.pl %%DATADIR%%/shared.pl %%DATADIR%%/sort_res.pl %%DATADIR%%/watch_a_file.pl %%DATADIR%%/xusers.awk