pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/lsof
Module Name: pkgsrc
Committed By: sbd
Date: Mon May 10 08:21:41 UTC 2010
Modified Files:
pkgsrc/sysutils/lsof: Makefile distinfo
pkgsrc/sysutils/lsof/patches: patch-ag
Log Message:
Update lsof to 4.83
Release Notes:
4.83 January 18, 2010
Converted Solaris 10 and above ZFS support to use the CTF
debugger library, libctf. Code was supplied by Robert
Byrnes <Robert.Byrnes%deshaw.com@localhost>.
Corrected a typo in the testing of the LINUX_HASSELINUX
environment variable in the Configure script. The error
was reported by Mike Frysinger <vapier%gentoo.org@localhost>.
At Mike's request made Configure script accept LSOF_RANLIB
(ranlib command), LSOF_CFGF (additional configuration flags)
and LSOF_CFGL (additional library specifications) from the
environment.
Enabled complilation of Solaris 10 lsof after a recent Sun
patch which changed the PC file system's structure. Peter
Vernam <pvernam%draper.com@localhost> reported the problem and
helped
with the fix.
Made the sort of configuration CFLAGS in the CkTestDB
script impervious to locale settings.
Ported to Solaris 11, using a test system kindly provided
by David Day <dday76%gmail.com@localhost>.
Adjusted to the disappearance of <nfs/rpcv2.h> in FreeBSD
8.0-BETA1.
Changed Solaris node type lookup to a hashed method and
added some ability for it to handle duplicate vnodeop names
in /dev/ksyms.
Updated for FreeBSD 9.0-CURRENT. Andrzej Tobola
<ato%iem.pw.edu.pl@localhost> provided a test system. Extends
the
fix to FreeBSD 6.0 and above via a Configure test and a
compile-time definition. The need for the extension was
reported by Erik Trulsson <ertr1013%student.uu.se@localhost>>
Made corrections to FAQ typographical errors, suggested
by Josh Soref <timeless%gmail.com@localhost>.
Added __UCLIBC__ test to Linux dlsof.h so lsof would compile
on an Intel ARM XScale processor. The addition was provided
by Doug Kehn <rdkehn%yahoo.com@localhost>.
Added test for <utmpx.h> to FreeBSD configuration. Improved
its use in lsof.h. The changes were supplied by Martin Wilke
<miwi%FreeBSD.org@localhost>.
4.82 March 25, 2009
Corrected an over-zealous exclusion test that caused
lsof to report nothing when it was given no arguments
and built with HASSECURITY and HASNOSOCKSECURITY enabled.
Joshua Kinard <kumba%gentoo.org@localhost> reported the bug and
supplied information for reproducing it.
Based on a report from Dan Trinkle
<trinkle%cs.purdue.edu@localhost>
corrected use of <sys/utsname.h> for 32 bit Solaris 10
and above compilations. Simultaneously eliminated a
casting complaint in arg.c and updated Configure to use
the appropriate 64 bit compilation option (-xarch=v9 or
-m64) with the Solaris Sun C compiler.
Updated for FreeBSD 7.1-PRERELEASE with information
supplied by Larry Rosenman <ler%lerctr.org@localhost>.
Updated the Darwin libproc sources with changes from
Allan Nathanson <ajn%apple.com@localhost>. Tested them on a
iMac
mini, provided by Apple Inc. Allan also provided man
page corrections.
Updated the FreeBSD Makefile to use the ${MAKE} variable
for ZFS dnode2.c module compilation, based on a suggestion
from Alexis Ballier <aballier%gentoo.org@localhost>.
Improved the Solaris VxFS library location test, based on a
suggestion from Jason Fortezzo
<fortezza%mechanicalism.net@localhost>.
Jason tested the change.
Updated Solaris 10 ZFS support for ZFS version 4 and ZFS
pool version 10, using a test system kindly provided by
Vladislav Nespor <vladislav.nespor%id.ethz.ch@localhost>.
Renata
Maria Dart <renata%slac.stanford.edu@localhost> tested on ZFS
version 4, verifying that the update works there, too.
(ZFS pool version 10 is apparently the ZFS version shipped
with the 10/08 update to Solaris. The original ZFS
support targeted ZFS version 3.)
I still consider ZFS support in Solaris lsof a hack,
because it depends on a znode structure definition that
I developed using dbx. Sun is remiss in not distributing
the ZFS header files used to build the distributed kernel.
Because of the znode structure definition hack, I can't
guarantee that lsof ZFS support will work for any other
versions of ZFS.
Solaris 10: adjusted to a change in the way devices are
stored in the kernel; fixed a problem in zone handling;
and added rudimentary sharedfs support. Carson Gaspar
<carson%taltos.org@localhost> reported the device number
problem,
provided a test system, and tested the changes. Peter
Vines <psv2b%eservices.virginia.edu@localhost> reported the zone
handling problem and tested the fix.
Adapted to FreeBSD 8.0-CURRENT changes in device number
computation. Problem was reported by Erwin Lansing
<erwin%FreeBSD.org@localhost>. Larry Rosenman
<ler%lerctr.org@localhost>
provided a test system.
Corrected Solaris Configure test for appropriate VxFS
library when using gcc to compile lsof.
Updated for loss of KAME IPv6 FreeBSD accommodations.
Adapted to FreeBSD 7.2. Made Configure script recognized
FreeBSD 6.3.
4.81 October 21, 2008
Updated the Darwin libproc sources with changes from
Allan Nathanson <ajn%apple.com@localhost>. Tested them on a
iMac
mini, provided by Apple Inc.
Changed dummy declarations in library source files to
eliminate complaints about unused variables and empty
object files. This change may not work on dialects I
can no longer test; it has been tested on some versions
of AIX, Darwin, FreeBSD, Linux and Solaris.
At the request of Hal Brooks <hal%uga.edu@localhost> added
support
for Linux /proc/net/packet files. Hal tested it.
Added socket file only performance enhancements to Linux
and PSTAT-based HPUX lsof.
Added htonl call around improper usage of INADDR_LOOPBACK;
report from an Apple engineer forwarded by Allan Nathanson
<ajn%apple.com@localhost>.
Adjusted for FreeBSD-8.0 change in device number handling.
The adjustment should work for FreeBSD 5 and above, should
the 8.0 change be propagated downward. The problem was
reported by Pav Lucistnik <pav%FreeBSD.org@localhost>. An
updated
test system was provided by Erwin Lansing
<erwin%FreeBSD.org@localhost>.
Reduced AIX support to version 5.3, since test systems with
older versions are no longer available to me.
At the request of Marjo F. Mercado
<mmercado%xceedium.com@localhost>
and Phil Shin <pshin%xceedium.com@localhost> applied some speed
improvements to lsof, particularly when the files of
interest are /Internet files -- i.e., selected with lsof's
-i" option. Added a two new options to assist the
improvements: 1) "-c^<command>" to tell lsof to exclude the
named command(s); and 2) "-stcp|ud>:[^]state' to tell lsof
to include in its reporting or exclude ('^') from its
reporting Internet files in the named states (e.g., LISTEN,
^CLOSE_WAIT, IDLE, etc.) For the most part these changes
apply only to AIX, Darwin, FreeBSD, PSTAT-based HP-UX, Linux
and Solaris, since those are the only places I could test
them. They are controlled by the HASTCPUDPSTATE definition
in each dialect's machine.h header file. Marjo and Phil
provided HP-UX 11.23 and 11.31 test systems.
Fixed a stat(2) problem on HP-UX 11.31 while testing the
speed improvements.
Adjusted for kernel header file changes in FreeBSD
8.0-CURRENT. Larry Rosenman <ler%lerctr.org@localhost> provided
a test system.
Added a warning for Solaris systems where VxFS node info
can't be obtained from the VxFS utility library. The
warning was requested by Tom Matthews
<Tom.MATTHEWS%rbs.com@localhost>.
Corrected mishandling of file system path name arguments
that have trailing slashes, except, of course, the root
file system, "/". Allan Nathanson <ajn%apple.com@localhost>
reported
the bug.
4.80 May 12, 2008
Updated for a FreeBSD 7.0 and above byte level locking
change. The problem was reported by Conrad J. Sabatier
<conrads%cox.net@localhost>, who helped test the update. Wesley
Shields <wxs%FreeBSD.org@localhost> provided an 8.0-CURRENT test
system.
Propagated the FreeBSD 7.0 and above locking changes to
FreeBSD 6.x, based on a report from Edwin Groothuis
<edwin%FreeBSD.org@localhost>.
Added warnings for unsupported dialects or versions.
Added Linux support for the UDPLITE protocol. Eric
Dumazet <dada1%cosmosbay.com@localhost> supplied a patch.
Added a missing quote to the Configure script's
FreeBSD stanza.
Added a usage.o rule to the HP-UX PSTAT-based
Makefile. I mistakenly deleted the rule at revision
4.79. The missing rule was reported by Kawaljeet Kaur
<kawaljeet.malviya%gmail.com@localhost> who tested the corrected
Makefile.
4.79 April 15, 2008
**************** IMPORTANT NOTE ******************
* *
* Lsof support has been reduced to the following *
* dialects: AIX, FreeBSD, Linux and Solaris, and *
* only in selected versions of those dialects. *
* The selected versions are listed in this file *
* and in other lsof documentation. *
* *
* I have made this move because of retirement *
* and because I no longer have many test systems *
* available to me. *
* *
* Vic Abell *
* *
**************************************************
Fixed a Solaris VXFS permission problem when accessing
the VXFS inode offsets. The bug was reported by
Gregory A. Ivanov <ivga%mts.ru@localhost>. Gregory tested the
fix.
Moved an #include <string.h> later in FreeBSD dlsof.h
to enable compilation on recent FreeBSD releases. The
change was supplied by Roy Marples
<uberlord%gentoo.org@localhost>.
Improved Linux /proc file stream reading speed by applying
an expanded version of a patch from Eric Dumazet
<dada1%cosmosbay.com@localhost> that allocates a page size
buffer
to each stream. Improved TCP, TCP6, UDP and UDP6 hashing
by determining the hash bucket count from the /proc/net
sockstat and sockstat6 files. The improvement was
suggested by Eric and he provided sample code. Eric also
tested both improvements.
Modified Configure script to build lsof on FreeBSD
6.2. Tested it on a system provided by Larry Rosenman
<ler%lerctr.org@localhost>.
Fixed a Linux maps file processing bug that prevented path
names from having an embedded colon. James Lingard
<jchl%arastra.com@localhost> reported the bug and helped with
its
fix.
Based on reports from Eric Dumazet and Samuel Thibault
<samuel.thibault%ens-lyon.org@localhost> added support for the
Linux 2.6.22 kernel's /proc/<PID>/fdinfo files -- i.e.,
file offset and flags. Samuel Thibault provided a test
system.
Fixed a Linux UNIX socket memory leak, reported by
Philip Shin <pshin%xceedium.com@localhost>. Phillip supplied
the
fix.
With generous assistance from HP added support for an HP-UX
11.23 patch that makes TLI/XTI socket address information
available.
Fixed a header file problem for FreeBSD 6.2 on the Alpha
architecture. The problem was reported by Pekka Honkanen
<phonkane%cc.hut.fi@localhost>. Pekka tested the fix.
Based on a report and using suggested fixes from Karel Zak
<kzak%redhat.com@localhost>, made these changes to Linux lsof:
corrected
a getpidcon() error message; insured that inode numbers are
handled correctly for their unsigned long long type; and
improved SELinux handling. At the request of Alon Bar-Lev
<alonbl%gentoo.org@localhost> added the LINUX_HASSELINUX
environment
variable to enable or inhibit SElinux support unconditionally.
Updated Configure for FreeBSD 8.0-CURRENT and tested lsof on
AMD64 there.
Added a patch provided by Oles Hnatkevych
<don_oles%able.com.ua@localhost> for FreeBSD systems where the
root
file system is on a CD9660 device.
Added compensation for the disappearance of FMARK and FDEFER
from the FreeBSD 8.0-CURRENT <sys/file.h>.
Updated FreeBSD lsof with ZFS support. Larry Rosenman
<ler%lerctr.org@localhost>, Erwin Lansing
<erwin%FreeBSD.org@localhost>, Wesley
Shields <wxs%atarininja.org@localhost> and Dmitry Morozovsky
<marck%rinet.ru@localhost> provided test systems.
Fixed a socket file identification problem reported by
Pavol Rusnak <stick%gk2.sk@localhost>. Pavol also reported the
cause of the problem.
Added the ability to format the repeat mode marker line
with strftime(3), where the dialect supports the
localtime(3) and strftime(3) C library functions. The
addition was suggested by Mike Depot
<mdepot%comcast.net@localhost>,
who also tested it. The addition required creating a new
main lsof source module, util.c, that contains functions
whose compilation conflicts with the general header file
tree defined by lsof.h and dlsof.h.
Based on reports from Andrei V. Lavreniyuk
<andy.lavr%reactor-xg.kiev.ua@localhost> and Pav Lucistnik
<pav%FreeBSD.org@localhost> updated the FreeBSD 7.0 and above
file lock handling to use new locking structures. The
update requires a terrible hack to get a definition for
the lock owner structure from a kernel source module
into a local lsof header file.
To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/sysutils/lsof/Makefile
cvs rdiff -u -r1.78 -r1.79 pkgsrc/sysutils/lsof/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/lsof/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index