Merge pull request #94041 from aszlig/cve-2020-15117
synergy: Add patch to fix CVE-2020-15117
This commit is contained in:
commit
be7913f7dd
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, openssl, qttools
|
{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, openssl, qttools
|
||||||
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
|
, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
|
||||||
, xlibsWrapper, libX11, libXi, libXtst, libXrandr, xinput, avahi-compat
|
, xlibsWrapper, libX11, libXi, libXtst, libXrandr, xinput, avahi-compat
|
||||||
, withGUI ? true, wrapQtAppsHook }:
|
, withGUI ? true, wrapQtAppsHook }:
|
||||||
@ -14,7 +14,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1jk60xw4h6s5crha89wk4y8rrf1f3bixgh5mzh3cq3xyrkba41gh";
|
sha256 = "1jk60xw4h6s5crha89wk4y8rrf1f3bixgh5mzh3cq3xyrkba41gh";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./build-tests.patch
|
patches = [
|
||||||
|
./build-tests.patch
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2020-15117.patch";
|
||||||
|
url = "https://github.com/symless/synergy-core/commit/"
|
||||||
|
+ "0a97c2be0da2d0df25cb86dfd642429e7a8bea39.patch";
|
||||||
|
sha256 = "03q8m5n50fms7fjfjgmqrgy9mrxwi9kkz3f3vlrs2x5h21dl6bmj";
|
||||||
|
})
|
||||||
] ++ lib.optional stdenv.isDarwin ./macos_build_fix.patch;
|
] ++ lib.optional stdenv.isDarwin ./macos_build_fix.patch;
|
||||||
|
|
||||||
# Since the included gtest and gmock don't support clang and the
|
# Since the included gtest and gmock don't support clang and the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user