Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mitmproxy for
openSUSE:Factory checked in at 2021-12-09 19:45:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mitmproxy (Old)
and /work/SRC/openSUSE:Factory/.python-mitmproxy.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mitmproxy"
Thu Dec 9 19:45:48 2021 rev:4 rq:937780 version:7.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mitmproxy/python-mitmproxy.changes
2021-01-28 21:28:56.724241626 +0100
+++
/work/SRC/openSUSE:Factory/.python-mitmproxy.new.2520/python-mitmproxy.changes
2021-12-09 19:46:31.621159762 +0100
@@ -1,0 +2,17 @@
+Wed Dec 8 21:07:48 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to 7.0.4
+ * Compatibility with Python 3.10
+ * Supports proxying raw TCP connections
+ * Support TCP connections that start with a server-side greeting
+ * Support SMTP
+ * Accept HTTP/2 requests from the client and forward them to
+ an HTTP/1 server
+ * Displays WebSocket messages also in a dedicated UI tab
+ * Clients can now establish TLS with the proxy right from the
+ start, which can add a significant layer of defense in public
+ networks.
+ * Removed pathoc and pathod, see
+ https://github.com/mitmproxy/mitmproxy/issues/4273
+
+-------------------------------------------------------------------
Old:
----
mitmproxy-6.0.2.tar.gz
New:
----
mitmproxy-7.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mitmproxy.spec ++++++
--- /var/tmp/diff_new_pack.cRZDI9/_old 2021-12-09 19:46:32.445160159 +0100
+++ /var/tmp/diff_new_pack.cRZDI9/_new 2021-12-09 19:46:32.449160161 +0100
@@ -20,13 +20,13 @@
%define skip_python2 1
%define skip_python36 1
Name: python-mitmproxy
-Version: 6.0.2
+Version: 7.0.4
Release: 0
Summary: An interactive, SSL/TLS-capable intercepting proxy
License: MIT
Group: Development/Languages/Python
URL: https://mitmproxy.org
-Source:
https://github.com/mitmproxy/mitmproxy/archive/v%{version}.tar.gz#/mitmproxy-%{version}.tar.gz
+Source:
https://github.com/mitmproxy/mitmproxy/archive/refs/tags/v%{version}.tar.gz#/mitmproxy-%{version}.tar.gz
BuildRequires: %{python_module Brotli >= 1.0}
BuildRequires: %{python_module Flask >= 1.1.1}
BuildRequires: %{python_module asgiref >= 3.2.10}
@@ -84,13 +84,11 @@
Requires: python-wsproto >= 1.0
Requires: python-zstandard >= 0.11
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
%description
-This repository contains the **mitmproxy** and **pathod** projects.
-
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console
interface for HTTP/1, HTTP/2, and WebSockets.
@@ -98,14 +96,12 @@
mitmweb is a web-based interface for mitmproxy.
-pathoc and pathod are perverse HTTP client and server applications
-designed to let you craft almost any conceivable HTTP request, including ones
-that creatively violate the standards.
-
%prep
%setup -q -n mitmproxy-%{version}
#remove shebang
+sed -i '1 {\@^#!/usr/bin/python@ d}' mitmproxy/contrib/urwid/raw_display.py
sed -i '1 {\@^#!/usr/bin/env@ d}' mitmproxy/contrib/wbxml/*.py
+sed -i '1 {\@^#!/usr/bin/env@ d}' mitmproxy/utils/emoji.py
# upstream likes to pin dependencies too aggressively
sed -i 's/,\s*<.*"/"/g' setup.py
rm mitmproxy/contrib/kaitaistruct/make.sh
@@ -119,8 +115,6 @@
%python_clone -a %{buildroot}%{_bindir}/mitmdump
%python_clone -a %{buildroot}%{_bindir}/mitmproxy
%python_clone -a %{buildroot}%{_bindir}/mitmweb
-%python_clone -a %{buildroot}%{_bindir}/pathoc
-%python_clone -a %{buildroot}%{_bindir}/pathod
%check
# test_refresh fails on i586... wrong timestamp type, maybe?
@@ -132,24 +126,18 @@
%python_install_alternative mitmdump
%python_install_alternative mitmproxy
%python_install_alternative mitmweb
-%python_install_alternative pathoc
-%python_install_alternative pathod
%postun
%python_uninstall_alternative mitmdump
%python_uninstall_alternative mitmproxy
%python_uninstall_alternative mitmweb
-%python_uninstall_alternative pathoc
-%python_uninstall_alternative pathod
%files %{python_files}
-%doc README.rst CHANGELOG.rst
+%doc README.md CHANGELOG.md
%license LICENSE
%{python_sitelib}/*
%python_alternative %{_bindir}/mitmdump
%python_alternative %{_bindir}/mitmproxy
%python_alternative %{_bindir}/mitmweb
-%python_alternative %{_bindir}/pathoc
-%python_alternative %{_bindir}/pathod
%changelog
++++++ mitmproxy-6.0.2.tar.gz -> mitmproxy-7.0.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-mitmproxy/mitmproxy-6.0.2.tar.gz
/work/SRC/openSUSE:Factory/.python-mitmproxy.new.2520/mitmproxy-7.0.4.tar.gz
differ: char 13, line 1