sshuttle: 1.1.1 → 1.1.2

This commit is contained in:
Nikolay Korotkiy 2024-04-15 21:34:05 +04:00
parent f7f2acd9c2
commit 44d15901d7
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 14 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{ lib
, stdenv
, python3Packages
, fetchPypi
, fetchFromGitHub
, installShellFiles
, makeWrapper
, sphinx
@ -14,11 +14,13 @@
python3Packages.buildPythonApplication rec {
pname = "sshuttle";
version = "1.1.1";
version = "1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9aPtHlqxITx6bfhgr0HxqQOrLK+/73Hzcazc/yHmnuY=";
src = fetchFromGitHub {
owner = "sshuttle";
repo = "sshuttle";
rev = "v${version}";
hash = "sha256-7jiDTjtL4FiQ4GimSPtUDKPUA29l22a7XILN/s4/DQY=";
};
patches = [ ./sudo.patch ];

View File

@ -1,11 +1,11 @@
diff --git a/sshuttle/client.py b/sshuttle/client.py
index cab5b1c..e89f8a6 100644
--- a/sshuttle/client.py
+++ b/sshuttle/client.py
@@ -192,7 +192,7 @@ class FirewallClient:
diff --git i/sshuttle/client.py w/sshuttle/client.py
index 29c3dfa..da813ed 100644
--- i/sshuttle/client.py
+++ w/sshuttle/client.py
@@ -209,7 +209,7 @@ class FirewallClient:
def __init__(self, method_name, sudo_pythonpath):
self.auto_nets = []
- argvbase = ([sys.executable, sys.argv[0]] +
+ argvbase = ([sys.argv[0]] +
['-v'] * (helpers.verbose or 0) +