Hello community,
here is the log from the commit of package libevent for openSUSE:Factory checked in at 2019-06-12 12:57:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libevent (Old)
and /work/SRC/openSUSE:Factory/.libevent.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libevent"
Wed Jun 12 12:57:44 2019 rev:36 rq:705856 version:2.1.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/libevent/libevent.changes 2018-07-25 16:05:30.569016353 +0200
+++ /work/SRC/openSUSE:Factory/.libevent.new.4811/libevent.changes 2019-06-12 12:57:49.397347095 +0200
@@ -1,0 +2,54 @@
+Mon May 27 16:37:28 UTC 2019 - David Disseldorp
+
+- Update to 2.1.10 stable
+ * evdns: add DNS_OPTION_NAMESERVERS_NO_DEFAULT /
+ EVDNS_BASE_NAMESERVERS_NO_DEFAULT
+ * Add support for EV_TIMEOUT to event_base_active_by_fd
+ * kqueue: Avoid undefined behaviour.
+ * Prevent integer overflow in kq_build_changes_list.
+ * evdns: fix lock/unlock mismatch in evdns_close_server_port()
+ * Protect min_heap_push_ against integer overflow.
+ * le-proxy: initiate use of the Winsock DLL
+ * Fix leaks in error path of the bufferevent_init_common_()
+ * buffer: make evbuffer_prepend() of zero-length array no-op
+ * Don't loose top error in SSL
+ * Remove needless check for arc4_seeded_ok
+ * Cleanup __func__ detection
+ * Add convenience macros for user-triggered events
+ * Notify event base if there are no more events, so it can exit without
+ delay
+ * Fix base unlocking in event_del() if event_base_set() runned in another
+ thread
+ * If precise_time is false, we should not set EVENT_BASE_FLAG_PRECISE_TIMER
+ * Fix race in access to ev_res from event loop with event_active()
+ * Return from event_del() after the last event callback termination
+ * Preserve socket error from listen across closesocket cleanup
+ * fix connection retries when there more then one request for connection
+ * improve error path for bufferevent_{setfd,enable,disable}()
+ * Fix conceivable UAF of the bufferevent in evhttp_connection_free()
+ * Fix evhttp_connection_get_addr() fox incomming http connections
+ * fix leaks in evhttp_uriencode()
+ * CONNECT method only takes an authority
+ * Allow bodies for GET/DELETE/OPTIONS/CONNECT
+ * Do not crash when evhttp_send_reply_start() is called after a timeout.
+ * Fix crashing http server when callback do not reply in place
+ * fix handling of close_notify (ssl) in http with openssl bufferevents
+ * use *_new_with_arg() to match function prototype
+ * avoid NULL dereference on request is not EVHTTP_REQ_POST
+ * bufferevent_socket_connect{,_hostname}() missing event callback and use
+ ret code
+ * don't fail be_null_filter if bytes are copied
+ * Call underlying bev ctrl GET_FD on filtered bufferevents
+ * be_openssl: avoid leaking of SSL structure
+ * Add missing includes into openssl-compat.h
+ * Explicitly call SSL_clear when reseting the fd.
+ * sample/https-client: use host SSL certificate store by default
+ * ipv6only socket bind support
+ * evdns: handle NULL filename explicitly
+ * Fix assert() condition in evbuffer_drain() for IOCP
+ * fix incorrect unlock of the buffer mutex (for deferred callbacks)
+ * Fix wrong assert in evbuffer_drain()
+ * Port `event_rpcgen.py` and `test/check-dumpevents.py` to Python 3.
+- rename python2-shebang.patch -> python3-shebang.patch following port
+
+-------------------------------------------------------------------
Old:
----
libevent-2.1.8-stable.tar.gz
libevent-2.1.8-stable.tar.gz.asc
python2-shebang.patch
New:
----
libevent-2.1.10-stable.tar.gz
libevent-2.1.10-stable.tar.gz.asc
python3-shebang.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libevent.spec ++++++
--- /var/tmp/diff_new_pack.bOI2Cc/_old 2019-06-12 12:57:50.065346946 +0200
+++ /var/tmp/diff_new_pack.bOI2Cc/_new 2019-06-12 12:57:50.069346945 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libevent
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,14 +12,14 @@
# 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libevent
%define version_base 2
%define version_minor 1
-%define version_release 8
+%define version_release 10
%define abi_release 6
%define version_suffix stable
%define libsoname %{name}-%{version_base}_%{version_minor}-%{version_release}
@@ -35,7 +35,7 @@
Source2: %{name}.keyring
Source3: libevent-rpmlintrc
Source99: baselibs.conf
-Patch0: python2-shebang.patch
+Patch0: python3-shebang.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.bOI2Cc/_old 2019-06-12 12:57:50.101346937 +0200
+++ /var/tmp/diff_new_pack.bOI2Cc/_new 2019-06-12 12:57:50.105346937 +0200
@@ -1 +1 @@
-libevent-2_1-8
+libevent-2_1-10
++++++ libevent-2.1.8-stable.tar.gz -> libevent-2.1.10-stable.tar.gz ++++++
++++ 22529 lines of diff (skipped)
++++++ python2-shebang.patch -> python3-shebang.patch ++++++
--- /work/SRC/openSUSE:Factory/libevent/python2-shebang.patch 2018-07-25 16:05:32.309019850 +0200
+++ /work/SRC/openSUSE:Factory/.libevent.new.4811/python3-shebang.patch 2019-06-12 12:57:49.493347073 +0200
@@ -1,27 +1,29 @@
From 293f2e5274ff62edcc1d49ba5439af3d986dfe3b Mon Sep 17 00:00:00 2001
From: Michal Rostecki
Date: Tue, 12 Jun 2018 16:41:36 +0200
-Subject: [PATCH] Use python2 instead of env as an interpreter
+Subject: [PATCH] Use python3 instead of env as an interpreter
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
For the rpm runtime dependency detection to work, the shebang
-`#!/usr/bin/env python2` needs to be patched into
-´#!/usr/bin/python2`, otherwise the package dependency generator
+`#!/usr/bin/env python3` needs to be patched into
+´#!/usr/bin/python3`, otherwise the package dependency generator
merely adds a dependency on /usr/bin/env rather than the actual
-interpreter /usr/bin/python2.
+interpreter /usr/bin/python3.
+
+[ddiss@suse.de: python2 -> python3]
---
event_rpcgen.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/event_rpcgen.py b/event_rpcgen.py
-index 9baf73026..0cf34f08a 100755
---- a/event_rpcgen.py
-+++ b/event_rpcgen.py
+Index: libevent-2.1.10-stable/event_rpcgen.py
+===================================================================
+--- libevent-2.1.10-stable.orig/event_rpcgen.py
++++ libevent-2.1.10-stable/event_rpcgen.py
@@ -1,4 +1,4 @@
--#!/usr/bin/env python2
-+#!/usr/bin/python2
+-#!/usr/bin/env python
++#!/usr/bin/python3
#
# Copyright (c) 2005-2007 Niels Provos
# Copyright (c) 2007-2012 Niels Provos and Nick Mathewson