SPECS: rsyslog.spec - updated to 3.16.2 - removed TODO; added bconds mysql,...

paszczus paszczus at pld-linux.org
Thu Jul 3 10:49:48 CEST 2008


Author: paszczus                     Date: Thu Jul  3 08:49:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 3.16.2
- removed TODO; added bconds mysql,pgsql,snmp
- NFY (same error as in previous revision - %files needs to be corrected)
- release 0.1

---- Files affected:
SPECS:
   rsyslog.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/rsyslog.spec
diff -u SPECS/rsyslog.spec:1.2 SPECS/rsyslog.spec:1.3
--- SPECS/rsyslog.spec:1.2	Sat Feb  9 23:40:43 2008
+++ SPECS/rsyslog.spec	Thu Jul  3 10:49:42 2008
@@ -1,6 +1,10 @@
 # $Revision$, $Date$
-# TODO:
-# - enable mysql, pgsql and snmp support
+#
+# Conditional build:
+%bcond_without  mysql		# Enable MySql database support 
+%bcond_without  pgsql		# Enable PostgreSQL database support
+%bcond_without	snmp		# Enable SNMP support
+
 Summary:	Linux system and kernel logger
 Summary(de.UTF-8):	Linux-System- und Kerner-Logger
 Summary(es.UTF-8):	Registrador de log del sistema linux
@@ -9,12 +13,15 @@
 Summary(pt_BR.UTF-8):	Registrador de log do sistema linux
 Summary(tr.UTF-8):	Linux sistem ve çekirdek kayıt süreci
 Name:		rsyslog
-Version:	3.11.0
+Version:	3.16.2
 Release:	0.1
 License:	GPL v3
 Group:		Daemons
 Source0:	http://download.rsyslog.com/rsyslog/%{name}-%{version}.tar.gz
-# Source0-md5:	5d4714517de0d3ab5214462b8401c7d9
+# Source0-md5:	568d0ad73a149974b9bcfcb9e64bfc0b
+%{?with_mysql:BuildRequires: mysql-devel}
+%{?with_pgsql:BuildRequires: postgresql-devel}
+%{?with_snmp:BuildRequires: net-snmp-devel}	
 #Source1:	syslog.conf
 #Source2:	syslog.init
 #Source3:	syslog.logrotate
@@ -93,8 +100,11 @@
 %setup -q
 
 %build
-# Possible syslog backends:  --enable-mysql --enable-pgsql
-%configure
+%configure \
+%{?with_mysql:--enable-mysql} \
+%{?with_pgsql:--enable-pgsql} \
+%{?with_snmp:--enable-snmp}
+
 %{__make}
 
 %install
@@ -192,7 +202,7 @@
 
 %files
 %defattr(644,root,root,755)
-#%doc ANNOUNCE NEWS README* CHANGES
+%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
@@ -216,6 +226,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/07/03 08:49:42  paszczus
+- updated to 3.16.2
+- removed TODO; added bconds mysql,pgsql,snmp
+- NFY (same error as in previous revision - %files needs to be corrected)
+- release 0.1
+
 Revision 1.2  2008/02/09 22:40:43  blues
 - md5 fixed, few building fixes. Builds, works, needs packaging finish and
   some fine-tuning.
================================================================

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



More information about the pld-cvs-commit mailing list