forked from mirrors/nixpkgs
Merge pull request #231148 from 0x4A6F/master-coturn
coturn: 4.6.1 -> 4.6.2
This commit is contained in:
commit
85fe3cded5
|
@ -24,6 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
|
||||
with subtest("works with static-auth-secret-file"):
|
||||
secretsfile.wait_for_unit("coturn.service")
|
||||
secretsfile.wait_for_open_port(3478)
|
||||
secretsfile.succeed("grep 'some-very-secret-string' /run/coturn/turnserver.cfg")
|
||||
# Forbidden IP, fails:
|
||||
secretsfile.fail("${pkgs.coturn}/bin/turnutils_uclient -W some-very-secret-string 127.0.0.1 -DgX -e 127.0.0.1 -n 1 -c -y")
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "coturn";
|
||||
version = "4.6.1";
|
||||
version = "4.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coturn";
|
||||
repo = "coturn";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ckqPxG3ieqA0H9g1GfE8hYs6tUsZfzt6/yYR1qlgoxE=";
|
||||
hash = "sha256-BKIto762W7UkKjzIm3eVU18oiHpYUMQYJihebYxBOZs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,12 +38,6 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [
|
||||
./pure-configure.patch
|
||||
|
||||
# fix build against openssl 3.x
|
||||
(fetchpatch {
|
||||
url = "https://github.com/coturn/coturn/commit/4ce784a8781ab086c150e2b9f5641b1a37fd9b31.patch";
|
||||
hash = "sha256-Jx8XNXrgq0ockm1zjwRzfvSS3fVrVyVvQY1l0CpcR3Q=";
|
||||
})
|
||||
];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
|
|
Loading…
Reference in a new issue