73 lines
2.0 KiB
Plaintext
73 lines
2.0 KiB
Plaintext
$OpenBSD: patch-doc_aide_conf_in,v 1.6 2019/10/01 11:38:15 sthen Exp $
|
|
|
|
Index: doc/aide.conf.in
|
|
--- doc/aide.conf.in.orig
|
|
+++ doc/aide.conf.in
|
|
@@ -19,7 +19,7 @@
|
|
# corresponding line.
|
|
#
|
|
|
|
-@@define TOPDIR @abs_top_srcdir@
|
|
+#@@define TOPDIR @abs_top_srcdir@
|
|
|
|
@@ifndef TOPDIR
|
|
@@define TOPDIR /
|
|
@@ -43,12 +43,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
|
|
@@ -123,22 +123,32 @@ All=R+a+sha1+rmd160+sha256+sha512+tiger@aideextragroup
|
|
# 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+md5+sha1+rmd160+sha256+sha512+tiger@aideextragroups@
|
|
+#Norm=l+s+n+b+md5+sha1+rmd160+sha256+sha512+tiger@aideextragroups@
|
|
+=/$ 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$ R
|