Hello community,

here is the log from the commit of package wvstreams.1132 for 
openSUSE:12.2:Update checked in at 2012-12-05 13:56:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/wvstreams.1132 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.wvstreams.1132.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wvstreams.1132", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2012-11-30 12:21:47.308011256 +0100
+++ /work/SRC/openSUSE:12.2:Update/.wvstreams.1132.new/wvstreams.changes        
2012-12-05 13:57:01.000000000 +0100
@@ -0,0 +1,166 @@
+-------------------------------------------------------------------
+Wed Nov  7 18:05:29 UTC 2012 - [email protected]
+
+- Fix bnc#779386 - Disabled optimizations which caused crash
+
+-------------------------------------------------------------------
+Sat Mar 17 13:48:53 UTC 2012 - [email protected]
+
+- Add wvstreams-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------
+Sat Jan 28 22:26:35 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+-------------------------------------------------------------------
+Mon Jun  6 09:06:58 UTC 2011 - [email protected]
+
+- Fix build with new glibc.
+
+-------------------------------------------------------------------
+Mon Apr 19 18:50:04 UTC 2010 - [email protected]
+
+- fix build with openssl 1.0
+
+-------------------------------------------------------------------
+Mon Feb  8 11:47:13 UTC 2010 - [email protected]
+
+- as-needed is also required in %install to succeed compilation
+
+-------------------------------------------------------------------
+Fri Jun 19 10:35:46 CEST 2009 - [email protected]
+
+- disable as-needed for this package as it fails to build with it
+
+-------------------------------------------------------------------
+Tue Jun 16 11:24:10 CEST 2009 - [email protected]
+
+- remove unapplied patch
+- fix build with glibc 2.10
+- rediff to avoid fuzz
+
+-------------------------------------------------------------------
+Mon Jan 28 15:39:24 CET 2008 - [email protected]
+
+- Fix use of sigaction.
+
+-------------------------------------------------------------------
+Wed Jan 16 17:12:38 CET 2008 - [email protected]
+
+- Update to version 4.4.1
+  * Merge the crypto_refactoring branch
+    into trunk, adding a ton of new X509 certificate management
+    features, better CRL support, and lots of other goodies
+  * make WvCRL handle blank (null) CRLs better
+  * tweak WvCRL's API for const correctness
+  * Remove a few more unused files/dirs 
+
+-------------------------------------------------------------------
+Mon Nov 19 14:34:04 CET 2007 - [email protected]
+
+- fix build for gcc43: the function for the problematic prototype
+  is never compiled anyway
+- do not clean buildroot in the install section
+
+-------------------------------------------------------------------
+Thu Aug  9 19:15:10 CEST 2007 - [email protected]
+
+- remove inclusion of linux/compiler.h
+
+-------------------------------------------------------------------
+Thu Mar 29 15:58:59 CEST 2007 - [email protected]
+
+- add zlib-devel BuildRequires
+
+-------------------------------------------------------------------
+Wed Oct 25 02:27:52 CEST 2006 - [email protected]
+
+- update to 4.2.2
+  - clean up tarball
+  - some bugfixes 
+- fix build with current gcc 
+
+-------------------------------------------------------------------
+Wed Jun 14 23:41:46 CEST 2006 - [email protected]
+
+- build parallel 
+
+-------------------------------------------------------------------
+Wed May  3 13:24:43 CEST 2006 - [email protected]
+
+- Fix compiling on some architectures
+
+-------------------------------------------------------------------
+Wed Jan 25 21:42:53 CET 2006 - [email protected]
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Wed Nov 30 14:10:49 CET 2005 - [email protected]
+
+- update to version 4.2.1
+
+-------------------------------------------------------------------
+Thu Nov  3 11:40:03 CET 2005 - [email protected]
+
+- Fix setup_modem not fail on TIOCSSERIAL for non root users
+
+-------------------------------------------------------------------
+Tue Oct 18 16:41:11 CEST 2005 - [email protected]
+
+- removed some extra qualifications. Added
+  * wvstreams-gcc41.patch 
+
+-------------------------------------------------------------------
+Mon Oct 17 18:14:58 CEST 2005 - [email protected]
+
+- make it build with current openssl 
+
+-------------------------------------------------------------------
+Thu Jun 23 17:24:49 CEST 2005 - [email protected]
+
+- run ldconfig in post/postun
+- mark config file as noreplace
+
+-------------------------------------------------------------------
+Fri Mar 18 10:55:36 CET 2005 - [email protected]
+
+- fixed seg. fault on AMD64 (bug #73045)
+
+-------------------------------------------------------------------
+Wed Jan 19 15:35:06 CET 2005 - [email protected]
+
+- added sentinel
+
+-------------------------------------------------------------------
+Thu Nov 18 10:19:47 CET 2004 - [email protected]
+
+- updated to version 4.0.1 (minor bug fixes)
+
+-------------------------------------------------------------------
+Tue Oct 26 11:48:42 CEST 2004 - [email protected]
+
+- updated to version 4.0 (includes stabilized UniConf)
+
+-------------------------------------------------------------------
+Mon Apr 19 12:31:48 CEST 2004 - [email protected]
+
+- updated to version 3.75 (minor bug fixes)
+
+-------------------------------------------------------------------
+Fri Jan 16 11:56:23 CET 2004 - [email protected]
+
+- Add pam-devel to neededforbuild
+
+-------------------------------------------------------------------
+Wed Dec 17 12:17:39 CET 2003 - [email protected]
+
+- fixed building on ppc
+
+-------------------------------------------------------------------
+Fri Dec 12 13:04:09 CET 2003 - [email protected]
+
+- initial package with wvstream libraries version 3.74
+

New:
----
  73045.diff
  sentinel.diff
  set-empty.diff
  wvcrash.diff
  wvstreams-4.4.1.tar.bz2
  wvstreams-gcc43.patch
  wvstreams-gcc47.patch
  wvstreams-headers.patch
  wvstreams-openssl.patch
  wvstreams-wvmodem-iotcl.patch
  wvstreams.changes
  wvstreams.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wvstreams.spec ++++++
#
# spec file for package wvstreams
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           wvstreams
Url:            http://alumnit.ca/wiki/?WvStreams
BuildRequires:  db-devel
BuildRequires:  gcc-c++
BuildRequires:  openssl-devel
BuildRequires:  pam-devel
BuildRequires:  pkgconfig
BuildRequires:  zlib-devel
Version:        4.4.1
Release:        0
Summary:        Network Programming Library in C++
License:        LGPL-2.1+
Group:          Development/Libraries/Other
Source0:        http://open.nit.ca/download/%{name}-%{version}.tar.bz2
Patch0:         set-empty.diff
Patch1:         sentinel.diff
Patch2:         73045.diff
Patch4:         wvcrash.diff
Patch5:         wvstreams-wvmodem-iotcl.patch
Patch8:         wvstreams-gcc43.patch
Patch9:         wvstreams-openssl.patch
Patch10:        wvstreams-headers.patch
Patch11:        wvstreams-gcc47.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A network programming library in C++. It aims to be an efficient,
secure, easy to use, and OS-independent library for network application
development.



Authors:
--------
    Net Integration Technologies, Inc.

%package devel
Summary:        Network Programming Library in C++
Group:          Development/Libraries/Other
Requires:       wvstreams = %{version}

%description devel
A network programming library in C++. It aims to be an efficient,
secure, easy to use, and OS-independent library for network application
development.



Authors:
--------
    Net Integration Technologies, Inc.

%prep
%setup -q
%patch0
%patch1
%patch2
%patch4
%patch5
%patch8
%patch9 -p1
%patch10 -p1
%patch11 -p1

%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and 
the line below.
export SUSE_ASNEEDED=0
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export COPTS="$CFLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -fno-tree-dce 
-fno-optimize-sibling-calls"
export CXXOPTS="$CXXFLAGS"
export LDFLAGS="-ldb -lpthread"
%configure --enable-verbose
make %{?_smp_mflags}

%install
export SUSE_ASNEEDED=0
make install DESTDIR=%{buildroot}
rm %{buildroot}/%_libdir/valgrind/wvstreams.supp

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr (-, root, root)
%doc COPYING.LIB README
%{_libdir}/*.so.*
/usr/bin/uni
/usr/sbin/uniconfd
/usr/bin/wvtesthelper
/usr/bin/wvtestmeter
%doc %{_mandir}/man8/*
%config(noreplace) /etc/uniconf.conf
%config /var/lib/uniconf

%files devel
%defattr (-, root, root)
/usr/include/wvstreams
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/*.so

%changelog
++++++ 73045.diff ++++++
Index: include/wvscatterhash.h
===================================================================
--- include/wvscatterhash.h.orig
+++ include/wvscatterhash.h
@@ -151,7 +151,10 @@ public:
         { _add((void *)data, hash(data), autofree); }
 
     void remove(const T *data)
-        { _remove(Accessor::get_key(data), hash(data)); }
+        { 
+         // _remove(Accessor::get_key(data), hash(data));
+         _remove(data, hash(data));
+       }
 
     void set_autofree(const K &key, bool autofree)
     {
++++++ sentinel.diff ++++++
Index: utils/wvcrash.cc
===================================================================
--- utils/wvcrash.cc.orig
+++ utils/wvcrash.cc
@@ -343,12 +343,12 @@ void wvcrash(int sig)
            dup2(fds[0], 0); // make stdin read from pipe
            fcntl(0, F_SETFD, 0);
            
-           execlp("wvcrash", "wvcrash", NULL);
+           execlp("wvcrash", "wvcrash", (char*) NULL);
            
            // if we get here, we couldn't exec wvcrash
            wr(2, "wvcrash: can't exec wvcrash binary "
               "- writing to wvcrash.txt!\n");
-           execlp("dd", "dd", "of=wvcrash.txt", NULL);
+           execlp("dd", "dd", "of=wvcrash.txt", (char*) NULL);
            
            wr(2, "wvcrash: can't exec dd to write to wvcrash.txt!\n");
            _exit(127);
++++++ set-empty.diff ++++++
Index: configfile/cfgsection.cc
===================================================================
--- configfile/cfgsection.cc.orig
+++ configfile/cfgsection.cc
@@ -50,14 +50,7 @@ void WvConfigSection::set(WvStringParm e
     trim_string(clean_entry.edit());
     WvConfigEntry *e = (*this)[clean_entry];
     
-    // need to delete the entry?
-    if (!value || !value[0])
-    {
-       if (e) unlink(e);
-       return;
-    }
-    
-    // otherwise, add the entry requested
+    // add the entry requested
     if (e)
        e->set(value);
     else
++++++ wvcrash.diff ++++++
Index: utils/wvcrash.cc
===================================================================
--- utils/wvcrash.cc.orig
+++ utils/wvcrash.cc
@@ -388,7 +388,6 @@ void wvcrash_add_signal(int sig)
     act.sa_handler = wvcrash;
     sigfillset(&act.sa_mask);
     act.sa_flags = SA_ONSTACK | SA_RESTART;
-    act.sa_restorer = NULL;
     
     if (sigaction(sig, &act, NULL))
         fprintf(stderr, "Failed to setup wvcrash handler for signal %d: %s\n",
++++++ wvstreams-gcc43.patch ++++++
Index: include/wvserialize.h
===================================================================
--- include/wvserialize.h.orig
+++ include/wvserialize.h
@@ -348,8 +348,8 @@ template <>
  * (zero) character.  Serialized WvStrings are guaranteed not to contain nul
  * except as the last character.
  */
-template <>
-extern WvString _wv_deserialize<WvString>(WvBuf &buf);
+//template <>
+//extern WvString _wv_deserialize<WvString>(WvBuf &buf);
 
 
 /** Deserialize a WvBuf. */
Index: include/uniconfkey.h
===================================================================
--- include/uniconfkey.h.orig
+++ include/uniconfkey.h
@@ -9,7 +9,7 @@
 
 #include "wvstring.h"
 #include "wvlinklist.h"
-
+#include <limits.h>
 
 // The Python headers try to #define ANY as void.  If we're building Python
 // wrappers, get rid of that.
Index: utils/strutils.cc
===================================================================
--- utils/strutils.cc.orig
+++ utils/strutils.cc
@@ -305,7 +305,7 @@ WvString web_unescape(const char *str, b
 {
     const char *iptr;
     char *optr;
-    char *idx1, *idx2;
+    const char *idx1, *idx2;
     static const char hex[] = "0123456789ABCDEF";
     WvString in, intmp(str), out;
  
@@ -952,7 +952,7 @@ WvString afterstr(WvStringParm line, WvS
     if (!line || !a)
        return WvString::null;
 
-    char *loc = strstr(line, a);
+    const char *loc = strstr(line, a);
     if (loc == 0)
        return "";
 
@@ -970,7 +970,7 @@ WvString beforestr(WvStringParm line, Wv
 
     WvString ret = line;
     ret.unique();     
-    char *loc = strstr(ret, a);
+    char *loc = (char*)strstr(ret, a);
 
     if (loc == 0)
        return line;
Index: utils/verstring.cc
===================================================================
--- utils/verstring.cc.orig
+++ utils/verstring.cc
@@ -147,7 +147,7 @@ bool is_new_ver(unsigned int ver)
 
 bool is_new_verstr(const char *str)
 {
-    char *p = strchr(str, '.');
+    const char *p = strchr(str, '.');
     if (p && strchr(p+1, '.'))
         return true;
 
Index: ipstreams/wvaddr.cc
===================================================================
--- ipstreams/wvaddr.cc.orig
+++ ipstreams/wvaddr.cc
@@ -537,7 +537,7 @@ WvIPNet::WvIPNet(const WvIPNet &_net)
 // If the netmask is not specified, it will default to all 1's.
 void WvIPNet::string_init(const char string[])
 {
-    char *maskptr;
+    const char *maskptr;
     int bits;
     uint32_t imask;
 
++++++ wvstreams-gcc47.patch ++++++
Index: wvstreams-4.4.1/include/uniconftree.h
===================================================================
--- wvstreams-4.4.1.orig/include/uniconftree.h
+++ wvstreams-4.4.1/include/uniconftree.h
@@ -108,7 +108,7 @@ public:
     void visit(const Visitor &visitor, void *userdata,
         bool preorder = true, bool postorder = false) const
     {
-        _recursive_unsorted_visit(this, reinterpret_cast<
+        this->_recursive_unsorted_visit(this, reinterpret_cast<
             const typename Base::BaseVisitor&>(visitor), userdata,
             preorder, postorder);
     }
@@ -124,7 +124,7 @@ public:
     bool compare(const Sub *other, const Comparator &comparator,
         void *userdata)
     {
-        return _recursivecompare(this, other, reinterpret_cast<
+        return this->_recursivecompare(this, other, reinterpret_cast<
             const typename Base::BaseComparator&>(comparator), userdata);
     }
 
++++++ wvstreams-headers.patch ++++++
Index: wvstreams-4.4.1/ipstreams/wvunixdgsocket.cc
===================================================================
--- wvstreams-4.4.1.orig/ipstreams/wvunixdgsocket.cc
+++ wvstreams-4.4.1/ipstreams/wvunixdgsocket.cc
@@ -1,4 +1,5 @@
 #include "wvunixdgsocket.h"
+#include <sys/stat.h>
 
 WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
     : socketfile(filename)
Index: wvstreams-4.4.1/streams/wvatomicfile.cc
===================================================================
--- wvstreams-4.4.1.orig/streams/wvatomicfile.cc
+++ wvstreams-4.4.1/streams/wvatomicfile.cc
@@ -10,6 +10,8 @@
 #include "wvatomicfile.h"
 #include "wvfileutils.h"
 #include "wvstrutils.h"
+#include <sys/types.h>
+#include <sys/stat.h>
 
 WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t 
create_mode)
     : tmp_file(WvString::null)
++++++ wvstreams-openssl.patch ++++++
Index: wvstreams-4.4.1/crypto/wvx509.cc
===================================================================
--- wvstreams-4.4.1.orig/crypto/wvx509.cc       2007-08-17 07:15:30.000000000 
+0200
+++ wvstreams-4.4.1/crypto/wvx509.cc    2010-04-19 20:46:51.000000000 +0200
@@ -1102,7 +1102,7 @@ WvString WvX509::get_extension(int nid)
         
         if (ext)
         {
-            X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
+            const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
             if (!method)
             {
                 WvDynBuf buf;
++++++ wvstreams-wvmodem-iotcl.patch ++++++
Index: streams/wvmodem.cc
===================================================================
--- streams/wvmodem.cc.orig
+++ streams/wvmodem.cc
@@ -207,7 +207,7 @@ void WvModem::setup_modem(bool rtscts)
        sinfo.closing_wait = ASYNC_CLOSING_WAIT_NONE;
        sinfo.closing_wait2 = ASYNC_CLOSING_WAIT_NONE;
 
-       if (ioctl(getrfd(), TIOCSSERIAL, &sinfo) < 0)
+        if (ioctl(getrfd(), TIOCSSERIAL, &sinfo) < 0 && getuid() == 0)
            log("Cannot set information for serial port.");
     }
 #endif
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to