Hello community, here is the log from the commit of package libotr for openSUSE:Factory checked in at 2018-05-23 16:04:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libotr (Old) and /work/SRC/openSUSE:Factory/.libotr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libotr" Wed May 23 16:04:48 2018 rev:21 rq:608989 version:4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libotr/libotr.changes 2016-03-26 15:08:38.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libotr.new/libotr.changes 2018-05-23 16:04:49.663375512 +0200 @@ -1,0 +2,11 @@ +Wed May 16 06:25:56 UTC 2018 - [email protected] + +- Use %license instead of %doc for license files. + +------------------------------------------------------------------- +Tue May 15 15:22:41 UTC 2018 - [email protected] + +- Add libotr-test-underrun.patch: fix intermittent buffer underrun + in the regression test client (bsc#1091664). + +------------------------------------------------------------------- New: ---- libotr-test-underrun.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libotr.spec ++++++ --- /var/tmp/diff_new_pack.gyWu7M/_old 2018-05-23 16:04:50.211355436 +0200 +++ /var/tmp/diff_new_pack.gyWu7M/_new 2018-05-23 16:04:50.211355436 +0200 @@ -1,7 +1,7 @@ # # spec file for package libotr # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,14 @@ Version: 4.1.1 Release: 0 Summary: "Off The Record" messaging library toolkit -License: LGPL-2.1 and GPL-2.0 +License: LGPL-2.1-only AND GPL-2.0-only Group: Development/Libraries/C and C++ Url: https://www.cypherpunks.ca/otr/ Source: https://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz Source1: https://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz.asc Source2: http://www.cypherpunks.ca/otr/gpgkey.asc#/libotr.keyring Patch0: libotr-4.1.1-fix-base64-tests.patch +Patch1: libotr-test-underrun.patch BuildRequires: libgcrypt-devel >= 1.2.0 BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,9 +46,9 @@ %package -n libotr5 Summary: "Off The Record" messaging library toolkit -License: LGPL-2.1 -Group: Development/Libraries/C and C++ #openSUSE 10.3 +License: LGPL-2.1-only +Group: Development/Libraries/C and C++ Provides: %{name} = %{version} Obsoletes: %{name} <= 3.0.0 @@ -65,7 +66,7 @@ %package devel Summary: Include files and development libraries -License: LGPL-2.1 and GPL-2.0 +License: LGPL-2.1-only AND GPL-2.0-only Group: Development/Libraries/C and C++ Requires: libgcrypt-devel Requires: libotr5 = %{version} @@ -75,7 +76,7 @@ %package tools Summary: "Off The Record" messaging library toolkit -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Libraries/C and C++ %description tools @@ -93,6 +94,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %ifarch %arm @@ -115,18 +117,19 @@ %files tools %defattr (-, root, root) -%doc COPYING +%license COPYING %{_bindir}/otr* %{_mandir}/man1/otr* %files -n libotr5 %defattr (-, root, root) -%doc COPYING.LIB +%license COPYING.LIB %{_libdir}/libotr.so.5* %files devel %defattr (-, root, root) -%doc COPYING README AUTHORS NEWS ChangeLog +%doc README AUTHORS NEWS ChangeLog +%license COPYING %dir %{_includedir}/libotr %{_includedir}/libotr/*.h %{_libdir}/libotr.so ++++++ libotr-test-underrun.patch ++++++ diff -urp libotr-4.1.1.orig/tests/regression/client/client.c libotr-4.1.1/tests/regression/client/client.c --- libotr-4.1.1.orig/tests/regression/client/client.c 2015-12-25 11:39:45.000000000 -0600 +++ libotr-4.1.1/tests/regression/client/client.c 2018-05-15 10:21:41.509037880 -0500 @@ -497,7 +497,7 @@ static int send_otr_msg(int sock, const } if (!message) { - size_t len = rand() % 600; + size_t len = rand() % 600 + 1; char *msg = zmalloc(len); if (!msg) { perror("random msg");
