Skip to contentSkip to conversation

package/asterisk: bump to 20.7.0

PATCH Applied Waldemar Brodkorb 2 participants 2 messages Apr 14, 2024 – Apr 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/asterisk: bump to 20.7.0

See here for changes:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20-current.md

There is still an open issue reported upstream:
https://github.com/asterisk/asterisk/issues/671

But it seems it is not reproducible by the asterisk developers, so update the package so others can make use of it.

Use the external pjsip package, instead of the bundled one.

---
 package/asterisk/Config.in     |  2 ++
 package/asterisk/asterisk.hash |  2 +-
 package/asterisk/asterisk.mk   | 11 +++++++----
 3 files changed, 10 insertions(+), 5 deletions(-)
package/asterisk/Config.in +2 -0
index c52456f8fc..ba5a574042 100644
@@ -10,6 +10,8 @@ config BR2_PACKAGE_ASTERISK
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBEDIT
 	select BR2_PACKAGE_LIBILBC
+	select BR2_PACKAGE_LIBJWT
+	select BR2_PACKAGE_LIBPJSIP
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_SQLITE
 	select BR2_PACKAGE_UTIL_LINUX
package/asterisk/asterisk.hash +1 -1
index 246f4219aa..8cb5468249 100644
@@ -1,5 +1,5 @@
 # Locally computed
-sha256  9def260ac8745a5eac7aceabe1c22f84a283b7812f0eccd760f87ce9eb991d22  asterisk-20.5.2.tar.gz
+sha256  62adff44f5bc415627e16957e6bd528e1782a892e116ff261c46f96ca87c342b  asterisk-20.7.0.tar.gz
 
 # sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
 # sha256 locally computed
package/asterisk/asterisk.mk +7 -4
index d1f3ea82d3..33d2e78bcf 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-ASTERISK_VERSION = 20.5.2
+ASTERISK_VERSION = 20.7.0
 # 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.
 ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION))
@@ -27,7 +27,7 @@ ASTERISK_SELINUX_MODULES = asterisk
 
 # For patches 0002 and 0003
 ASTERISK_AUTORECONF = YES
-ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson
+ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson -Ithird-party/libjwt
 
 ASTERISK_DEPENDENCIES = \
 	host-asterisk \
@@ -35,6 +35,8 @@ ASTERISK_DEPENDENCIES = \
 	jansson \
 	libcurl \
 	libedit \
+	libjwt \
+	libpjsip \
 	libxml2 \
 	sqlite \
 	util-linux
@@ -89,10 +91,11 @@ ASTERISK_CONF_OPTS = \
 	--with-jansson \
 	--with-libcurl \
 	--with-ilbc \
+	--with-libjwt="$(STAGING_DIR)/usr" \
 	--with-libxml2 \
 	--with-libedit="$(STAGING_DIR)/usr" \
-	--with-pjproject \
-	--with-pjproject-bundled \
+	--without-pjproject-bundled \
+	--with-pjproject="$(STAGING_DIR)/usr" \
 	--with-sqlite3="$(STAGING_DIR)/usr" \
 	--with-sounds-cache=$(ASTERISK_DL_DIR)
 
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Waldemar Brodkorb

See here for changes:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20-current.md

There is still an open issue reported upstream:
https://github.com/asterisk/asterisk/issues/671

Quoted 6 lines

But it seems it is not reproducible by the asterisk developers, so update the package so others can make use of it.

Use the external pjsip package, instead of the bundled one.

Applied to master, thanks.

Regards,
Arnout

Quoted 65 lines
---
  package/asterisk/Config.in     |  2 ++
  package/asterisk/asterisk.hash |  2 +-
  package/asterisk/asterisk.mk   | 11 +++++++----
  3 files changed, 10 insertions(+), 5 deletions(-)
package/asterisk/Config.in +2 -0
index c52456f8fc..ba5a574042 100644
@@ -10,6 +10,8 @@ config BR2_PACKAGE_ASTERISK
  	select BR2_PACKAGE_LIBCURL
  	select BR2_PACKAGE_LIBEDIT
  	select BR2_PACKAGE_LIBILBC
+	select BR2_PACKAGE_LIBJWT
+	select BR2_PACKAGE_LIBPJSIP
  	select BR2_PACKAGE_LIBXML2
  	select BR2_PACKAGE_SQLITE
  	select BR2_PACKAGE_UTIL_LINUX
package/asterisk/asterisk.hash +1 -1
index 246f4219aa..8cb5468249 100644
@@ -1,5 +1,5 @@
  # Locally computed
-sha256  9def260ac8745a5eac7aceabe1c22f84a283b7812f0eccd760f87ce9eb991d22  asterisk-20.5.2.tar.gz
+sha256  62adff44f5bc415627e16957e6bd528e1782a892e116ff261c46f96ca87c342b  asterisk-20.7.0.tar.gz
 
  # sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
  # sha256 locally computed
package/asterisk/asterisk.mk +4 -2
index d1f3ea82d3..33d2e78bcf 100644
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-ASTERISK_VERSION = 20.5.2
+ASTERISK_VERSION = 20.7.0
  # 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.
  ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION))
@@ -27,7 +27,7 @@ ASTERISK_SELINUX_MODULES = asterisk
 
  # For patches 0002 and 0003
  ASTERISK_AUTORECONF = YES
-ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson
+ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson -Ithird-party/libjwt
 
  ASTERISK_DEPENDENCIES = \
  	host-asterisk \
@@ -35,6 +35,8 @@ ASTERISK_DEPENDENCIES = \
  	jansson \
  	libcurl \
  	libedit \
+	libjwt \
+	libpjsip \
  	libxml2 \
  	sqlite \
  	util-linux
@@ -89,10 +91,11 @@ ASTERISK_CONF_OPTS = \
  	--with-jansson \
  	--with-libcurl \
  	--with-ilbc \

package/asterisk/asterisk.mk ASTERISK_CONF_OPTS = \ · line 101

Quoted 10 lines
package/asterisk/asterisk.mk +3 -2
+	--with-libjwt="$(STAGING_DIR)/usr" \
  	--with-libxml2 \
  	--with-libedit="$(STAGING_DIR)/usr" \
-	--with-pjproject \
-	--with-pjproject-bundled \
+	--without-pjproject-bundled \
+	--with-pjproject="$(STAGING_DIR)/usr" \
  	--with-sqlite3="$(STAGING_DIR)/usr" \
  	--with-sounds-cache=$(ASTERISK_DL_DIR)
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot