rpms/aide/devel aide.logrotate,NONE,1.1 aide.spec,1.37,1.38
Steve Grubb
sgrubb at fedoraproject.org
Fri Feb 19 18:26:44 UTC 2010
Author: sgrubb
Update of /cvs/pkgs/rpms/aide/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30120
Modified Files:
aide.spec
Added Files:
aide.logrotate
Log Message:
* Fri Feb 19 2010 Steve Grubb <sgrubb at redhat.com> - 0.13.1-16
- Add logrotate script
--- NEW FILE aide.logrotate ---
/var/log/aide/*.log {
weekly
missingok
rotate 4
compress
delaycompress
copytruncate
minsize 100k
}
Index: aide.spec
===================================================================
RCS file: /cvs/pkgs/rpms/aide/devel/aide.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- aide.spec 11 Dec 2009 20:20:45 -0000 1.37
+++ aide.spec 19 Feb 2010 18:26:43 -0000 1.38
@@ -1,19 +1,17 @@
-%{?_with_static: %define nostatic %nil }
-%{!?_with_static: %define nostatic --disable-static }
-
# segfaults
-%{!?_with_curl: %{!?_without_curl: %define _without_curl --without-curl}}
+%{!?_with_curl: %{!?_without_curl: %global _without_curl --without-curl}}
Summary: Intrusion detection environment
Name: aide
Version: 0.13.1
-Release: 15%{?dist}
+Release: 16%{?dist}
URL: http://sourceforge.net/projects/aide
License: GPLv2+
Group: Applications/System
Source0: http://download.sourceforge.net/aide/aide-%{version}.tar.gz
Source1: aide.conf
Source2: README.quickstart
+Source3: aide.logrotate
Patch1: aide-0.13.1-contextsize.patch
Patch2: aide-0.12-dedosify.patch
Patch3: aide-0.13.1-manuals.patch
@@ -32,8 +30,6 @@ Buildrequires: audit-libs-devel >= 1.2.8
%if "%{?_with_curl}x" != "x"
Buildrequires: curl-devel
%endif
-#Buildrequires: postgresql-devel libgcrypt-devel
-#(needs --with-psql and -lgcrypt in src/Makefile.in)
%description
AIDE (Advanced Intrusion Detection Environment) is a file integrity
@@ -66,13 +62,14 @@ make
%install
rm -rf $RPM_BUILD_ROOT
-%makeinstall bindir=$RPM_BUILD_ROOT%{_sbindir}
+make DESTDIR=$RPM_BUILD_ROOT bindir=%{_sbindir} install
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/aide
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
mkdir -p -m0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/aide
install -p %{SOURCE2} README.quickstart
-
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
+install -c -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/aide
%clean
rm -rf $RPM_BUILD_ROOT
@@ -86,11 +83,15 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%{_mandir}/man5/*
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf
+%{_sysconfdir}/logrotate.d/aide
%dir %attr(0700,root,root) %{_localstatedir}/lib/aide
%dir %attr(0700,root,root) %{_localstatedir}/log/aide
%changelog
+* Fri Feb 19 2010 Steve Grubb <sgrubb at redhat.com> - 0.13.1-16
+- Add logrotate script and spec file cleanups
+
* Fri Dec 11 2009 Steve Grubb <sgrubb at redhat.com> - 0.13.1-15
- Get rid of .dedosify files
More information about the scm-commits
mailing list