diff options
author | tron <tron> | 2002-09-13 15:53:09 +0000 |
---|---|---|
committer | tron <tron> | 2002-09-13 15:53:09 +0000 |
commit | 2ad802dba548174f790007a86cad3f49b70fde49 (patch) | |
tree | 2de99edf3a0a90d12f066c3642cbefd37b585987 /sysutils/lsof | |
parent | 69883e36f6dd26a86f4c4e36c3f971fb9bf68f6c (diff) | |
download | pkgsrc-2ad802dba548174f790007a86cad3f49b70fde49.tar.gz |
Restore "patch-aa" which got clobbered during the last commit by mistake.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r-- | sysutils/lsof/distinfo | 5 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-aa | 39 | ||||
-rw-r--r-- | sysutils/lsof/patches/patch-ab | 27 |
3 files changed, 45 insertions, 26 deletions
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo index e1da6a81de8..0676b9a8c8f 100644 --- a/sysutils/lsof/distinfo +++ b/sysutils/lsof/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.18 2002/09/12 19:12:18 tron Exp $ +$NetBSD: distinfo,v 1.19 2002/09/13 15:53:09 tron Exp $ SHA1 (lsof_4.64.tar.gz) = eacd1d259d136b27f284928574529da0e35fe6b9 Size (lsof_4.64.tar.gz) = 942463 bytes -SHA1 (patch-aa) = 3a288b5f936df588c864fcda463d427abe80d279 +SHA1 (patch-aa) = 1946122860ad68f1c5e07f6ae82a147eb51e01c5 +SHA1 (patch-ab) = 3a288b5f936df588c864fcda463d427abe80d279 diff --git a/sysutils/lsof/patches/patch-aa b/sysutils/lsof/patches/patch-aa index ca4ebfaf9cd..b5fd81579f1 100644 --- a/sysutils/lsof/patches/patch-aa +++ b/sysutils/lsof/patches/patch-aa @@ -1,27 +1,18 @@ -$NetBSD: patch-aa,v 1.18 2002/09/12 19:12:19 tron Exp $ +$NetBSD: patch-aa,v 1.19 2002/09/13 15:53:10 tron Exp $ ---- dialects/n+obsd/dlsof.h.orig Mon Jun 17 03:44:15 2002 -+++ dialects/n+obsd/dlsof.h Thu Sep 12 21:08:10 2002 -@@ -46,6 +46,10 @@ - #include <string.h> - #include <unistd.h> +If LSOF_MORE_SECURE is non-zero, compile lsof with security, and +only let unprivileged (non-root) users view their own open files + +--- dialects/n+obsd/machine.h 2001/04/30 09:23:38 1.1 ++++ dialects/n+obsd/machine.h 2001/04/30 10:06:24 +@@ -373,7 +373,9 @@ + * (the one that its user logged on with) of the lsof process. + */ + +-/* #define HASSECURITY 1 */ ++#if LSOF_MORE_SECURE ++#define HASSECURITY 1 ++#endif -+#define _KERNEL -+#include <sys/buf.h> -+#undef _KERNEL -+ - # if defined(HASGETBOOTFILE) - #include <util.h> - # endif /* defined(HASGETBOOTFILE) */ -@@ -209,9 +213,9 @@ - # if defined(HASNULLFS) - #define _KERNEL --# if defined(NETBSDV) && NETBSDV>=1060 -+# if defined(NETBSDV) && NETBSDV>=1050 - #include "netexport.h" --# endif /* defined(NETBSDV) && NETBSDV>=1060 */ -+# endif /* defined(NETBSDV) && NETBSDV>=1050 */ - #include <miscfs/nullfs/null.h> - #undef _KERNEL - # endif /* defined(HASNULLFS) */ + /* diff --git a/sysutils/lsof/patches/patch-ab b/sysutils/lsof/patches/patch-ab new file mode 100644 index 00000000000..03f827ddcbb --- /dev/null +++ b/sysutils/lsof/patches/patch-ab @@ -0,0 +1,27 @@ +$NetBSD: patch-ab,v 1.14 2002/09/13 15:53:10 tron Exp $ + +--- dialects/n+obsd/dlsof.h.orig Mon Jun 17 03:44:15 2002 ++++ dialects/n+obsd/dlsof.h Thu Sep 12 21:08:10 2002 +@@ -46,6 +46,10 @@ + #include <string.h> + #include <unistd.h> + ++#define _KERNEL ++#include <sys/buf.h> ++#undef _KERNEL ++ + # if defined(HASGETBOOTFILE) + #include <util.h> + # endif /* defined(HASGETBOOTFILE) */ +@@ -209,9 +213,9 @@ + + # if defined(HASNULLFS) + #define _KERNEL +-# if defined(NETBSDV) && NETBSDV>=1060 ++# if defined(NETBSDV) && NETBSDV>=1050 + #include "netexport.h" +-# endif /* defined(NETBSDV) && NETBSDV>=1060 */ ++# endif /* defined(NETBSDV) && NETBSDV>=1050 */ + #include <miscfs/nullfs/null.h> + #undef _KERNEL + # endif /* defined(HASNULLFS) */ |