From hscholz@goanna.raisdorf.net  Sun Aug 22 12:24:19 2004
Return-Path: <hscholz@goanna.raisdorf.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1C93216A4CE; Sun, 22 Aug 2004 12:24:19 +0000 (GMT)
Received: from goanna.raisdorf.net (p5086DBFB.dip.t-dialin.net [80.134.219.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 2167743D1F; Sun, 22 Aug 2004 12:24:17 +0000 (GMT)
	(envelope-from hscholz@goanna.raisdorf.net)
Received: from goanna.raisdorf.net (localhost [127.0.0.1])
	by goanna.raisdorf.net (8.13.1/8.13.1) with ESMTP id i7MCOHiY005857;
	Sun, 22 Aug 2004 14:24:18 +0200 (CEST)
	(envelope-from hscholz@goanna.raisdorf.net)
Received: (from hscholz@localhost)
	by goanna.raisdorf.net (8.13.1/8.13.1/Submit) id i7MCOG59005856;
	Sun, 22 Aug 2004 14:24:16 +0200 (CEST)
	(envelope-from hscholz)
Message-Id: <200408221224.i7MCOG59005856@goanna.raisdorf.net>
Date: Sun, 22 Aug 2004 14:24:16 +0200 (CEST)
From: Hendrik Scholz <hendrik@scholz.net>
Reply-To: Hendrik Scholz <hendrik@scholz.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: obrien@freebsd.org
Subject: [patch] upgrade sysutils/lsof (unbreak on -current)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70818
>Category:       ports
>Synopsis:       [patch] upgrade sysutils/lsof (unbreak on -current)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 22 12:30:35 GMT 2004
>Closed-Date:    Mon Aug 23 06:48:20 GMT 2004
>Last-Modified:  Mon Aug 23 06:48:20 GMT 2004
>Originator:     Hendrik Scholz
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD goanna.raisdorf.net 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Thu Aug 19 22:28:24 CEST 2004 hscholz@goanna.raisdorf.net:/usr/cvs-src/sys/i386/compile/GOANNA i386

and

FreeBSD abc.123.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Aug 18 15:44:45 CEST 2004     admin@abc.123.org:/usr/obj/usr/src/sys/GENERIC  i386

	
>Description:

lsof doesn't compile on recent -current systems:

===>  Building for lsof-4.72.1
(cd lib; make DEBUG="-O" CFGF="-pipe -DFREEBSDV=2000 -DHAS9660FS -DHASIPv6 -DLSOF_VSTR=\"6.0-CURRENT\"")
cc  -pipe -DFREEBSDV=2000 -DHAS9660FS -DHASIPv6 -DLSOF_VSTR="6.0-CURRENT"  -O -c ckkv.c
In file included from ../lsof.h:181,
                 from ckkv.c:43:
../dlsof.h:149:29: ufs/mfs/mfsnode.h: No such file or directory
../dlsof.h:155:23: nfs/nfsv2.h: No such file or directory
../dlsof.h:168:21: nfs/nfs.h: No such file or directory
../dlsof.h:169:25: nfs/nfsnode.h: No such file or directory
In file included from ../dlsof.h:264,
                 from ../lsof.h:181,
                 from ckkv.c:43:
/usr/include/sys/eventvar.h:33:2: #error "no user-servicable parts inside"
In file included from ../dlsof.h:298,
                 from ../lsof.h:181,
                 from ckkv.c:43:
/usr/include/vm/vm_map.h:192: error: syntax error before "pmap_t"
/usr/include/vm/vm_map.h:236: error: field `vm_pmap' has incomplete type
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.73A.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.73A.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.

>How-To-Repeat:
	
>Fix:

There is a new version available. 00DIST in the tarball contains a note
that support for FreeBSD 6.0 has been added.

	

--- lsof-4.73B.diff begins here ---
--- Makefile.orig	Sun Aug 22 10:46:01 2004
+++ Makefile	Sun Aug 22 10:57:19 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	lsof
-PORTVERSION=	4.72.1
+PORTVERSION=	4.72.2
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  \
 		ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
@@ -24,7 +24,7 @@
 		ftp://ftp.tau.ac.il/pub/unix/admin/
 FIXUP_RELEASE=	yes
 .if defined(FIXUP_RELEASE)
-DISTNAME=	${PORTNAME}_4.73A.freebsd
+DISTNAME=	${PORTNAME}_4.73B.freebsd
 .else
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 .endif
--- distinfo.orig	Sun Aug 22 10:46:08 2004
+++ distinfo	Sun Aug 22 10:57:21 2004
@@ -1,2 +1,2 @@
-MD5 (lsof_4.73A.freebsd.tar.bz2) = 504b7f22d7571f3dd6c48fe080ed22ee
-SIZE (lsof_4.73A.freebsd.tar.bz2) = 437860
+MD5 (lsof_4.73B.freebsd.tar.bz2) = d07780cac21af71d6b81406830981607
+SIZE (lsof_4.73B.freebsd.tar.bz2) = 438789
--- lsof-4.73B.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->obrien  
Responsible-Changed-By: krion 
Responsible-Changed-When: Sun Aug 22 13:16:38 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70818 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Mon Aug 23 06:47:38 GMT 2004 
State-Changed-Why:  
I will commit a fix when Vic Abell sends me mail with an offical update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70818 
>Unformatted:
