release notes:
4.63 April 23, 2002
...
Corrected bugs in device number, file size, file
offset, and raw device number field output generation.
...
Built an automated test suite. (See 00TEST and
the tests/ sub-directory of the lsof main directory).
Bela Lubkin requested it. Dale Talcott, John
Hughes, and Larry Rosenman helped me validate it
on their systems.
During the development of the test suite I discovered
the following lsof bugs or missing features, and
corrected or supplied them.
...
* Corrected the reporting of UNIX domain socket
names for Apple Darwin, FreeBSD 4.5 and above,
NetBSD 1.4.1 and above, and for OpenBSD 3.0 and
above.
...
Updated the NetBSD and OpenBSD sources so NetBSD
can process DTYPE_PIPE files, as OpenBSD was already
able to do.
...
Added defense against the standard I/O descriptor
attack.
Note that the test suite is not enabled for this pkg because it
requires root privileges in order to operate.
release notes are:
4.61 January 22, 2002
Updated field output example Perl scripts in the
scripts/ subdirectory to discover the lsof path,
starting at .. and proceding through the PATH
environment variable's directories.
...
In response to a report from Joshua Wright
<Joshua.Wright@jwu.edu> modified NetBSD and OpenBSD
Configure stanzas and sources so that lsof can be
built when there is no system source tree (e.g.,
/usr/src/sys).
...
Corrected a bug in the matching of IPv4 addresses,
mapped in IPv6 addresses, to an IPv4 paramter to
an -i option.
release notes are:
4.60 November 9, 2001
Added special handling to and corrected bugs in
the matching of IPv4 in IPv6 addresses to -i6:<...>
selectors.
...
Made lsof's method of killing its child process
more robust, based on a suggestion from Bela Lubkin
<belal@caldera.com>.
...
Modified all dialect Makefile segments to accept
select -v #define's from the environment -- a
builder's comment, host, logname, system information
and user name. This was done for Bela Lubkin, so
he can "tune" the -v output when he packages lsof
in the upcoming Caldera OSR 5.0.7 release.
The relevant #define from the last note is LSOF_BLDCMT which is
currently assigned the value "NetBSD pkgsrc rocks!" :)
releated changes from the release notes for 4.59 include:
4.59 October 20, 2001
...
Added an additional UVM test to the NetBSD Configure
stanza. Andrew Brown <atatat@atatdot.net> supplied
the test; it recognizes NetBSD 1.5Y UVM changes to
the vnode structure recently committed by Chuck
Silvers.
...
Added an IP version selector to the -i option
parameters.
o Added locale support to lsof's isprint() test,
based on a suggestion from Dan Mercer <damercer@mmm.com>.
Lsof will use setlocale(), when that function and
its supporting <locale.h> header file are available.
New version's existence brought to my attention by Lloyd Parkes.
Changes scripts/ to make Perl 5 the standard; corrects a bug in the
reporting of a PTX fattach()'d target address; encourages NetBSD and
OpenBSD lsof to use /usr/include/uvm when it's available; adds
snprintf() support, including a private version for dialects without
one; fixes a BSDI, DEC/OSF1, Digital UNIX, FreeBSD, NetBSD, OpenBSD,
and Tru64 UNIX repeat-mode memory leak.
BSD-relevant changes:
o Updated FreeBSD, NetBSD, NeXTSTEP, OpenBSD, and OpenStep support to
report "no PCB" and the values of the SO_CANTSENDMORE and
SO_CANTRCVMORE state flags when a socket structure has no inpcb
pointer.
o Upgraded support for FreeBSD 5.0-CURRENT. Ben Smithurst
<ben@scientia.demon.co.uk> supplied patches and did testing. David
O'Brien <obrien@NUXI.com> supplied a test system. The update included
dropping the Fctty part of file descriptor file system support,
conditional on a Configure script test. I propagated those changes to
BSDI, NetBSD, and OpenBSD in anticipation of their having the
modification in the future.
o Added support for 64 bit file sizes and offsets on BSDI, FreeBSD,
NetBSD, and OpenBSD, based on a report from Dan Nelson
<dnelson@emsphone.com>. Dan supplied a patch and did FreeBSD testing.
o Added Configure script recognition of NetBSD 1.5, based on a report
from Andrew Brown <atatat@atatdot.net>.
4.46 October 23, 1999
Corrected /proc-based Linux lsof to detect that an
IPv6 address is a mapped IPv4 address. The problem
was reported and analyzed by Arkadiusz Miskiewicz
<misiek@misiek.eu.org>, who also tested the fix.
Added a libc5 library /dev/kmem-based Linux lsof
circumvention, supplied by Jason Lingohr
<lingman@lucid.net.au>.
Corrected a bug in -t (terse) AIX output, reported
by Wendy Lin <af5@taiyang.cc.purdue.edu>. I
introduced the bug at revision 4.43 when adding
FILE_FLAG reporting. This was offered as a patch
to 4.45.
Added a work-around for a problem in the OpenBSD
2.3 <sys/pipe.h> header file. Volker Borchert
<bt@teknon.de> provided and tested it.
Improved description of cross-building lsof for a
64 bit Solaris 7 system on a 32 bit system with
suggestions from Phillip Edwards
<Philip.Edwards@sn.wpafb.af.mil>.
Fixed a gawk POSIX-mode pattern error in the Linux
/dev/kmem-based Mksrc script, based on a tip from
Ambrose C. Li <acli@mingpaoxpress.com>.
Fixed a bug in the Tru64 UNIX IPv6 handling, courtesy
of a report from Casper Dik <casper@holland.sun.com>.
Enabled support for OpenBSD 2.6.
Enabled support for BSDI 4.1, based on a report from
Jeffrey C Honig <jch@bsdi.com> that only a Configure
script change is necessary.
Enabled Configure script to use gcc for building
lsof for a 64 bit Solaris 7 and 8 kernels, if the
gcc version is 2.95 or above.
Improved -i option handling for systems with IPv6
support so that it will search for a host name in
both IPv4 and IPv6 families, when that is possible.
As a companion modification, changed -V processing
to report a single error when a multiple host name
match is requested. Casper Dik <casper@holland.Sun.COM>
helped test.
Fixed a DEC OSF/1, Digital UNIX, Tru64 UNIX repeat
mode bug, reported by Mayer Ilovitz <mayer@cooper.edu>.
Mayer helped test the fix. The fix was offered as a
patch to 4.45.
Changed Solaris socket file recognition scheme, so it
is (nearly) the same through Solaris 8, where the
previous clone device scheme no longer works.
With significant assistance from Casper Dik, added
support for Solaris 8 Beta and Beta refresh. The
IPv6 support in Solaris 8 is still in some flux,
so there are temporary compensations for the
differences between Beta IPv6 support and Beta
refresh IPv6 support. Casper and I hope those
differences disappear by FCS.
Improved the delivery of information on Solaris
2.5.1, 2.6, 7, and 8 door files.
Fixed a repeat mode bug that surfaces when /etc/passwd
changes between cycles. The bug report and diagnostic
help were supplied by Igor Schein <igor@txc.com>.
The fix was offered as a patch to 4.45.
Added support for INRIA IPv6 to NetBSD. Jean-Luc
Richier <Jean-Luc.Richier@imag.fr> provided patches
and a test system on which to verify them.
Added support for AIX 4.3.3. Jeff W. Stewart
<jws@anaconda.cc.purdue.edu> provided a test system.
Made adjustments for FreeBSD 4.0-current.
Improved reporting of information for AIX sockets that
lack protocol control blocks.
Corrects SunOS 4.1.x HSFS and segmentation fault problems; improves
handling of UNIX PCB addresses in the /proc-based Linux lsof;
corrects PPID and PGRP output ordering conflict; enhanced some
library modules so more dialect versions could use them; adds raw
socket support for /proc-based Linux lsof; adds support for UnixWare
7.1; made NetBSD 1.4C updates; makes minor adjustment for latest
Tru64 UNIX 5.0 Beta release.
Relevant changes in this version:
improved file system search name reporting;
updates Solaris 2.6 VxFS support;
support for the latest NetBSD with default UVM support.
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz,
and .tar.bz2).
EXTRACT_USING_PAX can be set as before.
For custom extractions, instead of using EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the
command needed to decompress and extract the lements from the archive.
${DOWNLOADED_DISTFILE} can be used to reference the distfile(s).
e.g. for compressed shars, where previously there was:
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |sh
now use:
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
http://www.hert.org/advisories/HERT-02.asc.
Add patch to dialects/n+obsd/dlsof.h to define _KERNEL when including
<sys/socket.h> to get the sockprot definition. Needed to compile on current.
The November 25, 1998 revision (4.38): adds FreeBSD 3.0 support;
has idrlogin.perl* scripts updated to recognize sshd processes;
adds support for Digital UNIX 5.0-BETA; adds support for OpenBSD
2.4; adds support for SCO OSR 5.0.5; changes Solaris 2.7 support
to Solaris 7 support; adds support for NEXTSTEP 3.3; adds support
for OpenStep 4.x; adds support for UnixWare 2.1.3; adds support
for Linux 2.0.36; updated NetBSD sources for UVM header file
change; corrects a bug in Sun format kernel name cache processing.
The December 29 1998 revision (4.39): fixes a device number
handling bug for Solaris 7; improves FreeBSD configuration; adds
+f[cfn] option for listing file structure values; makes minor
tweaks for additional Linux glibc evasion; supports AIX 4.3.2;
fixes a -c option processing bug.
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.