summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc>2004-09-21 14:14:27 +0000
committeragc <agc>2004-09-21 14:14:27 +0000
commit4d36d6e8d0546504c40bcca27a342e923f5e83fc (patch)
treee23e99c9926e811741014ee2ec76ff1054fefb23 /security
parent31c0fa01ad1fff6c47c8e98ee56f5d10106301f3 (diff)
downloadpkgsrc-4d36d6e8d0546504c40bcca27a342e923f5e83fc.tar.gz
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 (limited to 'security')
-rw-r--r--security/aide06/Makefile3
-rw-r--r--security/aide06/distinfo3
-rw-r--r--security/aide06/patches/patch-ad14
3 files changed, 18 insertions, 2 deletions
diff --git a/security/aide06/Makefile b/security/aide06/Makefile
index ca8b0216c2c..1eaffb8b8fc 100644
--- a/security/aide06/Makefile
+++ b/security/aide06/Makefile
@@ -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 --git a/security/aide06/distinfo b/security/aide06/distinfo
index 8cb0fef4dd7..8d5e856eb1c 100644
--- a/security/aide06/distinfo
+++ b/security/aide06/distinfo
@@ -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 --git a/security/aide06/patches/patch-ad b/security/aide06/patches/patch-ad
new file mode 100644
index 00000000000..ca81eb25842
--- /dev/null
+++ b/security/aide06/patches/patch-ad
@@ -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){