teleport_16: init at 16.0.4
This commit is contained in:
parent
9f4128e00b
commit
e7e3ca4bb5
@ -87,6 +87,10 @@
|
||||
|
||||
- `services.ddclient.use` has been deprecated: `ddclient` now supports separate IPv4 and IPv6 configuration. Use `services.ddclient.usev4` and `services.ddclient.usev6` instead.
|
||||
|
||||
- `teleport` has been upgraded from major version 15 to major version 16.
|
||||
Refer to upstream [upgrade instructions](https://goteleport.com/docs/management/operations/upgrading/)
|
||||
and [release notes for v16](https://goteleport.com/docs/changelog/#1600-061324).
|
||||
|
||||
- `vaultwarden` lost the capability to bind to privileged ports. If you rely on
|
||||
this behavior, override the systemd unit to allow `CAP_NET_BIND_SERVICE` in
|
||||
your local configuration.
|
||||
|
@ -10,6 +10,7 @@ let
|
||||
packages = with pkgs; {
|
||||
"default" = teleport;
|
||||
"14" = teleport_14;
|
||||
"15" = teleport_15;
|
||||
};
|
||||
|
||||
minimal = package: {
|
||||
|
@ -10,8 +10,4 @@ import ../generic.nix (args // {
|
||||
"rdp-rs-0.1.0" = "sha256-U52FVuqo2DH/7f0cQ1qcb1GbFZ97yxExVFMX5cs0zw4=";
|
||||
};
|
||||
};
|
||||
extPatches = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/120738
|
||||
../tsh_14.patch
|
||||
];
|
||||
})
|
||||
|
@ -12,10 +12,6 @@ import ../generic.nix (args // {
|
||||
"sspi-0.10.1" = "sha256-fkclC/plTh2d8zcmqthYmr5yXqbPTeFxI1VuaPX5vxk=";
|
||||
};
|
||||
};
|
||||
extPatches = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/120738
|
||||
../tsh_14.patch
|
||||
];
|
||||
|
||||
# wasm-bindgen-cli version must match the version of wasm-bindgen in Cargo.lock
|
||||
wasm-bindgen-cli = wasm-bindgen-cli.override {
|
||||
|
3441
pkgs/servers/teleport/16/Cargo.lock
generated
Normal file
3441
pkgs/servers/teleport/16/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
pkgs/servers/teleport/16/default.nix
Normal file
22
pkgs/servers/teleport/16/default.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ wasm-bindgen-cli, ... }@args:
|
||||
import ../generic.nix (args // {
|
||||
version = "16.0.4";
|
||||
hash = "sha256-svDqcYm6PbmPyHhN00VKn/sGRkfb7ah2N7BtEVdZ9hg=";
|
||||
vendorHash = "sha256-H4Rwel/UAvxY8/4CfSbneJYjt9HHgsuNbYXUM6MtqXM=";
|
||||
yarnHash = "sha256-OHNnN66MevDiH4Zr6Uq3Om65XBzf4O3AIrPvhlvhkbE=";
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"boring-4.7.0" = "sha256-ACzw4Bfo6OUrwvi3h21tvx5CpdQaWCEIDkslzjzy9o8=";
|
||||
"ironrdp-async-0.1.0" = "sha256-nE5O/wRJ3vJqJG5zdYmpVkhx6JC6Yb92pR4EKSWSdkA=";
|
||||
"sspi-0.10.1" = "sha256-fkclC/plTh2d8zcmqthYmr5yXqbPTeFxI1VuaPX5vxk=";
|
||||
};
|
||||
};
|
||||
|
||||
# wasm-bindgen-cli version must match the version of wasm-bindgen in Cargo.lock
|
||||
wasm-bindgen-cli = wasm-bindgen-cli.override {
|
||||
version = "0.2.92";
|
||||
hash = "sha256-1VwY8vQy7soKEgbki4LD+v259751kKxSxmo/gqE6yV0=";
|
||||
cargoHash = "sha256-aACJ+lYNEU8FFBs158G1/JG8sc6Rq080PeKCMnwdpH0=";
|
||||
};
|
||||
})
|
@ -3,7 +3,8 @@ let
|
||||
f = args: rec {
|
||||
teleport_14 = import ./14 args;
|
||||
teleport_15 = import ./15 args;
|
||||
teleport = teleport_15;
|
||||
teleport_16 = import ./16 args;
|
||||
teleport = teleport_16;
|
||||
};
|
||||
# Ensure the following callPackages invocation includes everything 'generic' needs.
|
||||
f' = lib.setFunctionArgs f (builtins.functionArgs (import ./generic.nix));
|
||||
|
@ -27,7 +27,7 @@
|
||||
, version
|
||||
, hash
|
||||
, vendorHash
|
||||
, extPatches ? null
|
||||
, extPatches ? []
|
||||
, cargoHash ? null
|
||||
, cargoLock ? null
|
||||
, yarnHash
|
||||
@ -136,6 +136,7 @@ buildGoModule rec {
|
||||
patches = extPatches ++ [
|
||||
./0001-fix-add-nix-path-to-exec-env.patch
|
||||
./rdpclient.patch
|
||||
./tsh.patch
|
||||
];
|
||||
|
||||
# Reduce closure size for client machines
|
||||
|
@ -1,8 +1,8 @@
|
||||
diff --git a/tool/tsh/tsh.go b/tool/tsh/tsh.go
|
||||
index f73b0a4e46..6848286781 100644
|
||||
--- a/tool/tsh/tsh.go
|
||||
+++ b/tool/tsh/tsh.go
|
||||
@@ -1065,10 +1065,11 @@ func Run(ctx context.Context, args []string, opts ...cliOption) error {
|
||||
diff --git a/tool/tsh/common/tsh.go b/tool/tsh/common/tsh.go
|
||||
index 5de21c69d0..3995c19e3c 100644
|
||||
--- a/tool/tsh/common/tsh.go
|
||||
+++ b/tool/tsh/common/tsh.go
|
||||
@@ -1084,10 +1084,11 @@ func Run(ctx context.Context, args []string, opts ...CliOption) error {
|
||||
|
||||
var err error
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
diff --git a/tool/tsh/common/tsh.go b/tool/tsh/common/tsh.go
|
||||
index 5de21c69d0..3995c19e3c 100644
|
||||
--- a/tool/tsh/common/tsh.go
|
||||
+++ b/tool/tsh/common/tsh.go
|
||||
@@ -1084,10 +1084,11 @@ func Run(ctx context.Context, args []string, opts ...CliOption) error {
|
||||
|
||||
var err error
|
||||
|
||||
- cf.executablePath, err = os.Executable()
|
||||
+ tempBinaryPath, err := os.Executable()
|
||||
if err != nil {
|
||||
return trace.Wrap(err)
|
||||
}
|
||||
+ cf.executablePath = path.Dir(tempBinaryPath) + "/tsh"
|
||||
|
||||
// configs
|
||||
setEnvFlags(&cf)
|
@ -13361,7 +13361,7 @@ with pkgs;
|
||||
|
||||
inherit (callPackages ../servers/teleport {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit;
|
||||
}) teleport_14 teleport_15 teleport;
|
||||
}) teleport_14 teleport_15 teleport_16 teleport;
|
||||
|
||||
telepresence = callPackage ../tools/networking/telepresence {
|
||||
pythonPackages = python3Packages;
|
||||
|
Loading…
Reference in New Issue
Block a user