From 96a2337bd4c48cda53ba9273e9531d7eb691c8f4 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 27 Sep 2026 12:41:59 +0200 Subject: [PATCH] package/asterisk: bump bundled pjsip to 2.17 Buildroot commit 7f48325de69ddaed921572edad875694a8154419 bumped the asterisk package from 22.9.0 to 22.10.1. This bump includes upstream commit https://github.com/asterisk/asterisk/commit/5d543ad80ce6ad8a697cbd6c1938565047d26a99 which bumped the bundled pjsip package to 2.17. To allow offline builds we download the pjsip tarball so we need to keep the version numbers in sync. The autobuilders logs show a download process: https://autobuild.buildroot.net/results/400/400e53158f11926446c11d22681eb8a9430caf1d/build-end.log checking for embedded pjproject (may have to download)... configuring [pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.17/pjproject-2.17.tar.bz2 to /home/autobuild/autobuild/instance-3/dl/asterisk/pjproject-2.17.tar.bz2 [pjproject] Verifying /home/autobuild/autobuild/instance-3/dl/asterisk/pjproject-2.17.tar.bz2 where the tarball was once stored in the configured download directory: --with-download-cache=$(ASTERISK_DL_DIR) to be used during later autobuilder runs. Fixes: 7f48325de69ddaed921572edad875694a8154419 ("package/asterisk: security bump to 22.10.1") Signed-off-by: Bernd Kuhls [Thomas: add comment in .mk file] Signed-off-by: Thomas Petazzoni --- package/asterisk/asterisk.hash | 2 +- package/asterisk/asterisk.mk | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package/asterisk/asterisk.hash b/package/asterisk/asterisk.hash index 35aa1282e8..1bd76ef865 100644 --- a/package/asterisk/asterisk.hash +++ b/package/asterisk/asterisk.hash @@ -2,7 +2,7 @@ sha256 373c98f4d4a1b923b42def0aee03f4e36aca9d1c244a8eeda646da8a97f89663 asterisk-22.10.1.tar.gz # Locally computed -sha256 633c3dc34ffb21af8ac9ee160245c9c174379391e35cace1b6c9f516a260f683 pjproject-2.16.tar.bz2 +sha256 04b2eb1f0f01aa0ad1945b167171843448a51aa6b7c3e806496d434f13a112b7 pjproject-2.17.tar.bz2 sha256 6775095bcd417d375faddc1f17cdd7706ad8aa9b9b02404990c4b0ee218ee379 libjwt-1.15.3.tar.gz # sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index b6b40645ee..1ea335412d 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -4,6 +4,8 @@ # ################################################################################ +# When bumping asterisk's version, verify that the versions of pjsip, +# libjwt and sounds below are still matching. ASTERISK_VERSION = 22.10.1 # Use the github mirror: it's an official mirror maintained by Digium, and # provides tarballs, which the main Asterisk git tree (behind Gerrit) does not. @@ -12,13 +14,13 @@ ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION)) # compilation with the external pjsip produces a non-working asterisk, which # segfaults. The reason behind this is unclear. # https://github.com/asterisk/asterisk/issues/671 -ASTERISK_PJSIP_URL = https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.16/ +ASTERISK_PJSIP_URL = https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.17/ ASTERISK_LIBJWT_URL = https://raw.githubusercontent.com/asterisk/third-party/master/libjwt/1.15.3/ ASTERISK_SOUNDS_BASE_URL = http://downloads.asterisk.org/pub/telephony/sounds/releases ASTERISK_EXTRA_DOWNLOADS = \ $(ASTERISK_SOUNDS_BASE_URL)/asterisk-core-sounds-en-gsm-1.6.1.tar.gz \ $(ASTERISK_SOUNDS_BASE_URL)/asterisk-moh-opsound-wav-2.03.tar.gz \ - $(ASTERISK_PJSIP_URL)/pjproject-2.16.tar.bz2 \ + $(ASTERISK_PJSIP_URL)/pjproject-2.17.tar.bz2 \ $(ASTERISK_LIBJWT_URL)/libjwt-1.15.3.tar.gz ASTERISK_LICENSE = GPL-2.0, BSD-3-Clause (SHA1, resample), BSD-4-Clause (db1-ast)