Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id B4177A5809 for ; Thu, 27 Mar 2014 19:26:54 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id F29C414A2DC; Thu, 27 Mar 2014 19:26:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4449314A2D9 for ; Thu, 27 Mar 2014 19:26:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gwo1ucLlmt_j for ; Thu, 27 Mar 2014 19:26:41 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id F380714A2BF for ; Thu, 27 Mar 2014 19:26:40 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id ED95596; Thu, 27 Mar 2014 19:26:40 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 27 Mar 2014 19:26:40 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/sysutils/lsof To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20140327192640.ED95596@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: ryoon Date: Thu Mar 27 19:26:40 UTC 2014 Modified Files: pkgsrc/sysutils/lsof: Makefile distinfo Log Message: Update to 4.87 Changelog: 4.85 September 27, 2011 John Dzubera kindly provided a patched Solaris 9 test system with the lgrp_root conflict and I was able to devise an automatic work-around for the conflict. The special note in .../dialects/sun/machine.h was removed and the 17.28.1 FAQ entry was modified to reflect the update. Added a Solaris 11 work-around for a typedef problem with . Carson Gaspar reported the problem and supplied the work-around. Added support for FreeBSD 7.4 and 8.2; tested on systems provided by Larry Rosenman . Added support for 32 bit Solaris 11 lsof with mods supplied by Jan Wortelboer . Added Solaris 11 support for using an alternate genunix location. Bill Goodridge reported the alternate location. Added further Linux cross configuration support to lsof's Configure script. The additional support was supplied by Grant Erickson . See the descriptions of the LINUX_* environmen variables in 00XCONFIG for more information. Tested lsof on Linux kernel 2.6.32 and picked some lint that surfaced during the test. Added fixes and changes for Apple Mac OS X 10.6, provided by Allan Nathanson . Allan also provided a test system. Tested on FreeBSD 6.4 i386, using a test system provided by Terry Kennedy . Updated for recent FreeBSD ZFS changes on an 8.2 amd64 test system also provided by Terry. Changed documentation to indicate FreeBSD 7.x is no longer supported, since I no longer have a test system. Made some changes to the lsof man page, suggested by Navid . Added compensation for Solaris 10 systems that have patch 144488-10. The patch requires that the new header file be included while _KERNEL is defined. Brett Bartick reported the problem first, followed by Stuart Anderson . Michael Hocke suggested a work-around which I refined to limit it to the specific Solaris 10 instance and then tested on a system provided by Charles Stephens Added the +|-e option for Linux. It exempts file systems named by path from function calls that might block in the kernel -- i.e., stat(2) and lstat(2), and when the +e form is used, readlink (2). The new packager of lsof for the Linux Fedora and RHEL distributions, Peter Schiffer , asked for the feature so it could be used with Clearcase file systems, whose implementation can block stat(2) calls. I consider this feature very risky and easy to misuse -- e.g., specifying the file system as '/' would exempt all file systems. I don't intend to propagate this option to any other UNIX dialect that lsof currently supports. Made FreeBSD 9 adjustment. Fixed a Linux bug that prevented the display of paths for abstact UNIX sockets. Masatake Yamato reported the bug and supplied a patch. Added compensation for the removal of RPC header files from GlibC 2.14 for Linux. Marek Behun reported the problem and supplied a patch. Added support for Linux Netlink protocol. Masatake Yamato requested the support and supplied a patch. Peter Schiffer provided a test system. Corrected Linux UDP6-lite path. The error was reported by Masatake Yamato and he also supplied a patch. 4.86 April 10, 2012 Lsof for AIX is no longer supported on any versions of that operating system. Added information about the clang compiler for FreeBSD to the FAQ. Corrected an arg.c bug in the accumulation of +|-e option values, reported by Peter Schiffer . This correction was supplied as a patch to revision 4.85. Enabled FreeBSD 10 support and tested it there on a system provided by Larry Rosenman . Updated for latest Solaris 11 with patches supplied by Carson Gaspar . Carson supplied a test system. Adjusted Linux file system search method to compensate for NFS mounts that have duplicate device numbers. The problem was reported by Peter Schiffer , who provided a test system. At the request of Peter Schiffer , added support for Linux SCTP socket files. Peter provided a test system. Applied a warning patch supplied by Peter. Added support for Mac OS X 10.7 (Lion), provided by Allan Nathanson . Allan also supplied a test system. Enabled FreeBSD 8.3 support and tested it there on a system provided by Larry Rosenman . Corrected the FAQ information on ZFS with Solaris 10 after Steven Blackmon and Prasad Jampala pointed out that it was incorrect -- i.e., outdated by the libctf changes at revision 4.83. Added code to handle a Linux NFS-mounted root. Jia He reported the need for this. 4.87 January 2, 2013 Added an entry to 00FAQ about lsof behavior when the HASSECURITY and HASNOSOCKSECURITY options are defined. Carson Gaspar pointed out the need for this clarification. Added a work-around for a missing definition of mach_port_t in Darwin 9 (Mac OS/X 10.5.8). The work-around was supplied by Jim Reid . Added support for Linux anon_inodefs, provided by Masatake YAMATO . Documented a Solaris 9 and 10 portmap reporting problem (+M) in 00FAQ. The problem was reported by Clint Roberts . I have no solution to the problem, but discuss a possible work-around in the answer to this 00FAQ question: "Why doesn't lsof report portmap registrations for some Solaris versions?" Added FreeBSD support for the oldnfs and newnfs file system types. Daniel Braniss reported the need for the addition. Added ICMP socket support for Linux with code provided by Masatake YAMATO . Corrected the reporting of process group ID for libproc versions of Mac OS X with a patch from Jeff Trawick . The patch has not been applied to Darwin kmem versions, because of little call for them and inadequate test system access. The patch has been tested on Mac OS X 10.8 (Mountain Lion), courtesy of a test system provided by Allan Nathanson . Added thread support to those FreeBSD versions that have ki_numthreads in their kinfo_proc structure. This also activates the -K option for those FreeBSD versions. Jeff Trawick reported problems with FreeBSD lsof when threads are present and this addition solves those problems. Made changes to 00FAQ and the distribution, suggested by Warren Young . The 00FAQ changes center on sections that discuss the -s option. The changes to the distribution include a ChangeLog file that is either a pointer to or a copy of 00DIST, the distribution notes. Added support to FreeBSD for using the clang compiler. Added Linux support for using the getxattr() call to obtain socket protocol identification when it is can't be obtained from the /proc/net files that lsof examines. Masatake YAMATO developed the kernel patch to getxattr() and supplied the lsof patch. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 pkgsrc/sysutils/lsof/Makefile cvs rdiff -u -r1.83 -r1.84 pkgsrc/sysutils/lsof/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.