summaryrefslogtreecommitdiff
path: root/security/tripwire/patches
diff options
context:
space:
mode:
Diffstat (limited to 'security/tripwire/patches')
-rw-r--r--security/tripwire/patches/patch-aj13
-rw-r--r--security/tripwire/patches/patch-ak24
2 files changed, 37 insertions, 0 deletions
diff --git a/security/tripwire/patches/patch-aj b/security/tripwire/patches/patch-aj
new file mode 100644
index 00000000000..82c5e059fb4
--- /dev/null
+++ b/security/tripwire/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2003/12/09 15:56:56 ben Exp $
+
+--- include/tripwire.h.orig 1994-07-25 09:04:34.000000000 -0700
++++ include/tripwire.h
+@@ -67,7 +67,7 @@
+ * ltob64(statbuf->st_ctime, vec64_c), sig0, sig1, ..., sig9
+ */
+
+-# define DB_RECORD_FORMAT "%ld %s %lo %lu %lu %lu %lu %lu %s %s %s %s %s %s %s %s %s %s %s %s %s\n"
++# define DB_RECORD_FORMAT "%d %s %o %u %u %u %u %jd %s %s %s %s %s %s %s %s %s %s %s %s %s\n"
+ #define DB_RECORD_FIELDS 21
+
+ /* system defaults */
diff --git a/security/tripwire/patches/patch-ak b/security/tripwire/patches/patch-ak
new file mode 100644
index 00000000000..a10869d9074
--- /dev/null
+++ b/security/tripwire/patches/patch-ak
@@ -0,0 +1,24 @@
+$NetBSD: patch-ak,v 1.1 2003/12/09 15:56:56 ben Exp $
+
+--- src/preen.report.c.orig 1994-08-03 20:44:34.000000000 -0700
++++ src/preen.report.c
+@@ -452,7 +452,8 @@ preen_change_count()
+ char *s;
+ int ignoremask;
+ char ignorevec[512];
+- uint32 mode, ino, nlink, uid, gid, size;
++ uint32 mode, ino, nlink, uid, gid;
++ off_t size;
+ int entrynum;
+ int nfields;
+
+@@ -633,7 +634,8 @@ structstat_fill (string, statbuf, sigs,
+ {
+ char *ignorevec;
+ static char structstat_fill_string[512];
+- uint32 mode, ino, nlink, uid, gid, size;
++ uint32 mode, ino, nlink, uid, gid;
++ off_t size;
+ int entrynum;
+ char vec64_a[50], vec64_m[50], vec64_c[50];
+