Hello community,
here is the log from the commit of package pdns-recursor
checked in at Mon Mar 5 00:20:33 CET 2007.
--------
--- pdns-recursor/pdns-recursor.changes 2007-01-31 10:30:53.000000000 +0100
+++ /mounts/work_src_done/STABLE/pdns-recursor/pdns-recursor.changes 2007-03-03 18:49:22.295123000 +0100
@@ -1,0 +2,9 @@
+Wed Feb 28 13:33:08 CET 2007 - mrueckert@suse.de
+
+- added pdns-recursor-3.1.4_atomicity.patch:
+ The optimized code in recursor_cache.cc is included in gcc 4.2.
+ Proper #if to use it only with older gcc.
+- added pdns-recursor-3.1.4_char_casting.patch
+ Don't cast string constants to char*.
+
+-------------------------------------------------------------------
New:
----
pdns-recursor-3.1.4_atomicity.patch
pdns-recursor-3.1.4_char_casting.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pdns-recursor.spec ++++++
--- /var/tmp/diff_new_pack.n20387/_old 2007-03-05 00:20:07.000000000 +0100
+++ /var/tmp/diff_new_pack.n20387/_new 2007-03-05 00:20:07.000000000 +0100
@@ -12,7 +12,7 @@
Name: pdns-recursor
Version: 3.1.4
-Release: 1
+Release: 6
%define pkg_version 3.1.4
#
Group: Productivity/Networking/DNS/Servers
@@ -30,6 +30,8 @@
Source2: recursor.conf
Patch: pdns-recursor-%{version}_config.patch
Patch1: pdns-recursor-3.1.3-strip.patch
+Patch2: pdns-recursor-3.1.4_char_casting.patch
+Patch3: pdns-recursor-3.1.4_atomicity.patch
#
Summary: Modern, advanced and high performance recursing/non authoritative nameserver
@@ -47,6 +49,8 @@
%setup -n %{name}-%{pkg_version}
%patch
%patch1
+%patch2
+%patch3
%build
%{__make} OPTFLAGS="%{optflags} -D_GNU_SOURCE"
@@ -90,7 +94,13 @@
%dir %{home}
%dir %{_localstatedir}
-%changelog -n pdns-recursor
+%changelog
+* Wed Feb 28 2007 - mrueckert@suse.de
+- added pdns-recursor-3.1.4_atomicity.patch:
+ The optimized code in recursor_cache.cc is included in gcc 4.2.
+ Proper #if to use it only with older gcc.
+- added pdns-recursor-3.1.4_char_casting.patch
+ Don't cast string constants to char*.
* Tue Nov 14 2006 - mrueckert@suse.de
- update to version 3.1.4
This release contains two important security fixes, which should also solve
++++++ pdns-recursor-3.1.4_atomicity.patch ++++++
Index: recursor_cache.cc
===================================================================
--- recursor_cache.cc.orig 2006-11-12 17:56:13.000000000 +0100
+++ recursor_cache.cc 2007-02-27 21:44:27.347571093 +0100
@@ -9,9 +9,17 @@ using namespace std;
using namespace boost;
#include "config.h"
-
-#ifdef GCC_SKIP_LOCKING
+#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) && defined(GCC_SKIP_LOCKING)
+#warning "using the optimized locking code on older gcc"
+#if HAVE_BITS_ATOMICITY_H
#include