Author: baggins                      Date: Fri Dec 26 22:16:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 3.0.1
- new in this version: SSL/TLS, IPv6, logging to SQL DB, pcre
- it seems html docs disappeared

---- Files affected:
SPECS:
   syslog-ng.spec (1.153 -> 1.154) 

---- Diffs:

================================================================
Index: SPECS/syslog-ng.spec
diff -u SPECS/syslog-ng.spec:1.153 SPECS/syslog-ng.spec:1.154
--- SPECS/syslog-ng.spec:1.153  Fri Dec 26 18:16:18 2008
+++ SPECS/syslog-ng.spec        Fri Dec 26 23:16:53 2008
@@ -1,20 +1,19 @@
 # $Revision$, $Date$
 #
-# TODO:        upgrade to 2.1 or 3.0.1
-#
 # Conditional build:
-%bcond_with    dynamic         # link dynamically with glib and eventlog
+%bcond_with    dynamic         # link dynamically with glib, eventlog, pcre, 
openssl
+%bcond_without sql             # build without support for logging to SQL DB
 #
 Summary:       Syslog-ng - new generation of the system logger
 Summary(pl.UTF-8):     Syslog-ng - zamiennik syskloga
 Summary(pt_BR.UTF-8):  Daemon de log nova geração
 Name:          syslog-ng
-Version:       2.0.10
-Release:       2
+Version:       3.0.1
+Release:       1
 License:       GPL v2
 Group:         Daemons
-Source0:       
http://www.balabit.com/downloads/files/syslog-ng/sources/2.0/src/%{name}-%{version}.tar.gz
-# Source0-md5: 3f96ccf13dda0b9e150e511bcffde795
+Source0:       
http://www.balabit.com/downloads/files/syslog-ng/sources/3.0.1/source/%{name}_%{version}.tar.gz
+# Source0-md5: 14e13519bad47d0a6308905292385321
 Source1:       %{name}.init
 Source2:       %{name}.conf
 Source3:       %{name}.logrotate
@@ -29,14 +28,28 @@
 BuildRequires: rpmbuild(macros) >= 1.268
 %if %{with dynamic}
 BuildRequires: eventlog-devel >= 0.2
-BuildRequires: glib2-devel >= 1:2.2.0
+BuildRequires: glib2-devel >= 1:2.10.1
+BuildRequires: libcap-devel
+%if %{with sql}
+BuildRequires: libdbi-devel >= 0.8.3-2
+%endif
 BuildRequires: libnet-devel >= 1:1.1.2.1-3
 BuildRequires: libwrap-devel
+BuildRequires: openssl-devel >= 0.9.8
+BuildRequires: pcre-devel
 %else
 BuildRequires: eventlog-static >= 0.2
 BuildRequires: glib2-static >= 1:2.2.0
+BuildRequires: glibc-static
+BuildRequires: libcap-static
+%if %{with sql}
+BuildRequires: libdbi-static >= 0.8.3-2
+%endif
 BuildRequires: libnet-static >= 1:1.1.2.1-3
 BuildRequires: libwrap-static
+BuildRequires: openssl-static >= 0.9.8
+BuildRequires: pcre-static
+BuildRequires: zlib-static
 %endif
 Requires(post):        fileutils
 Requires(post,preun):  /sbin/chkconfig
@@ -76,7 +89,7 @@
 %patch0 -p1
 %patch1 -p1
 
-%{__tar} xzf doc/reference/syslog-ng.html.tar.gz
+#%{__tar} xzf doc/reference/syslog-ng.html.tar.gz
 
 %build
 %{__aclocal}
@@ -84,6 +97,17 @@
 %{__automake}
 %configure \
        --sysconfdir=%{_sysconfdir}/syslog-ng \
+       --with-timezone-dir=%{_datadir}/zoneinfo \
+       --with-pidfile-dir=/var/run \
+       --enable-ssl \
+       --enable-ipv6 \
+       --enable-tcp-wrapper \
+       --enable-spoof-source \
+       --enable-linux-caps \
+       --enable-pcre \
+%if %{with sql}
+       --enable-sql \
+%endif
 %if %{with dynamic}
        --enable-dynamic-linking
 %endif
@@ -131,8 +155,10 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS debian/syslog-ng.conf* 
contrib/{relogger.pl,syslog-ng.vim}
-%doc doc/examples/syslog-ng.conf.sample doc/reference/syslog-ng.txt* 
contrib/syslog-ng.conf.{doc,RedHat}
-%doc syslog-ng.html/*
+%doc doc/examples/syslog-ng.conf.sample contrib/syslog-ng.conf.{doc,RedHat}
+%doc contrib/{apparmor,selinux}
+#%doc doc/reference/syslog-ng.txt*
+#%doc syslog-ng.html/*
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %attr(750,root,root) %dir %{_sysconfdir}/syslog-ng
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/syslog-ng/syslog-ng.conf
@@ -152,6 +178,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.154  2008/12/26 22:16:53  baggins
+- up to 3.0.1
+- new in this version: SSL/TLS, IPv6, logging to SQL DB, pcre
+- it seems html docs disappeared
+
 Revision 1.153  2008/12/26 17:16:18  gotar
 - more %doc files
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/syslog-ng.spec?r1=1.153&r2=1.154&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to