Merge pull request #25241 from womfoo/bump/asterisk

update asterisk-stable and asterisk-lts

authored by Joachim F and committed by GitHub 2b22dc30 1273f414

+19 -10
+19 -10
pkgs/servers/asterisk/default.nix
··· 1 - { stdenv, pkgs, lib, fetchurl, fetchgit, fetchsvn, 2 jansson, libxml2, libxslt, ncurses, openssl, sqlite, 3 utillinux, dmidecode, libuuid, binutils, newt, 4 lua, speex, ··· 18 # This patch changes the runtime behavior to look for state 19 # directories in /var rather than ${out}/var. 20 ./runtime-vardirs.patch 21 ]; 22 23 src = fetchurl { 24 url = "http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-${version}.tar.gz"; ··· 64 }; 65 }; 66 67 - pjproject-255 = fetchurl { 68 - url = http://www.pjsip.org/release/2.5.5/pjproject-2.5.5.tar.bz2; 69 - sha256 = "1wq8lpfcd4dfrbl7bgy2yzgp3ldjzq5430fqkhcqad0xfrxj0fdb"; 70 }; 71 72 mp3-202 = fetchsvn { ··· 79 { 80 81 asterisk-lts = common { 82 - version = "13.13.1"; 83 - sha256 = "0yh097rrp1i681qclvwyh7l1gg2i5wx5pjrcvwpbj6g949mc98vd"; 84 externals = { 85 - "externals_cache/pjproject-2.5.5.tar.bz2" = pjproject-255; 86 "addons/mp3" = mp3-202; 87 }; 88 }; 89 90 asterisk-stable = common { 91 - version = "14.2.1"; 92 - sha256 = "193yhyjn0fwrd7hsmr3qwcx3k2pc6cq70v1mnfdwidix4cqm32xj"; 93 externals = { 94 - "externals_cache/pjproject-2.5.5.tar.bz2" = pjproject-255; 95 "addons/mp3" = mp3-202; 96 }; 97 };
··· 1 + { stdenv, pkgs, lib, fetchurl, fetchgit, fetchsvn, fetchpatch, 2 jansson, libxml2, libxslt, ncurses, openssl, sqlite, 3 utillinux, dmidecode, libuuid, binutils, newt, 4 lua, speex, ··· 18 # This patch changes the runtime behavior to look for state 19 # directories in /var rather than ${out}/var. 20 ./runtime-vardirs.patch 21 + (fetchpatch { 22 + url = "http://sources.debian.net/data/main/a/asterisk/1:13.14.1~dfsg-1/debian/patches/pjsip_unresolved_symbol.patch"; 23 + sha256 = "0i6a6zplvzbjcvxqlmr87jmrfza7c3qx0rlym2nlmzzp2m7qpnfp"; 24 + }) 25 ]; 26 + 27 + # Disable MD5 verification for pjsip 28 + postPatch = '' 29 + sed -i 's|$(verify_tarball)|true|' third-party/pjproject/Makefile 30 + ''; 31 32 src = fetchurl { 33 url = "http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-${version}.tar.gz"; ··· 73 }; 74 }; 75 76 + pjproject-26 = fetchurl { 77 + url = http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2; 78 + sha256 = "1d67c58jn22f7h6smkykk5vwl3sqpc7xi2vm3j3lbn3lq6hisnig"; 79 }; 80 81 mp3-202 = fetchsvn { ··· 88 { 89 90 asterisk-lts = common { 91 + version = "13.15.0"; 92 + sha256 = "0i2qzfa1iyh66nma39kdigb9lp5gz3sn46znd2djz24wgmamb2lb"; 93 externals = { 94 + "externals_cache/pjproject-2.6.tar.bz2" = pjproject-26; 95 "addons/mp3" = mp3-202; 96 }; 97 }; 98 99 asterisk-stable = common { 100 + version = "14.4.0"; 101 + sha256 = "095slnhl74hs1c36rgg378azan9zwgryp8him7py4am60lbk3n3w"; 102 externals = { 103 + "externals_cache/pjproject-2.6.tar.bz2" = pjproject-26; 104 "addons/mp3" = mp3-202; 105 }; 106 };