pkgsrc/sysutils/lsof/Makefile

103 lines
3.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.140 2021/11/11 00:49:34 gutteridge Exp $
lsof: update to 4.91 o Change license to purdue (renamed from abell-94) o ChangeLog: 4.90 February 14, 2018 !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! It is likely that this is the last lsof revision I ! ! will issue, unless serious bugs are detected, Stay ! ! tuned to lsof-l for information about future support ! ! of lsof. ! ! ! ! I thank all the many contributors to lsof over the ! ! many years (20+?) I have been distributing lsof ! ! versions 1, 2, 3 and 4. ! ! ! ! Vic Abell <abe@purdue.edu> ! ! ! !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Taught the Configure script to create a dummy opt_random.h for FreeBSD systems whose <sys/random.h> includes it. Added support for the FreeBSD ZFUSE file system. Corrected the quoting in a Darwin putchar() statement in the dfile.c source file. Andrew Janke <floss@apjanke.net> reported my error. Added support for the FreeBSD DTYPE_PTS file descriptor and for unknown descriptors that reference the kernel's badfileops operation switch. Enabled FreeBSD 12.0 support. Tested the changes on systems provided by Larry Rosenman <ler@lerctr.org>. Enhanced -K option with the form "-K i" to direct lsof to (i)gnore tasks. A query from Rachel Kroll <rkroll@fb.com> suggested this option. Linux task reports now include both process and task command names, making lsof's "-c <name>" option work correctly. Added a patch to prevent NFS blocking in Linux supplied by Kristna Streitov <kstreitova@suse.com>. Installed a FreeBSD patch that prevents examining a TCP state structure during a race condition. The patch was supplied by Bryan Drewery <bdrewery@FreeBSD.org>. Updated FreeBSD for new UFS inode structure that lacks an i_dev member in the most recent 12.0-CURRENT. Larry Rosenman <ler@lerctr.org> reported the problem and provided a test system. Added "#define KLD_MODULE" to dlsof.h and dnode2.c to prevent <machine/cpuconf.h> from generating an "ARM_NARCH is 0" error. This is needed so lsof can access kernel structures. Larry Rosenman supplied the addition. Added recognition of the FreeBSD 11 file system name "nullfs". Jamie Landeg-Jones <jamie@catflap.org> supplied the fix. Added a patch from Larry Rosenman <ler@lerctr.org> that is needed on FreeBSD 12 so the lsof compilation can obtain the inpcb and tcpcb structures from their respective header files. Updated FreeBSD dmnt.c for the ino64 changes. Inserted a patch for Solaris 12.x to avoid compilation errors from <sys/aio_req.h>, based on information provided by Jorn Clausen <joern.clausen@uni-bielefeld.de>. Jorn tested the patch. Added performance enhancement that uses the FreeBSD closefrom() and dup2() C library functions when available. The enhancement was supplied by Conrad Meyer <cem@freebsd.org>. Corrected FreeBSD lsof's gathering of ZFS file device numbers. Updated lsof test library for FreeBSD. Updated socket optons information collection from the socket structure per changes supplied by Gleb Smirnoff <glebius@FreeBSD.org>. Added patch to dlsof.h that avoids a _KERNEL conflict with bzero. Mateusz Guzik <mjguzik@gmail.com> supplied the patch. Corrected test library to handle 64 bit FreeBSD device numbers. Added #defines for FreeBSD 12, src r324225, from Gleb Smirnoff <glebius@FreeBSD.org>. Incorporated Linux pseudoterminal endpoint processing (+|-E) provided by Masatake YAMATO <yamato@redhat.com> with access to test systems provided by Peter Schiffer <pschiffe@redhat.com>. Corrected Linux command extraction for commands that include parentheses -- e.g., "(sd-pam)". 4.91 March 26, 2018 A bug has been reported in the PTY endpoint processing of Linux lsof 4.90 by Peter Wu <peter@lekensteyn.nl>, making it necessary for me to release another revision of lsof. This revision applies two fixes that correct the Linux PTY endpoint processing bug. Masatake YAMATO <yamato@redhat.com> supplied the fixes.
2018-12-08 18:12:37 +01:00
DISTNAME= lsof_4.91
Update lsof to 4.83 Release Notes: 4.83 January 18, 2010 Converted Solaris 10 and above ZFS support to use the CTF debugger library, libctf. Code was supplied by Robert Byrnes <Robert.Byrnes@deshaw.com>. Corrected a typo in the testing of the LINUX_HASSELINUX environment variable in the Configure script. The error was reported by Mike Frysinger <vapier@gentoo.org>. At Mike's request made Configure script accept LSOF_RANLIB (ranlib command), LSOF_CFGF (additional configuration flags) and LSOF_CFGL (additional library specifications) from the environment. Enabled complilation of Solaris 10 lsof after a recent Sun patch which changed the PC file system's structure. Peter Vernam <pvernam@draper.com> reported the problem and helped with the fix. Made the sort of configuration CFLAGS in the CkTestDB script impervious to locale settings. Ported to Solaris 11, using a test system kindly provided by David Day <dday76@gmail.com>. Adjusted to the disappearance of <nfs/rpcv2.h> in FreeBSD 8.0-BETA1. Changed Solaris node type lookup to a hashed method and added some ability for it to handle duplicate vnodeop names in /dev/ksyms. Updated for FreeBSD 9.0-CURRENT. Andrzej Tobola <ato@iem.pw.edu.pl> provided a test system. Extends the fix to FreeBSD 6.0 and above via a Configure test and a compile-time definition. The need for the extension was reported by Erik Trulsson <ertr1013@student.uu.se>> Made corrections to FAQ typographical errors, suggested by Josh Soref <timeless@gmail.com>. Added __UCLIBC__ test to Linux dlsof.h so lsof would compile on an Intel ARM XScale processor. The addition was provided by Doug Kehn <rdkehn@yahoo.com>. Added test for <utmpx.h> to FreeBSD configuration. Improved its use in lsof.h. The changes were supplied by Martin Wilke <miwi@FreeBSD.org>. 4.82 March 25, 2009 Corrected an over-zealous exclusion test that caused lsof to report nothing when it was given no arguments and built with HASSECURITY and HASNOSOCKSECURITY enabled. Joshua Kinard <kumba@gentoo.org> reported the bug and supplied information for reproducing it. Based on a report from Dan Trinkle <trinkle@cs.purdue.edu> corrected use of <sys/utsname.h> for 32 bit Solaris 10 and above compilations. Simultaneously eliminated a casting complaint in arg.c and updated Configure to use the appropriate 64 bit compilation option (-xarch=v9 or -m64) with the Solaris Sun C compiler. Updated for FreeBSD 7.1-PRERELEASE with information supplied by Larry Rosenman <ler@lerctr.org>. Updated the Darwin libproc sources with changes from Allan Nathanson <ajn@apple.com>. Tested them on a iMac mini, provided by Apple Inc. Allan also provided man page corrections. Updated the FreeBSD Makefile to use the ${MAKE} variable for ZFS dnode2.c module compilation, based on a suggestion from Alexis Ballier <aballier@gentoo.org>. Improved the Solaris VxFS library location test, based on a suggestion from Jason Fortezzo <fortezza@mechanicalism.net>. Jason tested the change. Updated Solaris 10 ZFS support for ZFS version 4 and ZFS pool version 10, using a test system kindly provided by Vladislav Nespor <vladislav.nespor@id.ethz.ch>. Renata Maria Dart <renata@slac.stanford.edu> tested on ZFS version 4, verifying that the update works there, too. (ZFS pool version 10 is apparently the ZFS version shipped with the 10/08 update to Solaris. The original ZFS support targeted ZFS version 3.) I still consider ZFS support in Solaris lsof a hack, because it depends on a znode structure definition that I developed using dbx. Sun is remiss in not distributing the ZFS header files used to build the distributed kernel. Because of the znode structure definition hack, I can't guarantee that lsof ZFS support will work for any other versions of ZFS. Solaris 10: adjusted to a change in the way devices are stored in the kernel; fixed a problem in zone handling; and added rudimentary sharedfs support. Carson Gaspar <carson@taltos.org> reported the device number problem, provided a test system, and tested the changes. Peter Vines <psv2b@eservices.virginia.edu> reported the zone handling problem and tested the fix. Adapted to FreeBSD 8.0-CURRENT changes in device number computation. Problem was reported by Erwin Lansing <erwin@FreeBSD.org>. Larry Rosenman <ler@lerctr.org> provided a test system. Corrected Solaris Configure test for appropriate VxFS library when using gcc to compile lsof. Updated for loss of KAME IPv6 FreeBSD accommodations. Adapted to FreeBSD 7.2. Made Configure script recognized FreeBSD 6.3. 4.81 October 21, 2008 Updated the Darwin libproc sources with changes from Allan Nathanson <ajn@apple.com>. Tested them on a iMac mini, provided by Apple Inc. Changed dummy declarations in library source files to eliminate complaints about unused variables and empty object files. This change may not work on dialects I can no longer test; it has been tested on some versions of AIX, Darwin, FreeBSD, Linux and Solaris. At the request of Hal Brooks <hal@uga.edu> added support for Linux /proc/net/packet files. Hal tested it. Added socket file only performance enhancements to Linux and PSTAT-based HPUX lsof. Added htonl call around improper usage of INADDR_LOOPBACK; report from an Apple engineer forwarded by Allan Nathanson <ajn@apple.com>. Adjusted for FreeBSD-8.0 change in device number handling. The adjustment should work for FreeBSD 5 and above, should the 8.0 change be propagated downward. The problem was reported by Pav Lucistnik <pav@FreeBSD.org>. An updated test system was provided by Erwin Lansing <erwin@FreeBSD.org>. Reduced AIX support to version 5.3, since test systems with older versions are no longer available to me. At the request of Marjo F. Mercado <mmercado@xceedium.com> and Phil Shin <pshin@xceedium.com> applied some speed improvements to lsof, particularly when the files of interest are /Internet files -- i.e., selected with lsof's -i" option. Added a two new options to assist the improvements: 1) "-c^<command>" to tell lsof to exclude the named command(s); and 2) "-stcp|ud>:[^]state' to tell lsof to include in its reporting or exclude ('^') from its reporting Internet files in the named states (e.g., LISTEN, ^CLOSE_WAIT, IDLE, etc.) For the most part these changes apply only to AIX, Darwin, FreeBSD, PSTAT-based HP-UX, Linux and Solaris, since those are the only places I could test them. They are controlled by the HASTCPUDPSTATE definition in each dialect's machine.h header file. Marjo and Phil provided HP-UX 11.23 and 11.31 test systems. Fixed a stat(2) problem on HP-UX 11.31 while testing the speed improvements. Adjusted for kernel header file changes in FreeBSD 8.0-CURRENT. Larry Rosenman <ler@lerctr.org> provided a test system. Added a warning for Solaris systems where VxFS node info can't be obtained from the VxFS utility library. The warning was requested by Tom Matthews <Tom.MATTHEWS@rbs.com>. Corrected mishandling of file system path name arguments that have trailing slashes, except, of course, the root file system, "/". Allan Nathanson <ajn@apple.com> reported the bug. 4.80 May 12, 2008 Updated for a FreeBSD 7.0 and above byte level locking change. The problem was reported by Conrad J. Sabatier <conrads@cox.net>, who helped test the update. Wesley Shields <wxs@FreeBSD.org> provided an 8.0-CURRENT test system. Propagated the FreeBSD 7.0 and above locking changes to FreeBSD 6.x, based on a report from Edwin Groothuis <edwin@FreeBSD.org>. Added warnings for unsupported dialects or versions. Added Linux support for the UDPLITE protocol. Eric Dumazet <dada1@cosmosbay.com> supplied a patch. Added a missing quote to the Configure script's FreeBSD stanza. Added a usage.o rule to the HP-UX PSTAT-based Makefile. I mistakenly deleted the rule at revision 4.79. The missing rule was reported by Kawaljeet Kaur <kawaljeet.malviya@gmail.com> who tested the corrected Makefile. 4.79 April 15, 2008 **************** IMPORTANT NOTE ****************** * * * Lsof support has been reduced to the following * * dialects: AIX, FreeBSD, Linux and Solaris, and * * only in selected versions of those dialects. * * The selected versions are listed in this file * * and in other lsof documentation. * * * * I have made this move because of retirement * * and because I no longer have many test systems * * available to me. * * * * Vic Abell * * * ************************************************** Fixed a Solaris VXFS permission problem when accessing the VXFS inode offsets. The bug was reported by Gregory A. Ivanov <ivga@mts.ru>. Gregory tested the fix. Moved an #include <string.h> later in FreeBSD dlsof.h to enable compilation on recent FreeBSD releases. The change was supplied by Roy Marples <uberlord@gentoo.org>. Improved Linux /proc file stream reading speed by applying an expanded version of a patch from Eric Dumazet <dada1@cosmosbay.com> that allocates a page size buffer to each stream. Improved TCP, TCP6, UDP and UDP6 hashing by determining the hash bucket count from the /proc/net sockstat and sockstat6 files. The improvement was suggested by Eric and he provided sample code. Eric also tested both improvements. Modified Configure script to build lsof on FreeBSD 6.2. Tested it on a system provided by Larry Rosenman <ler@lerctr.org>. Fixed a Linux maps file processing bug that prevented path names from having an embedded colon. James Lingard <jchl@arastra.com> reported the bug and helped with its fix. Based on reports from Eric Dumazet and Samuel Thibault <samuel.thibault@ens-lyon.org> added support for the Linux 2.6.22 kernel's /proc/<PID>/fdinfo files -- i.e., file offset and flags. Samuel Thibault provided a test system. Fixed a Linux UNIX socket memory leak, reported by Philip Shin <pshin@xceedium.com>. Phillip supplied the fix. With generous assistance from HP added support for an HP-UX 11.23 patch that makes TLI/XTI socket address information available. Fixed a header file problem for FreeBSD 6.2 on the Alpha architecture. The problem was reported by Pekka Honkanen <phonkane@cc.hut.fi>. Pekka tested the fix. Based on a report and using suggested fixes from Karel Zak <kzak@redhat.com>, made these changes to Linux lsof: corrected a getpidcon() error message; insured that inode numbers are handled correctly for their unsigned long long type; and improved SELinux handling. At the request of Alon Bar-Lev <alonbl@gentoo.org> added the LINUX_HASSELINUX environment variable to enable or inhibit SElinux support unconditionally. Updated Configure for FreeBSD 8.0-CURRENT and tested lsof on AMD64 there. Added a patch provided by Oles Hnatkevych <don_oles@able.com.ua> for FreeBSD systems where the root file system is on a CD9660 device. Added compensation for the disappearance of FMARK and FDEFER from the FreeBSD 8.0-CURRENT <sys/file.h>. Updated FreeBSD lsof with ZFS support. Larry Rosenman <ler@lerctr.org>, Erwin Lansing <erwin@FreeBSD.org>, Wesley Shields <wxs@atarininja.org> and Dmitry Morozovsky <marck@rinet.ru> provided test systems. Fixed a socket file identification problem reported by Pavol Rusnak <stick@gk2.sk>. Pavol also reported the cause of the problem. Added the ability to format the repeat mode marker line with strftime(3), where the dialect supports the localtime(3) and strftime(3) C library functions. The addition was suggested by Mike Depot <mdepot@comcast.net>, who also tested it. The addition required creating a new main lsof source module, util.c, that contains functions whose compilation conflicts with the general header file tree defined by lsof.h and dlsof.h. Based on reports from Andrei V. Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> and Pav Lucistnik <pav@FreeBSD.org> updated the FreeBSD 7.0 and above file lock handling to use new locking structures. The update requires a terrible hack to get a definition for the lock owner structure from a kernel source module into a local lsof header file.
2010-05-10 10:21:41 +02:00
PKGNAME= ${DISTNAME:S/_/-/}
PKGREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
MASTER_SITES+= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
MASTER_SITES+= ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
MASTER_SITES+= ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/OLD/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
2017-08-16 22:21:03 +02:00
HOMEPAGE= https://people.freebsd.org/~abe/
COMMENT= Lists information about open files
lsof: update to 4.91 o Change license to purdue (renamed from abell-94) o ChangeLog: 4.90 February 14, 2018 !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! It is likely that this is the last lsof revision I ! ! will issue, unless serious bugs are detected, Stay ! ! tuned to lsof-l for information about future support ! ! of lsof. ! ! ! ! I thank all the many contributors to lsof over the ! ! many years (20+?) I have been distributing lsof ! ! versions 1, 2, 3 and 4. ! ! ! ! Vic Abell <abe@purdue.edu> ! ! ! !!!NOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Taught the Configure script to create a dummy opt_random.h for FreeBSD systems whose <sys/random.h> includes it. Added support for the FreeBSD ZFUSE file system. Corrected the quoting in a Darwin putchar() statement in the dfile.c source file. Andrew Janke <floss@apjanke.net> reported my error. Added support for the FreeBSD DTYPE_PTS file descriptor and for unknown descriptors that reference the kernel's badfileops operation switch. Enabled FreeBSD 12.0 support. Tested the changes on systems provided by Larry Rosenman <ler@lerctr.org>. Enhanced -K option with the form "-K i" to direct lsof to (i)gnore tasks. A query from Rachel Kroll <rkroll@fb.com> suggested this option. Linux task reports now include both process and task command names, making lsof's "-c <name>" option work correctly. Added a patch to prevent NFS blocking in Linux supplied by Kristna Streitov <kstreitova@suse.com>. Installed a FreeBSD patch that prevents examining a TCP state structure during a race condition. The patch was supplied by Bryan Drewery <bdrewery@FreeBSD.org>. Updated FreeBSD for new UFS inode structure that lacks an i_dev member in the most recent 12.0-CURRENT. Larry Rosenman <ler@lerctr.org> reported the problem and provided a test system. Added "#define KLD_MODULE" to dlsof.h and dnode2.c to prevent <machine/cpuconf.h> from generating an "ARM_NARCH is 0" error. This is needed so lsof can access kernel structures. Larry Rosenman supplied the addition. Added recognition of the FreeBSD 11 file system name "nullfs". Jamie Landeg-Jones <jamie@catflap.org> supplied the fix. Added a patch from Larry Rosenman <ler@lerctr.org> that is needed on FreeBSD 12 so the lsof compilation can obtain the inpcb and tcpcb structures from their respective header files. Updated FreeBSD dmnt.c for the ino64 changes. Inserted a patch for Solaris 12.x to avoid compilation errors from <sys/aio_req.h>, based on information provided by Jorn Clausen <joern.clausen@uni-bielefeld.de>. Jorn tested the patch. Added performance enhancement that uses the FreeBSD closefrom() and dup2() C library functions when available. The enhancement was supplied by Conrad Meyer <cem@freebsd.org>. Corrected FreeBSD lsof's gathering of ZFS file device numbers. Updated lsof test library for FreeBSD. Updated socket optons information collection from the socket structure per changes supplied by Gleb Smirnoff <glebius@FreeBSD.org>. Added patch to dlsof.h that avoids a _KERNEL conflict with bzero. Mateusz Guzik <mjguzik@gmail.com> supplied the patch. Corrected test library to handle 64 bit FreeBSD device numbers. Added #defines for FreeBSD 12, src r324225, from Gleb Smirnoff <glebius@FreeBSD.org>. Incorporated Linux pseudoterminal endpoint processing (+|-E) provided by Masatake YAMATO <yamato@redhat.com> with access to test systems provided by Peter Schiffer <pschiffe@redhat.com>. Corrected Linux command extraction for commands that include parentheses -- e.g., "(sd-pam)". 4.91 March 26, 2018 A bug has been reported in the PTY endpoint processing of Linux lsof 4.90 by Peter Wu <peter@lekensteyn.nl>, making it necessary for me to release another revision of lsof. This revision applies two fixes that correct the Linux PTY endpoint processing bug. Masatake YAMATO <yamato@redhat.com> supplied the fixes.
2018-12-08 18:12:37 +01:00
LICENSE= purdue
WRKSRC= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -n ${LOWER_OPSYS}
2021-09-29 15:33:38 +02:00
CONFIGURE_ENV+= LSOF_CC="${CC} ${CFLAGS} ${LDFLAGS}"
MAKE_FLAGS+= LSOF_BLDCMT="NetBSD pkgsrc rocks!"
OSVERSION_SPECIFIC= yes
EXTRACT_USING= bsdtar
2003-05-04 12:28:30 +02:00
TMPWRK= ${WRKDIR}/${DISTNAME}
SRCBALL_NAME= ${DISTNAME}_src
REPLACE_PERL+= scripts/sort_res.perl5 scripts/count_pf.perl5 \
scripts/list_NULf.perl5 scripts/big_brother.perl5 \
scripts/identd.perl5 scripts/shared.perl5 \
scripts/idrlogin.perl5 scripts/count_pf.perl \
scripts/idrlogin.perl scripts/list_fields.perl \
scripts/watch_a_file.perl
REPLACE_AWK+= scripts/xusers.awk
USE_TOOLS+= digest perl:run
TEST_DIRS= tests
TEST_TARGET= test
INTERACTIVE_STAGE+= test
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
REAL_GROUP= ${REAL_ROOT_GROUP}
.if ${OPSYS} == "NetBSD"
REAL_GROUP= kmem
CONFIGURE_ENV+= NETBSD_SYS="${NETBSDSRCDIR}/sys"
CPPFLAGS+= -D_KMEMUSER -D__NAMECACHE_PRIVATE
2010-05-14 21:01:11 +02:00
.elif ${OPSYS} == "FreeBSD"
BUILDLINK_PASSTHRU_DIRS+= /usr/src/sys
.elif ${OPSYS} == "SunOS"
REAL_GROUP= sys
MAKE_ENV+= CPPFLAGS=
CONFIGURE_ENV+= LSOF_RANLIB="/bin/true"
.endif
INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 share/doc/lsof share/examples/lsof
post-extract:
2010-05-14 21:01:11 +02:00
.if ${OPSYS} == "FreeBSD"
if [ ! -x /usr/src/sys ]; then \
2010-05-14 21:01:11 +02:00
${ECHO} "Lsof requires kernel sources to be found in /usr/src/sys." ; \
exit 1 ; \
fi
2010-05-14 21:01:11 +02:00
.endif
cd ${TMPWRK} ; \
EXPMD5=`${GREP} 'MD5 (' README.${DISTNAME} | ${SED} 's/^[ ]*//'` ; \
CALCMD5=`${DIGEST} MD5 ${SRCBALL_NAME}.tar` ; \
if [ "$${EXPMD5}"X != "$${CALCMD5}"X ]; then \
${ECHO} "Expected and calculated MD5 signatures don't agree." ; \
${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
exit 1 ; \
fi ; \
${TOOLS_PATH.bsdtar} -xf ${SRCBALL_NAME}.tar
cd ${WRKSRC} ; ${ECHO} "y" | ./Inventory || exit 1
SPECIAL_PERMS+= ${PREFIX}/sbin/lsof ${REAL_ROOT_USER} ${REAL_GROUP} 2755
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsof ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/lsof.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/lsof.8
${INSTALL_DATA} ${WRKSRC}/00* ${DESTDIR}${PREFIX}/share/doc/lsof
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/lsof
${INSTALL_SCRIPT} ${WRKSRC}/scripts/*.perl* \
${DESTDIR}${PREFIX}/share/examples/lsof
${INSTALL_SCRIPT} ${WRKSRC}/scripts/xusers.awk \
${DESTDIR}${PREFIX}/share/examples/lsof
${INSTALL_DATA} ${WRKSRC}/scripts/list_fields.awk \
${DESTDIR}${PREFIX}/share/examples/lsof
${INSTALL_DATA} ${WRKSRC}/scripts/00* \
${DESTDIR}${PREFIX}/share/examples/lsof
2018-12-21 08:06:03 +01:00
.PHONY: opt
opt:
.for dir in ${TEST_DIRS}
${RUN}${_ULIMIT_CMD} \
cd ${WRKSRC} && cd ${dir} && \
${TEST_MAKE_CMD} opt
.endfor
.include "../../mk/bsd.pkg.mk"