summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2003-03-27 14:13:26 +0000
committeratatat <atatat@pkgsrc.org>2003-03-27 14:13:26 +0000
commita822d6017a8bd7acda097e56e4ca4899f5ce4ab6 (patch)
treec0cf5cef3cfc75309cfb56fc7eab1b99e4d43c95 /sysutils
parent01c292f0df77172bf18de985183fea27d4231541 (diff)
downloadpkgsrc-a822d6017a8bd7acda097e56e4ca4899f5ce4ab6.tar.gz
Upgrade to lsof version 4.67. Changes related to or affecting NetBSD
(or pkgsrc) from the 00DIST file: 4.67 March 27, 2003 Began the transition of the lsof ftp server host name from vic.cc.purdue.edu to lsof.itap.purdue.edu. That reflects Purdue organizational changes. This first step makes the new name an alias to the old one. The old name, vic.cc.purdue.edu, will remain usable for an extended period. ... At the request of Alek O. Komarnitsky <alek@komar.org> added the "+c <width>" option to enable optional changing of the COMMAND column output maximum width from the default to <width>. The default maximum width remains CMDL, as defined in lsof.h. ... Added kernel event queue file support for FreeBSD, NetBSD and OpenBSD. Andrew Brown <atatat@atatdot.net> supplied the code. ... Augmented a lock ID test on NetBSD to check if the ID is an LWP pointer.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile9
-rw-r--r--sysutils/lsof/distinfo10
-rw-r--r--sysutils/lsof/patches/patch-ab19
-rw-r--r--sysutils/lsof/patches/patch-ac21
-rw-r--r--sysutils/lsof/patches/patch-ad14
-rw-r--r--sysutils/lsof/patches/patch-ae19
6 files changed, 7 insertions, 85 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index a46a2433003..e2772e4555e 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.58 2003/02/03 01:03:14 atatat Exp $
+# $NetBSD: Makefile,v 1.59 2003/03/27 14:13:26 atatat Exp $
#
-DISTNAME= lsof_4.66
+DISTNAME= lsof_4.67
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 1
TMPWRK= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
CATEGORIES= sysutils
-MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
- ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
+MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
+ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/ \
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/ \
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index bb3ca005405..cee5ed91d9a 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.24 2003/02/03 01:03:14 atatat Exp $
+$NetBSD: distinfo,v 1.25 2003/03/27 14:13:26 atatat Exp $
-SHA1 (lsof_4.66.tar.gz) = 7bf3b88ed059d01a01034fcd93db74d8e63b7c8f
-Size (lsof_4.66.tar.gz) = 954609 bytes
+SHA1 (lsof_4.67.tar.gz) = bc6339455586e1dbb7e9b1b70af6f43ec12144f1
+Size (lsof_4.67.tar.gz) = 959529 bytes
SHA1 (patch-aa) = 36790019394b4088c226222d4aefaec50430bcf3
-SHA1 (patch-ab) = e0ff5138fadd27aedf513b0b73f6bc0936e4c175
-SHA1 (patch-ac) = 77a9c74666ed7b8005f3c5490280d744d115639d
-SHA1 (patch-ad) = fe930fa4552d09b315ceca1afb4eefc3223ede01
-SHA1 (patch-ae) = 1d3eb8da10f60071d41b1cc42e129c163ada9c67
diff --git a/sysutils/lsof/patches/patch-ab b/sysutils/lsof/patches/patch-ab
deleted file mode 100644
index 0976178362e..00000000000
--- a/sysutils/lsof/patches/patch-ab
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ab,v 1.17 2003/02/03 01:03:14 atatat Exp $
-
-kqueue support, part 1 of 4
-
---- dialects/n+obsd/dlsof.h.orig 2002-10-08 16:21:56.000000000 -0400
-+++ dialects/n+obsd/dlsof.h
-@@ -244,6 +244,12 @@ struct vop_advlock_args;
- #undef KERNEL
- #undef _KERNEL
-
-+# if defined(NETBSDV) && \
-+ (__NetBSD_Version__ >= 106100000) && \
-+ defined(DTYPE_KQUEUE)
-+#define HASKQUEUE
-+# endif /* defined(NETBSDV) && ... */
-+
- # if defined(UVM)
- # if defined(OPENBSDV)
- #define _UVM_UVM_FAULT_I_H_ 1 /* avoid OpenBSD's
diff --git a/sysutils/lsof/patches/patch-ac b/sysutils/lsof/patches/patch-ac
deleted file mode 100644
index d579b8da709..00000000000
--- a/sysutils/lsof/patches/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2003/02/03 01:03:15 atatat Exp $
-
-kqueue support, part 2 of 4
-
---- dialects/n+obsd/dnode.c.orig 2002-10-08 16:22:13.000000000 -0400
-+++ dialects/n+obsd/dnode.c
-@@ -1141,3 +1141,14 @@ process_pipe(pa)
- enter_nm(Namech);
- }
- #endif /* defined(HAS_SYS_PIPEH) */
-+
-+#if defined(HASKQUEUE)
-+void
-+process_kqueue(ka)
-+ KA_T ka;
-+{
-+
-+ (void) snpf(Lf->type, sizeof(Lf->type), "KQUEUE");
-+ enter_dev_ch(print_kptr(ka, (char *)NULL, 0));
-+}
-+#endif /* defined(HASKQUEUE) */
diff --git a/sysutils/lsof/patches/patch-ad b/sysutils/lsof/patches/patch-ad
deleted file mode 100644
index 48c49affa4a..00000000000
--- a/sysutils/lsof/patches/patch-ad
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2003/02/03 01:03:15 atatat Exp $
-
-kqueue support, part 3 of 4
-
---- dialects/n+obsd/dproto.h.orig 2002-04-19 16:53:35.000000000 -0400
-+++ dialects/n+obsd/dproto.h
-@@ -53,3 +53,7 @@ _PROTOTYPE(extern int read_iso_node,(str
- #endif /* defined(HAS9660FS) */
-
- _PROTOTYPE(extern void process_socket,(KA_T sa));
-+
-+#if defined(HASKQUEUE)
-+_PROTOTYPE(extern void process_kqueue,(KA_T q));
-+#endif /* defined(HASKQUEUE) */
diff --git a/sysutils/lsof/patches/patch-ae b/sysutils/lsof/patches/patch-ae
deleted file mode 100644
index 14e76577ae9..00000000000
--- a/sysutils/lsof/patches/patch-ae
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2003/02/03 01:03:15 atatat Exp $
-
-kqueue support, part 4 of 4
-
---- lib/prfp.c.orig 2000-08-02 08:53:07.000000000 -0400
-+++ lib/prfp.c
-@@ -159,6 +159,12 @@ process_file(fp)
- return;
- #endif /* defined(HASPRIVFILETYPE) */
-
-+#if defined(DTYPE_KQUEUE)
-+ case DTYPE_KQUEUE:
-+ process_kqueue((KA_T)f.f_data);
-+ return;
-+#endif /* defined(DTYPE_KQUEUE) */
-+
- default:
- if (f.f_type || f.f_ops) {
- (void) snpf(Namech, Namechl,