forked from pool/python-proton-vpn-network-manager
Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
5584de0faf | |||
10e8ccdf01 | |||
cded04da87 | |||
3885081197 | |||
f6c25c48a9 |
@@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 28 17:14:04 UTC 2025 - Szymon Scholz <raspherdev@pm.me>
|
||||||
|
|
||||||
|
- Update to 0.12.13:
|
||||||
|
* Forward the rust log to python log
|
||||||
|
* Improve logic for applying fallback DNS
|
||||||
|
* Ensure that Proton DNS IP is used as a fallback when custom DNS is enabled but no IP is provided with the WireGuard protocol
|
||||||
|
* Bump the minimum required version of vpn-api-core module
|
||||||
|
* Fix for old call to this non existant method
|
||||||
|
* Fix Certificate Expired early error in openvpn
|
||||||
|
* Revert introduced workarounds for kill switch with newer versions of netplan (1.1.1-1). Users are now able to use kill switch while having IPv6 disable at grub/kernel level
|
||||||
|
* Added local agent to OpenVPN
|
||||||
|
* Ignore interfaces without a gateway configured
|
||||||
|
* Encrypt openvpn certificate private key
|
||||||
|
* Don't log handled agent errors
|
||||||
|
* Update to new local agent dependency where the rust logger is initialized automatically
|
||||||
|
* Fix certificate expired error handling
|
||||||
|
* Integrate LA port forwarding
|
||||||
|
* Update to use new LA interface (Alexandru Cheltuitor, Josep Llaneras)
|
||||||
|
* Update event context so that it passes a forwarded port
|
||||||
|
* Use a mock port for the moment until local-agent has fully implemented the feature
|
||||||
|
* Do not use privileged local port for wireguard
|
||||||
|
* Drop Ubuntu 20.04 support
|
||||||
|
* Remove DoH
|
||||||
|
* Added semgrep scanning to CI
|
||||||
|
* Change to new custom DNS format
|
||||||
|
* Refactor code so that new changes are taken into consideration
|
||||||
|
* Fix unsupported type annotation in python 3.8.10
|
||||||
|
* Fix bug where automatic DNS settings is ignored, regardless if custom DNS is passed or not
|
||||||
|
* Validate custom DNS values for IPv4/6
|
||||||
|
* Generate the changelogs in the CI
|
||||||
|
* Move to a centralised way to update the version of the package
|
||||||
|
* Handle connection details received by local agent
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 11:44:51 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
- Update to 0.9.1
|
||||||
|
- Replace requires python-proton-vpn-connection with python-proton-vpn-api-core
|
||||||
|
- Conflicts python-proton-vpn-network-manager-openvpn
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 22 11:59:17 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
Wed May 22 11:59:17 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-proton-vpn-network-manager
|
Name: python-proton-vpn-network-manager
|
||||||
Version: 0.4.2
|
Version: 0.12.13
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Proton VPN library for NetworkManager
|
Summary: Proton VPN library for NetworkManager
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@@ -29,9 +29,12 @@ Source: https://github.com/ProtonVPN/python-proton-vpn-network-manager/a
|
|||||||
# https://github.com/ProtonVPN/proton-vpn-gtk-app/issues/43
|
# https://github.com/ProtonVPN/proton-vpn-gtk-app/issues/43
|
||||||
Patch1: keyring.patch
|
Patch1: keyring.patch
|
||||||
BuildRequires: %{python_module gobject}
|
BuildRequires: %{python_module gobject}
|
||||||
|
BuildRequires: %{python_module jinja2}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module packaging}
|
||||||
BuildRequires: %{python_module proton-core}
|
BuildRequires: %{python_module proton-core}
|
||||||
BuildRequires: %{python_module proton-vpn-connection}
|
BuildRequires: %{python_module proton-vpn-api-core >= 0.42.3}
|
||||||
|
BuildRequires: %{python_module proton-vpn-local-agent >= 1.4.4}
|
||||||
BuildRequires: %{python_module pycairo}
|
BuildRequires: %{python_module pycairo}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
@@ -43,10 +46,25 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: NetworkManager
|
Requires: NetworkManager
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
|
Requires: python-jinja2
|
||||||
|
Requires: python-packaging
|
||||||
Requires: python-proton-core
|
Requires: python-proton-core
|
||||||
Requires: python-proton-vpn-connection
|
Requires: python-proton-vpn-api-core >= 0.42.3
|
||||||
|
Requires: python-proton-vpn-local-agent >= 1.4.4
|
||||||
Requires: python-pycairo
|
Requires: python-pycairo
|
||||||
|
Conflicts: python-proton-vpn-network-manager-openvpn
|
||||||
|
Conflicts: python-proton-vpn-network-manager-wireguard
|
||||||
|
Conflicts: python-proton-vpn-killswitch-network-manager
|
||||||
|
Conflicts: python-proton-vpn-killswitch-network-manager-wireguard
|
||||||
Conflicts: python-protonvpn-nm-lib
|
Conflicts: python-protonvpn-nm-lib
|
||||||
|
Obsoletes: python-proton-vpn-network-manager-openvpn < 0.1.1
|
||||||
|
Obsoletes: python-proton-vpn-network-manager-wireguard < 0.4.7
|
||||||
|
Obsoletes: python-proton-vpn-killswitch-network-manager < 0.6.1
|
||||||
|
Obsoletes: python-proton-vpn-killswitch-network-manager-wireguard < 0.2.1
|
||||||
|
Provides: python-proton-vpn-network-manager-openvpn = 0.1.1
|
||||||
|
Provides: python-proton-vpn-network-manager-wireguard = 0.4.7
|
||||||
|
Provides: python-proton-vpn-killswitch-network-manager = 0.6.1
|
||||||
|
Provides: python-proton-vpn-killswitch-network-manager-wireguard = 0.2.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -64,9 +82,9 @@ This package contains functionality for Proton VPN client to interact with Netwo
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test case is broken
|
# buildroot doesn't provide network manager service, so it is not possible to run killswitch tests
|
||||||
# https://github.com/ProtonVPN/python-proton-vpn-network-manager/issues/2
|
# ignore tests which are failing -> `Permission denied: '/run/user'`
|
||||||
%pytest tests --deselect="tests/test_networkmanager.py::test_initialize_persisted_connection_determines_initial_connection_state"
|
%pytest tests --deselect "tests/integration/killswitch/default/test_killswitch_connection.py" --deselect "tests/integration/killswitch/wireguard/test_killswitch_connection.py" --ignore "tests/openvpn/test_openvpn.py" --ignore "tests/openvpn/test_openvpnconfiguration.py" --ignore "tests/unit/core/test_networkmanager.py"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
3
v0.12.13.tar.gz
Normal file
3
v0.12.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1ee58ed70c7f32f244223693a8f5f09fdd7bd0dfd8e0f5979eccb46b12027705
|
||||||
|
size 60323
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b2666012e1d6d25ba9e6ad2da0d2ee664becf02013596fb2686a81139360339b
|
|
||||||
size 29266
|
|
Reference in New Issue
Block a user