Commit graph

81 commits

Author SHA1 Message Date
christos
bd81419c94 welcome to 4.84 2011-09-03 12:32:32 +00:00
jym
1373123a11 When we moved from fd_ofiles to a struct fdtab, the fd_ofiles became
an array of pointer (in struct fdtab) rather than a pointer of pointers.

Sadly for us, no, arrays and pointers are not equivalent from a memory
perspective: while pointers from/to another address space can
be consumed by kvm(3) to query for data in kernel space, arrays
are more tricky, especially when their content is copied in userland:
they are part of the copied struct.

Address of array members are only valid in their own address space,
in our case userland, which is (fortunately?) different from kernel space.
This breaks the various kvm_read() calls that query for file descriptor
information. Consequence: lsof(1) cannot print filedescriptor information
(starting from 5.99.14), and silently ignores the errors, as using
the userland fdtab (``dt'' variable) is not valid for kernel.

Fix that by using the ``fd_dt'' member of struct filedes, which stores
the address of the fdtab struct in kernel address space. Took a few hours
to understand what was going on with lsof(1), hmmm.

Luckily, fstat(1) uses the proper model (checked about 5min ago). Why
lsof(1) decided not to log an error on kvm_read() is... a good question.

Bump rev.
2011-03-21 00:22:02 +00:00
sbd
423e88e245 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>.

		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>.
		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> 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>.

		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> 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>>

		Made corrections to FAQ typographical errors, suggested
		by Josh Soref <timeless@gmail.com>.

		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>.

		Added test for <utmpx.h> to FreeBSD configuration.  Improved
		its use in lsof.h.  The changes were supplied by Martin Wilke
		<miwi@FreeBSD.org>.

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> reported the bug and
		supplied information for reproducing it.

		Based on a report from Dan Trinkle <trinkle@cs.purdue.edu>
		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>.

		Updated the Darwin libproc sources with changes from
		Allan Nathanson <ajn@apple.com>.  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>.

		Improved the Solaris VxFS library location test, based on a
		suggestion from Jason Fortezzo <fortezza@mechanicalism.net>.
		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>.  Renata
		Maria Dart <renata@slac.stanford.edu> 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> reported the device number problem,
		provided a test system, and tested the changes.  Peter
		Vines <psv2b@eservices.virginia.edu> 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>.  Larry Rosenman <ler@lerctr.org>
		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>.  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> 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>.

		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>.  An updated
		test system was provided by Erwin Lansing <erwin@FreeBSD.org>.

		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>
		and Phil Shin <pshin@xceedium.com> 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> 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>.

		Corrected mishandling of file system path name arguments
		that have trailing slashes, except, of course, the root
		file system, "/".  Allan Nathanson <ajn@apple.com> 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>, who helped test the update.  Wesley
		Shields <wxs@FreeBSD.org> 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>.

		Added warnings for unsupported dialects or versions.

		Added Linux support for the UDPLITE protocol.  Eric
		Dumazet <dada1@cosmosbay.com> 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> 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>.  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>.

		Improved Linux /proc file stream reading speed by applying
		an expanded version of a patch from Eric Dumazet
		<dada1@cosmosbay.com> 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>.

		Fixed a Linux maps file processing bug that prevented path
		names from having an embedded colon.  James Lingard
		<jchl@arastra.com> reported the bug and helped with its
		fix.

		Based on reports from Eric Dumazet and Samuel Thibault
		<samuel.thibault@ens-lyon.org> 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>.  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>.  Pekka tested the fix.

		Based on a report and using suggested fixes from Karel Zak
		<kzak@redhat.com>, 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> 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> 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>, Erwin Lansing <erwin@FreeBSD.org>, Wesley
		Shields <wxs@atarininja.org> and Dmitry Morozovsky
		<marck@rinet.ru> provided test systems.

		Fixed a socket file identification problem reported by
		Pavol Rusnak <stick@gk2.sk>.  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>,
		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> and Pav Lucistnik
		<pav@FreeBSD.org> 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.
2010-05-10 08:21:41 +00:00
sbd
b184cf518d Move lsof from using the LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS to
using pkg options lsof-more-secure and lsof-less-secure-sockets.

Also change the way the option are applied, the same way that the Customize
script does and it works on all supported dialects.
2010-04-30 06:53:06 +00:00
apb
dcaf5576f4 Make this build again on netbsd-current. Bump PKGREVISION to 5. 2009-08-11 20:53:06 +00:00
seb
db8aca7c27 Fix build on NetBSD 3.1_STABLE, tested on i386 and sparc64.
Also built/tested ok on NetBSD/i386 4.0.1 and 5.0.
2009-05-17 20:40:46 +00:00
apb
2b54c598f9 When configuring on NetBSD:
* 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
2009-05-01 12:56:50 +00:00
christos
6f251da065 make this work again. 2008-05-17 23:53:29 +00:00
adam
95c71a9ee3 Do not use DEBUG compiler flags 2007-12-28 16:15:39 +00:00
tron
cc024cdc5f Fix build under NetBSD 4.0 and older. 2007-12-17 11:13:40 +00:00
apb
7af5cd05ed We need to define VNODE_VFLAG and NCACHE_VROOT to build on older
versions of NetBSD.  Thanks to PR/37393 from Yakovetsky Vladimir
for the hint.
2007-11-21 21:01:40 +00:00
apb
9d9d2f1537 Update checksums for patch-ad and patch-af, forgotten in previous commit. 2007-11-21 20:42:16 +00:00
veego
3f3c24790a - Don't hardcode the MFSNAMELEN length, inspired by commits from
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)
2007-08-14 19:59:17 +00:00
seb
ab8afa61c5 Revert previous fix at veego@ request. 2007-08-12 15:00:34 +00:00
seb
5bb330cc24 Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.
2007-08-12 14:22:49 +00:00
christos
ed3905636b update checksum 2007-05-06 21:42:02 +00:00
christos
f63d87891b upgrade to 4.78 2007-05-06 21:41:30 +00:00
markd
a9a5afbacd Update lsof to 4.77.
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.)
2007-03-14 11:36:25 +00:00
tron
599f00583a Make this build again with NetBSD older than 3.99.24. 2006-08-01 12:29:59 +00:00
tron
a0cb7d8419 Make this build under NetBSD 3.99.24 and newer. 2006-08-01 12:24:12 +00:00
christos
964d14766a We don't export struct lockf anymore, thus we cannot print lock info. 2006-06-04 21:00:51 +00:00
tron
251b2f8ac7 Fix build problem under NetBSD 3.99.11 as suggested by Andrew Brown
in private e-mail.
2005-11-09 08:06:32 +00:00
atatat
92e74f2d24 Add back what was patch-ac (from kristerw) as patch-ab since it's not
a patch to lsof that the author would be interested in taking back as
it only addresses the use of pkgsrc on Darwin:

   Do not ask the user about the path to the darwin XNU kernel header
   files in the case they are not found -- report an error instead
   (since going interactive breaks bulk building...)

We are in a "freeze" at the moment, but this ought to fix the build of
a leaf package under Darwin.
2005-09-15 02:45:13 +00:00
taca
01a4821fd4 Make sure to update contents of distinfo to lsof 4.76. 2005-09-14 01:22:50 +00:00
christos
a2c5bd1b6b lsof 4.75 is gone; use 4.76 2005-09-13 20:18:27 +00:00
kristerw
1fd3dfd841 Do not ask the user about the path to the darwin XNU kernel header files
in the case they are not found -- report an error instead (since going
interactive breaks bulk building...)
2005-05-24 20:40:56 +00:00
atatat
8e812d143b Upgrade to lsof version 4.75, thereby getting rid of most of the
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.
2005-05-17 04:45:08 +00:00
kristerw
f1fd5e5e6d Do not ask the user about the path to the darwin XNU kernel header files
in the case they are not found -- report an error instead (since asking
the user breaks bulk builds).
2005-03-26 20:36:01 +00:00
atatat
ea2881f8bb Oops, wrong distinfo file 2005-03-23 04:57:59 +00:00
atatat
933a893cea This should also fix the lsof build on 3.0_BETA. Similar changes will
appear in the next release of lsof.  This patch is adapted from a
pre-release by the author.
2005-03-23 04:35:56 +00:00
atatat
848d548ad4 Fix lsof build on NetBSD 3.99.1 2005-03-19 19:47:33 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
atatat
e8b7a5b854 Upgrade to lsof version 4.74, thereby getting rid of most of the
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.)
                ...
2005-01-17 14:54:01 +00:00
atatat
1d87bf31b2 Fix lsof to deal with the new ptyfs fake inode number allocation
scheme.  This code now does both.
2004-12-18 05:30:33 +00:00
atatat
234b958ad1 Redo three patches to address build failure on NetBSD <= 1.6ZC, to
change the reported node number for the master side of ptyfs devices,
and to deal more cleanly with some header files.
2004-11-30 02:02:13 +00:00
atatat
76d4751d5c Tweak the sys/bufq.h support (it disappeared again), enhance the
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.
2004-11-28 22:39:07 +00:00
erh
0d710314f7 Check for actual existance of sys/bufq.h instead of just relying on uname. 2004-11-12 05:41:36 +00:00
kim
ff78da8ee7 Needs <sys/bufq.h> on 2.99.10 2004-11-07 18:16:27 +00:00
atatat
b54ce30814 Upgrade to lsof version 4.73. No changes related to or affecting
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.
2004-10-21 13:09:20 +00:00
atatat
397e5f8aaf A minor change (by the author) to the tarball (but without changing
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.
2004-10-19 13:10:47 +00:00
atatat
27b27a2e7b Upgrade to lsof version 4.72. Changes related to or affecting NetBSD
(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.
                ...
2004-07-13 13:42:41 +00:00
atatat
97298bbfe4 Fix NetBSD 2.0 check in Configure, and check for and deal with the new
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.
2004-04-29 04:19:22 +00:00
tron
7e5677fefe Use configuration for NetBSD 1.6* under 2.0* to fix build under
NetBSD 2.0 and newer.
2004-04-01 20:15:54 +00:00
atatat
81f3f21257 Upgrade to lsof version 4.71. Changes related to or affecting NetBSD
(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]
2004-03-12 14:31:37 +00:00
atatat
a9b0c4ecc4 Actually, since we can, let's use the .bz2 file 2004-01-17 19:37:35 +00:00
atatat
c92f357754 Upgrade to lsof version 4.70. Changes related to or affecting NetBSD
(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.
2004-01-17 19:31:30 +00:00
atatat
6db43c9266 Add LFS support to lsof. Bump PKGREVISION to 1, making this 4.69nb1.
This patch will be included in the next lsof release.
2004-01-13 02:50:27 +00:00
atatat
70d8aa92d2 Bring back patch-aa -- it's for pkgsrc, not a bugfix. 2003-11-22 23:30:03 +00:00
christos
dbe710593d 4.69 is out, 4.68 is gone. Approved by agc. 2003-11-22 23:19:47 +00:00
atatat
7af1d9b0ee Refix build on -current now that procfs and kernfs have churned again. 2003-10-04 20:22:35 +00:00