upgrade to lsof 4.42

This commit is contained in:
brad 1999-04-18 20:34:28 +00:00
parent 36b1b005f2
commit 84ac639e80
3 changed files with 10 additions and 49 deletions

View File

@ -1,26 +1,23 @@
# $OpenBSD: Makefile,v 1.11 1999/03/10 19:33:48 marc Exp $
#
# $OpenBSD: Makefile,v 1.12 1999/04/18 20:34:28 brad Exp $
DISTNAME= lsof_4.41_W
PKGNAME= lsof-4.41
DISTNAME= lsof_4.42_W
PKGNAME= lsof-4.42
CATEGORIES= sysutils
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/
NO_PACKAGE= compile from source to set proper options
MAINTAINER= angelos@openbsd.org
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/
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -n openbsd
SRCBALL_NAME= ${DISTNAME:S/_W$//}
WRKSRC= ${WRKDIR}/${SRCBALL_NAME}
.if ( ${MACHINE_ARCH} == "sparc" )
IS_INTERACTIVE= yes
.if defined( SUN4 )

View File

@ -1,3 +1,3 @@
SHA1 (lsof_4.41_W.tar.gz) = 3b07d4683ae30457490204b2402969901239823b
RMD160 (lsof_4.41_W.tar.gz) = aba84567f42c1451d2814655fa3da740f06e1cbb
MD5 (lsof_4.41_W.tar.gz) = 4b57c6504bf1397fb64a21d5ff5e887d
MD5 (lsof_4.42_W.tar.gz) = 30b4bf27f46f397d7be5dd0bc1cf1753
RMD160 (lsof_4.42_W.tar.gz) = 5034d29b8ec98d614ef12e9547674ae8e4a34bab
SHA1 (lsof_4.42_W.tar.gz) = af258405d322bbbba103ea6ae369ad8981dbdc29

View File

@ -1,36 +0,0 @@
--- Configure.orig Sat Feb 27 16:40:33 1999
+++ Configure Wed Mar 31 12:13:10 1999
@@ -1704,6 +1704,9 @@
2.4*)
LSOF_VERS=2040
;;
+ 2.5*)
+ LSOF_VERS=2050
+ ;;
*)
echo Unknown OpenBSD release: `uname -r`
@@ -1716,7 +1719,7 @@
# Test for legal OpenBSD version.
case $LSOF_VERS in # {
- 1020|2000|2010|2020|2030|2040)
+ 1020|2000|2010|2020|2030|2040|2050)
;;
*)
echo "Unsupported OpenBSD version: $LSOF_VERS"
@@ -1724,7 +1727,13 @@
exit 1
;;
esac # }
- LSOF_CFGF="-DOPENBSDV=$LSOF_VERS -DN_UNIXV=/bsd"
+ LSOF_CFGF="-DOPENBSDV=$LSOF_VERS"
+ if test -c /dev/ksyms
+ then
+ LSOF_CFGF="$LSOF_CFGF -DN_UNIXV=/dev/ksyms"
+ else
+ LSOF_CFGF="$LSOF_CFGF -DN_UNIXV=/bsd"
+ fi
if test -r ${LSOF_INCLUDE}/nfs/nfsproto.h # {
then
LSOF_CFGF="$LSOF_CFGF -DHASNFSPROTO"