Commit graph

172 commits

Author SHA1 Message Date
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
agc
cf59f22df8 Make this package work on Solaris. Again. 1999-07-07 18:13:56 +00:00
hubertf
7d3d727c03 Update to V4.44. Changes:
Corrects SunOS 4.1.x HSFS and segmentation fault problems; improves
handling of UNIX PCB addresses in the /proc-based Linux lsof;
corrects PPID and PGRP output ordering conflict; enhanced some
library modules so more dialect versions could use them; adds raw
socket support for /proc-based Linux lsof; adds support for UnixWare
7.1; made NetBSD 1.4C updates; makes minor adjustment for latest
Tru64 UNIX 5.0 Beta release.
1999-06-25 02:41:14 +00:00
christos
6c5cb13245 Update to 4.43_W 1999-06-02 16:14:53 +00:00
kleink
4092780ccf Handle factored out cwdinfo. 1999-05-20 10:32:37 +00:00
bad
6a7aa420e4 Update lsof to 4.42_W.
Relevant changes in this version:
   improved file system search name reporting;
   updates Solaris 2.6 VxFS support;
   support for the latest NetBSD with default UVM support.
1999-05-05 17:40:36 +00:00
bad
f1b536b577 From ks@ub.uni-mainz.de: recognise 1.4ish systems. 1999-05-05 17:32:45 +00:00
bad
5b7f89ebe5 Switch to ftp0.sunet.se per directions during login on that server. 1999-05-05 16:40:20 +00:00
agc
2ad58442ab Fix the LSOF_RANLIB target under Solaris in the generated lib Makefile. 1999-04-21 10:40:41 +00:00
agc
d519aa52b0 Correct a few typos, and make this safe for Solaris. 1999-04-21 10:38:58 +00:00
agc
171e025b4a Rewrite the extraction commands to be more intuitive.
In the vast majority of cases, nothing has changed (i.e. .tgz, .tar.gz,
and .tar.bz2).

EXTRACT_USING_PAX can be set as before.

For custom extractions, instead of using EXTRACT_BEFORE_ARGS,
EXTRACT_AFTER_ARGS and EXTRACT_CMD, simply set EXTRACT_CMD to be the
command needed to decompress and extract the lements from the archive.
${DOWNLOADED_DISTFILE} can be used to reference the distfile(s).
e.g. for compressed shars, where previously there was:

EXTRACT_CMD=           ${GZCAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=    |sh

now use:

EXTRACT_CMD=           ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SH}
1999-04-01 14:07:52 +00:00
frueauf
929990c04b Remove entries from lsof_4.40_W, just keep the current one. 1999-03-28 22:05:36 +00:00
christos
21a112d73e Update to lsof_4.41_W 1999-03-28 17:29:53 +00:00
frueauf
46ed52beaa Add arg.c.patch to PATCHFILES, should fix security hole described in
http://www.hert.org/advisories/HERT-02.asc.
Add patch to dialects/n+obsd/dlsof.h to define _KERNEL when including
<sys/socket.h> to get the sockprot definition. Needed to compile on current.
1999-02-18 23:09:45 +00:00
erh
7285d05c80 Update lsof to 4.40. 1999-02-17 05:34:32 +00:00
frueauf
af272ead05 Update lsof to 4.39.
The November 25, 1998 revision (4.38): adds FreeBSD 3.0 support;
has idrlogin.perl* scripts updated to recognize sshd processes;
adds support for Digital UNIX 5.0-BETA; adds support for OpenBSD
2.4; adds support for SCO OSR 5.0.5; changes Solaris 2.7 support
to Solaris 7 support; adds support for NEXTSTEP 3.3; adds support
for OpenStep 4.x; adds support for UnixWare 2.1.3; adds support
for Linux 2.0.36; updated NetBSD sources for UVM header file
change; corrects a bug in Sun format kernel name cache processing.

The December 29 1998 revision (4.39): fixes a device number
handling bug for Solaris 7; improves FreeBSD configuration; adds
+f[cfn] option for listing file structure values; makes minor
tweaks for additional Linux glibc evasion; supports AIX 4.3.2;
fixes a -c option processing bug.
1999-01-01 01:56:51 +00:00
hubertf
0bb9401238 fis Homepages URL, per PR 6454 by Geoff C. Wing <gcw@pobox.com> 1998-11-18 13:04:24 +00:00
drochner
7415aef7b7 update for recent UVM change: vm maps are always main maps 1998-10-22 12:17:21 +00:00
frueauf
7483a3fcd1 Update lsof to 4.37. 1998-09-28 10:57:38 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
frueauf
68d6309e50 Update lsof to 4.36, closes pr 5966. 1998-08-14 20:52:38 +00:00
agc
ad7a1de42a Add NetBSD RCS Ids. 1998-08-11 12:20:56 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
frueauf
10481c29a9 Update to lsof-4.33_W. 1998-06-11 16:25:31 +00:00
frueauf
c4ff7f1c24 Update to lsof 4.31. 1998-05-03 22:37:18 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
frueauf
e6ce6c878e Add support for UVM. 1998-04-02 09:35:38 +00:00
frueauf
23b08d5255 Initial import of lsof-4.29 pkg.
XXX this will not yet run with UVM
1998-04-01 15:02:36 +00:00