make lsof recognize OpenBSD 2.6

This commit is contained in:
brad 1999-09-28 20:00:35 +00:00
parent 603e0a86b3
commit 29063d6ead
2 changed files with 25 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 1999/09/19 22:16:48 angelos Exp $
# $OpenBSD: Makefile,v 1.16 1999/09/28 20:00:35 brad Exp $
DISTNAME= lsof_4.45_W
PKGNAME= lsof-4.45
@ -7,10 +7,10 @@ MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
ftp://ftp.crc.doc.ca/packages/lsof/ \
ftp://ftp.sunet.se/pub/unix/admin/lsof/
NEED_VERSION= 1.92
NO_PACKAGE= "compile from source to set proper options"
NEED_VERSION= 1.114
MAINTAINER= angelos@openbsd.org
HAS_CONFIGURE= yes
@ -62,6 +62,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/lsof.man ${PREFIX}/man/man1/lsof.1
@${MKDIR} ${PREFIX}/share/lsof
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@chmod 0444 ${PREFIX}/share/lsof/00*
@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
.include <bsd.port.mk>

View File

@ -0,0 +1,21 @@
--- Configure.orig Tue Sep 28 15:41:34 1999
+++ Configure Tue Sep 28 15:44:22 1999
@@ -1868,6 +1868,9 @@
2.5*)
LSOF_VERS=2050
;;
+ 2.6*)
+ LSOF_VERS=2060
+ ;;
*)
echo Unknown OpenBSD release: `uname -r`
@@ -1880,7 +1883,7 @@
# Test for legal OpenBSD version.
case $LSOF_VERS in # {
- 1020|2000|2010|2020|2030|2040|2050)
+ 1020|2000|2010|2020|2030|2040|2050|2060)
;;
*)
echo "Unsupported OpenBSD version: $LSOF_VERS"