Update to lsof-4.61B.n+obsd
Take maintainership, ok angelos - Fix uvm kernel detection on ELF archs, enable lsof on them. Replaced check with a better one. Understand how nlist() works.
This commit is contained in:
parent
c1b886cfaf
commit
107cd46a96
@ -1,16 +1,17 @@
|
||||
# $OpenBSD: Makefile,v 1.35 2001/06/07 00:33:32 angelos Exp $
|
||||
# $OpenBSD: Makefile,v 1.36 2001/12/23 21:17:50 pvalchev Exp $
|
||||
|
||||
COMMENT= "list information about open files"
|
||||
|
||||
DISTNAME= lsof_4.57B.n+obsd
|
||||
PKGNAME= lsof-4.57B
|
||||
VERSION= 4.61B
|
||||
DISTNAME= lsof_${VERSION}.n+obsd
|
||||
PKGNAME= lsof-${VERSION}
|
||||
CATEGORIES= sysutils
|
||||
NEED_VERSION= 1.402
|
||||
NEED_VERSION= 1.502
|
||||
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
|
||||
ftp://ftp.crc.doc.ca/packages/lsof/NEW/ \
|
||||
ftp://ftp.sunet.se/pub/unix/admin/lsof/NEW/
|
||||
|
||||
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
|
||||
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
@ -24,8 +25,7 @@ CONFIGURE_SCRIPT= Configure
|
||||
CONFIGURE_ARGS= -n openbsd
|
||||
CONFIGURE_ENV= LSOF_CC="${CC}"
|
||||
|
||||
SRCBALL_NAME= ${DISTNAME:S/_W$//}
|
||||
|
||||
SRCBALL_NAME= ${DISTNAME}
|
||||
WRKDIST= ${WRKDIR}/${SRCBALL_NAME}
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc"
|
||||
|
3
sysutils/lsof/distinfo
Normal file
3
sysutils/lsof/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (lsof_4.61B.n+obsd.tar.gz) = 065eefbdb6603a55630cd58364b659d8
|
||||
RMD160 (lsof_4.61B.n+obsd.tar.gz) = 9d8efa31ad3bbcc869d909afc5b736d96dcd2f99
|
||||
SHA1 (lsof_4.61B.n+obsd.tar.gz) = a08204aface82d9b7755293c89c99acaa87e411a
|
@ -1,3 +0,0 @@
|
||||
MD5 (lsof_4.57B.n+obsd.tar.gz) = 46e1319da3446b10121e2cd435e7108e
|
||||
RMD160 (lsof_4.57B.n+obsd.tar.gz) = faa43e510d73e63407a30fa73aac177f739321e4
|
||||
SHA1 (lsof_4.57B.n+obsd.tar.gz) = 96f7d5956a87eeafcf6831edb4959354205d0973
|
@ -1,31 +0,0 @@
|
||||
$OpenBSD: patch-Configure,v 1.4 2001/12/18 03:46:33 pvalchev Exp $
|
||||
--- Configure.orig Wed Jun 6 17:28:15 2001
|
||||
+++ Configure Sun Dec 16 23:52:01 2001
|
||||
@@ -2068,6 +2068,9 @@ kernel generation process.
|
||||
2.9*)
|
||||
LSOF_VERS=2090
|
||||
;;
|
||||
+ 3.0*)
|
||||
+ LSOF_VERS=3000
|
||||
+ ;;
|
||||
2*)
|
||||
LSOF_VERS=2080
|
||||
echo "!!!WARNING!!! Unsupported OpenBSD version: $LSOF_VSTR"
|
||||
@@ -2084,7 +2087,7 @@ kernel generation process.
|
||||
# Test for legal OpenBSD version.
|
||||
|
||||
case $LSOF_VERS in # {
|
||||
- 1020|2000|2010|2020|2030|2040|2050|2060|2070|2080|2090)
|
||||
+ 1020|2000|2010|2020|2030|2040|2050|2060|2070|2080|2090|3000)
|
||||
;;
|
||||
*)
|
||||
echo "Unknown OpenBSD version: $LSOF_VERS"
|
||||
@@ -2157,7 +2160,7 @@ kernel generation process.
|
||||
fi # }
|
||||
if test "X$OPENBSD_UVM" = "X" # {
|
||||
then
|
||||
- nm /bsd | grep -q 'B _uvm$'
|
||||
+ nm /bsd | egrep -q 'B _uvm$|B uvm$'
|
||||
if test $? -eq 0 # {
|
||||
then
|
||||
OPENBSD_UVM="Y"
|
Loading…
Reference in New Issue
Block a user