update to lsof-4.69

This commit is contained in:
pvalchev 2004-01-11 00:14:31 +00:00
parent f340d6433b
commit 6089eb83e4
4 changed files with 16 additions and 36 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.51 2003/06/19 06:30:42 pvalchev Exp $
# $OpenBSD: Makefile,v 1.52 2004/01/11 00:14:31 pvalchev Exp $
COMMENT= "list information about open files"
VERSION= 4.68
VERSION= 4.69
DISTNAME= lsof_${VERSION}
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= sysutils

View File

@ -1,3 +1,3 @@
MD5 (lsof_4.68.tar.gz) = d7f92a5b2e30f2e028a5151199a5fcfb
RMD160 (lsof_4.68.tar.gz) = 79c7ce1e4daa24933d6f2ce8efd9f2a5e9eed2ef
SHA1 (lsof_4.68.tar.gz) = 71df82816e84b4218c473a7102ff31c002192803
MD5 (lsof_4.69.tar.gz) = d13e98fc85806424e371efde71f1e186
RMD160 (lsof_4.69.tar.gz) = a5e05ffeb3b59cb0aac38c90146d9b3bf5616a08
SHA1 (lsof_4.69.tar.gz) = 2ed1fc88e5508dfc38dc0a70559b6e8ee78a0bae

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Configure,v 1.14 2003/08/18 06:32:09 pvalchev Exp $
--- Configure.orig 2003-08-18 00:25:07.000000000 -0600
+++ Configure 2003-08-18 00:25:45.000000000 -0600
@@ -2536,6 +2536,10 @@ kernel generation process.
$OpenBSD: patch-Configure,v 1.15 2004/01/11 00:14:31 pvalchev Exp $
--- Configure.orig 2003-10-15 14:30:40.000000000 -0600
+++ Configure 2004-01-10 17:00:34.000000000 -0700
@@ -2619,6 +2619,10 @@ kernel generation process.
LSOF_TSTBIGF=" "
LSOF_VERS=3030
;;
@ -12,7 +12,7 @@ $OpenBSD: patch-Configure,v 1.14 2003/08/18 06:32:09 pvalchev Exp $
3*)
LSOF_TSTBIGF=" "
LSOF_VERS=3020
@@ -2553,7 +2557,7 @@ kernel generation process.
@@ -2636,7 +2640,7 @@ kernel generation process.
# Test for legal OpenBSD version.
case $LSOF_VERS in # {

View File

@ -1,27 +1,7 @@
$OpenBSD: patch-dialects_n+obsd_dnode_c,v 1.4 2004/01/04 18:47:34 espie Exp $
--- dialects/n+obsd/dnode.c.orig 2003-06-11 13:45:16.000000000 +0200
+++ dialects/n+obsd/dnode.c 2004-01-04 19:45:08.000000000 +0100
@@ -68,8 +68,8 @@ getmemsz(pid)
if (!p->P_VMSPACE
|| kread((KA_T)p->P_VMSPACE, (char *)&vm, sizeof(vm)))
return;
- Lf->sz = (SZOFFTYPE)ctob(vm.vm_tsize + vm.vm_dsize
- + vm.vm_ssize);
+ Lf->sz = (SZOFFTYPE)((vm.vm_tsize + vm.vm_dsize
+ + vm.vm_ssize) * sysconf(_SC_PAGESIZE));
Lf->sz_def = 1;
return;
}
@@ -228,7 +228,7 @@ process_node(va)
#if defined(HASMSDOSFS)
struct denode d;
u_long dpb;
- u_long long nn;
+ u_long nn;
struct msdosfsmount pm;
#endif /* defined(HASMSDOSFS) */
@@ -531,11 +531,11 @@ process_overlaid_node:
$OpenBSD: patch-dialects_n+obsd_dnode_c,v 1.5 2004/01/11 00:14:31 pvalchev Exp $
--- dialects/n+obsd/dnode.c.orig 2004-01-10 16:57:19.000000000 -0700
+++ dialects/n+obsd/dnode.c 2004-01-10 16:57:55.000000000 -0700
@@ -542,11 +542,11 @@ process_overlaid_node:
nty = EXT2NODE;
# if defined(HASI_E2FS_PTR)
@ -36,7 +16,7 @@ $OpenBSD: patch-dialects_n+obsd_dnode_c,v 1.4 2004/01/04 18:47:34 espie Exp $
# endif /* defined(HASI_E2FS_PTR) */
} else
@@ -552,16 +552,16 @@ process_overlaid_node:
@@ -563,16 +563,16 @@ process_overlaid_node:
&& !kread((KA_T)i.i_ump, (char *)&um, sizeof(um))) {
if (um.um_fstype == UFS1) {
ffs = 1;
@ -57,7 +37,7 @@ $OpenBSD: patch-dialects_n+obsd_dnode_c,v 1.4 2004/01/04 18:47:34 espie Exp $
sizeof(u2)))
{
u2s = 1;
@@ -682,7 +682,7 @@ process_overlaid_node:
@@ -693,7 +693,7 @@ process_overlaid_node:
rdevs = 1;
}
# else /* !defined(HASI_E2FS_PTR) */