From 9a7d06d4ab37b69fa1aae114d8c4ca0c792cac7c Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 15:42:19 +0300 Subject: [PATCH 1/3] freeswitch: 1.10.5 > 1.10.6 (cherry picked from commit a7b56e41d4c69604e13272ace374025ca0d31b64) --- pkgs/servers/sip/freeswitch/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index d7611baad14..31e1cafc319 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub, fetchpatch, stdenv, lib, pkg-config, autoreconfHook +{ fetchFromGitHub, stdenv, lib, pkg-config, autoreconfHook , ncurses, gnutls, readline , openssl, perl, sqlite, libjpeg, speex, pcre, libuuid , ldns, libedit, yasm, which, libsndfile, libtiff @@ -88,21 +88,14 @@ in stdenv.mkDerivation rec { pname = "freeswitch"; - version = "1.10.5"; + version = "1.10.6"; src = fetchFromGitHub { owner = "signalwire"; repo = pname; rev = "v${version}"; - sha256 = "18dhyb19k28dcm1i8mhqvvgm2phsrmrwyjmfn79glk8pdlalvcha"; + sha256 = "1i5n06pds3kvzhhzfwvhwxnvcb2p2fcr8k52157aplm2i7prl4q2"; }; - patches = [ - # https://github.com/signalwire/freeswitch/pull/812 fix mod_spandsp, mod_gsmopen build, drop when updating from 1.10.5 - (fetchpatch { - url = "https://github.com/signalwire/freeswitch/commit/51fba83ed3ed2d9753d8e6b13e13001aca50b493.patch"; - sha256 = "0h2bmifsyyasxjka3pczbmqym1chvz91fmb589njrdbwpkjyvqh3"; - }) - ]; postPatch = '' patchShebangs libs/libvpx/build/make/rtcd.pl substituteInPlace libs/libvpx/build/make/configure.sh \ From 0833ed32f309cfab892fd7907828c05f7279995c Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 17:23:54 +0300 Subject: [PATCH 2/3] freeeswitch: move perl, which and yasm to nativeBuildInputs (cherry picked from commit 85fb843759ce02989474643789fb3535e07821d4) --- pkgs/servers/sip/freeswitch/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index 31e1cafc319..7c75c463617 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -110,10 +110,10 @@ stdenv.mkDerivation rec { done ''; - nativeBuildInputs = [ pkg-config autoreconfHook ]; + nativeBuildInputs = [ pkg-config autoreconfHook perl which yasm ]; buildInputs = [ - openssl ncurses gnutls readline perl libjpeg - sqlite pcre speex ldns libedit yasm which + openssl ncurses gnutls readline libjpeg + sqlite pcre speex ldns libedit libsndfile libtiff libuuid ] From ad861506ba87d8a759a600d37c071d78b7be388d Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 10 May 2021 21:22:46 +0300 Subject: [PATCH 3/3] freeeswitch: enable strictDeps (cherry picked from commit ef32c9e3b83c544e554c242a067770d456b3bac5) --- pkgs/servers/sip/freeswitch/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix index 7c75c463617..98a1223d279 100644 --- a/pkgs/servers/sip/freeswitch/default.nix +++ b/pkgs/servers/sip/freeswitch/default.nix @@ -110,6 +110,7 @@ stdenv.mkDerivation rec { done ''; + strictDeps = true; nativeBuildInputs = [ pkg-config autoreconfHook perl which yasm ]; buildInputs = [ openssl ncurses gnutls readline libjpeg