Commit graph

78 commits

Author SHA1 Message Date
atatat
c03973bbc0 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.
2002-09-13 16:55:14 +00:00
tron
451b0fa225 Restore "patch-aa" which got clobbered during the last commit by mistake. 2002-09-13 15:53:09 +00:00
tron
c9ec59773d Fix build problem under NetBSD-current and combine two patches which
modify the same file.
2002-09-12 19:12:18 +00:00
atatat
19c1168b8e Make lsof 4.64 build under 1.5 again. Once 4.65 comes out, this patch
can be removed.
2002-08-19 22:52:24 +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
wiz
164565ba98 Size the correct distfile (not updated). 2002-04-19 15:01:34 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +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
139def845f New patch sum for altered patch file 2001-10-09 14:11:06 +00:00
atatat
0eefe67998 Add RCS Id to patch. 2001-10-09 14:05:15 +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
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +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
wiz
abea2ed953 Update to 4.51 -- integrates patch. Other relevant changes:
Changes scripts/ to make Perl 5 the standard; corrects a bug in the
reporting of a PTX fattach()'d target address; encourages NetBSD and
OpenBSD lsof to use /usr/include/uvm when it's available; adds
snprintf() support, including a private version for dialects without
one; fixes a BSDI, DEC/OSF1, Digital UNIX, FreeBSD, NetBSD, OpenBSD,
and Tru64 UNIX repeat-mode memory leak.
2000-08-25 00:51:21 +00:00
kim
efee532d9f When __NetBSD_Version__ is not defined we need to assume the old stuff
(vm) rather than the new stuff (uvm).
2000-08-13 12:19:28 +00:00
itojun
8ddff59820 undo previous, committed by mistake. 2000-08-11 14:40:53 +00:00
itojun
2dc7b8e2b5 regen 2000-08-11 14:05:15 +00:00
jlam
e776872090 Make this compile on <vm/vm*.h>-less systems. Should address pkg/10706
by Wolfgang Rupprech <wolfgang@wsrcc.com>.
2000-07-29 08:52:21 +00:00
wiz
433f8abdd0 Use release version instead of pre-release version. No functional change.
Bump version to 4.50.2.
2000-06-30 23:28:18 +00:00
wiz
a144168f6d Update to pre-release 4.50D. Fixes pkg/10461.
BSD-relevant changes:
o Updated FreeBSD, NetBSD, NeXTSTEP, OpenBSD, and OpenStep support to
  report "no PCB" and the values of the SO_CANTSENDMORE and
  SO_CANTRCVMORE state flags when a socket structure has no inpcb
  pointer.
o Upgraded support for FreeBSD 5.0-CURRENT.  Ben Smithurst
  <ben@scientia.demon.co.uk> supplied patches and did testing.  David
  O'Brien <obrien@NUXI.com> supplied a test system.  The update included
  dropping the Fctty part of file descriptor file system support,
  conditional on a Configure script test.  I propagated those changes to
  BSDI, NetBSD, and OpenBSD in anticipation of their having the
  modification in the future.
o Added support for 64 bit file sizes and offsets on BSDI, FreeBSD,
  NetBSD, and OpenBSD, based on a report from Dan Nelson
  <dnelson@emsphone.com>.  Dan supplied a patch and did FreeBSD testing.
o Added Configure script recognition of NetBSD 1.5, based on a report
  from Andrew Brown <atatat@atatdot.net>.
2000-06-28 00:40:44 +00:00
wiz
db2bda65f2 update to the release version lsof-4.49 (we have been using a beta);
no functional change as far as I can tell.
2000-04-06 13:17:09 +00:00
tron
782b73a94b Adapt to new handling of "${CONFIGURE}". 2000-03-27 08:54:53 +00:00
wiz
d1aca34034 chmod -> ${CHMOD} 2000-03-16 14:02:26 +00:00
wiz
685f7e10c5 update to 4.49C. Patch incorporated; other changes include an AIX fix,
better Solaris 7/8 autoconfiguration and minor code cleanup.
2000-02-22 23:29:21 +00:00
wiz
73a308e8dc Updated to lsof 4.49B pre-release. Changes since 4.46 are mainly bugfixes
and better IPv6-support, as well as 1.4-current support.
2000-02-19 03:58:23 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
frueauf
9e5f8954b9 Update lsof to 4.46.
4.46            October 23, 1999
                Corrected /proc-based Linux lsof to detect that an
                IPv6 address is a mapped IPv4 address.  The problem
                was reported and analyzed by Arkadiusz Miskiewicz
                <misiek@misiek.eu.org>, who also tested the fix.

                Added a libc5 library /dev/kmem-based Linux lsof
                circumvention, supplied by Jason Lingohr
                <lingman@lucid.net.au>.

                Corrected a bug in -t (terse) AIX output, reported
                by Wendy Lin <af5@taiyang.cc.purdue.edu>.  I
                introduced the bug at revision 4.43 when adding
                FILE_FLAG reporting.  This was offered as a patch
                to 4.45.

                Added a work-around for a problem in the OpenBSD
                2.3 <sys/pipe.h> header file.  Volker Borchert
                <bt@teknon.de> provided and tested it.

                Improved description of cross-building lsof for a
                64 bit Solaris 7 system on a 32 bit system with
                suggestions from Phillip Edwards
                <Philip.Edwards@sn.wpafb.af.mil>.

                Fixed a gawk POSIX-mode pattern error in the Linux
                /dev/kmem-based Mksrc script, based on a tip from
                Ambrose C. Li <acli@mingpaoxpress.com>.

                Fixed a bug in the Tru64 UNIX IPv6 handling, courtesy
                of a report from Casper Dik <casper@holland.sun.com>.

                Enabled support for OpenBSD 2.6.

                Enabled support for BSDI 4.1, based on a report from
                Jeffrey C Honig <jch@bsdi.com> that only a Configure
                script change is necessary.

                Enabled Configure script to use gcc for building
                lsof for a 64 bit Solaris 7 and 8 kernels, if the
                gcc version is 2.95 or above.

                Improved -i option handling for systems with IPv6
                support so that it will search for a host name in
                both IPv4 and IPv6 families, when that is possible.
                As a companion modification, changed -V processing
                to report a single error when a multiple host name
                match is requested.  Casper Dik <casper@holland.Sun.COM>
                helped test.

                Fixed a DEC OSF/1, Digital UNIX, Tru64 UNIX repeat
                mode bug, reported by Mayer Ilovitz <mayer@cooper.edu>.
                Mayer helped test the fix.  The fix was offered as a
                patch to 4.45.

                Changed Solaris socket file recognition scheme, so it
                is (nearly) the same through Solaris 8, where the
                previous clone device scheme no longer works.

                With significant assistance from Casper Dik, added
                support for Solaris 8 Beta and Beta refresh.  The
                IPv6 support in Solaris 8 is still in some flux,
                so there are temporary compensations for the
                differences between Beta IPv6 support and Beta
                refresh IPv6 support.  Casper and I hope those
                differences disappear by FCS.

                Improved the delivery of information on Solaris
                2.5.1, 2.6, 7, and 8 door files.

                Fixed a repeat mode bug that surfaces when /etc/passwd
                changes between cycles.  The bug report and diagnostic
                help were supplied by Igor Schein <igor@txc.com>.
                The fix was offered as a patch to 4.45.

                Added support for INRIA IPv6 to NetBSD.  Jean-Luc
                Richier <Jean-Luc.Richier@imag.fr> provided patches
                and a test system on which to verify them.

                Added support for AIX 4.3.3.  Jeff W. Stewart
                <jws@anaconda.cc.purdue.edu> provided a test system.

                Made adjustments for FreeBSD 4.0-current.

                Improved reporting of information for AIX sockets that
                lack protocol control blocks.
1999-11-14 17:51:24 +00:00
tron
f6b11207c0 Update "lsof" package to version 4.45. Fixes PR pkg/8123 by
Wolfgang Rupprecht.
1999-07-30 21:56:57 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
agc
c9580c5871 Revert to previous configuration:
LOWER_OPSYS for Solaris is solaris.
Remove the ugly hacks which had been introduced to workaround previous
misunderstanding.
1999-07-08 08:06:59 +00:00