pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/lsof 4.69 is out, 4.68 is gone. Approved by agc.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8ceabc4c58b
branches: trunk
changeset: 463646:d8ceabc4c58b
user: christos <christos%pkgsrc.org@localhost>
date: Sat Nov 22 23:19:47 2003 +0000
description:
4.69 is out, 4.68 is gone. Approved by agc.
diffstat:
sysutils/lsof/Makefile | 5 +-
sysutils/lsof/distinfo | 12 +--
sysutils/lsof/patches/patch-aa | 59 -------------------
sysutils/lsof/patches/patch-ab | 127 -----------------------------------------
sysutils/lsof/patches/patch-ac | 33 ----------
sysutils/lsof/patches/patch-ad | 124 ----------------------------------------
sysutils/lsof/patches/patch-ae | 18 -----
sysutils/lsof/patches/patch-af | 49 ---------------
8 files changed, 5 insertions(+), 422 deletions(-)
diffs (truncated from 466 to 300 lines):
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/Makefile
--- a/sysutils/lsof/Makefile Sat Nov 22 15:59:24 2003 +0000
+++ b/sysutils/lsof/Makefile Sat Nov 22 23:19:47 2003 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.67 2003/10/05 07:26:11 veego Exp $
+# $NetBSD: Makefile,v 1.68 2003/11/22 23:19:47 christos Exp $
#
-DISTNAME= lsof_4.68
+DISTNAME= lsof_4.69
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 2
WRKSRC= ${WRKDIR}/${DISTNAME}/${SRCBALL_NAME}
CATEGORIES= sysutils
MASTER_SITES= ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/distinfo
--- a/sysutils/lsof/distinfo Sat Nov 22 15:59:24 2003 +0000
+++ b/sysutils/lsof/distinfo Sat Nov 22 23:19:47 2003 +0000
@@ -1,10 +1,4 @@
-$NetBSD: distinfo,v 1.32 2003/10/04 20:22:35 atatat Exp $
+$NetBSD: distinfo,v 1.33 2003/11/22 23:19:47 christos Exp $
-SHA1 (lsof_4.68.tar.gz) = 71df82816e84b4218c473a7102ff31c002192803
-Size (lsof_4.68.tar.gz) = 963862 bytes
-SHA1 (patch-aa) = 7e13302b231240a5225fb02a604268539d956fe7
-SHA1 (patch-ab) = f27ce713c6a00825c96deab0eb013ea57dcfc1ae
-SHA1 (patch-ac) = 4cd8d56feb94008c7d54df7f3bbd0c64bcbcfbd8
-SHA1 (patch-ad) = f1c66f3903ac99dfdfce9163ede04dc3b84af2d4
-SHA1 (patch-ae) = ab22b7026bb59bbaa9e41349f452b8274ccdc43a
-SHA1 (patch-af) = 51d1c7ebfeeb95cb1fcefef22fc96f4cf769d115
+SHA1 (lsof_4.69.tar.gz) = 2ed1fc88e5508dfc38dc0a70559b6e8ee78a0bae
+Size (lsof_4.69.tar.gz) = 969757 bytes
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/patches/patch-aa
--- a/sysutils/lsof/patches/patch-aa Sat Nov 22 15:59:24 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-$NetBSD: patch-aa,v 1.21 2003/08/13 13:24:16 atatat Exp $
-
-If LSOF_MORE_SECURE is non-zero, compile lsof with security, and
-only let unprivileged (non-root) users view their own open files.
-Set LSOF_LESS_SECURE_SOCKETS to non-zero in order to allow non-root
-users to see open sockets, even when LSOF_MORE_SECURE is set.
-
-Patch for vnode/DNLC interface change courtesy of lsof maintainer.
-
---- dialects/n+obsd/machine.h.orig Tue Dec 3 13:23:54 2002
-+++ dialects/n+obsd/machine.h
-@@ -214,16 +214,12 @@
- * that lsof can search. A value of 1 directs printname() to prefix the
- * cache value with the file system directory name; 2, avoid the prefix.
- *
-- * HASNCAPID is defined for those dialects with a searchable kernel name
-- * cache whose cache and vnodes are linked by a capability ID.
-- *
- * NCACHELDPFX is a set of C commands to execute before calling ncache_load().
- *
- * NCACHELDSFX is a set of C commands to execute after calling ncache_load().
- */
-
- #define HASNCACHE 1
--#define HASNCAPID 1
- /* #define NCACHELDPFX ??? */
- /* #define NCACHELDSFX ??? */
-
-@@ -371,7 +371,9 @@
- * (the one that its user logged on with) of the lsof process.
- */
-
--/* #define HASSECURITY 1 */
-+#if LSOF_MORE_SECURE
-+#define HASSECURITY 1
-+#endif
-
-
- /*
-@@ -380,7 +382,9 @@
- * listing is selected by the "-i" option.
- */
-
--/* #define HASNOSOCKSECURITY 1 */
-+#if LSOF_LESS_SECURE_SOCKETS
-+#define HASNOSOCKSECURITY 1
-+#endif
-
-
- /*
-@@ -497,7 +493,7 @@
-
- # if (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020)
- #define USE_LIB_RNMH 1 /* rnmh.c */
--# else /* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020) */
-+# else /* (defined(OPENBSDV) && OPENBSDV<2010) && (defined(NETBSDV) && NETBSDV<1020) */
- #define USE_LIB_RNAM 1 /* rnam.c */
- # endif /* (defined(OPENBSDV) && OPENBSDV>=2010) || (defined(NETBSDV) && NETBSDV>=1020) */
-
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/patches/patch-ab
--- a/sysutils/lsof/patches/patch-ab Sat Nov 22 15:59:24 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,127 +0,0 @@
-$NetBSD: patch-ab,v 1.23 2003/10/04 20:22:35 atatat Exp $
-
-Patch for vnode/DNLC interface change courtesy of lsof maintainer.
-
---- Configure.orig 2003-06-11 20:55:38.000000000 -0400
-+++ Configure
-@@ -819,10 +819,13 @@ case $LSOF_TGT in # {
- LSOF_CFGF="$LSOF_CFGF -DHASFDLINK"
- fi # }
- fi # }
-- grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-- if test $? -eq 0 # {
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
- then
-- LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
- fi # }
- if test $LSOF_VERS -ge 40000 # {
- then
-@@ -938,6 +941,14 @@ case $LSOF_TGT in # {
- exit 1
- fi # }
- fi # }
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
-+ then
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
-+ fi # }
- LSOF_DINC="$LSOF_DINC -I`pwd`/dialects/darwin/xnu/bsd"
- LSOF_DINC="$LSOF_DINC -I/usr/include"
- LSOF_DINC="$LSOF_DINC -I${DARWIN_SYSDIR}/System.framework/PrivateHeaders"
-@@ -1175,6 +1186,14 @@ kernel generation process.
-
- LSOF_CFGF="$LSOF_CFGF -DHASIPv6"
- fi # }
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
-+ then
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
-+ fi # }
- LSOF_DIALECT_DIR=du
- ;;
-
-@@ -1526,10 +1545,13 @@ kernel generation process.
- fi # }
- LSOF_CFGF="$LSOF_CFGF -DHAS9660FS"
- fi # }
-- grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-- if test $? -eq 0 # {
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
- then
-- LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
- fi # }
- if test $LSOF_DINC_ADD -eq 1 # {
- then
-@@ -2217,6 +2239,11 @@ kernel generation process.
- then
- LSOF_CFGF="$LSOF_CFGF -DHASPROCFS"
- LSOF_TMP1=1
-+ grep -q PFSroot ${NETBSD_SYS}/miscfs/procfs/procfs.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASPROCFS_PFSROOT"
-+ fi # }
- fi # }
- if test -d ${NETBSD_SYS}/isofs/cd9660 # {
- then
-@@ -2235,16 +2262,24 @@ kernel generation process.
- then
- LSOF_CFGF="$LSOF_CFGF -DHASKERNFS"
- LSOF_TMP1=1
-+ grep -q "*kfs_kt;" ${NETBSD_SYS}/miscfs/kernfs/kernfs.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASKERNFS_KFS_KT"
-+ fi # }
- fi # }
- fi # }
- if test $LSOF_TMP1 -eq 1 # {
- then
- LSOF_DINC="-I$LSOF_INCLUDE -I$NETBSD_SYS"
- fi # }
-- grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-- if test $? -eq 0 # {
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
- then
-- LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
- fi # }
- grep -q i_ffs_size ${LSOF_INCLUDE}/ufs/ufs/inode.h
- if test $? -eq 0 # {
-@@ -2645,10 +2680,13 @@ kernel generation process.
- LSOF_CFGF="$LSOF_CFGF -DHASI_E2FS_PTR"
- fi # }
- fi # }
-- grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-- if test $? -eq 0 # {
-+ if test -r ${LSOF_INCLUDE}/sys/namei.h
- then
-- LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ grep -q nc_vpid ${LSOF_INCLUDE}/sys/namei.h
-+ if test $? -eq 0 # {
-+ then
-+ LSOF_CFGF="$LSOF_CFGF -DHASNCVPID"
-+ fi # }
- fi # }
- if test "X$OPENBSD_UVM" = "X" # {
- then
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/patches/patch-ac
--- a/sysutils/lsof/patches/patch-ac Sat Nov 22 15:59:24 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-ac,v 1.12 2003/10/04 20:22:35 atatat Exp $
-
-Patch for vnode/DNLC interface change courtesy of lsof maintainer.
-
---- dialects/n+obsd/dnode.c.orig 2003-06-11 07:45:16.000000000 -0400
-+++ dialects/n+obsd/dnode.c
-@@ -68,8 +68,14 @@
- if (!p->P_VMSPACE
- || kread((KA_T)p->P_VMSPACE, (char *)&vm, sizeof(vm)))
- return;
-+# if defined(OPENBSDV)
-+ Lf->sz = (SZOFFTYPE)((vm.vm_tsize + vm.vm_dsize
-+ + vm.vm_ssize) * sysconf(_SC_PAGESIZE));
-+# else /* !defined(OPENBSDV */
- Lf->sz = (SZOFFTYPE)ctob(vm.vm_tsize + vm.vm_dsize
- + vm.vm_ssize);
-+# endif /* defined(OPENBSDV) */
-+
- Lf->sz_def = 1;
- return;
- }
-@@ -301,9 +307,9 @@
-
- #if defined(HASNCACHE)
- Lf->na = va;
--# if defined(HASNCAPID)
-+# if defined(HASNCVPID)
- Lf->id = v->v_id;
--# endif /* defined(HASNCAPID) */
-+# endif /* defined(HASNCVPID) */
- #endif /* defined(HASNCACHE) */
-
- #if defined(HASFSTRUCT)
diff -r 1ef72656fb9a -r d8ceabc4c58b sysutils/lsof/patches/patch-ad
--- a/sysutils/lsof/patches/patch-ad Sat Nov 22 15:59:24 2003 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,124 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2003/08/13 13:24:17 atatat Exp $
-
-Patch for vnode/DNLC interface change courtesy of lsof maintainer.
-
---- lib/rnam.c.orig 2000-08-02 08:53:30.000000000 -0400
-+++ lib/rnam.c
-@@ -111,7 +111,10 @@
- * table */
- struct l_nch {
- KA_T na; /* node address */
-+
-+# if defined(NCACHE_NODEID)
- unsigned long id; /* capability ID */
-+# endif /* defined(NCACHE_NODEID) */
-
- # if defined(NCACHE_PARADDR) && defined(NCACHE_PARID)
- KA_T pa; /* parent node address */
-@@ -128,13 +131,18 @@
- static struct l_nch **Nchash = (struct l_nch **)NULL;
- /* Ncache hash pointers */
- static int Ncfirst = 1; /* first-call status */
--
-+
-+# if defined(NCACHE_NODEID)
- #define ncachehash(i,n) Nchash+(((((int)(n)>>2)+((int)(i)))*31415)&Mch)
-+_PROTOTYPE(static struct l_nch *ncache_addr,(unsigned long i, KA_T na));
-+# else /* !defined(NCACHE_NODEID) */
-+#define ncachehash(n) Nchash+((((int)(n)>>2)*31415)&Mch)
-+_PROTOTYPE(static struct l_nch *ncache_addr,(KA_T na));
-+# endif /* defined(NCACHE_NODEID) */
-+
- #define DEFNCACHESZ 1024 /* local size if X_NCSIZE kernel value < 1 */
- #define LNCHINCRSZ 64 /* local size increment */
Home |
Main Index |
Thread Index |
Old Index