recognize 4.5, from Brad

This commit is contained in:
sthen 2009-02-15 23:46:08 +00:00
parent 5fa3c1cf10
commit 7da86fc3d3
2 changed files with 14 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.64 2009/01/01 22:31:43 pvalchev Exp $
# $OpenBSD: Makefile,v 1.65 2009/02/15 23:46:08 sthen Exp $
COMMENT= list information about open files
VERSION= 4.81
DISTNAME= lsof_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}
PKGNAME= ${DISTNAME:S/_/-/}p0
CATEGORIES= sysutils
MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ \

View File

@ -1,7 +1,7 @@
$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); }
$OpenBSD: patch-Configure,v 1.25 2009/02/15 23:46:08 sthen Exp $
--- Configure.orig Tue Oct 21 12:21:45 2008
+++ Configure Sun Feb 15 18:34:42 2009
@@ -3687,6 +3687,36 @@ return(0); }
echo "!!!WARNING!!! Unsupported OpenBSD 3.x version: $LSOF_VSTR"
echo "!!!WARNING!!! Configuring for OpenBSD 3.9"
;;
@ -25,21 +25,25 @@ $OpenBSD: patch-Configure,v 1.24 2008/07/02 19:02:20 brad Exp $
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4040
+ ;;
+ 4.5*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4050
+ ;;
+ 4*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4040
+ LSOF_VERS=4050
+ echo "!!!WARNING!!! Unsupported OpenBSD 4.x version: $LSOF_VSTR"
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.4"
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.5"
+ ;;
*)
echo "Unknown OpenBSD release: $LSOF_VSTR"
echo Assuming OpenBSD 3.9
@@ -3392,7 +3418,7 @@ return(0); }
@@ -3698,7 +3728,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|4040)
+ 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090|4000|4010|4020|4030|4040|4050)
;;
*)
echo "Unknown OpenBSD version: $LSOF_VERS"