mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
8cbc803ff7
- Clean up Makefile and update pkg-message handling PR: ports/81492 [1], ports/83128 [2] Submitted by: Boris B. Samorodov <bsam@ipt.ru>, Norikatsu Shigemura <n-shigemura@ensure.jp> Approved by: maintainer timeout (2 months)
13 lines
688 B
Plaintext
13 lines
688 B
Plaintext
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 ] || /usr/sbin/chmod 0700 /var/db/aide
|
|
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/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
|