summaryrefslogtreecommitdiff
path: root/sysutils/lsof/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2002-06-26Upgrade lsof pkg to 4.64. Notable changes from 00DIST are:atatat1-4/+4
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-05-29Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467.yyamano1-2/+2
2002-04-24Update lsof to version 4.63. NetBSD relevant excerpts from theatatat1-3/+3
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-15The March 7, 2002 revision (4.62): improves UnixWare >=7.1.1 reporting of ↵christos1-3/+3
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-03-03Mark with OSVERSION_SPECIFIC to prevent it from printinv warnings:hubertf1-1/+2
lsof: WARNING: compiled for NetBSD release 1.5.1_ALPHA; this is 1.5.3_ALPHA.
2002-01-23Upgrade to version 4.61. NetBSD related fixes/features from theatatat1-7/+8
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.
2001-12-21Upgrade to version 4.60. NetBSD related fixes/features from theatatat1-3/+4
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-10-22Upgrade to lsof version 4.59, which obsoletes patch-ab. NetBSDatatat1-3/+3
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-09Update to lsof release 4.58 (no obvious NetBSD related changes) andatatat1-3/+3
add a patch to "detect" uvm after Chuck's recent work.
2001-09-29Use "${STRIPFLAG}" and not "${STRIP}" as argument to "install" in thetron1-2/+2
"do-install" target so that the "lsof" binary really gets stripped. Patch supplied by Eric Gillespie Jr. in PR pkg/14092.
2001-08-21Update to 4.57. Only change that seems it could affect NetBSD:wiz1-4/+3
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-06-11CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, sojlam1-2/+2
adapt by moving CPPFLAGS settings to top-level, and removing explicit inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-05-14Update to 4.56. No obvious NetBSD related changes.atatat1-3/+3
2001-05-04Back out the update. Freeze was in effect and I forgot.atatat1-3/+3
2001-05-04Update to 4.56_Watatat1-3/+3
2001-04-30Add a mk.conf variable LSOF_MORE_SECURE, which, if set to 1, willagc1-1/+4
mean that non-privileged users can only view their own open files. Fixes PR 12741, from Anne Bennett (anne@alcor.concordia.ca)
2001-03-07Make this work in the presence of digest, and the absence of an MD5agc1-2/+2
definition
2001-02-28Honor CFLAGS passed in from environment.jlam1-1/+2
2001-02-28Update to 4.55_Watatat1-3/+3
2001-02-25Cleanup MKDIR usage => INSTALL_*_DIRhubertf1-2/+2
XXX need to teach pkglint to be more picky about this
2001-02-17Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz1-1/+2
2000-12-06Update to 4.53. No obvious NetBSD related changes.wiz1-3/+3
2000-12-05lsof is at 4.52 now. There are no changes for NetBSD obviously, it's onlydrochner1-3/+3
that the old distfile isn't available anymore.
2000-08-25Update to 4.51 -- integrates patch. Other relevant changes:wiz1-3/+3
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-06-30Use release version instead of pre-release version. No functional change.wiz1-5/+3
Bump version to 4.50.2.
2000-06-28Update to pre-release 4.50D. Fixes pkg/10461.wiz1-3/+5
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-04-06update to the release version lsof-4.49 (we have been using a beta);wiz1-18/+17
no functional change as far as I can tell.
2000-03-27Adapt to new handling of "${CONFIGURE}".tron1-2/+2
2000-03-16chmod -> ${CHMOD}wiz1-2/+2
2000-02-22update to 4.49C. Patch incorporated; other changes include an AIX fix,wiz1-3/+3
better Solaris 7/8 autoconfiguration and minor code cleanup.
2000-02-19Updated to lsof 4.49B pre-release. Changes since 4.46 are mainly bugfixeswiz1-16/+18
and better IPv6-support, as well as 1.4-current support.
1999-11-14Update lsof to 4.46.frueauf1-3/+3
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-07-30Update "lsof" package to version 4.45. Fixes PR pkg/8123 bytron1-3/+3
Wolfgang Rupprecht.
1999-07-08Revert to previous configuration:agc1-5/+2
LOWER_OPSYS for Solaris is solaris. Remove the ugly hacks which had been introduced to workaround previous misunderstanding.
1999-07-07Make this package work on Solaris. Again.agc1-4/+7
1999-06-25Update to V4.44. Changes:hubertf1-3/+3
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-02Update to 4.43_Wchristos1-3/+3
1999-05-05Update lsof to 4.42_W.bad1-3/+3
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-05Switch to ftp0.sunet.se per directions during login on that server.bad1-2/+2
1999-04-21Correct a few typos, and make this safe for Solaris.agc1-8/+14
1999-04-01Rewrite the extraction commands to be more intuitive.agc1-2/+6
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-03-28Update to lsof_4.41_Wchristos1-8/+3
1999-02-18Add arg.c.patch to PATCHFILES, should fix security hole described infrueauf1-3/+4
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-17Update lsof to 4.40.erh1-3/+3
1999-01-01Update lsof to 4.39.frueauf1-9/+5
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.
1998-11-18fis Homepages URL, per PR 6454 by Geoff C. Wing <gcw@pobox.com>hubertf1-2/+2
1998-09-28Update lsof to 4.37.frueauf1-7/+4
1998-08-20The Grand Homepagification:tsarna1-1/+2
- 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-14Update lsof to 4.36, closes pr 5966.frueauf1-3/+9
1998-06-22Update package Makefiles for automatic manual page handling.agc1-3/+1