Merge pull request #99961 from helsinki-systems/upd/asterisk
asterisk: Bump all packages
This commit is contained in:
commit
178213fad1
|
@ -24,9 +24,8 @@ let
|
||||||
./runtime-vardirs.patch
|
./runtime-vardirs.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
# Disable MD5 verification for pjsip
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i 's|$(verify_tarball)|true|' third-party/pjproject/Makefile
|
echo "PJPROJECT_CONFIG_OPTS += --prefix=$out" >> third-party/pjproject/Makefile.rules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
@ -51,6 +50,7 @@ let
|
||||||
|
|
||||||
chmod -w externals_cache
|
chmod -w externals_cache
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--libdir=\${out}/lib"
|
"--libdir=\${out}/lib"
|
||||||
"--with-lua=${lua}/lib"
|
"--with-lua=${lua}/lib"
|
||||||
|
@ -68,6 +68,7 @@ let
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install sample configuration files for this version of Asterisk
|
# Install sample configuration files for this version of Asterisk
|
||||||
make samples
|
make samples
|
||||||
|
${lib.optionalString (lib.versionAtLeast version "17.0.0") "make install-headers"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -78,14 +79,9 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pjproject_2_7_1 = fetchurl {
|
pjproject_2_10 = fetchurl {
|
||||||
url = "https://www.pjsip.org/release/2.7.1/pjproject-2.7.1.tar.bz2";
|
url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.10/pjproject-2.10.tar.bz2";
|
||||||
sha256 = "09ii5hgl5s7grx4fiimcl3s77i385h7b3kwpfa2q0arbl1ibryjr";
|
sha256 = "14qmddinm4bv51rl0wwg5133r64x5bd6inwbx27ahb2n0151m2if";
|
||||||
};
|
|
||||||
|
|
||||||
pjproject_2_8 = fetchurl {
|
|
||||||
url = "https://www.pjsip.org/release/2.8/pjproject-2.8.tar.bz2";
|
|
||||||
sha256 = "0ybg0113rp3fk49rm2v0pcgqb28h3dv1pdy9594w2ggiz7bhngah";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mp3-202 = fetchsvn {
|
mp3-202 = fetchsvn {
|
||||||
|
@ -95,61 +91,42 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
in rec {
|
in rec {
|
||||||
# Supported releases (as of 2018-11-20).
|
# Supported releases (as of 2020-10-07).
|
||||||
|
# Source: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
|
||||||
|
# Exact version can be found at https://www.asterisk.org/downloads/asterisk/all-asterisk-versions/
|
||||||
#
|
#
|
||||||
# Series Type Rel. Date Sec. Fixes EOL
|
# Series Type Rel. Date Sec. Fixes EOL
|
||||||
# 13.x LTS 2014-10-24 2020-10-24 2021-10-24
|
# 13.x LTS 2014-10-24 2020-10-24 2021-10-24
|
||||||
# 15.x Standard 2017-10-03 2018-10-03 2019-10-03
|
|
||||||
asterisk-stable = asterisk_15;
|
|
||||||
# 16.x LTS 2018-10-09 2022-10-09 2023-10-09
|
# 16.x LTS 2018-10-09 2022-10-09 2023-10-09
|
||||||
asterisk-lts = asterisk_16;
|
asterisk-lts = asterisk_16;
|
||||||
asterisk = asterisk_16;
|
# 17.x Standard 2019-10-28 2020-10-28 2021-10-28
|
||||||
|
asterisk-stable = asterisk_17;
|
||||||
|
asterisk = asterisk_17;
|
||||||
|
|
||||||
asterisk_13 = common {
|
asterisk_13 = common {
|
||||||
version = "13.24.1";
|
version = "13.36.0";
|
||||||
sha256 = "1mclpk7knqjl6jr6mpvhb17wsjah4bk2xqhb3shpx1j4z19xkmm3";
|
sha256 = "1p41xrxmzpqmjgvrl7f4vbigiqpmg60fd8bqg5rxbf4lxzpvknnp";
|
||||||
externals = {
|
externals = {
|
||||||
"externals_cache/pjproject-2.7.1.tar.bz2" = pjproject_2_7_1;
|
"externals_cache/pjproject-2.10.tar.bz2" = pjproject_2_10;
|
||||||
"addons/mp3" = mp3-202;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
asterisk_15 = common {
|
|
||||||
version = "15.7.0";
|
|
||||||
sha256 = "1ngs73h4lz94b4f3shy1yb5laqy0z03zf451xa1nihrgp1h3ilyv";
|
|
||||||
externals = {
|
|
||||||
"externals_cache/pjproject-2.8.tar.bz2" = pjproject_2_8;
|
|
||||||
"addons/mp3" = mp3-202;
|
"addons/mp3" = mp3-202;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
asterisk_16 = common {
|
asterisk_16 = common {
|
||||||
version = "16.1.1";
|
version = "16.13.0";
|
||||||
sha256 = "19bfvqmxphk2608jx7jghfy7rdbj1qj5vw2fyb0fq4xjvx919wmv";
|
sha256 = "01nja8hd6jk1966awc2vcz3hl46pvhi797k515q87vzmap1khlp9";
|
||||||
externals = {
|
externals = {
|
||||||
"externals_cache/pjproject-2.8.tar.bz2" = pjproject_2_8;
|
"externals_cache/pjproject-2.10.tar.bz2" = pjproject_2_10;
|
||||||
"addons/mp3" = mp3-202;
|
"addons/mp3" = mp3-202;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#asterisk-git = common {
|
asterisk_17 = common {
|
||||||
# version = "15-pre";
|
version = "17.7.0";
|
||||||
# sha256 = "...";
|
sha256 = "0lsglrh3l823200rmkay3pgy42k0fsij610s3s4vd3zv4jjb1g0s";
|
||||||
# externals = {
|
externals = {
|
||||||
# "externals_cache/pjproject-2.5.5.tar.bz2" = pjproject-255;
|
"externals_cache/pjproject-2.10.tar.bz2" = pjproject_2_10;
|
||||||
# # Note that these sounds are included with the release tarball. They are
|
"addons/mp3" = mp3-202;
|
||||||
# # provided here verbatim for the convenience of anyone wanting to build
|
};
|
||||||
# # Asterisk from other sources. Include in externals.
|
};
|
||||||
# "sounds/asterisk-core-sounds-en-gsm-1.5.tar.gz" = fetchurl {
|
|
||||||
# url = "http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.5.tar.gz";
|
|
||||||
# sha256 = "01xzbg7xy0c5zg7sixjw5025pvr4z64kfzi9zvx19im0w331h4cd";
|
|
||||||
# };
|
|
||||||
# "sounds/asterisk-moh-opsound-wav-2.03.tar.gz" = fetchurl {
|
|
||||||
# url = "http://downloads.asterisk.org/pub/telephony/sounds/releases/asterisk-moh-opsound-wav-2.03.tar.gz";
|
|
||||||
# sha256 = "449fb810d16502c3052fedf02f7e77b36206ac5a145f3dacf4177843a2fcb538";
|
|
||||||
# };
|
|
||||||
# # TODO: Sounds for other languages could be added here
|
|
||||||
# }
|
|
||||||
#}.overrideDerivation (_: {src = fetchgit {...}})
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ mapAliases ({
|
||||||
arduino_core = arduino-core; # added 2015-02-04
|
arduino_core = arduino-core; # added 2015-02-04
|
||||||
arora = throw "arora has been removed."; # added 2020-09-09
|
arora = throw "arora has been removed."; # added 2020-09-09
|
||||||
asciidocFull = asciidoc-full; # added 2014-06-22
|
asciidocFull = asciidoc-full; # added 2014-06-22
|
||||||
|
asterisk_15 = throw "Asterisk 15 is end of life and has been removed."; # added 2020-10-07
|
||||||
at_spi2_atk = at-spi2-atk; # added 2018-02-25
|
at_spi2_atk = at-spi2-atk; # added 2018-02-25
|
||||||
at_spi2_core = at-spi2-core; # added 2018-02-25
|
at_spi2_core = at-spi2-core; # added 2018-02-25
|
||||||
avldrums-lv2 = x42-avldrums; # added 2020-03-29
|
avldrums-lv2 = x42-avldrums; # added 2020-03-29
|
||||||
|
|
|
@ -16387,7 +16387,7 @@ in
|
||||||
|
|
||||||
inherit (callPackages ../servers/asterisk { })
|
inherit (callPackages ../servers/asterisk { })
|
||||||
asterisk asterisk-stable asterisk-lts
|
asterisk asterisk-stable asterisk-lts
|
||||||
asterisk_13 asterisk_15 asterisk_16;
|
asterisk_13 asterisk_16 asterisk_17;
|
||||||
|
|
||||||
asterisk-module-sccp = callPackage ../servers/asterisk/sccp { };
|
asterisk-module-sccp = callPackage ../servers/asterisk/sccp { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue