sshuttle: 1.1.1 → 1.1.2
This commit is contained in:
parent
f7f2acd9c2
commit
44d15901d7
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, python3Packages
|
, python3Packages
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, sphinx
|
, sphinx
|
||||||
|
@ -14,11 +14,13 @@
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "sshuttle";
|
pname = "sshuttle";
|
||||||
version = "1.1.1";
|
version = "1.1.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "sshuttle";
|
||||||
sha256 = "sha256-9aPtHlqxITx6bfhgr0HxqQOrLK+/73Hzcazc/yHmnuY=";
|
repo = "sshuttle";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-7jiDTjtL4FiQ4GimSPtUDKPUA29l22a7XILN/s4/DQY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./sudo.patch ];
|
patches = [ ./sudo.patch ];
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
diff --git a/sshuttle/client.py b/sshuttle/client.py
|
diff --git i/sshuttle/client.py w/sshuttle/client.py
|
||||||
index cab5b1c..e89f8a6 100644
|
index 29c3dfa..da813ed 100644
|
||||||
--- a/sshuttle/client.py
|
--- i/sshuttle/client.py
|
||||||
+++ b/sshuttle/client.py
|
+++ w/sshuttle/client.py
|
||||||
@@ -192,7 +192,7 @@ class FirewallClient:
|
@@ -209,7 +209,7 @@ class FirewallClient:
|
||||||
|
def __init__(self, method_name, sudo_pythonpath):
|
||||||
self.auto_nets = []
|
self.auto_nets = []
|
||||||
|
|
||||||
- argvbase = ([sys.executable, sys.argv[0]] +
|
- argvbase = ([sys.executable, sys.argv[0]] +
|
||||||
+ argvbase = ([sys.argv[0]] +
|
+ argvbase = ([sys.argv[0]] +
|
||||||
['-v'] * (helpers.verbose or 0) +
|
['-v'] * (helpers.verbose or 0) +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user