head	1.3;
access;
symbols
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2002.11.05.13.46.25;	author cy;	state dead;
branches;
next	1.2;

1.2
date	2002.06.07.00.00.06;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.14.16.11.53;	author will;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update 0.7 --> 0.9

The aide database was in /var/adm/aide and is now in /var/db/aide. /var/adm
is a SYSV directory that does not exist on FreeBSD.
@
text
@--- src/db_file.c.orig	Thu Apr 20 05:44:56 2000
+++ src/db_file.c	Thu Jun  6 16:56:48 2002
@@@@ -212,7 +212,7 @@@@
 	if((retval=fork())==0){
 	  /* The child process */
 	  close(pipefd[0]);
-	  conf->db_gzin=gzdopen(fileno(conf->db_in),"rb");
+	  conf->db_gzin=gzdopen(fileno((FILE *)conf->db_in),"rb");
 	  /* WARNING This causes weird problems. Don't do it.
 	     fclose(conf->db_in);
 	  */
@@@@ -447,7 +447,7 @@@@
   }
 
   if(tmpstr){
-    retval=fprintf(file,tmpstr);
+    retval=fprintf(file,"%s",tmpstr);
     free(tmpstr);
     return retval;
   }else {
@@@@ -484,7 +484,7 @@@@
 
 
   tmpstr=encode_base64(ptr,strlen(ptr));
-  retval=fprintf(file,tmpstr);
+  retval=fprintf(file,"%s",tmpstr);
   free(tmpstr);
   free(ptr);
 
@


1.2
log
@Fix a couple of fprintf format string errors
@
text
@@


1.1
log
@Finally add AIDE, a security tool similar to Tripwire but much improved.

PR:		15894
Submitted by:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@d2 1
a2 1
+++ src/db_file.c	Thu Jul 13 07:39:36 2000
d12 18
@

