Skip to content

Commit 9eeff75

Browse files
Merge staging-next-21.11 into staging-21.11
2 parents 9ce2035 + b6a0557 commit 9eeff75

22 files changed

Lines changed: 106 additions & 55 deletions

File tree

nixos/modules/config/users-groups.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ in {
558558
input.gid = ids.gids.input;
559559
kvm.gid = ids.gids.kvm;
560560
render.gid = ids.gids.render;
561+
sgx.gid = ids.gids.sgx;
561562
shadow.gid = ids.gids.shadow;
562563
};
563564

nixos/modules/misc/ids.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ in
638638
qemu-libvirtd = 301;
639639
kvm = 302; # default udev rules from systemd requires these
640640
render = 303; # default udev rules from systemd requires these
641-
# zeronet = 304; # removed 2019-01-03
641+
sgx = 304; # default udev rules from systemd requires these
642642
lirc = 305;
643643
lidarr = 306;
644644
slurm = 307;

nixos/modules/services/networking/jitsi-videobridge.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ in
217217
"-Dnet.java.sip.communicator.SC_HOME_DIR_NAME" = "videobridge";
218218
"-Djava.util.logging.config.file" = "/etc/jitsi/videobridge/logging.properties";
219219
"-Dconfig.file" = pkgs.writeText "jvb.conf" (toHOCON jvbConfig);
220+
# Mitigate CVE-2021-44228
221+
"-Dlog4j2.formatMsgNoLookups" = true;
220222
} // (mapAttrs' (k: v: nameValuePair "-D${k}" v) cfg.extraProperties);
221223
in
222224
{

nixos/modules/system/boot/networkd.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ let
572572
"Family"
573573
"User"
574574
"SuppressPrefixLength"
575+
"Type"
575576
])
576577
(assertInt "TypeOfService")
577578
(assertRange "TypeOfService" 0 255)
@@ -584,6 +585,7 @@ let
584585
(assertValueOneOf "Family" ["ipv4" "ipv6" "both"])
585586
(assertInt "SuppressPrefixLength")
586587
(assertRange "SuppressPrefixLength" 0 128)
588+
(assertValueOneOf "Type" ["blackhole" "unreachable" "prohibit"])
587589
];
588590

589591
sectionRoute = checkUnitConfig "Route" [

nixos/modules/virtualisation/qemu-vm.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ in
833833

834834
# FIXME: Consolidate this one day.
835835
virtualisation.qemu.options = mkMerge [
836+
[ "-device virtio-keyboard" ]
836837
(mkIf pkgs.stdenv.hostPlatform.isx86 [
837838
"-usb" "-device usb-tablet,bus=usb-bus.0"
838839
])

pkgs/applications/blockchains/monero-gui/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
stdenv.mkDerivation rec {
1616
pname = "monero-gui";
17-
version = "0.17.2.3";
17+
version = "0.17.3.0";
1818

1919
src = fetchFromGitHub {
2020
owner = "monero-project";
2121
repo = "monero-gui";
2222
rev = "v${version}";
23-
sha256 = "1d8y5yqyw0db2jdv9mwkczwm2qcwhzyslvq994yq5rvs4vkd8xjg";
23+
sha256 = "0rc1p0k16icgfhc7yvkvb8p6570zz0cvigs648l05fcm3mf787rp";
2424
};
2525

2626
nativeBuildInputs = [

pkgs/applications/blockchains/monero/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
stdenv.mkDerivation rec {
1111
pname = "monero";
12-
version = "0.17.2.3";
12+
version = "0.17.3.0";
1313

1414
src = fetchFromGitHub {
1515
owner = "monero-project";
1616
repo = "monero";
1717
rev = "v${version}";
18-
sha256 = "0nax991fshfh51grhh2ryfrwwws35k16gzl1l3niva28zff2xmq6";
18+
sha256 = "1spsf7m3x4psp9s7mivr6x4886jnbq4i8ll2dl8bv5bsdhcd3pjm";
1919
fetchSubmodules = true;
2020
};
2121

pkgs/applications/blockchains/monero/use-system-libraries.patch

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
2-
index a8916a7d0..39ec7747b 100644
2+
index 5b7f69a56..5536debe8 100644
33
--- a/external/CMakeLists.txt
44
+++ b/external/CMakeLists.txt
5-
@@ -37,34 +37,16 @@
5+
@@ -36,22 +36,9 @@
6+
# others.
67

78
find_package(Miniupnpc REQUIRED)
8-
9+
-
910
-message(STATUS "Using in-tree miniupnpc")
11+
-set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE)
1012
-add_subdirectory(miniupnp/miniupnpc)
1113
-set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
14+
-set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON)
1215
-if(MSVC)
1316
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
1417
-elseif(NOT MSVC)
@@ -25,36 +28,16 @@ index a8916a7d0..39ec7747b 100644
2528

2629
find_package(Unbound)
2730

28-
if(NOT UNBOUND_INCLUDE_DIR OR STATIC)
29-
- # NOTE: If STATIC is true, CMAKE_FIND_LIBRARY_SUFFIXES has been reordered.
30-
- # unbound has config tests which used OpenSSL libraries, so -ldl may need to
31-
- # be set in this case.
32-
- # The unbound CMakeLists.txt can set it, since it's also needed for the
33-
- # static OpenSSL libraries set up there after with target_link_libraries.
34-
- add_subdirectory(unbound)
35-
-
36-
- set(UNBOUND_STATIC true PARENT_SCOPE)
37-
- set(UNBOUND_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/unbound/libunbound" PARENT_SCOPE)
38-
- set(UNBOUND_LIBRARY "unbound" PARENT_SCOPE)
39-
- set(UNBOUND_LIBRARY_DIRS "${LIBEVENT2_LIBDIR}" PARENT_SCOPE)
40-
+ set(UNBOUND_STATIC false PARENT_SCOPE)
41-
+ set(UPNP_INCLUDE ${MINIUPNP_INCLUDE_DIR} PARENT_SCOPE)
42-
+ set(UPNP_LIBRARIES ${MINIUPNP_LIBRARY} PARENT_SCOPE)
43-
else()
44-
message(STATUS "Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
45-
if(UNBOUND_LIBRARIES)
46-
@@ -81,4 +63,5 @@ endif()
31+
@@ -69,4 +56,3 @@ endif()
4732
add_subdirectory(db_drivers)
4833
add_subdirectory(easylogging++)
4934
add_subdirectory(qrcodegen)
5035
-add_subdirectory(randomx EXCLUDE_FROM_ALL)
51-
+
52-
+find_library(RANDOMX_LIBRARIES NAMES RandomX)
5336
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
54-
index 175741146..088b582f7 100644
37+
index d4b39869c..13071d898 100644
5538
--- a/src/p2p/net_node.inl
5639
+++ b/src/p2p/net_node.inl
57-
@@ -60,9 +60,9 @@
40+
@@ -61,9 +61,9 @@
5841
#include "cryptonote_core/cryptonote_core.h"
5942
#include "net/parse.h"
6043

pkgs/applications/blockchains/trezor-suite/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
let
1010
pname = "trezor-suite";
11-
version = "21.10.2";
11+
version = "21.12.2";
1212
name = "${pname}-${version}";
1313

1414
suffix = {
@@ -19,8 +19,8 @@ let
1919
src = fetchurl {
2020
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
2121
sha512 = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
22-
aarch64-linux = "sha512-+qXN9cQk1u18ZzeMecPNfhkTTsw61iM/IJYksPJl9+zx2AKldv9tAFUnnmKZ65LabiaIXI+emN185SRRcaOndw==";
23-
x86_64-linux = "sha512-WpiG8VOEODqsQ1/jERiEEGwVqR0zbMqERGjOysEVYorA0p3xZyl7OSpWOSWaUjPBZpQtJIBdqhSXeoSRcvfJgg==";
22+
aarch64-linux = "sha512-LzcTFSNN/loYaTDt+QpW8QpSgOTw2097IYdc7mC57Mn4NR/X2hycYZ9ZfZjBh9QFfVu/4R3UN2sA177v6Inomg==";
23+
x86_64-linux = "sha512-W/voBZrXaJVDN4eSUDD6lyBR9BqboD2k2/azI1pWm1NFUmDZFM+OGzyiPB3n+6SziAhca32Ot5Wy27sfmIjh3g==";
2424
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
2525
};
2626

pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414

1515
stdenv.mkDerivation rec {
1616
pname = "whatsapp-for-linux";
17-
version = "1.3.0";
17+
version = "1.3.1";
1818

1919
src = fetchFromGitHub {
2020
owner = "eneshecan";
2121
repo = pname;
2222
rev = "v${version}";
23-
sha256 = "sha256-VdkCjzmZqP/ZVY1H9FxBGe5rN0nZEPZbMp3MVKL6WLc=";
23+
sha256 = "sha256-TX6fMuhe6VHbhWJSsPM0iOV4CuCfULD5McJyHuTW4lI=";
2424
};
2525

2626
nativeBuildInputs = [

0 commit comments

Comments
 (0)