* Prefer /dev/ksyms, then getbootfile(), then fall back to /netbsd as the
kernel name.
* Recognise NetBSD versions 5.0* and 5.99*
* When the NetBSD version is unrecognised, don't treat it like 1.6;
treat it like either 1.2 (if it's really old) or 5.0 (if it's too new).
Bump PKGREVISION to 4
Christos (patch-ae and patch-af). Fix PR 36680
- Define NETBSD_SYS in the pkgsrc Makefile so it works if NETBSDSRCDIR is
not pointing to a default location and thus some featues, like ptyfs
support were disabled
- Update the line numbers in patch-aa
- Add tmpfs support (patch-ad, patch-af and patch-ag)
- Update the NetBSD versions in Configure otherwise NETBSDV would fall
back to 1006000 and so at least one feature was not found, the PFSfd
procfs support (patch-ag)
- Bump pkg revision for new features (normaly I wouldn't have bumped the
version if it were only to fix a -current compile, because the version
also includes the kernel version)
Include official patch to fix build on Solaris 10 06/06 or newer.
Fix HOMEPAGE.
The April 10, 2006 revision (4.77): adds Solaris 10 and above -X option
selection of the display of unlinked file cached paths; improved
reporting of Solaris 10 cached path names of questionable accuracy;
has FreeBSD 7.0-CURRENT update; fixes name addition spacing bug; has
limited SAMFS support for Solaris 10; fixes an HP-UX 11 file "chunk"
size problem; updates for FreeBSD 6.0; updates scripts/sort_res.perl5;
corrects +|-M man page error; improves FreeBSD user device random seed
generation; documents in 00FAQ bundled C and gcc compilation failures
on HP-UX 11.23 dated May 2005 or later; corrects bugs and eliminates
compiler warnings in PSTAT-based HP-UX lsof and in the lsof test
suite; changed the method of reporting unknown file types; dropped
the *claim* that lsof works on BSDI BSD/OS; enables compilation on
Solaris 10 1/06; adjusts to FreeBSD 5.5-PRELELEASE and 6.1-PRERELEASE;
fixes locating AIX ATI sockets by their associated TCP/IP addresses;
adjusts to OpenBSD 3.[89]; ends 32 bit Solaris 8 testing (testing on
64 bit Solaris 8 continues.)
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
accumulated patches. Changes related to or affecting NetBSD (or
pkgsrc) from the 00DIST file:
4.75 May 16, 2005
...
Improved the BSDI, FreeBSD, NetBSD, OpenBSD and Solaris
kvm_open() and kvm_openfiles() error messages.
Enabled support for NetBSD 2.99.12.
Also, add the "uname -r" value to the lsof package version. This
means that lintpkgsrc will report the lsof package as being out of
date if you update your kernel without updating lsof. It's entirely
likely that lsof will continue to work, but it might not (and it will
warn you anyway), but it's nice to know that it might be good to
rebuild it.
which can take multiple values -- "pax" or "gtar". The default value
of EXTRACT_USING is "pax", which more closely matches reality since
before, we were using bootstrap "tar" for ${GTAR} and it was actually
pax-as-tar. Also, stop pretending pax-as-tar from the bootstrap kit
or on NetBSD is GNU tar. Lastly, in bsd.pkg.extract.mk, note whether
we need "pax" or "gtar" depending on what we need to extract the
distfiles.
accumulated patches. Changes related to or affecting NetBSD (or
pkgsrc) from the 00DIST file:
4.74 January 17, 2005
...
Updated lsof for NetBSD 2.99.10 and tested it on a
system provided by Andrew Brown <atatat@atatdot.net>.
...
Added BSDI, FreeBSD, NetBSD and OpenBSD support for the
*effnlink member of the inode structure. This makes
the lsof LTnlink test run faster on all modified
dialects and correctly on OpenBSD.
Added ptyfs support for NetBSD, using modifications
provided by Andrew Brown.
Changed the netbsd Configure stanza to look by default
for system header files in both /usr/include and
/usr/src. (The NETBSD_SYS environment variable can
still be used to select an alternate for /usr/src.)
...
procfs support a little, incorporate the author's patches to deal with
netbsd-current version numbers getting longer, and add ptyfs support.
These patches are adapted from an interim release the author made and
will appear in the next full release.
PKGREVISION bumped to 1 for the ptyfs support.
NetBSD (or pkgsrc) are mentioned in the 00DIST file, but this update
conveniently and completely eliminates the problem of the changing tar
file from a few days ago.
the name) renders the checksum invalid (even though the material
contents of the tarball are unchanged).
Luckily, we can switch from the .tar.bz2 distribution to the .tar.gz
one. It's a little larger, but it get around this problem. We will
switch back to the .tar.bz2 one once 4.73 is released, which ought to
happen in a few weeks.
(or pkgsrc) from the 00DIST file:
4.72 July 13, 2004
...
Added support for NetBSD 2.0 with patches supplied by
Andrew Brown <atatat@atatdot.net>. Andrew also
provided two test systems.
...
statvfs() sysctl call which replaced statfs() around 2.0D. This pkg
will now build on current again (addresses my PR pkg/25372). Bump
PKGREVISION to 1.
Changes adapted from changes adapted by lsof maintainer based on
changes that made things work this morning. That means they'll all be
in the next official lsof release. So there.
(or pkgsrc) from the 00DIST file:
4.71 March 11, 2004
...
Added process_kqueue() function prototypes for FreeBSD,
NetBSD and OpenBSD.
...
Added support for the optional reporting of socket
options, socket states and TCP flags for most currently
supported dialects. John Smith <lbalbalba@hotmail.com>
and Tristan Nefzger <tn@bhtrader.com> requested the
information. The dialects and their versions for which
this feature has become available include:
AIX 4.3.2 and 5.[12]
Apple Darwin 7.2
BSDI BSD/OS 4.3.1
Digital UNIX and Tru64 UNIX 4.0
FreeBSD 4.9 and 5.2
HP-UX 11 and 11.11 (aka 11i)
NetBSD 1.6ZH
OpenBSD 3.4
OPENSTEP 4.2
OpenUNIX 8
Solaris 2.6, 8, 9 and 10
UnixWare 7.1.[134]
(or pkgsrc) from the 00DIST file:
4.70 January 16, 2004
...
Added bz2 compression.
...
Improved handling of parameters after "-i@".
...
With help from Andrew Brown <atatat@atatdot.net> and
John Heasley <heas@netbsd.org> added log-structured
file system (LFS) support for NetBSD and OpenBSD.
NetBSD-current, where the structure of the vnode has been altered.
This patch will, as usual, be obsoleted by the next lsof release.
PKGREVISION bumped accordingly.
Install the lsof.8 man page in man8 instead of installing the
preformatted copy in man1 (doing so used to slide by, by new groff
really doesn't like formatting preformatted man pages, and besides, it
was in the wrong place).
Since the only thing left untouched was the DESCR file, I also added
mention of kqueues as something lsof might note, meaning that this
patch touches every file in the pkg.
(or pkgsrc) from the 00DIST file:
4.68 June 18, 2003
...
Upgraded EXT2FS and UFS support for NetBSD and
OpenBSD to handle new inode information, and the
fast UFS1 and UFS2 file systems.
With the help of Andrew Brown <atatat@atatdot.net>
determined the NetBSD snapshot (1.6F) at which
<sys/mount.h> could be included under _KERNEL, thus
eliminating the lsof netexport.h hack. The same
change applies to OpenBSD versions 3.3 and above.
...
The former change obsoletes patches ab, ac, and ad.
(or pkgsrc) from the 00DIST file:
4.67 March 27, 2003
Began the transition of the lsof ftp server host
name from vic.cc.purdue.edu to lsof.itap.purdue.edu.
That reflects Purdue organizational changes. This
first step makes the new name an alias to the old
one. The old name, vic.cc.purdue.edu, will remain
usable for an extended period.
...
At the request of Alek O. Komarnitsky <alek@komar.org>
added the "+c <width>" option to enable optional
changing of the COMMAND column output maximum width
from the default to <width>. The default maximum
width remains CMDL, as defined in lsof.h.
...
Added kernel event queue file support for FreeBSD,
NetBSD and OpenBSD. Andrew Brown <atatat@atatdot.net>
supplied the code.
...
Augmented a lock ID test on NetBSD to check if the
ID is an LWP pointer.
...
Implemented the HASNOSOCKSECURITY compile-time
option. When it and HASSECURITY are defined, lsof
will be built to list only the user's open files,
but will also list anyone else's open socket files,
provided the "-i" option selects their listing.
Updated the Customize script to ask about setting
HASNOSOCKSECURITY. Left it undefined in all dialect
machine.h header files. This change was requested
by Kenneth Stailey <kstailey@speakeasy.net> for
use with ntop.
...
Improved lsof help (-h) and version (-v) information
reporting.
...
In order to the provide a simple pkgsrc hook for the new
HASNOSOCKSECURITY option, we provide the LSOF_LESS_SECURE_SOCKETS
setting (as a complement to the LSOF_MORE_SECURE option we already
have).
...
Enabled compiling of lsof for NetBSD 1.5 with the
NULL file system, using a patch from Andrew Brown
<atatat@atatdot.net>.
...
Applied a patch, supplied by Andrew Brown
<atatat@atatdot.net>, that updates lsof for NetBSD
version 1.6.6. Corrected handling of the NetBSD
nullfs.
...
This obsoletes patch-ab. Again. :)
4.64 June 26, 2002
...
Updated lsof's main() function to: 1) close all
open file descriptors above 2 before starting; and
2) to set a non-interfering umask. Moved GET_MAX_FD
test from misc.c to proto.h, so that main() could
use it. Added multiple-include protection to
proto.h.
...
At the suggestion of Manuel Bouyer <bouyer@antioche.eu.org>
switched NetBSD and OpenBSD lsof from using nlist()
to using kvm_nlist(). Made the same change for
BSDI, Darwin, and FreeBSD.
...
Added nullfs support for FreeBSD, NetBSD, and OpenBSD
at the request of Andrew Brown <atatat@atatdot.net>.
...
Modified all readmnt() functions to ignore mounted-on
directory names that don't begin with '/'.
...
Tested on NetBSD 1.6A and OpenBSD 3.1.
Also...make myself the maintainer since I keep updating this pkg (hi wiz).
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.