update to lsof-4.63

This commit is contained in:
pvalchev 2002-04-23 21:36:54 +00:00
parent 32dca63fd4
commit 596d558aed
5 changed files with 9 additions and 60 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.40 2002/02/03 03:15:31 angelos Exp $ # $OpenBSD: Makefile,v 1.41 2002/04/23 21:36:54 pvalchev Exp $
COMMENT= "list information about open files" COMMENT= "list information about open files"
VERSION= 4.61 VERSION= 4.63
DISTNAME= lsof_${VERSION} DISTNAME= lsof_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}p1 PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= sysutils CATEGORIES= sysutils
NEED_VERSION= 1.504 NEED_VERSION= 1.524
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \ MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://ftp.crc.doc.ca/packages/lsof/ \ ftp://ftp.crc.doc.ca/packages/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/ ftp://ftp.sunet.se/pub/unix/admin/lsof/

View File

@ -1,3 +1,3 @@
MD5 (lsof_4.61.tar.gz) = 583398bc99d265c5a64dbc30e99305cb MD5 (lsof_4.63.tar.gz) = edaa2312f6a61fed74e7f15a8fa0217d
RMD160 (lsof_4.61.tar.gz) = 6589ad2b2d33d52fc01f3e529da8c7db77a1f3bf RMD160 (lsof_4.63.tar.gz) = c0b16bc6225dad76bffd33714774047046f064df
SHA1 (lsof_4.61.tar.gz) = 4e118f91f3c46e0d81422a4cf04f03ae34641915 SHA1 (lsof_4.63.tar.gz) = e3c07efff13cb4cb014eb9fe0e1a9ea1d79d3c08

View File

@ -1,37 +0,0 @@
$OpenBSD: patch-Configure,v 1.7 2002/03/24 20:26:36 pvalchev Exp $
--- Configure.orig Tue Jan 22 05:41:44 2002
+++ Configure Sun Mar 24 13:09:27 2002
@@ -2277,10 +2277,13 @@ kernel generation process.
3.0*)
LSOF_VERS=3000
;;
+ 3.1*)
+ LSOF_VERS=3010
+ ;;
3*)
- LSOF_VERS=3000
+ LSOF_VERS=3010
echo "!!!WARNING!!! Unsupported OpenBSD version: $LSOF_VSTR"
- echo "!!!WARNING!!! Configuring for OpenBSD 3.0"
+ echo "!!!WARNING!!! Configuring for OpenBSD 3.1"
;;
*)
echo "Unknown OpenBSD release: $LSOF_VSTR"
@@ -2293,7 +2296,7 @@ kernel generation process.
# Test for legal OpenBSD version.
case $LSOF_VERS in # {
- 1020|2000|2010|2020|2030|2040|2050|2060|2070|2080|2090|3000)
+ 1020|2000|2010|2020|2030|2040|2050|2060|2070|2080|2090|3000|3010)
;;
*)
echo "Unknown OpenBSD version: $LSOF_VERS"
@@ -2301,7 +2304,7 @@ kernel generation process.
exit 1
;;
esac # }
- LSOF_CFGF="-DOPENBSDV=$LSOF_VERS -DN_UNIXV=/bsd"
+ LSOF_CFGF="-DOPENBSDV=$LSOF_VERS"
if test -r ${LSOF_INCLUDE}/nfs/nfsproto.h # {
then
LSOF_CFGF="$LSOF_CFGF -DHASNFSPROTO"

View File

@ -1,5 +1,5 @@
--- dialects/n+obsd/Makefile.orig Thu Nov 1 13:26:34 2001 --- dialects/n+obsd/Makefile.orig Tue Apr 16 12:03:04 2002
+++ dialects/n+obsd/Makefile Tue Jan 29 12:05:19 2002 +++ dialects/n+obsd/Makefile Tue Apr 23 14:25:34 2002
@@ -14,7 +14,6 @@ S=/usr/include/sys @@ -14,7 +14,6 @@ S=/usr/include/sys
L=/usr/include/local L=/usr/include/local
P= P=

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-dialects_n+obsd_dlsof_h,v 1.1 2002/01/29 19:40:51 pvalchev Exp $
--- dialects/n+obsd/dlsof.h.orig Mon Jan 14 08:55:48 2002
+++ dialects/n+obsd/dlsof.h Tue Jan 29 12:12:09 2002
@@ -262,9 +262,7 @@ typedef u_long KA_T;
#define MALLOC_P void
#define FREE_P MALLOC_P
#define MALLOC_S size_t
-#define N_UNIX_TMP(x) #x
-#define N_UNIX_STR(x) N_UNIX_TMP(x)
-#define N_UNIX N_UNIX_STR(N_UNIXV)
+#define N_UNIX "/dev/ksyms"
#define QSORT_P void
#define READLEN_T int
#define STRNCPY_L size_t