Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
aide
aide.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aide.spec of Package aide
# # spec file for package aide (Version 0.15.1) # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: aide BuildRequires: bison flex libacl-devel libattr-devel mhash-devel pkg-config zlib-devel BuildRequires: curl-devel libselinux-devel %define prefix /usr Version: 0.15.1 Release: 1 Summary: Advanced Intrusion Detection Environment License: GPLv2+ Group: Productivity/Security Source0: http://www.cs.tut.fi/~rammer/aide-%{version}.tar.bz2 Source1: aide.conf Source2: aide-cron_daily.sh Patch1: aide-%{version}-as-needed.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://sourceforge.net/projects/aide/ %description AIDE is an intrusion detection system that checks file integrity. Authors: -------- rammer@cs.tut.fi %prep %setup -q %patch1 -p1 %build autoreconf -fiv CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=%{_prefix} \ --sysconfdir=/etc \ --mandir=%{_mandir} \ --with-config_file=/etc/aide.conf \ --with-dbhmactype=md5 \ --disable-static \ --enable-lfs \ --with-posix-acl \ --with-xattr \ --with-selinux \ --with-curl \ --with-zlib # --enable-forced_configmd %install make DESTDIR=$RPM_BUILD_ROOT install install -m 700 -d $RPM_BUILD_ROOT/var/lib/aide install -m 700 -d $RPM_BUILD_ROOT/etc install -m 600 %{S:1} $RPM_BUILD_ROOT/etc/aide.conf mkdir -p doc/examples/etc/cron.daily/ cp -a %{S:2} doc/examples/etc/cron.daily/aide.sh mkdir /var/tmp/aide-test export TESTDIR=/var/tmp/aide-test make DESTDIR=$TESTDIR install 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 --verbose rm -rf $TESTDIR %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README doc/manual* aide.* doc/examples %{_prefix}/bin/aide /%{_mandir}/man1/aide.1.gz /%{_mandir}/man5/aide.conf.5.gz /var/lib/aide %config(noreplace) /etc/aide.conf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor