SPECS: rsyslog.spec - added rsyslog.{init, conf, sysconfig} files from fedora...

paszczus paszczus at pld-linux.org
Thu Jul 3 11:43:45 CEST 2008


Author: paszczus                     Date: Thu Jul  3 09:43:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added rsyslog.{init,conf,sysconfig} files from fedora (need to pldize them?)
- cleanups

---- Files affected:
SPECS:
   rsyslog.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/rsyslog.spec
diff -u SPECS/rsyslog.spec:1.7 SPECS/rsyslog.spec:1.8
--- SPECS/rsyslog.spec:1.7	Thu Jul  3 11:33:38 2008
+++ SPECS/rsyslog.spec	Thu Jul  3 11:43:40 2008
@@ -20,6 +20,9 @@
 Group:		Daemons
 Source0:	http://download.rsyslog.com/rsyslog/%{name}-%{version}.tar.gz
 # Source0-md5:	568d0ad73a149974b9bcfcb9e64bfc0b
+Source1:	%{name}.init
+Source2:	%{name}.conf
+Source3:	%{name}.sysconfig
 URL:		http://www.rsyslog.com/
 %{?with_gssapi:BuildRequires: krb5-devel}
 %{?with_mysql:BuildRequires: mysql-devel}
@@ -135,6 +138,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rsyslog
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rsyslog.conf
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/rsyslog
+install redhat/rsyslog.log $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/rsyslog
+
 for n in debug kernel maillog messages secure syslog user spooler lpr daemon
 do
 	> $RPM_BUILD_ROOT/var/log/$n
@@ -211,13 +219,12 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-#%attr(640,root,syslog) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf
-#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/syslog
-#%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/syslog
-#%attr(754,root,root) /etc/rc.d/init.d/syslog
+%attr(640,root,syslog) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rsyslog.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rsyslog
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/rsyslog
+%attr(754,root,root) /etc/rc.d/init.d/rsyslog
 %attr(640,root,root) %ghost /var/log/*
 %attr(755,root,root) %{_sbindir}/rsyslogd
-#%attr(755,root,root) %{_bindir}/syslogd-listfiles
 %{_libdir}/rsyslog/omsnmp.so
 %{_libdir}/rsyslog/imklog.so
 %{_libdir}/rsyslog/immark.so
@@ -260,6 +267,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/07/03 09:43:40  paszczus
+- added rsyslog.{init,conf,sysconfig} files from fedora (need to pldize them?)
+- cleanups
+
 Revision 1.7  2008/07/03 09:33:38  paszczus
 - pldize, thx glen
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rsyslog.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list