forked from pool/python-websockify
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0c395cd2ed | |||
| 39ceb17b6e | |||
| 0b9758300e | |||
| 27b92ffeb9 | |||
| 010bb01eba | |||
| 7eecb9521c | |||
| 451c4600cd |
@@ -1,10 +1,13 @@
|
|||||||
--- websockify-0.10.0/setup.py
|
Index: websockify-0.12.0/setup.py
|
||||||
+++ websockify-0.10.0/setup.py
|
===================================================================
|
||||||
@@ -29,7 +29,6 @@
|
--- websockify-0.12.0.orig/setup.py
|
||||||
|
+++ websockify-0.12.0/setup.py
|
||||||
|
@@ -30,7 +30,7 @@ setup(name=name,
|
||||||
packages=['websockify'],
|
packages=['websockify'],
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
- install_requires=['numpy'],
|
install_requires=[
|
||||||
zip_safe=False,
|
- 'numpy', 'requests',
|
||||||
entry_points={
|
+ 'requests',
|
||||||
'console_scripts': [
|
'jwcrypto',
|
||||||
|
'redis',
|
||||||
|
],
|
||||||
|
|||||||
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 26 09:33:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 19 11:51:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.12.0:
|
||||||
|
* The simplejson module is no longer needed for redis token
|
||||||
|
support
|
||||||
|
* redis tokens can now be either JSON or plain text
|
||||||
|
* websockify can now listen to a Unix socket for incoming
|
||||||
|
connections
|
||||||
|
* Command line now supports disabling directory listings
|
||||||
|
* Basic Dockerfile included
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 7 11:54:41 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Jun 7 11:54:41 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -182,7 +199,7 @@ Thu Oct 24 11:17:04 UTC 2013 - speilicke@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 3 11:53:13 UTC 2013 - dmueller@suse.com
|
Wed Jul 3 11:53:13 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
- update to 0.5.1:
|
- update to 0.5.1:
|
||||||
* use upstream einaros/ws (>=0.4.27) with websockify.js
|
* use upstream einaros/ws (>=0.4.27) with websockify.js
|
||||||
* file_only and no_parent security options for WSRequestHandler
|
* file_only and no_parent security options for WSRequestHandler
|
||||||
* Update build of web-socket-js (c0855c6cae)
|
* Update build of web-socket-js (c0855c6cae)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-websockify
|
# spec file for package python-websockify
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-websockify
|
Name: python-websockify
|
||||||
Version: 0.10.0
|
Version: 0.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WebSocket to TCP proxy/bridge
|
Summary: WebSocket to TCP proxy/bridge
|
||||||
License: BSD-2-Clause AND LGPL-3.0-only AND MPL-2.0 AND BSD-3-Clause
|
License: BSD-2-Clause AND LGPL-3.0-only AND MPL-2.0 AND BSD-3-Clause
|
||||||
@@ -27,22 +32,25 @@ Source: https://github.com/novnc/websockify/archive/v%{version}.tar.gz
|
|||||||
Patch1: optional-websockify.patch
|
Patch1: optional-websockify.patch
|
||||||
BuildRequires: %{python_module cryptography}
|
BuildRequires: %{python_module cryptography}
|
||||||
BuildRequires: %{python_module jwcrypto}
|
BuildRequires: %{python_module jwcrypto}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module redis}
|
BuildRequires: %{python_module redis}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module simplejson}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||||
Requires: python-setuptools
|
Requires: python-jwcrypto
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Recommends: python-jwcrypto
|
|
||||||
Recommends: python-numpy
|
|
||||||
Recommends: python-redis
|
Recommends: python-redis
|
||||||
Recommends: python-simplejson
|
Recommends: python-requests
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -76,16 +84,19 @@ This package contains common files.
|
|||||||
sed -i '1 { /^#!/ d }' websockify/websock*.py
|
sed -i '1 { /^#!/ d }' websockify/websock*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/websockify
|
%python_clone -a %{buildroot}%{_bindir}/websockify
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -k 'not test_asymmetric_jwe_token_plugin'
|
%pytest -k 'not test_asymmetric_jwe_token_plugin'
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative websockify
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative websockify
|
%python_install_alternative websockify
|
||||||
|
|
||||||
@@ -96,6 +107,7 @@ sed -i '1 { /^#!/ d }' websockify/websock*.py
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc CHANGES.txt README.md
|
%doc CHANGES.txt README.md
|
||||||
%python_alternative %{_bindir}/websockify
|
%python_alternative %{_bindir}/websockify
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/websockify
|
||||||
|
%{python_sitelib}/websockify-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
BIN
v0.10.0.tar.gz
LFS
BIN
v0.10.0.tar.gz
LFS
Binary file not shown.
BIN
v0.12.0.tar.gz
LFS
Normal file
BIN
v0.12.0.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user