Commit graph

14 commits

Author SHA1 Message Date
apb
c32fafa0c9 Make lsof build on NetBSD >= 4.99.33. 2007-11-21 11:01:55 +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
christos
f63d87891b upgrade to 4.78 2007-05-06 21:41:30 +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
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
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
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
christos
dbe710593d 4.69 is out, 4.68 is gone. Approved by agc. 2003-11-22 23:19:47 +00:00
atatat
8a3a940f43 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.
2003-08-13 13:24:15 +00:00
atatat
06607c96e0 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.
2003-06-19 03:09:37 +00:00
atatat
68b37f4439 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.
2003-05-03 16:55:28 +00:00
atatat
a822d6017a 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.
2003-03-27 14:13:26 +00:00
atatat
ea2631638b Add kqueue support to lsof. Bump PKGREVISION to 1, making this
4.66nb1.  This patch will be included in the next lsof release.
2003-02-03 01:03:14 +00:00