[Aide] compiling aide 0.15.1 on FreeBSD 8.2

Axel Rau Axel.Rau at Chaos1.DE
Thu Sep 15 20:07:02 EEST 2011


Hi all,

the FreeBSD ports collection contains aide 0.13.1 and I used it for many years.
Using the 0.13.1 patches of configure.in, I could build a binary, but after creating a new db, the 1st run produced one line per file like this:
---
Entry /usr/bin/perror in databases has different attributes: 1bbd 800001bbd
---
Did something change in this area from 0.13 to 0.15:
---
--- configure.in.orig	Sat Feb 18 04:46:41 2006
+++ configure.in	Wed Feb 22 20:26:01 2006
@@ -362,7 +362,9 @@
 	AIDE_FSTAT_FUNC="fstat"
 	AIDE_STAT_TYPE="stat"
 	AIDE_OFF_TYPE="off_t"
-	AIDE_BLKCNT_TYPE="blkcnt_t"
+	AC_CHECK_TYPES(blkcnt_t,
+		AIDE_BLKCNT_TYPE="blkcnt_t",
+		AIDE_BLKCNT_TYPE="int32_t"),
 	AIDE_READDIR_FUNC="readdir"
 	AIDE_READDIR_R_FUNC="readdir_r"
 	compoptionstring="${compoptionstring}WITH_LSTAT\\n"
@@ -373,7 +375,9 @@
 	AIDE_FSTAT_FUNC="fstat"
 	AIDE_STAT_TYPE="stat"
 	AIDE_OFF_TYPE="off_t"
-	AIDE_BLKCNT_TYPE="blkcnt_t"
+	AC_CHECK_TYPES(blkcnt_t,
+		AIDE_BLKCNT_TYPE="blkcnt_t",
+		AIDE_BLKCNT_TYPE="int32_t"),
 	AIDE_READDIR_FUNC="readdir"
 	AIDE_READDIR_R_FUNC="readdir_r"
 	compoptionstring="${compoptionstring}WITH_LSTAT\\n"
---
?

Anybody succeeded in compiling aide 0.15.1 on FreeDS 8.x ?

Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius



More information about the Aide mailing list