# 
# AIDE 0.6 
#
# example configuration file
#
# This configuration file checks the integrity of the
# AIDE package
#
# Default values for the parameters are in comments before the 
# corresponding line.
#

@@define TOPDIR /tmp/pkgbuild/security/aide06/work.powerpc/aide-0.6

@@ifndef TOPDIR 
@@define TOPDIR /
@@endif

@@ifdef DEBUG
@@define DEBUG ison
@@undef NOT_DEBUG
@@else
@@define NOT_DEBUG true
@@undef DEBUG
@@endif

@@ifhost korppi
@@define KORPPI yes
@@endif

@@ifnhost ftp
@@define BUMMER true
@@endif

# The location of the database to be read.
#database=file:aide.db
database=file:@@{TOPDIR}/doc/aide.db

# The location of the database to be written.
#database_out=file:aide.db.new
database_out=file:aide.db.new

#verbose=5
verbose=20

#report_url=stdout
#other possibilities
#report_url=stderr
#NOT IMPLEMENTED report_url=mailto:root@foo.com
#report_url=file:/tmp/some_file.txt
#NOT IMPLEMENTED report_url=syslog:LOG_AUTH
report_url=stdout

# @@{TOPDIR} is replaced with /tmp/pkgbuild/security/aide06/work.powerpc/aide-0.6 when
# read by aide. 
#p:     permissions
#i:	inode
#n:	number of links
#u:	user
#g:	group
#s:	size
#b:	block count
#m:	mtime
#a:	atime
#c:	ctime
#S:	check for growing size
#md5:	md5 checksum
#sha1:	sha1 checksum
#rmd160:     rmd160 checksum
#tiger:     tiger checksum
#R:	p+i+n+u+g+s+m+c+md5
#L:	p+i+n+u+g
#E:	Empty group
#>:	Growing logfile p+u+g+i+n+S
#The following are available if you have mhash support enabled.
#rmd128:	rmd128 checksum
#haval:		haval checksum
#gost:		gost checksum
#snefru:	snefru checksum
#crc32:		crc32 checksum

# Rule definition
All=R+a+sha1+rmd160+tiger

# ignore_list is a special rule definition
# the attributes listed in it are not displayed in the
# final report

# Attributes that can be used to verify that aide in intact
# by people that have downloaded it from the web.
# Let's be paranoid
Norm=s+n+b+md5+sha1+rmd160+tiger

# The commented rules are just examples the rest are used by 
# make check

#Selection regexp rule
@@{TOPDIR}/.* Norm
#Equals selection only the directory doc is checked and not it's children
#=@@{TOPDIR}/doc L
#Negative selection no rule is necessary but ignored if there
!@@{TOPDIR}/.*~
!@@{TOPDIR}/src/.*\.o
!@@{TOPDIR}/src/(aide|core) L
!@@{TOPDIR}/.*RCS
!@@{TOPDIR}/.*CVS
!@@{TOPDIR}/.*aide\.db.*
!@@{TOPDIR}/.*\.cvsignore.*
# @@{TOPDIR}/doc/.* All

