* [Buildroot] [PATCH 2/2 v2] package/asterisk: bump to 20.6.0
@ 2024-02-02 15:58 Waldemar Brodkorb
2024-02-03 10:31 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Brodkorb @ 2024-02-02 15:58 UTC (permalink / raw)
To: buildroot
See here for changes:
https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20-current.md
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
v1->v2:
- use separate libjwt package instead of bundled one, suggested by
Peter Korsgaard
---
package/asterisk/Config.in | 1 +
package/asterisk/asterisk.hash | 2 +-
package/asterisk/asterisk.mk | 6 ++++--
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/package/asterisk/Config.in b/package/asterisk/Config.in
index c52456f8fc..662f070dac 100644
--- a/package/asterisk/Config.in
+++ b/package/asterisk/Config.in
@@ -10,6 +10,7 @@ config BR2_PACKAGE_ASTERISK
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBEDIT
select BR2_PACKAGE_LIBILBC
+ select BR2_PACKAGE_LIBJWT
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_UTIL_LINUX
diff --git a/package/asterisk/asterisk.hash b/package/asterisk/asterisk.hash
index 246f4219aa..d50955dd2b 100644
--- a/package/asterisk/asterisk.hash
+++ b/package/asterisk/asterisk.hash
@@ -1,5 +1,5 @@
# Locally computed
-sha256 9def260ac8745a5eac7aceabe1c22f84a283b7812f0eccd760f87ce9eb991d22 asterisk-20.5.2.tar.gz
+sha256 088dbc08916e21528dba364f5452b2090b066dbba4548b32ec10af138d4b442f asterisk-20.6.0.tar.gz
# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
# sha256 locally computed
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index d1f3ea82d3..869e4128ff 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -4,7 +4,7 @@
#
################################################################################
-ASTERISK_VERSION = 20.5.2
+ASTERISK_VERSION = 20.6.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,7 @@ ASTERISK_DEPENDENCIES = \
jansson \
libcurl \
libedit \
+ libjwt \
libxml2 \
sqlite \
util-linux
@@ -89,6 +90,7 @@ ASTERISK_CONF_OPTS = \
--with-jansson \
--with-libcurl \
--with-ilbc \
+ --with-libjwt="$(STAGING_DIR)/usr" \
--with-libxml2 \
--with-libedit="$(STAGING_DIR)/usr" \
--with-pjproject \
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 2/2 v2] package/asterisk: bump to 20.6.0
2024-02-02 15:58 [Buildroot] [PATCH 2/2 v2] package/asterisk: bump to 20.6.0 Waldemar Brodkorb
@ 2024-02-03 10:31 ` Peter Korsgaard
2024-02-04 7:40 ` Waldemar Brodkorb
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2024-02-03 10:31 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
>>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:
> See here for changes:
> https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20-current.md
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
v1-> v2:
> - use separate libjwt package instead of bundled one, suggested by
> Peter Korsgaard
> ---
> package/asterisk/Config.in | 1 +
> package/asterisk/asterisk.hash | 2 +-
> package/asterisk/asterisk.mk | 6 ++++--
> 3 files changed, 6 insertions(+), 3 deletions(-)
> diff --git a/package/asterisk/Config.in b/package/asterisk/Config.in
> index c52456f8fc..662f070dac 100644
> --- a/package/asterisk/Config.in
> +++ b/package/asterisk/Config.in
> @@ -10,6 +10,7 @@ config BR2_PACKAGE_ASTERISK
> select BR2_PACKAGE_LIBCURL
> select BR2_PACKAGE_LIBEDIT
> select BR2_PACKAGE_LIBILBC
> + select BR2_PACKAGE_LIBJWT
> select BR2_PACKAGE_LIBXML2
> select BR2_PACKAGE_SQLITE
> select BR2_PACKAGE_UTIL_LINUX
> diff --git a/package/asterisk/asterisk.hash b/package/asterisk/asterisk.hash
> index 246f4219aa..d50955dd2b 100644
> --- a/package/asterisk/asterisk.hash
> +++ b/package/asterisk/asterisk.hash
> @@ -1,5 +1,5 @@
> # Locally computed
> -sha256 9def260ac8745a5eac7aceabe1c22f84a283b7812f0eccd760f87ce9eb991d22 asterisk-20.5.2.tar.gz
> +sha256 088dbc08916e21528dba364f5452b2090b066dbba4548b32ec10af138d4b442f asterisk-20.6.0.tar.gz
> # sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
> # sha256 locally computed
> diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
> index d1f3ea82d3..869e4128ff 100644
> --- a/package/asterisk/asterisk.mk
> +++ b/package/asterisk/asterisk.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
> -ASTERISK_VERSION = 20.5.2
> +ASTERISK_VERSION = 20.6.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
Why do we still need to point autoreconf to the bundle libjwt?
Even worse, I see the following during the configure step:
checking for embedded pjproject (may have to download)... configuring
[pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.13.1/pjproject-2.13.1.tar.bz2 to /tmp/pjproject-2.13.1.tar.bz2
[pjproject] Verifying /tmp/pjproject-2.13.1.tar.bz2
[pjproject] Verify successful
[pjproject] Verifying /tmp/pjproject-2.13.1.tar.bz2
[pjproject] Verify successful
[pjproject] Unpacking /tmp/pjproject-2.13.1.tar.bz2
We don't want packages to download stuff behind our back. Can we use an
external pjproject?
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 2/2 v2] package/asterisk: bump to 20.6.0
2024-02-03 10:31 ` Peter Korsgaard
@ 2024-02-04 7:40 ` Waldemar Brodkorb
0 siblings, 0 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2024-02-04 7:40 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: buildroot
Hi Peter,
Peter Korsgaard wrote,
> >>>>> "Waldemar" == Waldemar Brodkorb <wbx@openadk.org> writes:
>
> > See here for changes:
> > https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-20-current.md
>
> > Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> > ---
> v1-> v2:
> > - use separate libjwt package instead of bundled one, suggested by
> > Peter Korsgaard
> > ---
> > package/asterisk/Config.in | 1 +
> > package/asterisk/asterisk.hash | 2 +-
> > package/asterisk/asterisk.mk | 6 ++++--
> > 3 files changed, 6 insertions(+), 3 deletions(-)
>
> > diff --git a/package/asterisk/Config.in b/package/asterisk/Config.in
> > index c52456f8fc..662f070dac 100644
> > --- a/package/asterisk/Config.in
> > +++ b/package/asterisk/Config.in
> > @@ -10,6 +10,7 @@ config BR2_PACKAGE_ASTERISK
> > select BR2_PACKAGE_LIBCURL
> > select BR2_PACKAGE_LIBEDIT
> > select BR2_PACKAGE_LIBILBC
> > + select BR2_PACKAGE_LIBJWT
> > select BR2_PACKAGE_LIBXML2
> > select BR2_PACKAGE_SQLITE
> > select BR2_PACKAGE_UTIL_LINUX
> > diff --git a/package/asterisk/asterisk.hash b/package/asterisk/asterisk.hash
> > index 246f4219aa..d50955dd2b 100644
> > --- a/package/asterisk/asterisk.hash
> > +++ b/package/asterisk/asterisk.hash
> > @@ -1,5 +1,5 @@
> > # Locally computed
> > -sha256 9def260ac8745a5eac7aceabe1c22f84a283b7812f0eccd760f87ce9eb991d22 asterisk-20.5.2.tar.gz
> > +sha256 088dbc08916e21528dba364f5452b2090b066dbba4548b32ec10af138d4b442f asterisk-20.6.0.tar.gz
>
> > # sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
> > # sha256 locally computed
> > diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
> > index d1f3ea82d3..869e4128ff 100644
> > --- a/package/asterisk/asterisk.mk
> > +++ b/package/asterisk/asterisk.mk
> > @@ -4,7 +4,7 @@
> > #
> > ################################################################################
>
> > -ASTERISK_VERSION = 20.5.2
> > +ASTERISK_VERSION = 20.6.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
>
> Why do we still need to point autoreconf to the bundle libjwt?
Otherwise the generated configure does not work.
> Even worse, I see the following during the configure step:
>
> checking for embedded pjproject (may have to download)... configuring
> [pjproject] Downloading https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.13.1/pjproject-2.13.1.tar.bz2 to /tmp/pjproject-2.13.1.tar.bz2
> [pjproject] Verifying /tmp/pjproject-2.13.1.tar.bz2
> [pjproject] Verify successful
> [pjproject] Verifying /tmp/pjproject-2.13.1.tar.bz2
> [pjproject] Verify successful
> [pjproject] Unpacking /tmp/pjproject-2.13.1.tar.bz2
>
> We don't want packages to download stuff behind our back. Can we use an
> external pjproject?
I tried with the existing libpjsip in the tree, but asterisk is
segfauting with my config:
Asterisk Ready.
asterisk: ../src/pjsip/sip_transport.c:296: get_tpname: Assertion
`!"Invalid transport type!"' failed.
Thread 28 "asterisk" received signal SIGABRT, Aborted.
Unfortunately the external libpjsip 2.14 does not work well with
Asterisk.
What can we do about it?
best regards
Waldemar
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-04 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02 15:58 [Buildroot] [PATCH 2/2 v2] package/asterisk: bump to 20.6.0 Waldemar Brodkorb
2024-02-03 10:31 ` Peter Korsgaard
2024-02-04 7:40 ` Waldemar Brodkorb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox