diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-04-01 15:02:36 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-04-01 15:02:36 +0000 |
commit | 23b08d52558317e86af9e8a3265b11b8356655b7 (patch) | |
tree | 023074d5597f5c272e03c943539b4a59901a890e | |
parent | 583f21e321ea526ba396494010c706f204d4ea9e (diff) | |
download | pkgsrc-23b08d52558317e86af9e8a3265b11b8356655b7.tar.gz |
Initial import of lsof-4.29 pkg.
XXX this will not yet run with UVM
-rw-r--r-- | sysutils/lsof/Makefile | 65 | ||||
-rw-r--r-- | sysutils/lsof/files/md5 | 1 | ||||
-rw-r--r-- | sysutils/lsof/pkg/COMMENT | 1 | ||||
-rw-r--r-- | sysutils/lsof/pkg/DESCR | 7 | ||||
-rw-r--r-- | sysutils/lsof/pkg/PLIST | 17 |
5 files changed, 91 insertions, 0 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile new file mode 100644 index 00000000000..1e5b68f5e13 --- /dev/null +++ b/sysutils/lsof/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: lsof +# Version required: 4.29 +# Date created: Sat July 20, 1996 +# Whom: David O'Brien (obrien@FreeBSD.org) +# +# $NetBSD: Makefile,v 1.1 1998/04/01 15:02:36 frueauf Exp $ +# FreeBSD Id: Makefile,v 1.19 1998/03/08 06:44:48 obrien Exp +# + +DISTNAME= lsof_4.29_W +PKGNAME= lsof-4.29 +CATEGORIES= sysutils +MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \ + ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/ \ + ftp://ftp.auscert.org.au/pub/mirrors/vic.cc.purdue.edu/lsof/ \ + ftp://ftp.web.ad.jp/pub/UNIX/tools/lsof/ \ + ftp://ftp.sunet.se/pub/unix/admin/lsof/ + +MAINTAINER= packages@netbsd.org + +WRKSRC= ${WRKDIR}/${SRCBALL_NAME} + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= Configure +OPSYS!= uname -s +.if (${OPSYS} == "FreeBSD") +CONFIGURE_ARGS= -n freebsd +.elif (${OPSYS} == "NetBSD") +CONFIGURE_ARGS= -n netbsd +.endif + +MAN1= lsof.1 + +SRCBALL_NAME= ${DISTNAME:S/_W$//} + +pre-extract: + @if [ "X${UVM}" != X"" ]; then \ + ${ECHO} ""; \ + ${ECHO} "This package does not yet work with UVM."; \ + ${ECHO} ""; \ + ${FALSE}; \ + fi + +post-extract: + @( cd ${WRKDIR} ; \ + EXPMD5=`/usr/bin/grep MD5 README.${SRCBALL_NAME} | sed 's/^[ ]*//'` ; \ + CALCMD5=`${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 ; \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS:S/z//} ${SRCBALL_NAME}.tar \ + ) + @( cd ${WRKSRC} ; echo "y" | ./Inventory || exit 1 ) + +do-install: + ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m 2755 -g kmem \ + ${WRKSRC}/lsof ${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/lsof.man ${PREFIX}/man/man1/lsof.1 + @${MKDIR} ${PREFIX}/share/lsof + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof + @/bin/chmod 0444 ${PREFIX}/share/lsof/00* + +.include <bsd.port.mk> diff --git a/sysutils/lsof/files/md5 b/sysutils/lsof/files/md5 new file mode 100644 index 00000000000..c38ea4afa6c --- /dev/null +++ b/sysutils/lsof/files/md5 @@ -0,0 +1 @@ +MD5 (lsof_4.29_W.tar.gz) = bcbfda15971c56e89782a8787d84e655 diff --git a/sysutils/lsof/pkg/COMMENT b/sysutils/lsof/pkg/COMMENT new file mode 100644 index 00000000000..fc691106989 --- /dev/null +++ b/sysutils/lsof/pkg/COMMENT @@ -0,0 +1 @@ +Lists information about open files. diff --git a/sysutils/lsof/pkg/DESCR b/sysutils/lsof/pkg/DESCR new file mode 100644 index 00000000000..a046d9198e6 --- /dev/null +++ b/sysutils/lsof/pkg/DESCR @@ -0,0 +1,7 @@ +Lsof (LiSt Open Files) lists information about files that are open by the +running processes. An open file may be a regular file, a directory, a block +special file, a character special file, an executing text reference, a +library, a stream or a network file (Internet socket, NFS file or Unix domain +socket). + +-- David (obrien@cs.ucdavis.edu) diff --git a/sysutils/lsof/pkg/PLIST b/sysutils/lsof/pkg/PLIST new file mode 100644 index 00000000000..d443d05db4e --- /dev/null +++ b/sysutils/lsof/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1 1998/04/01 15:02:36 frueauf Exp $ +sbin/lsof +man/man1/lsof.1.gz +share/lsof/00MANIFEST +share/lsof/00README +share/lsof/big_brother.perl5 +share/lsof/count_pf.perl +share/lsof/count_pf.perl5 +share/lsof/identd.perl5 +share/lsof/idrlogin.perl +share/lsof/idrlogin.perl5 +share/lsof/list_NULf.perl5 +share/lsof/list_fields.awk +share/lsof/list_fields.perl +share/lsof/watch_a_file.perl +share/lsof/xusers.awk +@dirrm share/lsof |