* Fix concurrent reading of extended attributes (xattrs) * Raise warning if both input databases are the same - Update to 0.18.7: * Add missing library CFLAGS * Fix typo in aide.conf manual page * Fix 64-bit time_t on 32-bit architectures * Fix debug logging for returned attributes * Fix condition for error message of failing to open gzipped files - rebased aide-0.18-as-needed.patch OBS-URL: https://build.opensuse.org/package/show/security/aide?expand=0&rev=64
12 lines
493 B
Bash
12 lines
493 B
Bash
#!/bin/sh
|
|
export TESTDIR=`mktemp -d /tmp/aide.XXXXXX`
|
|
install -m 700 -d $TESTDIR/var/lib/aide
|
|
install -m 700 -d $TESTDIR/etc
|
|
install -m 600 /etc/aide.conf $TESTDIR/etc/aide.conf.new
|
|
sed -e "s#/var/lib/aide#$TESTDIR/var/lib/aide#g" <$TESTDIR/etc/aide.conf.new >$TESTDIR/etc/aide.conf
|
|
/usr/bin/aide -c $TESTDIR/etc/aide.conf --init || exit 1
|
|
mv $TESTDIR/var/lib/aide/aide.db.new $TESTDIR/var/lib/aide/aide.db
|
|
/usr/bin/aide -c $TESTDIR/etc/aide.conf --check --verbose || exit 1
|
|
|
|
rm -rf $TESTDIR
|