SPECS: argus.spec - logrotate config

alucard alucard at pld-linux.org
Tue Feb 27 21:29:06 CET 2007


Author: alucard                      Date: Tue Feb 27 20:29:06 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- logrotate config

---- Files affected:
SPECS:
   argus.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/argus.spec
diff -u SPECS/argus.spec:1.6 SPECS/argus.spec:1.7
--- SPECS/argus.spec:1.6	Tue Feb 27 21:07:35 2007
+++ SPECS/argus.spec	Tue Feb 27 21:29:01 2007
@@ -1,6 +1,5 @@
 # $Revision$, $Date$
 # TODO
-# - logrotate (or argusrotate)
 # - configure without options not working
 #
 # Conditional build:
@@ -23,6 +22,7 @@
 Source1:	%{name}.conf
 Source2:	%{name}.init
 Source3:	%{name}.sysconfig
+Source4:	%{name}.logrotate
 URL:		http://www.qosient.com/argus/
 BuildRequires:	bison
 %{?with_tcp_wrappers:BuildRequires:	cyrus-sasl-devel}
@@ -52,12 +52,13 @@
 rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
-install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
+install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig}
 install -d $RPM_BUILD_ROOT%{_var}/log/%{name}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name}.conf
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
 touch $RPM_BUILD_ROOT%{_var}/log/%{name}/%{name}.log
 
@@ -90,6 +91,7 @@
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
 %dir %{_var}/log/%{name}
 %attr(640,argus,root,) %ghost %{_var}/log/%{name}/%{name}.log
 %{_mandir}/man5/argus.conf.5*
@@ -101,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2007/02/27 20:29:01  alucard
+- logrotate config
+
 Revision 1.6  2007/02/27 20:07:35  alucard
 - homedir for argus is not needed, so as glen suggested: /usr/share/empty
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/argus.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list