3
0
Fork 0
forked from mirrors/nixpkgs

asterisk-stable: 14.2.1 -> 14.4.0

This commit is contained in:
Kranium Gikos Mendoza 2017-04-26 20:31:56 +10:00
parent b3a6d1f990
commit 718c3e8d97

View file

@ -24,6 +24,11 @@ let
})
];
# Disable MD5 verification for pjsip
postPatch = ''
sed -i 's|$(verify_tarball)|true|' third-party/pjproject/Makefile
'';
src = fetchurl {
url = "http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-${version}.tar.gz";
inherit sha256;
@ -73,6 +78,11 @@ let
sha256 = "1wq8lpfcd4dfrbl7bgy2yzgp3ldjzq5430fqkhcqad0xfrxj0fdb";
};
pjproject-26 = fetchurl {
url = http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2;
sha256 = "1d67c58jn22f7h6smkykk5vwl3sqpc7xi2vm3j3lbn3lq6hisnig";
};
mp3-202 = fetchsvn {
url = http://svn.digium.com/svn/thirdparty/mp3/trunk;
rev = 202;
@ -92,10 +102,10 @@ in
};
asterisk-stable = common {
version = "14.2.1";
sha256 = "193yhyjn0fwrd7hsmr3qwcx3k2pc6cq70v1mnfdwidix4cqm32xj";
version = "14.4.0";
sha256 = "095slnhl74hs1c36rgg378azan9zwgryp8him7py4am60lbk3n3w";
externals = {
"externals_cache/pjproject-2.5.5.tar.bz2" = pjproject-255;
"externals_cache/pjproject-2.6.tar.bz2" = pjproject-26;
"addons/mp3" = mp3-202;
};
};