Subject: CVS commit: pkgsrc/security/tripwire
From: Ben Collver
Date: 2003-12-09 16:56:57
Message id: 20031209155657.09DF72DA1D@cvs.netbsd.org

Log Message:
In include/config.h, uint32 was by default defined as an unsigned long.
However (because of -DTW_TYPE32='int' being added to CFLAGS for an LP64 fix
in revision 1.3 of patches/patch-aa) uint32 is defined as an unsigned int.
This caused two problems:
1) The format string in include/tripwire.h was not updated to match.
2) On NetBSD, off_t is __int64_t.

I am changing the format string in tripwire.h to match uint32.  I also
changed the type of the variable "size" from uint32 to off_t, and changed
its format string to match intmax_t.

This fixes the sparc64 coredump mentioned in PR 19391.

Files:
RevisionActionfile
1.19modifypkgsrc/security/tripwire/Makefile
1.7modifypkgsrc/security/tripwire/distinfo
1.1addpkgsrc/security/tripwire/patches/patch-aj
1.1addpkgsrc/security/tripwire/patches/patch-ak