openbsd-ports/security/aide/patches/patch-doc_aide_conf_in
benoit 7f64dcd160 - update to aide 0.13.1
- regen PLIST and patches

ok ajacoutot@
2009-05-21 21:53:24 +00:00

79 lines
2.1 KiB
Plaintext

--- doc/aide.conf.in.ori Tue Feb 13 23:20:16 2007
+++ doc/aide.conf.in Tue Feb 13 23:50:41 2007
@@ -19,7 +19,6 @@
# corresponding line.
#
-@@define TOPDIR @top_srcdir@
@@ifndef TOPDIR
@@define TOPDIR /
@@ -43,12 +42,12 @@
# The location of the database to be read.
#database=file:aide.db
-database=file:@@{TOPDIR}/doc/aide.db
+database=file:/var/db/aide.db
# The location of the database to be written.
#database_out=sql:host:port:database:login_name:passwd:table
#database_out=file:aide.db.new
-database_out=file:aide.db.new
+database_out=file:/var/db/aide.db.new
# Whether to gzip the output to database
# gzip_dbout=no
@@ -100,7 +99,7 @@
#xattr: extended file attributes
# Rule definition
-All=R+a+sha1+rmd160+sha256+sha512+whirlpool
+All=R+a+sha1+rmd160+sha256+sha512
# report_attributes is a special rule definition
# the attributes listed in it are alway displayed for changed files
@@ -115,22 +114,34 @@
# 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=l+s+n+b+selinux+xattrs+md5+sha1+rmd160+sha256+sha512+whirlpool
+#Norm=l+s+n+b+selinux+xattrs+md5+sha1+rmd160+sha256+sha512+whirlpool
+=/$ R
+/bsd$ L+s+sha256
+/etc$ L+s+sha256
# The commented rules are just examples the rest are used by
# make check
+# my password database should be static at time of system build. yours
+# may not be, if not, uncomment the lines below.
+#/etc/passwd L
+#/etc/master.passwd L
+#/etc/pwd.db L
+#/etc/spwd.db L
+
#Selection regexp rule
-@@{TOPDIR}/.* Norm
+#@@{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}/.*~
+#!@@{TOPDIR}/src/.*\.o
+#!@@{TOPDIR}/src/(aide|core)$ L
+#!@@{TOPDIR}/.*RCS
+#!@@{TOPDIR}/.*CVS
+#!@@{TOPDIR}/.*aide\.db.*
+#!@@{TOPDIR}/.*\.cvsignore.*
# @@{TOPDIR}/doc/.* All
+# /home
+=/home$ R