This commit is contained in:
parent
3ca2d3c127
commit
ecf76b39cb
11
aide-version-fix.patch
Normal file
11
aide-version-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -573,7 +573,7 @@
|
||||
)
|
||||
# LDFLAGS=$save_LDFLAGS
|
||||
AC_DEFINE(WITH_CURL,1,[use curl])
|
||||
- compoptionstring="${compoptionstring}WITH_CURL\\n"],
|
||||
+ compoptionstring="${compoptionstring}WITH_CURL\\n"
|
||||
fi
|
||||
|
||||
AC_ARG_WITH([gnu-regexp],
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 5 14:19:26 CET 2009 - meissner@suse.de
|
||||
|
||||
- fixed abort on check/update by removing the hash requirement bnc#406597
|
||||
- fixed version output bnc#463511
|
||||
- enhanced testcase to also run one aide --check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 22 09:48:36 CEST 2008 - meissner@suse.de
|
||||
|
||||
|
26
aide.spec
26
aide.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package aide (Version 0.13.1)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 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,13 +23,14 @@ 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: 39
|
||||
Release: 48
|
||||
Summary: Advanced Intrusion Detection Environment
|
||||
License: GPL v2 or later
|
||||
Group: Productivity/Security
|
||||
Source0: http://www.cs.tut.fi/~rammer/aide-%{version}.tar.bz2
|
||||
Source1: aide.conf
|
||||
Source2: aide-cron_daily.sh
|
||||
Patch: aide-version-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Url: http://sourceforge.net/projects/aide/
|
||||
|
||||
@ -44,7 +45,9 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%{?suse_update_config:%{suse_update_config -l -f}}
|
||||
autoconf
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
@ -54,7 +57,6 @@ CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--mandir=%{_mandir} \
|
||||
--with-config_file=/etc/aide.conf \
|
||||
--with-dbhmactype=md5 \
|
||||
--enable-forced_dbmd \
|
||||
--disable-static \
|
||||
--enable-lfs \
|
||||
--with-posix-acl \
|
||||
@ -79,6 +81,8 @@ 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
|
||||
$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
|
||||
rm -rf $TESTDIR
|
||||
|
||||
%clean
|
||||
@ -94,6 +98,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%config(noreplace) /etc/aide.conf
|
||||
|
||||
%changelog
|
||||
* Mon Jan 05 2009 meissner@suse.de
|
||||
- fixed abort on check/update by removing the hash requirement bnc#406597
|
||||
- fixed version output bnc#463511
|
||||
- enhanced testcase to also run one aide --check
|
||||
* Fri Aug 22 2008 meissner@suse.de
|
||||
- enabled SELinux support [Fate#303662]
|
||||
- enabled curl
|
||||
@ -124,7 +132,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- fixes bug #149059
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sun Jan 15 2006 schwab@suse.de
|
||||
* Sat Jan 14 2006 schwab@suse.de
|
||||
- Don't strip binaries.
|
||||
* Fri Mar 18 2005 mge@suse.de
|
||||
- fixes #71272 - aide-0.10-47 config files not yet converted to utf8
|
||||
@ -133,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- #33600: more usable default aide.conf
|
||||
(thanks to Dirk Mueller <dmuell@gmx.net>)
|
||||
- example-cron-job
|
||||
* Sun Jan 11 2004 adrian@suse.de
|
||||
* Sat Jan 10 2004 adrian@suse.de
|
||||
- build as user
|
||||
* Wed Nov 13 2002 ro@suse.de
|
||||
- fix build for current bison
|
||||
@ -145,11 +153,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Wed Nov 22 2000 mge@suse.de
|
||||
- created PAC files
|
||||
- make SPEC file 7.0 compliant
|
||||
* Sun Jul 16 2000 mge@suse.de
|
||||
* Sat Jul 15 2000 mge@suse.de
|
||||
- initial SuSE RPM, config file /etc/aide.conf
|
||||
* Wed Jan 26 2000 Matthew Kirkwood <weejock@ferret.lmh.ox.ac.uk>
|
||||
* Tue Jan 25 2000 Matthew Kirkwood <weejock@ferret.lmh.ox.ac.uk>
|
||||
- Fixes for RH 6.1 and sysconfdir changed to /etc and /var/lib/aide added
|
||||
* Sun Sep 12 1999 Rami Lehti <rammer@cs.tut.fi>
|
||||
* Sat Sep 11 1999 Rami Lehti <rammer@cs.tut.fi>
|
||||
- Some small changes to make this autogeneratable by configure.
|
||||
* Sat Sep 11 1999 Zach Brown <zab@redhat.com>
|
||||
* Fri Sep 10 1999 Zach Brown <zab@redhat.com>
|
||||
- First go
|
||||
|
Loading…
x
Reference in New Issue
Block a user