pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/aide06 Give a bit of leeway in the atime time...
details: https://anonhg.NetBSD.org/pkgsrc/rev/66dfdf3de32f
branches: trunk
changeset: 480841:66dfdf3de32f
user: agc <agc%pkgsrc.org@localhost>
date: Tue Sep 21 14:14:27 2004 +0000
description:
Give a bit of leeway in the atime time calculation - the problem is
that, on a large SMP bulk build machine, and occasionally on smaller
less busy machines, we can get a false-postive message in the aide
output because the atime on a group of files can be one second later
than "cur_time", the current time as returned to aide. So allow for
one second's difference in the time calculation.
Bump package revision.
diffstat:
security/aide06/Makefile | 3 ++-
security/aide06/distinfo | 3 ++-
security/aide06/patches/patch-ad | 14 ++++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r 72cbd8521c85 -r 66dfdf3de32f security/aide06/Makefile
--- a/security/aide06/Makefile Tue Sep 21 13:49:41 2004 +0000
+++ b/security/aide06/Makefile Tue Sep 21 14:14:27 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2004/06/27 13:23:40 grant Exp $
+# $NetBSD: Makefile,v 1.7 2004/09/21 14:14:27 agc Exp $
#
DISTNAME= aide-0.6
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.cs.tut.fi/pub/src/gnu/
diff -r 72cbd8521c85 -r 66dfdf3de32f security/aide06/distinfo
--- a/security/aide06/distinfo Tue Sep 21 13:49:41 2004 +0000
+++ b/security/aide06/distinfo Tue Sep 21 14:14:27 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2003/12/19 12:34:30 agc Exp $
+$NetBSD: distinfo,v 1.3 2004/09/21 14:14:27 agc Exp $
SHA1 (aide-0.6.tar.gz) = e6d112193ad96bdbbe1e1b685dac644d958a1155
Size (aide-0.6.tar.gz) = 212475 bytes
SHA1 (patch-aa) = db675e373464c5127f9bd4cbfd38e6634c950ebf
SHA1 (patch-ab) = 5cc5fdd9fcfde2c5e118bfa4cf68ec7e05215003
SHA1 (patch-ac) = 994de0dc4fc72d9a94f1110c79ece4cc4c0129cb
+SHA1 (patch-ad) = 95cb43837470eb1316ef3c234abd71e79838e752
diff -r 72cbd8521c85 -r 66dfdf3de32f security/aide06/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/aide06/patches/patch-ad Tue Sep 21 14:14:27 2004 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2004/09/21 14:14:27 agc Exp $
+
+--- src/gen_list.c 2004/09/21 12:33:36 1.1
++++ src/gen_list.c 2004/09/21 12:34:43
+@@ -240,7 +240,8 @@
+ }
+ } else {
+
+- if(fs.st_atime>cur_time){
++ /* allow the current time to be 1 second out, in case of ntp twitch or other funny */
++ if(fs.st_atime>cur_time + 1){
+ error(CLOCK_SKEW,"%s atime in future\n",fil->filename);
+ }
+ if(fs.st_mtime>cur_time){
Home |
Main Index |
Thread Index |
Old Index