Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 1999 20:49:37 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9684: [PATCH] sysutils/lsof broken for 4.0-CURRENT
Message-ID:  <12152.917290177@axl.noc.iafrica.com>

next in thread | raw e-mail | index | archive | help

>Number:         9684
>Category:       ports
>Synopsis:       [PATCH] sysutils/lsof broken for 4.0-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 25 11:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Sheldon Hearn
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
UUNET Internet Africa
>Environment:

	FreeBSD 4.0-CURRENT

>Description:

	The Configure script for sysutils/lsof doesn't know about
	FreeBSD 4.0 and assumes a FreeBSD 2.2 environment, where
	libkvm doesn't exist (I think, perhaps it's just different).

>How-To-Repeat:

	On a machine where ``uname -r'' reports 4.0-CURRENT, do
	``cd /usr/ports/sysutils/lsof; make''.

>Fix:
	
	The following diff to the port's patch-ab teaches lsof's
	Configure script about FreeBSD 4.0:

Index: ports/sysutils/lsof/patches/patch-ab
===================================================================
RCS file: /home/ncvs/ports/sysutils/lsof/patches/patch-ab,v
retrieving revision 1.1
diff -u -d -r1.1 patch-ab
--- patch-ab	1999/01/04 05:43:31	1.1
+++ patch-ab	1999/01/25 18:37:43
@@ -11,6 +11,18 @@
         LSOF_VSTR=`uname -r`
 --- 694,699 ----
 ***************
+*** 723,728 ****
+--- 722,730 ----
+        3.0*)
+  	LSOF_VERS=300
+  	;;
++       4.0*)
++ 	LSOF_VERS=300
++ 	;;
+        *)
+  	echo Unknown FreeBSD release: `uname -r`
+  	echo Assuming FreeBSD 2.x
+***************
 *** 2608,2618 ****
   
   echo "# $LSOF_TGT Makefile for lsof version $LSOF_VN" > $LSOF_MKFC
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12152.917290177>