lsof: update to 4.94.0

Upstream switched to GitHub and changed their tarball. Adjusted.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-11-24 20:32:19 -08:00
parent 1d3c84d4e6
commit 2ecbc04423
5 changed files with 9 additions and 43 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
--- a/print.c
+++ b/print.c
@@ -161,6 +161,7 @@ endnm(sz)
@@ -160,6 +160,7 @@ endnm(sz)
static void
fill_portmap()
{
@@ -8,7 +8,7 @@
char buf[128], *cp, *nm;
CLIENT *c;
int h, port, pr;
@@ -279,6 +280,7 @@ fill_portmap()
@@ -278,6 +279,7 @@ fill_portmap()
Pth[pr][h] = pt;
}
clnt_destroy(c);
+1 -3
View File
@@ -1,8 +1,6 @@
diff --git a/Configure b/Configure
index e4a25a2..3a6e78b 100755
--- a/Configure
+++ b/Configure
@@ -2976,7 +2976,7 @@ return(0); }
@@ -2991,7 +2991,7 @@ return(0); }
LSOF_TMP1=1
fi # }
fi # }
+1 -3
View File
@@ -1,8 +1,6 @@
diff --git a/Configure b/Configure
index 3a6e78b..a2946c6 100755
--- a/Configure
+++ b/Configure
@@ -2841,6 +2841,9 @@ LOCKF_OWNER4
@@ -2850,6 +2850,9 @@ LOCKF_OWNER4
if test "X$LSOF_CC" = "X" # {
then
LSOF_CC=cc
@@ -1,24 +0,0 @@
diff --git a/dialects/linux/Makefile b/dialects/linux/Makefile
index 2bea108..ed8382e 100644
--- a/dialects/linux/Makefile
+++ b/dialects/linux/Makefile
@@ -78,8 +78,8 @@ version.h: FRC
@echo '#define LSOF_BLDCMT "${LSOF_BLDCMT}"' > version.h;
@echo '#define LSOF_CC "${CC}"' >> version.h
@echo '#define LSOF_CCV "${CCV}"' >> version.h
- @echo '#define LSOF_CCDATE "'`date`'"' >> version.h
- @echo '#define LSOF_CCFLAGS "'`echo ${CFLAGS} | sed 's/\\\\(/\\(/g' | sed 's/\\\\)/\\)/g' | sed 's/"/\\\\"/g'`'"' >> version.h
+ @echo '#define LSOF_CCDATE "'`date -d @${SOURCE_DATE_EPOCH}`'"' >> version.h
+ @echo '#define LSOF_CCFLAGS ""' >> version.h
@echo '#define LSOF_CINFO "${CINFO}"' >> version.h
@if [ "X${LSOF_HOST}" = "X" ]; then \
echo '#define LSOF_HOST "'`uname -n`'"' >> version.h; \
@@ -90,7 +90,7 @@ version.h: FRC
echo '#define LSOF_HOST "${LSOF_HOST}"' >> version.h; \
fi \
fi
- @echo '#define LSOF_LDFLAGS "${CFGL}"' >> version.h
+ @echo '#define LSOF_LDFLAGS ""' >> version.h
@if [ "X${LSOF_LOGNAME}" = "X" ]; then \
echo '#define LSOF_LOGNAME "${LOGNAME}"' >> version.h; \
else \