mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #86268 from mweinelt/coturn/CVE-2020-6061+6062
coturn: apply patch for CVE-2020-6061/6062
This commit is contained in:
commit
de83c2da16
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, openssl, libevent }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, openssl, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "coturn";
|
||||
@ -13,7 +13,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ openssl libevent ];
|
||||
|
||||
patches = [ ./pure-configure.patch ];
|
||||
patches = [
|
||||
./pure-configure.patch
|
||||
(fetchpatch {
|
||||
name = "CVE-2020-6061+6062.patch";
|
||||
url = "https://sources.debian.org/data/main/c/coturn/4.5.1.1-1.2/debian/patches/CVE-2020-6061+6062.patch";
|
||||
sha256 = "0fcy1wp91bb4hlhnp96sf9bs0d9hf3pwx5f7b1r9cfvr3l5c1bk2";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://coturn.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user