The NetBSD Project

CVS log for pkgsrc/sysutils/lsof/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / lsof

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Nov 1 05:18:02 2026 UTC (2 weeks ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
sysutils/lsof: correct previous patch

Previous patch has a defect refering a variable out of the scope.
Noted by Yoshitaka Tokugawa <toku at tokugawa.org>.

Bump PKGREVISION.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Oct 29 20:59:17 2026 UTC (2 weeks, 3 days ago) by taca
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -3 lines
sysutils/lsof: Really stop warning at start up.

* Really stop warning at start up.

  This fix is provided from Yoshitaka Tokugawa <toku at tokugawa.org>.

* Merge patch-ah into patch-dialects_n+obsd_dproc.c.

Bump PKGREVISION.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu May 28 23:16:38 2026 UTC (5 months, 2 weeks ago) by thorpej
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +2 -2 lines
On NetBSD, don't use ctob() - it involves the use of a compile-time
constant that is hidden from user-space on variable page-size systems.
Instead, use the same code path used on OpenBSD, which multiplies by
the page size as obtained via sysconf(3).

Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Apr 23 21:23:11 2026 UTC (6 months, 3 weeks ago) by kim
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -1 lines
lsof: Do not include _STABLE, _RC, etc. suffixes in version comparison.

Avoid (some) unnecessary system version warnings on NetBSD.  The ABI
should not change between 11.0_BETA, 11.0_RC*, 11.0, and 11.0_STABLE.
In fact it should not change between 11.0, 11.1, 11.2, and so forth.

The only exception is *.99.* (e.g. 11.99.5), where the full version
should be compared.

XXX:  This could be improved to only compare the major version when
      the minor version is less than 99.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Apr 19 09:27:43 2026 UTC (6 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -2 lines
lsof: apply patch directly to implementation in files/

noted by tnn

Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Apr 19 08:55:59 2026 UTC (6 months, 4 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -1 lines
lsof: fix pointer/value confusion

Now writes the full file path names in the NAME column again.

Bump PKGREVISION.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Jun 17 02:38:48 2025 UTC (16 months, 4 weeks ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -2 lines
lsof: simplify a NetBSD build fix patch

Five years ago, r. 1.19 introduced a build fix for "NetBSD 9.0", without
any further explanation. It appears this was intended for i386,
specifically, though the commit didn't say, since other ports should
have built without it. i386 builds have since been fixed differently,
this being relevant for 10.x as well, where the older approach would not
work. (It's also confusing to see separate places with NetBSD version
conditionals pulling in sys/ptrace.h.)

Change compile-tested on NetBSD 9.4_STABLE/amd64, 9.4_STABLE/i386,
9.99.14/amd64, 9.99.14/i386. (I see nothing in the state of 9.0 headers
that differs relevantly.)

Slightly related to PR port-i386/59402.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Jun 9 19:43:19 2025 UTC (17 months, 1 week ago) by gutteridge
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -2 lines
lsof: handle (upcoming) NetBSD 11.x

Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue May 6 23:46:45 2025 UTC (18 months, 1 week ago) by gutteridge
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2 lines
lsof: fix NetBSD i386 builds

ptrace.h is being included in a messy way to kludge around other build
issues, which then leads to this particular breakage on i386 only.
Consistently defining or not defining both macros both fix this. lsof
has no need of that particular enum value provided by
PROCFS_MACHDEP_NODE_TYPES, anyway.

Tangentially related to PR port-i386/59402; this code/our patching is
doing unexpected things, but i386's ptrace.h does seem inconsistently
defined, too.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Apr 28 01:33:06 2024 UTC (2 years, 6 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -2 lines
lsof: actually correct NetBSD 8.x pattern as intended

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Apr 28 01:24:08 2024 UTC (2 years, 6 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2 lines
lsof: fix builds on NetBSD 8.x and 9.x

patch-ag r. 1.14 introduced incorrect patterns that broke builds.
(Formal releases since 8.x do not include a "patch level"/"teeny"
number, and the change also failed to match releases with "_STABLE"
or "_RCx".) Addresses PR 58199 from Stefan Schaeckeler.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Apr 26 15:37:31 2024 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
lsof: allow building on newer 8.x and 9.x

Fixes PR 58199 by Stefan Schaeckeler.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Jan 13 23:46:22 2023 UTC (3 years, 10 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -2 lines
lsof: fix NetBSD 9 builds

Now that NetBSD 10 is the default assumed target, this exposed that
some 9.x patterns weren't being matched correctly, and were just
falling through to the older default, which happened to work.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Jan 13 04:33:17 2023 UTC (3 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -2 lines
various fixes including support for netbsd-10.

- move the "don't know picking 1.6" match to be "1.*" from "1*".
- add 9.99.10[45678], netbsd 9.99, netbsd 10, and netbsd 10.99
  support to configure match.
- make netbsd 10.x the "i don't know default" now.
- port the netbsd dsock.c code to the merged inpcb code since
  http://mail-index.netbsd.org/source-changes/2022/10/28/msg141800.html


i haven't bumped the pkg because nothing really changed for the
pre-9.99.104 systems, and 9.99.104 and newer haven't built since.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed May 25 09:33:37 2022 UTC (4 years, 5 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -3 lines
lsof: support kmem grovelling of current-era NetBSD rbtree kernel namecache

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Feb 27 02:13:44 2022 UTC (4 years, 8 months ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
lsof: fix typo in comment in previous commit

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Feb 27 02:10:44 2022 UTC (4 years, 8 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
lsof: fix builds on NetBSD as of 9.99.93 on 2022-01-17

procfs.h had an inline function added that expects curlwp to be
defined. It isn't needed by this code base, and I don't see any other
way of fixing this than adding a basic definition to get this to
compile. It looks "wrong", but this code base requires _KERNEL to be
defined when including procfs.h, but we can't include lwp.h or machine/
cpu.h with that defined, header files that aren't available to userland
get referenced and break the build that way, instead.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Nov 11 00:49:34 2021 UTC (5 years ago) by gutteridge
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +2 -2 lines
lsof: update to match NetBSD 8.x, 9.x, and 9.99.x

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Oct 26 11:19:49 2021 UTC (5 years ago) by nia
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -2 lines
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:58:03 2021 UTC (5 years, 1 month ago) by nia
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +1 -2 lines
sysutils: Remove SHA1 hashes for distfiles

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed May 13 19:36:56 2020 UTC (6 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
lsof: fix wrong conditional added in patch-af 1.20

machine/ptrace.h pulls in sys/module_hook.h after 2019-11-27 under _KERNEL
This corresponds to NetBSD 9.99.19.
sys/module_hook.h is not installed.
Ergo sys/ptrace.h must be included /without/ defining _KERNEL.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Apr 16 12:28:36 2020 UTC (6 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +2 -2 lines
Use fix for NetBSD 9.0 only on NetBSD 9.0, avoid changing other things.

Thanks to wiz@

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Apr 16 09:47:26 2020 UTC (6 years, 7 months ago) by manu
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -1 lines
Fix build on NetBSD 9.0

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Apr 11 15:22:52 2020 UTC (6 years, 7 months ago) by tnn
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2 lines
lsof: disable loading of kernel namecache on NetBSD after 9.99.54

lsof expects to be able to walk the namecache as a linked list using
kmem grovelling. The namecache on NetBSD now uses rbtree instead of
hash buckets + linked list. While it's certainly possible to iterate an
rbtree using kmem it's also more complicated and code doesn't exist yet.
Unfortunately this means lsof for now doesn't resolve pathnames for
type VREG.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Mar 5 20:49:22 2020 UTC (6 years, 8 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3 lines
lsof: fix build on -current

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jan 6 16:36:00 2019 UTC (7 years, 10 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
lsof: fix build on -current

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:12:37 2018 UTC (7 years, 11 months ago) by triaxx
Branches: MAIN
CVS tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -5 lines
lsof: update to 4.91

o Change license to purdue (renamed from abell-94)
o ChangeLog:
4.90    February 14, 2018

    !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !                                                        !
    !   It is likely that this is the last lsof revision I   !
    !   will issue, unless serious bugs are detected,  Stay  !
    !   tuned to lsof-l for information about future support !
    !   of lsof.                                             !
    !                                                        !
    !   I thank all the many contributors to lsof over the   !
    !   many years (20+?) I have been distributing lsof      !
    !   versions 1, 2, 3 and 4.                              !
    !                                                        !
    !   Vic Abell <abe@purdue.edu>                           !
    !                                                        !
    !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Taught the Configure script to create a dummy opt_random.h
    for FreeBSD systems whose <sys/random.h> includes it.

    Added support for the FreeBSD ZFUSE file system.

    Corrected the quoting in a Darwin putchar() statement in the
    dfile.c source file.  Andrew Janke <floss@apjanke.net> reported
    my error.

    Added support for the FreeBSD DTYPE_PTS file descriptor and
    for unknown descriptors that reference the kernel's badfileops
    operation switch.  Enabled FreeBSD 12.0 support. Tested the
    changes on systems provided by Larry Rosenman <ler@lerctr.org>.

    Enhanced -K option with the form "-K i" to direct lsof to
    (i)gnore tasks.  A query from Rachel Kroll <rkroll@fb.com>
    suggested this option.  Linux task reports now include both
    process and task command names, making lsof's "-c <name>"
    option work correctly.

    Added a patch to prevent NFS blocking in Linux supplied by
    Kristna Streitov <kstreitova@suse.com>.

    Installed a FreeBSD patch that prevents examining a TCP state
    structure during a race condition.  The patch was supplied by
    Bryan Drewery <bdrewery@FreeBSD.org>.

    Updated FreeBSD for new UFS inode structure that lacks an i_dev
    member in the most recent 12.0-CURRENT.  Larry Rosenman
    <ler@lerctr.org> reported the problem and provided a test
    system.

    Added "#define KLD_MODULE" to dlsof.h and dnode2.c to prevent
    <machine/cpuconf.h> from generating an "ARM_NARCH is 0" error.
    This is needed so lsof can access kernel structures.  Larry
    Rosenman supplied the addition.

    Added recognition of the FreeBSD 11 file system name "nullfs".
    Jamie Landeg-Jones <jamie@catflap.org> supplied the fix.

    Added a patch from Larry Rosenman <ler@lerctr.org> that is
    needed on FreeBSD 12 so the lsof compilation can obtain the
    inpcb and tcpcb structures from their respective header files.

    Updated FreeBSD dmnt.c for the ino64 changes.

    Inserted a patch for Solaris 12.x to avoid compilation errors
    from <sys/aio_req.h>, based on information provided by Jorn
    Clausen <joern.clausen@uni-bielefeld.de>.  Jorn tested the
    patch.

    Added performance enhancement that uses the FreeBSD closefrom()
    and dup2() C library functions when available.  The enhancement
    was supplied by Conrad Meyer <cem@freebsd.org>.

    Corrected FreeBSD lsof's gathering of ZFS file device numbers.

    Updated lsof test library for FreeBSD.

    Updated socket optons information collection from the socket
    structure per changes supplied by Gleb Smirnoff
    <glebius@FreeBSD.org>.

    Added patch to dlsof.h that avoids a _KERNEL conflict with
    bzero.  Mateusz Guzik <mjguzik@gmail.com> supplied the patch.

    Corrected test library to handle 64 bit FreeBSD device numbers.

    Added #defines for FreeBSD 12, src r324225, from Gleb Smirnoff
    <glebius@FreeBSD.org>.

    Incorporated Linux pseudoterminal endpoint processing (+|-E)
    provided by Masatake YAMATO <yamato@redhat.com> with access to
    test systems provided by Peter Schiffer <pschiffe@redhat.com>.

    Corrected Linux command extraction for commands that include
    parentheses -- e.g., "(sd-pam)".

4.91    March 26, 2018

    A bug has been reported in the PTY endpoint processing of
    Linux lsof 4.90 by Peter Wu <peter@lekensteyn.nl>, making it
    necessary for me to release another revision of lsof.

    This revision applies two fixes that correct the Linux PTY
    endpoint processing bug. Masatake YAMATO <yamato@redhat.com>
    supplied the fixes.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Aug 30 10:41:24 2017 UTC (9 years, 2 months ago) by kamil
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Fix lsof build on NetBSD-8.99.2

Address /proc/#/ctl removal fallout.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Jun 22 20:48:04 2017 UTC (9 years, 4 months ago) by tnn
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
NetBSD>=8.99.1 needs __EXPOSE_MOUNT defined

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Feb 11 15:25:38 2017 UTC (9 years, 9 months ago) by rodent
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +5 -5 lines
* The July 7, 2015 revision (4.89): corrects an error I made in applying a
  Solaris 11 patch; supports latest version of FreeBSD 11.0-CURRENT; adjusts
  for a missing bool typdef on i386 FreeBSD 10.0; fixes Linux UNIX socket
  search by name bug; adds Linux display of UNIX socket endpoint information;
  makes vm defintiions once again visible on FreeBSD 11.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Dec 29 12:42:57 2015 UTC (10 years, 10 months ago) by bsiegert
Branches: MAIN
CVS tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +6 -6 lines
Update lsof to 4.88. From David H. Gutteridge in PR pkg/50487.

Reduced to 50 the number of open file descriptors lsof
attempts to close while trying to protect itself from a
file descriptor exec() attack.  This limits the overhead
lsof incurs on systems that have large file descriptor
limits, yet provides sufficient open descriptors for the
library functions lsof calls.

Updated for changes in FreeBSD 10 with advice from Eygene
Ryabinkin <rea@freebsd.org>.  Taught Configure to recognize
FreeBSD 8.4.

Herein am noting that lsof for Solaris 10 or 11 is no longer
supported.  I no longer have test systems.  Some support is
still available from Casper Dik <Casper.Dik@oracle.com> and a
Solaris 11 patch he provided is included in this revision.

Initialized local variables in the Linux process_id() function.
Jia He <jiakernel@gmail.com> reported the problem.

Added support for FreeBSD 11.

Updated FreeBSD ZFS Configure stanza to supply a dummy
opt_kdtrace.h when needed.

Added tmpfs file system support for FreeBSD.

Since a test system is no longer available, dropped the
claim of FreeBSD 4.9 support.

Added the +|-E options for Linux.  -E displays endpoint info;
+E displays endpoint info and endpopint files.  Masatake YAMATO
<yamato@redhat.com> requested this support and suggested code
to implement it.

Fixed a Linux bug handling processes whose command includes a
non-printing character, particularly a NEWLINE character, and
clarified printing of single '\\' characters in command and
file names.  Stephane Chazelas <stephane.chazelas@gmail.com>
reported the problem.

Added support for Linux RDMA and CRYPTO protocal names and UNIX
socket type with code from Masatake YAMATO <yamato@redhat.com>.

Fixed field output to insure that the field descriptor field is
always selected, since it identifies the file set.  The bug was
reported by Gary Plewa <gary.m.plewa-1@lowes.com>.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Nov 4 01:32:20 2015 UTC (11 years ago) by agc
Branches: MAIN
CVS tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -1 lines
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Mar 27 19:26:40 2014 UTC (12 years, 7 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4 lines
Update to 4.87

Changelog:
4.85		September 27, 2011
		John Dzubera <Zube@CS.ColoState.EDU> 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
		<sys/mutex.h>.  Carson Gaspar <carson@taltos.org> reported
		the problem and supplied the work-around.

		Added support for FreeBSD 7.4 and 8.2; tested on systems
		provided by Larry Rosenman <ler@lerctr.org>.

		Added support for 32 bit Solaris 11 lsof with mods supplied
		by Jan Wortelboer <J.H.P.Wortelboer@uva.nl>.

		Added Solaris 11 support for using an alternate genunix
		location.  Bill Goodridge <bill@its.brooklyn.cuny.edu>
		reported the alternate location.

		Added further Linux cross configuration support to lsof's
		Configure script.  The additional support was supplied by
		Grant Erickson <erick205@umn.edu>.  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 <ajn@apple.com>.  Allan also provided a test
		system.

		Tested on FreeBSD 6.4 i386, using a test system provided by
		Terry Kennedy <TERRY@tmk.com>.  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
		<evi1m4chine@googlemail.com>.

		Added compensation for Solaris 10 systems that have patch
		144488-10.  The patch requires that the new header file
		<sys/socket_proto.h> be included while _KERNEL is defined.
		Brett Bartick <Brett.bartick@nomura.com> reported the problem
		first, followed by Stuart Anderson <anderson@ligo.caltech.edu>.
		Michael Hocke <michael.hocke@nyu.edu> 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
		<cfs@cowlabs.com>

		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
		<pschiffe@redhat.com>, 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 <yamato@redhat.com>
		reported the bug and supplied a patch.

		Added compensation for the removal of RPC header files from
		GlibC 2.14 for Linux.  Marek Behun <kabel@blackhole.sk>
		reported the problem and supplied a patch.

		Added support for Linux Netlink protocol.  Masatake Yamato
		requested the support and supplied a patch.  Peter Schiffer
		<pschiffe@redhat.com> 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 <pschiffe@redhat.com>.
		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 <ler@lerctr.org>.

		Updated for latest Solaris 11 with patches supplied by
		Carson Gaspar <carson@taltos.org>.  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 <pschiffe@redhat.com>, who
		provided a test system.

		At the request of Peter Schiffer <pschiffe@redhat.com>, 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 <ajn@apple.com>.  Allan also supplied a test
		system.

		Enabled FreeBSD 8.3 support and tested it there on a system
		provided by Larry Rosenman <ler@lerctr.org>.

		Corrected the FAQ information on ZFS with Solaris 10 after
		Steven Blackmon <stblackm@cisco.com> and Prasad Jampala
		<jampalp@cisco.com> 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
		<hejianet@linux.vnet.ibm.com> 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 <carson@taltos.org> 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 <jim@rfc1035.com>.

		Added support for Linux anon_inodefs, provided by Masatake
		YAMATO <yamato@redhat.com>.

		Documented a Solaris 9 and 10 portmap reporting problem
		(+M) in 00FAQ.  The problem was reported by Clint
		Roberts <Clint.Roberts@ttius.com>.  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 <danny@cs.huji.ac.il> reported the
		need for the addition.

		Added ICMP socket support for Linux with code provided by
		Masatake YAMATO <yamato@redhat.com>.

		Corrected the reporting of process group ID for libproc
		versions of Mac OS X with a patch from Jeff Trawick
		<trawick@gmail.com>.  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 <ajn@apple.com>.

		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 <warren@etr-usa.com>.  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
		<yamato@redhat.com> developed the kernel patch to getxattr()
		and supplied the lsof patch.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Apr 20 21:48:47 2013 UTC (13 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -1 lines
Fix broken build on netbsd-5.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Jan 12 03:27:21 2013 UTC (13 years, 10 months ago) by dholland
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
Teach this about NetBSD 5.1, 5.2, 6.0, and 6.99 to silence useless build
warnings.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Sep 3 12:32:32 2011 UTC (15 years, 2 months ago) by christos
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4 lines
welcome to 4.84

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Mar 21 00:22:02 2011 UTC (15 years, 8 months ago) by jym
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -2 lines
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.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon May 10 08:21:41 2010 UTC (16 years, 6 months ago) by sbd
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -5 lines
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.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Apr 30 06:53:06 2010 UTC (16 years, 6 months ago) by sbd
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
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.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Aug 11 20:53:06 2009 UTC (17 years, 3 months ago) by apb
Branches: MAIN
CVS tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Make this build again on netbsd-current.  Bump PKGREVISION to 5.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun May 17 20:40:46 2009 UTC (17 years, 6 months ago) by seb
Branches: MAIN
CVS tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
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.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri May 1 12:56:50 2009 UTC (17 years, 6 months ago) by apb
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2 lines
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

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat May 17 23:53:29 2008 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +5 -3 lines
make this work again.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Dec 28 16:15:39 2007 UTC (18 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2 lines
Do not use DEBUG compiler flags

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Dec 17 11:13:40 2007 UTC (18 years, 11 months ago) by tron
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
Fix build under NetBSD 4.0 and older.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:01:40 2007 UTC (18 years, 11 months ago) by apb
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +2 -2 lines
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.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Nov 21 20:42:16 2007 UTC (18 years, 11 months ago) by apb
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
Update checksums for patch-ad and patch-af, forgotten in previous commit.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Aug 14 19:59:18 2007 UTC (19 years, 3 months ago) by veego
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -5 lines
- 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)

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Aug 12 15:00:34 2007 UTC (19 years, 3 months ago) by seb
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
Revert previous fix at veego@ request.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Aug 12 14:22:49 2007 UTC (19 years, 3 months ago) by seb
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2 lines
Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun May 6 21:42:02 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
CVS tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1 lines
update checksum

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun May 6 21:41:30 2007 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +5 -6 lines
upgrade to 4.78

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Mar 14 11:36:25 2007 UTC (19 years, 8 months ago) by markd
Branches: MAIN
CVS tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -5 lines
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.)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Aug 1 12:29:59 2006 UTC (20 years, 3 months ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2 lines
Make this build again with NetBSD older than 3.99.24.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Aug 1 12:24:12 2006 UTC (20 years, 3 months ago) by tron
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -1 lines
Make this build under NetBSD 3.99.24 and newer.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jun 4 21:00:51 2006 UTC (20 years, 5 months ago) by christos
Branches: MAIN
CVS tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1 lines
We don't export struct lockf anymore, thus we cannot print lock info.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Nov 9 08:06:32 2005 UTC (21 years ago) by tron
Branches: MAIN
CVS tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -1 lines
Fix build problem under NetBSD 3.99.11 as suggested by Andrew Brown
in private e-mail.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Sep 15 02:45:13 2005 UTC (21 years, 2 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -1 lines
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.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Sep 14 01:22:50 2005 UTC (21 years, 2 months ago) by taca
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -4 lines
Make sure to update contents of distinfo to lsof 4.76.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Sep 13 20:18:28 2005 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2 lines
lsof 4.75 is gone; use 4.76

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue May 24 20:40:56 2005 UTC (21 years, 5 months ago) by kristerw
Branches: MAIN
CVS tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -1 lines
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...)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue May 17 04:45:08 2005 UTC (21 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -6 lines
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.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Mar 26 20:36:01 2005 UTC (21 years, 7 months ago) by kristerw
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -1 lines
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).

Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Mar 23 04:57:59 2005 UTC (21 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
Oops, wrong distinfo file

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Mar 23 04:35:56 2005 UTC (21 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
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.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Mar 19 19:47:33 2005 UTC (21 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -1 lines
Fix lsof build on NetBSD 3.99.1

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 24 13:40:54 2005 UTC (21 years, 8 months ago) by agc
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1 lines
Add RMD160 digests.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jan 17 14:54:01 2005 UTC (21 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -11 lines
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.)
                ...

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Dec 18 05:30:33 2004 UTC (21 years, 11 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
Fix lsof to deal with the new ptyfs fake inode number allocation
scheme.  This code now does both.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Nov 30 02:02:13 2004 UTC (21 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
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.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Nov 28 22:39:07 2004 UTC (21 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -4 lines
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.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Fri Nov 12 05:41:36 2004 UTC (22 years ago) by erh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Check for actual existance of sys/bufq.h instead of just relying on uname.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Nov 7 18:16:27 2004 UTC (22 years ago) by kim
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -1 lines
Needs <sys/bufq.h> on 2.99.10

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 21 13:09:20 2004 UTC (22 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
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.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Oct 19 13:10:47 2004 UTC (22 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
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.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jul 13 13:42:41 2004 UTC (22 years, 4 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -6 lines
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.
                ...

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Apr 29 04:19:22 2004 UTC (22 years, 6 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -2 lines
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.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Apr 1 20:15:54 2004 UTC (22 years, 7 months ago) by tron
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Use configuration for NetBSD 1.6* under 2.0* to fix build under
NetBSD 2.0 and newer.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Mar 12 14:31:37 2004 UTC (22 years, 8 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
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]

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 17 19:37:35 2004 UTC (22 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Actually, since we can, let's use the .bz2 file

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Jan 17 19:31:30 2004 UTC (22 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -5 lines
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.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jan 13 02:50:27 2004 UTC (22 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
Add LFS support to lsof.  Bump PKGREVISION to 1, making this 4.69nb1.
This patch will be included in the next lsof release.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Nov 22 23:30:03 2003 UTC (22 years, 11 months ago) by atatat
Branches: MAIN
CVS tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
Bring back patch-aa -- it's for pkgsrc, not a bugfix.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Nov 22 23:19:47 2003 UTC (22 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -9 lines
4.69 is out, 4.68 is gone. Approved by agc.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Oct 4 20:22:35 2003 UTC (23 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
Refix build on -current now that procfs and kernfs have churned again.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Sep 26 03:13:04 2003 UTC (23 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
Make lsof build under -current again

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Aug 13 13:24:15 2003 UTC (23 years, 3 months ago) by atatat
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -2 lines
A patch (courtesy of the lsof maintainer) to make lsof build again on
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.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Jun 19 03:09:37 2003 UTC (23 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -6 lines
Upgrade to lsof version 4.68.  Changes related to or affecting NetBSD
(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.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun May 4 10:27:44 2003 UTC (23 years, 6 months ago) by salo
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Sync with reality. (hi atatat!)

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat May 3 16:55:28 2003 UTC (23 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -2 lines
Re-patch lsof with patches from Vic Abell.  Building should now work
on all platforms, with ffs2 (and ext2fs) related bugs smoothed out.

Bump to PKGREVISION 2.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 19 02:09:09 2003 UTC (23 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
make this compile again. No UFS2 support.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Mar 27 14:13:26 2003 UTC (23 years, 7 months ago) by atatat
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -7 lines
Upgrade to lsof version 4.67.  Changes related to or affecting NetBSD
(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.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Feb 3 01:03:14 2003 UTC (23 years, 9 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-1-6-1-base, netbsd-1-6-1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -1 lines
Add kqueue support to lsof.  Bump PKGREVISION to 1, making this
4.66nb1.  This patch will be included in the next lsof release.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Dec 22 20:09:00 2002 UTC (23 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Sorry.  Botched distinfo file.  This one should be fine.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Dec 22 20:04:30 2002 UTC (23 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
Upgrade lsof pkg to 4.66.  Notable changes are:

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

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Oct 12 03:13:40 2002 UTC (24 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -4 lines
Upgrade lsof pkg to 4.65.  Notable changes from 00DIST are:
...
                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.  :)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 13 16:55:14 2002 UTC (24 years, 2 months ago) by atatat
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Clean up the fix for the missing bufq_state so that builds on older
current systems, on 1.6, and on previous releases should all work now.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 13 15:53:09 2002 UTC (24 years, 2 months ago) by tron
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2 lines
Restore "patch-aa" which got clobbered during the last commit by mistake.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Sep 12 19:12:18 2002 UTC (24 years, 2 months ago) by tron
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
Fix build problem under NetBSD-current and combine two patches which
modify the same file.

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 20 12:53:13 2002 UTC (24 years, 3 months ago) by wiz
Branches: netbsd-1-6
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -1 lines
Pull up 1.12 of patches/patch-ab (new file) to the 1.6 branch, and
regen distinfo (sync with 1.17 of that file).

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Aug 19 22:52:24 2002 UTC (24 years, 3 months ago) by atatat
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Make lsof 4.64 build under 1.5 again.  Once 4.65 comes out, this patch
can be removed.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 26 20:11:29 2002 UTC (24 years, 4 months ago) by atatat
Branches: MAIN
CVS tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base
Branch point for: netbsd-1-6
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Upgrade lsof pkg to 4.64.  Notable changes from 00DIST are:

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

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Apr 24 17:48:29 2002 UTC (24 years, 6 months ago) by atatat
Branches: MAIN
CVS tags: buildlink2-base, buildlink2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Update lsof to version 4.63.  NetBSD relevant excerpts from the
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.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Apr 19 15:01:34 2002 UTC (24 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Size the correct distfile (not updated).

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Apr 15 15:23:19 2002 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
The March 7, 2002 revision (4.62): improves UnixWare >=7.1.1 reporting of UNIX socket NAME field information; updates 00README information on using gcc to compile lsof for AIX; corrects bugs and reporting of non-/dev (or non-device) block device nodes ;makes compilation under BSDI 5.0 possible, but does not substantiate any claim that lsof works there; updates private memfs_mnode.h OpenUNIX header file; enables use of HP-UX bundled C compiler on HP-UX 11.11.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jan 23 01:34:36 2002 UTC (24 years, 9 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Upgrade to version 4.61.  NetBSD related fixes/features from the
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Dec 21 21:26:05 2001 UTC (24 years, 11 months ago) by atatat
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Upgrade to version 4.60.  NetBSD related fixes/features from the
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!"  :)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 22 12:39:18 2001 UTC (25 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4 lines
Upgrade to lsof version 4.59, which obsoletes patch-ab.  NetBSD
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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 9 14:11:06 2001 UTC (25 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
New patch sum for altered patch file

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:57:46 2001 UTC (25 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -3 lines
Update to lsof release 4.58 (no obvious NetBSD related changes) and
add a patch to "detect" uvm after Chuck's recent work.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Aug 21 09:51:56 2001 UTC (25 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Update to 4.57. Only change that seems it could affect NetBSD:
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 14 15:39:30 2001 UTC (25 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Update to 4.56.  No obvious NetBSD related changes.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 4 21:08:25 2001 UTC (25 years, 6 months ago) by atatat
Branches: MAIN
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Back out the update.  Freeze was in effect and I forgot.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri May 4 19:07:40 2001 UTC (25 years, 6 months ago) by atatat
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Update to 4.56_W

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 30 14:37:24 2001 UTC (25 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Add a mk.conf variable LSOF_MORE_SECURE, which, if set to 1, will
mean that non-privileged users can only view their own open files.

Fixes PR 12741, from Anne Bennett (anne@alcor.concordia.ca)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 19 11:29:05 2001 UTC (25 years, 7 months ago) by agc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2 lines
Move to sha1 digests, and add distfile sizes.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 11:50:31 2001 UTC (25 years, 7 months ago) by agc
Branches: MAIN
+ move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>