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 - fa0sck@gmail.compilation
+
+- Fix bnc#779386 - Disabled optimizations which caused crash
+
+-------------------------------------------------------------------
+Sat Mar 17 13:48:53 UTC 2012 - dimstar@opensuse.org
+
+- Add wvstreams-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------
+Sat Jan 28 22:26:35 UTC 2012 - jengelh@medozas.de
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+-------------------------------------------------------------------
+Mon Jun 6 09:06:58 UTC 2011 - aj@suse.de
+
+- Fix build with new glibc.
+
+-------------------------------------------------------------------
+Mon Apr 19 18:50:04 UTC 2010 - coolo@novell.com
+
+- fix build with openssl 1.0
+
+-------------------------------------------------------------------
+Mon Feb 8 11:47:13 UTC 2010 - jengelh@medozas.de
+
+- as-needed is also required in %install to succeed compilation
+
+-------------------------------------------------------------------
+Fri Jun 19 10:35:46 CEST 2009 - coolo@novell.com
+
+- disable as-needed for this package as it fails to build with it
+
+-------------------------------------------------------------------
+Tue Jun 16 11:24:10 CEST 2009 - coolo@novell.com
+
+- remove unapplied patch
+- fix build with glibc 2.10
+- rediff to avoid fuzz
+
+-------------------------------------------------------------------
+Mon Jan 28 15:39:24 CET 2008 - schwab@suse.de
+
+- Fix use of sigaction.
+
+-------------------------------------------------------------------
+Wed Jan 16 17:12:38 CET 2008 - hvogel@suse.de
+
+- 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 - ssommer@suse.de
+
+- 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 - olh@suse.de
+
+- remove inclusion of linux/compiler.h
+
+-------------------------------------------------------------------
+Thu Mar 29 15:58:59 CEST 2007 - rguenther@suse.de
+
+- add zlib-devel BuildRequires
+
+-------------------------------------------------------------------
+Wed Oct 25 02:27:52 CEST 2006 - ro@suse.de
+
+- update to 4.2.2
+ - clean up tarball
+ - some bugfixes
+- fix build with current gcc
+
+-------------------------------------------------------------------
+Wed Jun 14 23:41:46 CEST 2006 - dmueller@suse.de
+
+- build parallel
+
+-------------------------------------------------------------------
+Wed May 3 13:24:43 CEST 2006 - kukuk@suse.de
+
+- Fix compiling on some architectures
+
+-------------------------------------------------------------------
+Wed Jan 25 21:42:53 CET 2006 - mls@suse.de
+
+- converted neededforbuild to BuildRequires
+
+-------------------------------------------------------------------
+Wed Nov 30 14:10:49 CET 2005 - hvogel@suse.de
+
+- update to version 4.2.1
+
+-------------------------------------------------------------------
+Thu Nov 3 11:40:03 CET 2005 - hvogel@suse.de
+
+- Fix setup_modem not fail on TIOCSSERIAL for non root users
+
+-------------------------------------------------------------------
+Tue Oct 18 16:41:11 CEST 2005 - hvogel@suse.de
+
+- removed some extra qualifications. Added
+ * wvstreams-gcc41.patch
+
+-------------------------------------------------------------------
+Mon Oct 17 18:14:58 CEST 2005 - ro@suse.de
+
+- make it build with current openssl
+
+-------------------------------------------------------------------
+Thu Jun 23 17:24:49 CEST 2005 - hvogel@suse.de
+
+- run ldconfig in post/postun
+- mark config file as noreplace
+
+-------------------------------------------------------------------
+Fri Mar 18 10:55:36 CET 2005 - arvin@suse.de
+
+- fixed seg. fault on AMD64 (bug #73045)
+
+-------------------------------------------------------------------
+Wed Jan 19 15:35:06 CET 2005 - arvin@suse.de
+
+- added sentinel
+
+-------------------------------------------------------------------
+Thu Nov 18 10:19:47 CET 2004 - arvin@suse.de
+
+- updated to version 4.0.1 (minor bug fixes)
+
+-------------------------------------------------------------------
+Tue Oct 26 11:48:42 CEST 2004 - arvin@suse.de
+
+- updated to version 4.0 (includes stabilized UniConf)
+
+-------------------------------------------------------------------
+Mon Apr 19 12:31:48 CEST 2004 - arvin@suse.de
+
+- updated to version 3.75 (minor bug fixes)
+
+-------------------------------------------------------------------
+Fri Jan 16 11:56:23 CET 2004 - kukuk@suse.de
+
+- Add pam-devel to neededforbuild
+
+-------------------------------------------------------------------
+Wed Dec 17 12:17:39 CET 2003 - arvin@suse.de
+
+- fixed building on ppc
+
+-------------------------------------------------------------------
+Fri Dec 12 13:04:09 CET 2003 - arvin@suse.de
+
+- 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