Allow lsof to recognize 4.4.
ok naddy@
This commit is contained in:
parent
76fca74c8d
commit
bfec222465
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.61 2008/02/22 20:56:05 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.62 2008/07/02 19:02:19 brad Exp $
|
||||
|
||||
COMMENT= list information about open files
|
||||
|
||||
VERSION= 4.77
|
||||
DISTNAME= lsof_${VERSION}
|
||||
PKGNAME= ${DISTNAME:S/_/-/}p1
|
||||
PKGNAME= ${DISTNAME:S/_/-/}p2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
|
||||
ftp://ftp.ayamura.org/pub/lsof/ \
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-Configure,v 1.23 2008/02/22 20:56:05 naddy Exp $
|
||||
--- Configure.orig Mon Apr 10 06:44:22 2006
|
||||
+++ Configure Fri Feb 22 13:32:07 2008
|
||||
@@ -3381,6 +3381,28 @@ return(0); }
|
||||
$OpenBSD: patch-Configure,v 1.24 2008/07/02 19:02:20 brad Exp $
|
||||
--- Configure.orig Mon Apr 10 08:44:22 2006
|
||||
+++ Configure Wed Jul 2 14:27:55 2008
|
||||
@@ -3381,6 +3381,32 @@ return(0); }
|
||||
echo "!!!WARNING!!! Unsupported OpenBSD 3.x version: $LSOF_VSTR"
|
||||
echo "!!!WARNING!!! Configuring for OpenBSD 3.9"
|
||||
;;
|
||||
@ -21,21 +21,25 @@ $OpenBSD: patch-Configure,v 1.23 2008/02/22 20:56:05 naddy Exp $
|
||||
+ LSOF_TSTBIGF=" "
|
||||
+ LSOF_VERS=4030
|
||||
+ ;;
|
||||
+ 4.4*)
|
||||
+ LSOF_TSTBIGF=" "
|
||||
+ LSOF_VERS=4040
|
||||
+ ;;
|
||||
+ 4*)
|
||||
+ LSOF_TSTBIGF=" "
|
||||
+ LSOF_VERS=4010
|
||||
+ LSOF_VERS=4040
|
||||
+ echo "!!!WARNING!!! Unsupported OpenBSD 4.x version: $LSOF_VSTR"
|
||||
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.1"
|
||||
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.4"
|
||||
+ ;;
|
||||
*)
|
||||
echo "Unknown OpenBSD release: $LSOF_VSTR"
|
||||
echo Assuming OpenBSD 3.9
|
||||
@@ -3392,7 +3414,7 @@ return(0); }
|
||||
@@ -3392,7 +3418,7 @@ return(0); }
|
||||
# Test for legal OpenBSD version.
|
||||
|
||||
case $LSOF_VERS in # {
|
||||
- 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090)
|
||||
+ 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090|4000|4010|4020|4030)
|
||||
+ 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090|4000|4010|4020|4030|4040)
|
||||
;;
|
||||
*)
|
||||
echo "Unknown OpenBSD version: $LSOF_VERS"
|
||||
|
Loading…
Reference in New Issue
Block a user