From owner-freebsd-ports Mon Feb 3 15:50:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA28574 for ports-outgoing; Mon, 3 Feb 1997 15:50:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA28566; Mon, 3 Feb 1997 15:50:01 -0800 (PST) Resent-Date: Mon, 3 Feb 1997 15:50:01 -0800 (PST) Resent-Message-Id: <199702032350.PAA28566@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, skynyrd@opus.cts.cwu.edu Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA28363 for ; Mon, 3 Feb 1997 15:43:23 -0800 (PST) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.6.13/8.6.9) with ESMTP id PAA03487 for ; Mon, 3 Feb 1997 15:43:14 -0800 Received: (from skynyrd@localhost) by opus.cts.cwu.edu (8.8.5/8.8.5) id PAA00853; Mon, 3 Feb 1997 15:43:14 -0800 (PST) Message-Id: <199702032343.PAA00853@opus.cts.cwu.edu> Date: Mon, 3 Feb 1997 15:43:14 -0800 (PST) From: Chris Timmons Reply-To: skynyrd@opus.cts.cwu.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/2650: lsof port stale; new patch required for recent version Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2650 >Category: ports >Synopsis: lsof port stale; new patch required for recent version >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 3 15:50:00 PST 1997 >Last-Modified: >Originator: Chris Timmons >Organization: Central Washington University >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: Our lsof port is several revisions behind and is no longer available from many of the repository sites. Further, /usr/src/sys/vm/vm_map.h in revision 1.21 changes vm map entry flags which lsof needs, requiring a simple patch to fix. >How-To-Repeat: >Fix: Updating the Makefile is trivial # diff -r /usr/ports/sysutils/lsof lsof diff -r /usr/ports/sysutils/lsof/Makefile lsof/Makefile 6c6 < # $Id: Makefile,v 1.4 1996/12/11 19:10:34 obrien Exp $ --- > # $Id: Makefile,v 1.1 1997/02/03 22:47:03 root Exp root $ 9,10c9,10 < DISTNAME= lsof_3.82_W < PKGNAME= lsof-3.82 --- > DISTNAME= lsof_3.86_W > PKGNAME= lsof-3.86 diff -r /usr/ports/sysutils/lsof/files/md5 lsof/files/md5 1c1 < MD5 (lsof_3.82_W.tar.gz) = 1bfe247769f8d024c75cf396099aeadf --- > MD5 (lsof_3.86_W.tar.gz) = ca3e96d55bf99950008940d7cefb7e43 Only in lsof/patches: patch-ab THEN, ADD PATCH-AB: - - - - - *** dialects/freebsd/dproc.c.orig Mon Feb 3 15:07:02 1997 --- dialects/freebsd/dproc.c Mon Feb 3 15:13:19 1997 *************** *** 481,487 **** --- 481,492 ---- if (kread(ka, (char *)e, sizeof(vmme))) return; } + + #if FREEBSDV<300 if (e->is_a_map || e->is_sub_map) + #else /* FREEBSDV>=300 */ + if (e->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) + #endif /* FREEBSDV<300 */ continue; /* * Read the map entry's object and the object's shadow. >Audit-Trail: >Unformatted: