Commit graph

82 commits

Author SHA1 Message Date
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
234b958ad1 Redo three patches to address build failure on NetBSD <= 1.6ZC, to
change the reported node number for the master side of ptyfs devices,
and to deal more cleanly with some header files.
2004-11-30 02:02:13 +00:00
atatat
76d4751d5c Tweak the sys/bufq.h support (it disappeared again), enhance the
procfs support a little, incorporate the author's patches to deal with
netbsd-current version numbers getting longer, and add ptyfs support.

These patches are adapted from an interim release the author made and
will appear in the next full release.

PKGREVISION bumped to 1 for the ptyfs support.
2004-11-28 22:39:07 +00:00
atatat
b54ce30814 Upgrade to lsof version 4.73. No changes related to or affecting
NetBSD (or pkgsrc) are mentioned in the 00DIST file, but this update
conveniently and completely eliminates the problem of the changing tar
file from a few days ago.
2004-10-21 13:09:20 +00:00
atatat
397e5f8aaf A minor change (by the author) to the tarball (but without changing
the name) renders the checksum invalid (even though the material
contents of the tarball are unchanged).

Luckily, we can switch from the .tar.bz2 distribution to the .tar.gz
one.  It's a little larger, but it get around this problem.  We will
switch back to the .tar.bz2 one once 4.73 is released, which ought to
happen in a few weeks.
2004-10-19 13:10:47 +00:00
atatat
27b27a2e7b Upgrade to lsof version 4.72. Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.72            July 13, 2004
                ...
                Added support for NetBSD 2.0 with patches supplied by
                Andrew Brown <atatat@atatdot.net>.  Andrew also
                provided two test systems.
                ...
2004-07-13 13:42:41 +00:00
atatat
97298bbfe4 Fix NetBSD 2.0 check in Configure, and check for and deal with the new
statvfs() sysctl call which replaced statfs() around 2.0D.  This pkg
will now build on current again (addresses my PR pkg/25372).  Bump
PKGREVISION to 1.

Changes adapted from changes adapted by lsof maintainer based on
changes that made things work this morning.  That means they'll all be
in the next official lsof release.  So there.
2004-04-29 04:19:22 +00:00
atatat
81f3f21257 Upgrade to lsof version 4.71. Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.71            March 11, 2004
                ...
                Added process_kqueue() function prototypes for FreeBSD,
                NetBSD and OpenBSD.
                ...
                Added support for the optional reporting of socket
                options, socket states and TCP flags for most currently
                supported dialects. John Smith <lbalbalba@hotmail.com>
                and Tristan Nefzger <tn@bhtrader.com> requested the
                information.  The dialects and their versions for which
                this feature has become available include:

                    AIX 4.3.2 and 5.[12]
                    Apple Darwin 7.2
                    BSDI BSD/OS 4.3.1
                    Digital UNIX and Tru64 UNIX 4.0
                    FreeBSD 4.9 and 5.2
                    HP-UX 11 and 11.11 (aka 11i)
                    NetBSD 1.6ZH
                    OpenBSD 3.4
                    OPENSTEP 4.2
                    OpenUNIX 8
                    Solaris 2.6, 8, 9 and 10
                    UnixWare 7.1.[134]
2004-03-12 14:31:37 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
atatat
a9b0c4ecc4 Actually, since we can, let's use the .bz2 file 2004-01-17 19:37:35 +00:00
atatat
c92f357754 Upgrade to lsof version 4.70. Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file:

4.70            January 16, 2004
                ...
                Added bz2 compression.
                ...
                Improved handling of parameters after "-i@".
                ...
                With help from Andrew Brown <atatat@atatdot.net> and
                John Heasley <heas@netbsd.org> added log-structured
                file system (LFS) support for NetBSD and OpenBSD.
2004-01-17 19:31:30 +00:00
atatat
6db43c9266 Add LFS support to lsof. Bump PKGREVISION to 1, making this 4.69nb1.
This patch will be included in the next lsof release.
2004-01-13 02:50:27 +00:00
jlam
d916fe5c4e bl3ify 2004-01-05 12:48:30 +00:00
christos
dbe710593d 4.69 is out, 4.68 is gone. Approved by agc. 2003-11-22 23:19:47 +00:00
veego
3ef1ffef93 Bump PKGREVISION for the latest changes from atatat:
Refix build on -current now that procfs and kernfs have churned again.
2003-10-05 07:26:11 +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
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
tron
a3fbe78da6 Remove non-existing site "ftp.web.ad.jp" from master site list and
correct hostname of mirror in Sweden.
2003-06-19 07:31:13 +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
salo
92cfd159f2 delint. 2003-05-04 10:28:30 +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
grant
dc40bcec01 make usage of pax more consistent, use -O to bomb on broken archives
(suggested by lukem), group z, r and f flags.

some whitespace cleanup.
2003-04-10 20:10:15 +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
atatat
3e074711b2 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).
2002-12-22 20:04:30 +00:00
atatat
06e80c6736 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.  :)
2002-10-12 03:13:39 +00:00
atatat
c3db2e46f9 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).
2002-06-26 20:11:29 +00:00
yyamano
3b51f99ef1 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-05-29 14:33:35 +00:00
atatat
03f70810c7 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.
2002-04-24 17:48:29 +00:00
christos
287bce60ef 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. 2002-04-15 15:23:19 +00:00
hubertf
41bd74e119 Mark with OSVERSION_SPECIFIC to prevent it from printinv warnings:
lsof: WARNING: compiled for NetBSD release 1.5.1_ALPHA; this is 1.5.3_ALPHA.
2002-03-03 23:45:41 +00:00
atatat
b9302ca830 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.
2002-01-23 01:34:36 +00:00
atatat
c4d4636352 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!"  :)
2001-12-21 21:26:05 +00:00
atatat
2a6275afcb 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.
2001-10-22 12:39:17 +00:00
atatat
a127ceeb4e Update to lsof release 4.58 (no obvious NetBSD related changes) and
add a patch to "detect" uvm after Chuck's recent work.
2001-10-09 13:57:46 +00:00
tron
b915dc0f22 Use "${STRIPFLAG}" and not "${STRIP}" as argument to "install" in the
"do-install" target so that the "lsof" binary really gets stripped. Patch
supplied by Eric Gillespie Jr. in PR pkg/14092.
2001-09-29 06:18:10 +00:00
wiz
b47f1e91c9 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.
2001-08-21 09:51:56 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
atatat
e3062af375 Update to 4.56. No obvious NetBSD related changes. 2001-05-14 15:39:30 +00:00
atatat
15036c2791 Back out the update. Freeze was in effect and I forgot. 2001-05-04 21:08:25 +00:00
atatat
a2027bb811 Update to 4.56_W 2001-05-04 19:07:40 +00:00
agc
5687d4b75c 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)
2001-04-30 14:37:23 +00:00
agc
38340971a9 Make this work in the presence of digest, and the absence of an MD5
definition
2001-03-07 16:07:31 +00:00
jlam
43de2278e8 Honor CFLAGS passed in from environment. 2001-02-28 16:50:58 +00:00
atatat
34eab2edc8 Update to 4.55_W 2001-02-28 15:07:41 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
0860f30c5a Update to 4.53. No obvious NetBSD related changes. 2000-12-06 23:38:41 +00:00
drochner
23e4ab3bf0 lsof is at 4.52 now. There are no changes for NetBSD obviously, it's only
that the old distfile isn't available anymore.
2000-12-05 18:56:44 +00:00