Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

asterisk_18: 18.17.1 -> 18.20.1, asterisk_20: 20.2.1 -> 20.5.1

Fixes CVE-2023-49294, CVE-2023-49786, CVE-2022-23537.

Changelogs:
https://github.com/asterisk/asterisk/releases/tag/18.20.1
https://github.com/asterisk/asterisk/releases/tag/18.20.0
https://github.com/asterisk/asterisk/releases/tag/18.19.0
https://github.com/asterisk/asterisk/releases/tag/18.18.1
https://github.com/asterisk/asterisk/releases/tag/18.18.0
https://github.com/asterisk/asterisk/releases/tag/20.5.0
https://github.com/asterisk/asterisk/releases/tag/20.4.0
https://github.com/asterisk/asterisk/releases/tag/20.3.1
https://github.com/asterisk/asterisk/releases/tag/20.3.0
(cherry picked from commit 1137e416f863310c005200dfbaa50eebd0a1889e)

authored by

Thomas Gerbet and committed by
github-actions[bot]
ddac4aa6 7731b6ad

+13 -36
+5 -24
pkgs/servers/asterisk/default.nix
··· 36 36 }: 37 37 38 38 let 39 - # remove when upgrading to pjsip >2.13 40 - pjsip_2_13_patches = [ 41 - (fetchpatch { 42 - name = "CVE-2022-23537.patch"; 43 - url = "https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1.patch"; 44 - sha256 = "sha256-7ueQCHIiJ7MLaWtR4+GmBc/oKaP+jmEajVnEYqiwLRA="; 45 - }) 46 - (fetchpatch { 47 - name = "CVE-2022-23547.patch"; 48 - url = "https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36.patch"; 49 - sha256 = "sha256-bpc8e8VAQpfyl5PX96G++6fzkFpw3Or1PJKNPKl7N5k="; 50 - }) 51 - (fetchpatch { 52 - name = "CVE-2023-27585.patch"; 53 - url = "https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5.patch"; 54 - hash = "sha256-+yyKKTKG2FnfyLWnc4S80vYtDzmiu9yRmuqb5eIulPg="; 55 - }) 56 - ]; 57 - 58 39 common = { version, sha256, externals, pjsip_patches ? [ ] }: stdenv.mkDerivation { 59 40 inherit version; 60 41 pname = "asterisk" ··· 160 141 }; 161 142 }; 162 143 163 - pjproject_2_13 = fetchurl 144 + pjproject_2_13_1 = fetchurl 164 145 { 165 - url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.13/pjproject-2.13.tar.bz2"; 166 - hash = "sha256-Zj93PUAct13KVR5taOWEbQdKq76wicaBTNHpHC0rICY="; 146 + url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.13.1/pjproject-2.13.1.tar.bz2"; 147 + hash = "sha256-cOBRvO+B9fGt4UVYAHQQwBsc2cUF7Pu1GRsjAF7BE1g="; 167 148 } // { 168 - pjsip_patches = pjsip_2_13_patches; 149 + pjsip_patches = [ ]; 169 150 }; 170 151 171 152 mp3-202 = fetchsvn { ··· 186 167 versions = lib.mapAttrs 187 168 (_: { version, sha256 }: 188 169 let 189 - pjsip = pjproject_2_13; 170 + pjsip = pjproject_2_13_1; 190 171 in 191 172 common { 192 173 inherit version sha256;
+8 -12
pkgs/servers/asterisk/versions.json
··· 1 1 { 2 - "asterisk_16": { 3 - "sha256": "f8448e8784df7fac019e459bf7c82529d80afe64ae97d73d40e6aa0e4fb39724", 4 - "version": "16.30.0" 5 - }, 6 2 "asterisk_18": { 7 - "sha256": "66f0e55d84f9e5bf4e79a56255d35a034448acce00d219c3bf4930b1ebb0e88e", 8 - "version": "18.17.1" 9 - }, 10 - "asterisk_19": { 11 - "sha256": "f0c56d1f8e39e0427455edfe25d24ff088c756bdc32dd1278c9f7a320815cbaa", 12 - "version": "19.8.0" 3 + "sha256": "ad7d01f58e5c5266e5b23cc385e6a3d32a656b93c1d4b4fb0082f3300012bd02", 4 + "version": "18.20.1" 13 5 }, 14 6 "asterisk_20": { 15 - "sha256": "df12e47000fbac42bb780bb06172aa8bb8ac26faf77cc9f95184695b0cec69c3", 16 - "version": "20.2.1" 7 + "sha256": "7d128f2a164e36fae4875058120ff026e7cd73f7701429fee4fa293f4fba4336", 8 + "version": "20.5.1" 9 + }, 10 + "asterisk_21": { 11 + "sha256": "8e7db886b70e808ade38ad060ccbbb49353031e4c2fa6dc4435bfbd79f082956", 12 + "version": "21.0.1" 17 13 } 18 14 }