summaryrefslogtreecommitdiff
path: root/security/aide/pkg-plist
blob: a9989a71bdb3b2a6b1be1c4af135ef2f177f16ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
bin/aide
@unexec if cmp -s %D/etc/aide.conf %D/etc/aide.conf.sample; then rm -f %D/etc/aide.conf; fi
etc/aide.conf.sample
@exec [ ! -f %B/aide.conf ] && cp %B/%f %B/aide.conf
@exec /bin/mkdir -p /var/db/aide/databases
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide/databases
@exec [ -f /var/db/aide/aide.conf ] || /bin/chmod 0700 /var/db/aide
@exec [ -f /var/db/aide/aide.conf ] || /bin/chmod 0700 /var/db/aide/databases
@unexec rmdir /var/db/aide/databases 2>/dev/null || true
@unexec rmdir /var/db/aide 2>/dev/null || true
@unexec rmdir /var/db 2>/dev/null || true