- Update to 4.83
PR: 142947 Submitted by: Larry Rosenman <ler@lerctr.org> (maintainer)
This commit is contained in:
parent
27c45b3a65
commit
3624693c1d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248320
3 changed files with 6 additions and 34 deletions
|
@ -7,8 +7,8 @@
|
|||
#
|
||||
|
||||
PORTNAME= lsof
|
||||
PORTVERSION= 4.83C
|
||||
PORTEPOCH= 4
|
||||
PORTVERSION= 4.83
|
||||
PORTEPOCH= 5
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.SpringDaemons.com/stas/ \
|
||||
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \
|
||||
|
@ -31,7 +31,7 @@ MAINTAINER= ler@lerctr.org
|
|||
COMMENT= Lists information about open files (similar to fstat(1))
|
||||
|
||||
#Please leave the below line in for the next clean up.
|
||||
FIXUP_RELEASE= YES
|
||||
#FIXUP_RELEASE= YES
|
||||
.if defined(FIXUP_RELEASE)
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}.freebsd
|
||||
.else
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (lsof_4.83C.freebsd.tar.bz2) = 097fd3d1d537a3e1cadf624b2513141e
|
||||
SHA256 (lsof_4.83C.freebsd.tar.bz2) = 0630a80e03b1a44a751273d424734d36e4c244cb9fa6b9475e0d0a445dac24eb
|
||||
SIZE (lsof_4.83C.freebsd.tar.bz2) = 473446
|
||||
MD5 (lsof_4.83.tar.bz2) = 8f731a6251b8c0143d585df0d5ca779e
|
||||
SHA256 (lsof_4.83.tar.bz2) = b89f930bbe36b970e3cd070b9860ee701d8c7285ffedf2fbcec0e5fa3cb1f544
|
||||
SIZE (lsof_4.83.tar.bz2) = 753094
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
--- Configure
|
||||
+++ Configure
|
||||
@@ -2156,6 +2156,10 @@
|
||||
then
|
||||
LSOF_CFGF="$LSOF_CFGF -DHASIPv6"
|
||||
fi # }
|
||||
+ if test -r ${LSOF_INCLUDE}/utmpx.h # {
|
||||
+ then
|
||||
+ LSOF_CFGF="$LSOF_CFGF -DHASUTMPX"
|
||||
+ fi # }
|
||||
LSOF_DIALECT_DIR=freebsd
|
||||
;;
|
||||
|
||||
--- lsof.h
|
||||
+++ lsof.h
|
||||
@@ -267,10 +267,11 @@
|
||||
# if !defined(LOGINML)
|
||||
# if defined(HASUTMPX)
|
||||
static struct utmpx dummy_utmp; /* to get login name length */
|
||||
+#define LOGINML sizeof(dummy_utmp.ut_user)
|
||||
# else /* !defined(HASUTMPX) */
|
||||
static struct utmp dummy_utmp; /* to get login name length */
|
||||
-# endif /* defined(HASUTMPX) */
|
||||
#define LOGINML sizeof(dummy_utmp.ut_name)
|
||||
+# endif /* defined(HASUTMPX) */
|
||||
/* login name length */
|
||||
# endif /* !defined(LOGINML) */
|
||||
|
Loading…
Reference in a new issue