SHA256
1
0
forked from pool/aide

Accepting request 39184 from security

Copy from security/aide based on submit request 39184 from user coolo

OBS-URL: https://build.opensuse.org/request/show/39184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aide?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-05-03 21:45:55 +00:00 committed by Git OBS Bridge
parent 1412050129
commit 791e632405
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 30 00:40:34 CEST 2010 - ro@suse.de
- make aide check verbose to get started
- add sleep and sync to fix build
-------------------------------------------------------------------
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package aide (Version 0.13.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,9 +23,9 @@ BuildRequires: bison flex libacl-devel libattr-devel mhash-devel pkg-config zli
BuildRequires: curl-devel libselinux-devel
%define prefix /usr
Version: 0.13.1
Release: 51
Release: 52
Summary: Advanced Intrusion Detection Environment
License: GPL v2 or later
License: GPLv2+
Group: Productivity/Security
Source0: http://www.cs.tut.fi/~rammer/aide-%{version}.tar.bz2
Source1: aide.conf
@ -81,9 +81,12 @@ install -m 700 -d $TESTDIR/var/lib/aide
install -m 700 -d $TESTDIR/etc
install -m 600 %{S:1} $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
sleep 2
sync
sleep 2
$TESTDIR/usr/bin/aide -c $TESTDIR/etc/aide.conf --init
mv $TESTDIR/var/lib/aide/aide.db.new $TESTDIR/var/lib/aide/aide.db
$TESTDIR/usr/bin/aide -c $TESTDIR/etc/aide.conf --check
$TESTDIR/usr/bin/aide -c $TESTDIR/etc/aide.conf --check --verbose
rm -rf $TESTDIR
%clean