$Id: patch-obsd32_lsof_4.67 1023 2008-11-28 07:31:02Z ranga $ lsof 4.67 patch for OpenBSD 3.2's /usr/ports/sysutils/lsof Apply by doing: cd /usr/ports patch -p0 < patch-obsd32_lsof_4.67 And then build lsof: cd sysutils/lsof make clean make To install, remove the existing lsof pkg (if installed) and: make install diff -uNr sysutils/lsof.orig/Makefile sysutils/lsof/Makefile --- sysutils/lsof.orig/Makefile Sun Sep 15 12:00:35 2002 +++ sysutils/lsof/Makefile Thu Mar 27 23:45:33 2003 @@ -2,7 +2,7 @@ COMMENT= "list information about open files" -VERSION= 4.63 +VERSION= 4.67 DISTNAME= lsof_${VERSION} PKGNAME= ${DISTNAME:S/_/-/} CATEGORIES= sysutils diff -uNr sysutils/lsof.orig/distinfo sysutils/lsof/distinfo --- sysutils/lsof.orig/distinfo Tue Apr 23 14:36:54 2002 +++ sysutils/lsof/distinfo Thu Mar 27 23:47:22 2003 @@ -1,3 +1,3 @@ -MD5 (lsof_4.63.tar.gz) = edaa2312f6a61fed74e7f15a8fa0217d -RMD160 (lsof_4.63.tar.gz) = c0b16bc6225dad76bffd33714774047046f064df -SHA1 (lsof_4.63.tar.gz) = e3c07efff13cb4cb014eb9fe0e1a9ea1d79d3c08 +SHA1 (lsof_4.67.tar.gz) = bc6339455586e1dbb7e9b1b70af6f43ec12144f1 +RMD160 (lsof_4.67.tar.gz) = 4ff10cd1a7ba4a66c52c25627af2d176d602170c +MD5 (lsof_4.67.tar.gz) = 5216d66e33cd721b05f8aa5bb6530949 diff -urN sysutils/lsof.orig/patches/patch-Configure sysutils/lsof/patches/patch-Configure --- sysutils/lsof.orig/patches/patch-Configure Sun Sep 15 12:17:16 2002 +++ sysutils/lsof/patches/patch-Configure Fri Mar 28 00:20:33 2003 @@ -12,12 +12,6 @@ 3*) LSOF_VERS=3000 echo "!!!WARNING!!! Unsupported OpenBSD version: $LSOF_VSTR" -@@ -2398,7 +2402,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|3010) -+ 1020|2000|2010|2020|2030|2040|2050|2060|2070|2080|2090|3000|3010|3020) - ;; - *) - echo "Unknown OpenBSD version: $LSOF_VERS" + + +