feed/telephony.git
10 months agoMerge pull request #850 from micmac1/23.05-ast-20.5.2
Jiri Slachta [Fri, 5 Jan 2024 22:00:46 +0000 (23:00 +0100)]
Merge pull request #850 from micmac1/23.05-ast-20.5.2

[23.05] asterisk + pjproject: bump for security

10 months agoasterisk: bump to 20.5.2 850/head
Sebastian Kemper [Fri, 29 Dec 2023 08:03:00 +0000 (09:03 +0100)]
asterisk: bump to 20.5.2

- Resolves GHSA-98rc-4j27-74hh, GHSA-hxj9-xwr8-w8pq, GHSA-5743-x3p5-3rg7
  and GHSA-8857-hfmw-vg8f
- patches refreshed
- patch 180-app_queue_time_t.patch added to fix new warnings, sent
  upstream (see [1])
- 180-res_crypto.c-Avoid-using-the-non-portable-ALLPERMS-m.patch and
  190-chan_iax2.c-Avoid-crash-with-IAX2-switch-support.patch removed as
  they're included in upstream release tar ball.

[1] https://github.com/asterisk/asterisk/pull/516

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 4e4b2817944ec2c03a78b6ab2e7823a86f713d59)

10 months agoasterisk: Add PKG_CPE_ID
Andreas Gnau [Wed, 30 Aug 2023 16:35:51 +0000 (18:35 +0200)]
asterisk: Add PKG_CPE_ID

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
(cherry picked from commit 387ae7be1ea4dfdf82e25994a709e83febd5ada8)

10 months agopjproject: sync patches with asterisk 20.5.2
Sebastian Kemper [Fri, 29 Dec 2023 08:01:10 +0000 (09:01 +0100)]
pjproject: sync patches with asterisk 20.5.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 6643627656e1b66654bb0ab1a744b50dbec9d2b6)

10 months agopjproject: Add PKG_CPE_ID
Andreas Gnau [Wed, 30 Aug 2023 16:36:14 +0000 (18:36 +0200)]
pjproject: Add PKG_CPE_ID

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
(cherry picked from commit 2b3ae318e46bd92b6bbf751f2340d37be87d3065)

11 months agoMerge pull request #845 from micmac1/fs-1.10.11-23.05
micmac1 [Sun, 24 Dec 2023 13:43:47 +0000 (14:43 +0100)]
Merge pull request #845 from micmac1/fs-1.10.11-23.05

[23.05] freeswitch: bump to 1.10.11

11 months agofreeswitch: bump to 1.10.11 845/head
Sebastian Kemper [Sat, 23 Dec 2023 22:40:37 +0000 (23:40 +0100)]
freeswitch: bump to 1.10.11

See [1].

[1] https://github.com/signalwire/freeswitch/security/advisories/GHSA-39gv-hq72-j6m6

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 390b0aabe6bfaacf5f397af831bebffe7c2e214d)

11 months agosofia-sip: bump to 1.13.17
Sebastian Kemper [Sat, 23 Dec 2023 22:38:30 +0000 (23:38 +0100)]
sofia-sip: bump to 1.13.17

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 2ec7aaca9c32ad4924d718eb303c20e0eda49f58)

13 months agoMerge pull request #832 from micmac1/fs-vpx-CVE-2023-5217-CVE-2023-44488-23
micmac1 [Sat, 7 Oct 2023 08:11:42 +0000 (10:11 +0200)]
Merge pull request #832 from micmac1/fs-vpx-CVE-2023-5217-CVE-2023-44488-23

[23.05] freeswitch: add patches for CVEs in bundled libvpx

13 months agofreeswitch: add patches for CVEs in bundled libvpx 832/head
Sebastian Kemper [Wed, 4 Oct 2023 17:26:07 +0000 (19:26 +0200)]
freeswitch: add patches for CVEs in bundled libvpx

CVE-2023-5217
CVE-2023-44488

Patches are for bundled libvpx, see [1].

[1] https://github.com/signalwire/freeswitch/issues/2258

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 26e09b2914af221e477a65f1ec92db48b9a9979a)

15 months agoMerge pull request #827 from micmac1/fs-1.10.10-23.05
micmac1 [Fri, 25 Aug 2023 17:26:43 +0000 (19:26 +0200)]
Merge pull request #827 from micmac1/fs-1.10.10-23.05

[23.05] freeswitch: bump to 1.10.10

15 months agofreeswitch: bump to 1.10.10 827/head
Sebastian Kemper [Fri, 18 Aug 2023 12:23:53 +0000 (14:23 +0200)]
freeswitch: bump to 1.10.10

- bump to 1.10.10
- remove TARGET_CFLAGS workarounds
- remove BROKEN from modules av & python3
- remove 500-libshout-deprecated.patch
- refresh other patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 999a8a9ff1df8af205dcb0d43603f316334b6592)

15 months agosignalwire-client-c: bump to 2.0.0
Sebastian Kemper [Fri, 18 Aug 2023 12:23:41 +0000 (14:23 +0200)]
signalwire-client-c: bump to 2.0.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit bd1a8deebe7060a80461047637b4c04ed3e096bf)

15 months agolibks: bump to 2.0.2
Sebastian Kemper [Fri, 18 Aug 2023 12:23:30 +0000 (14:23 +0200)]
libks: bump to 2.0.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 04f03b98a52fc52b12f7ccf2f706667bcadee927)

15 months agosofia-sip: bump to 1.13.16
Sebastian Kemper [Fri, 18 Aug 2023 10:38:12 +0000 (12:38 +0200)]
sofia-sip: bump to 1.13.16

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 4cce5ebdd0c3447c68052e44a985e3030bfd1315)

15 months agospandsp3: bump to commit from June 16th
Sebastian Kemper [Fri, 18 Aug 2023 10:36:41 +0000 (12:36 +0200)]
spandsp3: bump to commit from June 16th

Same commit is used by freeswitch 1.10.10 for Windows.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit c18640bc0f46374b20e9a92981abd2fdc295c1dc)

16 months agoMerge pull request #823 from micmac1/23.05-ast-iax2-crash2
micmac1 [Sun, 23 Jul 2023 15:58:58 +0000 (17:58 +0200)]
Merge pull request #823 from micmac1/23.05-ast-iax2-crash2

[23.05] asterisk: add upstream patch against iax2 crash

16 months agoasterisk: add upstream patch against iax2 crash 823/head
Sebastian Kemper [Sun, 23 Jul 2023 10:26:21 +0000 (12:26 +0200)]
asterisk: add upstream patch against iax2 crash

Reported by Sergio in issue #821. This adds upstream patch for the
crash. See upstream issue [1] for details.

[1] https://github.com/asterisk/asterisk/issues/180

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 3d063acb25d745479df94d7731b90773d52b8e8a)

16 months agoMerge pull request #818 from micmac1/pj2131-23.05
micmac1 [Sun, 9 Jul 2023 14:17:28 +0000 (16:17 +0200)]
Merge pull request #818 from micmac1/pj2131-23.05

[23.05] pjproject: bump to 2.13.1, asterisk: bump to 20.3.0

16 months agopjproject: bump to 2.13.1 818/head
Sebastian Kemper [Sat, 8 Jul 2023 08:39:36 +0000 (10:39 +0200)]
pjproject: bump to 2.13.1

1. add "/refs/tags" to PKG_SOURCE_URL, otherwise the downloaded file is
   broken now
2. bump minor version, includes security related fixes, see [1], [2] and
   [3]

[1] https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w
[2] https://github.com/pjsip/pjproject/security/advisories/GHSA-cxwq-5g9x-x7fr
[3] https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 73526e5661a3c357edeeeac407a7560b9d485a54)

16 months agoasterisk: bump to 20.3.0
Sebastian Kemper [Wed, 7 Jun 2023 21:51:43 +0000 (23:51 +0200)]
asterisk: bump to 20.3.0

- bump to 20.3.0
- new modules: app-broadcast, app-if, app-signal, func-export,
  res-pjsip-aoc and res-pjsip-rfc3329
- remove "--without-vpb", not available anymore
- add configuration file for res-http-media-cache
- drop libsrtp2 from res-pjproject dependencies, see changes in
  pjproject package
- refresh patches
- add upstream patch
  180-res_crypto.c-Avoid-using-the-non-portable-ALLPERMS-m.patch to fix
  build [1]

[1] https://github.com/asterisk/asterisk/issues/149

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 945b7ea1f0ba297c51753cf625a67923a231da10)

16 months agopjproject: bump to 2.13
Sebastian Kemper [Wed, 7 Jun 2023 21:38:52 +0000 (23:38 +0200)]
pjproject: bump to 2.13

- bump to 2.13
- new option "--disable-libsrtp" now available so we can get rid of
  dependency on libsrtp2 (asterisk's SRTP support doesn't depend on pjproject)
- new option "--disable-upnp"
- 0007-execinfo.patch not required anymore, pjproject now checks for
  __GLIBC__
- sync patches with asterisk 20.3.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 2e9e9b838642a1129d130912d3f70997ae5a1fd7)

18 months agoMerge pull request #814 from micmac1/kam-py-3.11-patches-23.05
micmac1 [Tue, 30 May 2023 21:04:22 +0000 (23:04 +0200)]
Merge pull request #814 from micmac1/kam-py-3.11-patches-23.05

[23.05] kamailio: add patches for app_python3

18 months agoMerge pull request #813 from micmac1/fs-py-3.11-broken-23.05b
micmac1 [Tue, 30 May 2023 21:03:37 +0000 (23:03 +0200)]
Merge pull request #813 from micmac1/fs-py-3.11-broken-23.05b

[23.05] freeswitch: mark mod-python3 BROKEN

18 months agokamailio: add patches for app_python3 814/head
Sebastian Kemper [Mon, 29 May 2023 17:56:54 +0000 (19:56 +0200)]
kamailio: add patches for app_python3

Python was updated to 3.11 and app_python3 doesn't compile anymore.
This commit adds three upstream patches to resolve this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 4483312785de91630765abaa3c8ef7d223f6dfee)

18 months agofreeswitch: mark mod-python3 BROKEN 813/head
Sebastian Kemper [Mon, 29 May 2023 17:53:34 +0000 (19:53 +0200)]
freeswitch: mark mod-python3 BROKEN

mod-python3 is not compatible with Python 3.11 currently, mark it
BROKEN.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 2d4c2d2361314fe622c114a03dc8caa0b802505f)

18 months agoMerge pull request #810 from micmac1/fs-musl-1.2.4
micmac1 [Fri, 19 May 2023 08:45:34 +0000 (10:45 +0200)]
Merge pull request #810 from micmac1/fs-musl-1.2.4

freeswitch: fix compile against musl-1.2.4

18 months agofreeswitch: fix compile against musl-1.2.4 810/head
Sebastian Kemper [Thu, 18 May 2023 23:00:12 +0000 (01:00 +0200)]
freeswitch: fix compile against musl-1.2.4

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
18 months agodahdi-linux: add multiple patch fixing compilation warning
Christian Marangi [Fri, 12 May 2023 18:27:48 +0000 (20:27 +0200)]
dahdi-linux: add multiple patch fixing compilation warning

Add multiple patch fixing compilation warning and obvius code bug.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agortpengine: add patch fixing compilation warning for kernel module
Christian Marangi [Fri, 12 May 2023 17:41:14 +0000 (19:41 +0200)]
rtpengine: add patch fixing compilation warning for kernel module

Add patch fixing compilation warning for kernel module.
Always dynamically allocate buffer for proc_control_read_write.
Fix compilation warning:
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c: In function 'proc_control_read_write':
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c:3573:1: error: the frame size of 1272 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
 3573 | }
      | ^

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
20 months agoMerge pull request #807 from micmac1/ci-up
micmac1 [Wed, 29 Mar 2023 18:18:27 +0000 (20:18 +0200)]
Merge pull request #807 from micmac1/ci-up

CI: sync up with changes in packages repo

20 months agoCI: sync up with changes in packages repo 807/head
Sebastian Kemper [Fri, 24 Mar 2023 09:29:18 +0000 (10:29 +0100)]
CI: sync up with changes in packages repo

Catch up with the changes in the packages repository. All changes are
manual cherry picks from the packages repo and listed below.

ci: update github actions to v3

Update checkout and upload-artifact action to v3 to mute nodejs
deprecation warning.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 52570d4242822e3db678f5484c2ca3e72f485d52)

CI: deprecate $(AUTORELEASE) via comments

Autorelease causes some issues like heavy bandwidth usage as well as
non-deterministic package releases whenever someone doesn't use the full
git log.

With this comment all modified packages are checked and if they use
the autorelease feature, kindly comment to the user to change that.

Signed-off-by: Paul Spooren <paul.spooren@rhebo.com>
[ move check to separate workflow to handle ci limitation ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 61d59fd54254b97218aa4e861b1f933d5c5e0bc4)

ci: only comment AUTORELEASE deprecation if exists

If it doesn't exists, don't confuse the contributors.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 75ff4ba358aa0357f0af62cb980568bdc8d390a1)

github-ci: error on any shell errors

Enable `errexit` and `nounset` [POSIX shell options][1]
in `.github/workflows/entrypoint.sh` so that the script fails
if any command within the script fails.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799//utilities/V3_chap02.html#set

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Fixes: https://github.com/openwrt/packages/issues/19953
Signed-off-by: Alois Klink <alois@aloisklink.com>
(cherry picked from commit 18d3c529fa4ab8dafcf6c147cf3cb55792d8ca10)

CI: update build architectures

Removed arc_archs - archs38 was marked as source-only [1].
Renamed powerpc_8540 to powerpc_8548 [2].

1. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c01641bcc7236d2e2de3ea65444b0cf2898df351
2. https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2cad88b99fdae9766de84e6c1cb56f111eb53748

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 29041e8f8eb42dcd8eee03602348b39dbf9d0c70)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agoMerge pull request #806 from dhewg/buildflags
micmac1 [Fri, 24 Mar 2023 09:13:45 +0000 (10:13 +0100)]
Merge pull request #806 from dhewg/buildflags

kamailio: refactor to use PKG_BUILD_FLAGS:=no-mips16

20 months agoMerge pull request #802 from cotequeiroz/baresip
micmac1 [Fri, 24 Mar 2023 09:10:49 +0000 (10:10 +0100)]
Merge pull request #802 from cotequeiroz/baresip

baresip: fix parallel build

20 months agoMerge pull request #805 from micmac1/sccp-autoconf-2.70
micmac1 [Fri, 24 Mar 2023 09:03:33 +0000 (10:03 +0100)]
Merge pull request #805 from micmac1/sccp-autoconf-2.70

asterisk-chan-sccp: autoconf fixes

20 months agokamailio: refactor to use PKG_BUILD_FLAGS:=no-mips16 806/head
Andre Heider [Thu, 23 Mar 2023 08:49:33 +0000 (09:49 +0100)]
kamailio: refactor to use PKG_BUILD_FLAGS:=no-mips16

See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
20 months agoasterisk-chan-sccp: autoconf fixes 805/head
Sebastian Kemper [Sat, 18 Mar 2023 16:42:35 +0000 (17:42 +0100)]
asterisk-chan-sccp: autoconf fixes

Since OpenWrt updated autoconf to 2.71 configure fails, because
"$ac_dir" is now empty when configure attempts to run
"./tools/versioncheck". With previous autoconf "$ac_dir" contained
"autoconf" at this point in the script.

As a workaround "$ac_dir" is replaced with "$ac_aux_dir", which
incidentally contains "autoconf".

Also a build dependency is added for gettext-full, as it provides
iconv.m4. Previously this was provided by libiconv, but not anymore.
Without iconv.m4 autoreconf fails.

Some patches were refreshed to allow CI to pass.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agoMerge pull request #804 from micmac1/fs-1109
micmac1 [Fri, 3 Mar 2023 16:17:42 +0000 (17:17 +0100)]
Merge pull request #804 from micmac1/fs-1109

freeswitch: bump to 1.10.9

20 months agofreeswitch: bump to 1.10.9 804/head
Sebastian Kemper [Thu, 2 Mar 2023 19:11:57 +0000 (20:11 +0100)]
freeswitch: bump to 1.10.9

ZRTP support removed as it was dropped upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agospandsp3: bump to latest commit
Sebastian Kemper [Thu, 2 Mar 2023 19:10:58 +0000 (20:10 +0100)]
spandsp3: bump to latest commit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agosofia-sip: bump to 1.13.14
Sebastian Kemper [Thu, 2 Mar 2023 19:10:04 +0000 (20:10 +0100)]
sofia-sip: bump to 1.13.14

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agolibks: bump to 1.8.2
Sebastian Kemper [Thu, 2 Mar 2023 19:09:02 +0000 (20:09 +0100)]
libks: bump to 1.8.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
21 months agoMerge pull request #803 from cotequeiroz/OpenSSL3
micmac1 [Sun, 12 Feb 2023 17:33:38 +0000 (18:33 +0100)]
Merge pull request #803 from cotequeiroz/OpenSSL3

freeswitch,coturn: Prepare for OpenSSL 3.0 upgrade

21 months agobaresip: fix parallel build 802/head
Eneas U de Queiroz [Fri, 10 Feb 2023 11:30:44 +0000 (08:30 -0300)]
baresip: fix parallel build

Include an upstream patch to fix random parallel build failures, such
as:

  CC [M]  build-arm/modules/ctrl_dbus/ctrl_dbus.o
modules/ctrl_dbus/ctrl_dbus.c:69:10: fatal error: baresipbus.h: No such
file or directory
   69 | #include "baresipbus.h"
      |          ^~~~~~~~~~~~~~

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
21 months agocoturn: update to 4.6.1 803/head
Eneas U de Queiroz [Thu, 9 Feb 2023 18:27:00 +0000 (15:27 -0300)]
coturn: update to 4.6.1

Added a patch from Gentoo that brings compatiblity with OpenSSL 3.0.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
21 months agofreeswitch: allow building with OpenSSL 3.0
Eneas U de Queiroz [Thu, 9 Feb 2023 18:32:06 +0000 (15:32 -0300)]
freeswitch: allow building with OpenSSL 3.0

Add -Wno-error=deprecated-declarations to CFLAGS to allow usage of
deprecated API.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
22 months agoMerge pull request #797 from micmac1/rtpe-lws-openssl
Jiri Slachta [Mon, 9 Jan 2023 13:16:47 +0000 (14:16 +0100)]
Merge pull request #797 from micmac1/rtpe-lws-openssl

rtpengine: update libwebsockets dependency

22 months agortpengine: update libwebsockets dependency 797/head
Sebastian Kemper [Mon, 9 Jan 2023 11:04:46 +0000 (12:04 +0100)]
rtpengine: update libwebsockets dependency

The rtpengine daemon requires lws_get_ssl(). This function is not
available in libwebsockets-mbedtls. This commit updates the dependency
to libwebsockets-openssl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 months agoMerge pull request #795 from micmac1/sof-1.13.11
micmac1 [Fri, 30 Dec 2022 19:11:21 +0000 (20:11 +0100)]
Merge pull request #795 from micmac1/sof-1.13.11

sofia-sip: bump to 1.13.11

23 months agosofia-sip: bump to 1.13.11 795/head
Sebastian Kemper [Thu, 29 Dec 2022 12:16:12 +0000 (13:16 +0100)]
sofia-sip: bump to 1.13.11

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 months agoMerge pull request #791 from micmac1/ast-20.0.1
Jiri Slachta [Fri, 2 Dec 2022 19:12:15 +0000 (20:12 +0100)]
Merge pull request #791 from micmac1/ast-20.0.1

asterisk: bump to 20.0.1

23 months agoasterisk: bump to 20.0.1 791/head
Sebastian Kemper [Fri, 2 Dec 2022 17:15:23 +0000 (18:15 +0100)]
asterisk: bump to 20.0.1

Fixes

AST-2022-007
AST-2022-008
AST-2022-009

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
23 months agopjproject: backport security fixes from 2.13
Sebastian Kemper [Fri, 2 Dec 2022 17:10:38 +0000 (18:10 +0100)]
pjproject: backport security fixes from 2.13

Backports two security fixes (c4d3498 and 450baca) from pjproject 2.13.
Source: asterisk 20.0.1.

Also drop AUTORELEASE as OpenWrt project wants to get rid of it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #790 from micmac1/init-return
micmac1 [Sat, 19 Nov 2022 07:40:33 +0000 (08:40 +0100)]
Merge pull request #790 from micmac1/init-return

Treewide: Use return in init scripts instead of exit

2 years agortpproxy: use return in init script 790/head
Sebastian Kemper [Tue, 8 Nov 2022 21:19:17 +0000 (22:19 +0100)]
rtpproxy: use return in init script

"check_ipaddr()" & "start_service()" are functions, hence "return"
should be used instead of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agokamailio: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 21:01:01 +0000 (22:01 +0100)]
kamailio: use return in init script

"check_listen()" & "start_service()" are functions, hence "return"
should be used instead of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agofreeswitch: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 20:19:19 +0000 (21:19 +0100)]
freeswitch: use return in init script

"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agocoturn: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 20:12:48 +0000 (21:12 +0100)]
coturn: use return in init script

"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agobaresip: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 20:10:52 +0000 (21:10 +0100)]
baresip: use return in init script

"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoasterisk: use return in init script
Sebastian Kemper [Tue, 8 Nov 2022 20:08:16 +0000 (21:08 +0100)]
asterisk: use return in init script

"start_service()" is a function, hence "return" should be used instead
of "exit".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #789 from micmac1/fs-libshout-deprecated
micmac1 [Tue, 8 Nov 2022 18:00:31 +0000 (19:00 +0100)]
Merge pull request #789 from micmac1/fs-libshout-deprecated

freeswitch: workaround mod-shout compile failure

2 years agofreeswitch: workaround mod-shout compile failure 789/head
Sebastian Kemper [Mon, 7 Nov 2022 21:07:50 +0000 (22:07 +0100)]
freeswitch: workaround mod-shout compile failure

The recent libshout update causes compile failures due to deprecation.
This works around it. Can be removed once issue is fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #785 from micmac1/ast20
Jiri Slachta [Thu, 20 Oct 2022 04:04:57 +0000 (06:04 +0200)]
Merge pull request #785 from micmac1/ast20

asterisk: bump to 20.0.0 LTS

2 years agoasterisk: bump to 20.0.0 LTS 785/head
Sebastian Kemper [Wed, 19 Oct 2022 21:18:12 +0000 (23:18 +0200)]
asterisk: bump to 20.0.0 LTS

No longer existing modules removed from OpenWrt Makefile. Same for
configure switches. Patches refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #784 from micmac1/kam562
micmac1 [Wed, 19 Oct 2022 18:26:03 +0000 (20:26 +0200)]
Merge pull request #784 from micmac1/kam562

kamailio: bump to 5.6.2

2 years agokamailio: bump to 5.6.2 784/head
Sebastian Kemper [Sun, 16 Oct 2022 15:23:09 +0000 (17:23 +0200)]
kamailio: bump to 5.6.2

- 4 new modules: misctest, posops, siprepo & slack
- 140-redis_use_pkg-config.patch refreshed
- 160-ldap-rename-private-function-ldap_connect.patch and
  170-core-add-support-for-time64-libcs.patch removed (applied
  upstream)
- 160-siputils-fix-time_t-warning-and-a-typo.patch added to fix time_t
  warning (sent upstream, see [1])

[1] https://github.com/kamailio/kamailio/pull/3266

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agokamailio: fix dep for keepalive module
Sebastian Kemper [Sun, 16 Oct 2022 15:14:03 +0000 (17:14 +0200)]
kamailio: fix dep for keepalive module

Currently the dependency is in the wrong position.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agokamailio: add descriptions via BuildKamailioModule
Sebastian Kemper [Sun, 16 Oct 2022 15:09:21 +0000 (17:09 +0200)]
kamailio: add descriptions via BuildKamailioModule

The Makefile currently advertises that descriptions can be added by
specifying a string in argument 3 of BuildKamailioModule, but there's
actually no mechanism for this. This commit adds the missing pieces.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #783 from micmac1/fs-1.10.8
micmac1 [Sat, 15 Oct 2022 16:57:06 +0000 (18:57 +0200)]
Merge pull request #783 from micmac1/fs-1.10.8

freeswitch: bump to 1.10.8

2 years agofreeswitch: bump to 1.10.8 783/head
Sebastian Kemper [Sat, 15 Oct 2022 14:49:19 +0000 (16:49 +0200)]
freeswitch: bump to 1.10.8

- minor version bump
- mod-dingaling, mod-unimrcp and apr-util got removed from source tar
  ball, prompting some cleanup
- patches refreshed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agolibks: bump to 1.8.0
Sebastian Kemper [Sat, 15 Oct 2022 14:42:14 +0000 (16:42 +0200)]
libks: bump to 1.8.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #781 from micmac1/rtpengine-mqtt
micmac1 [Sat, 15 Oct 2022 09:00:27 +0000 (11:00 +0200)]
Merge pull request #781 from micmac1/rtpengine-mqtt

rtpengine: add mqtt dep

2 years agortpengine: add mqtt dep 781/head
Sebastian Kemper [Sat, 15 Oct 2022 07:56:09 +0000 (09:56 +0200)]
rtpengine: add mqtt dep

rtpengine will use the lib if found, so add it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #780 from micmac1/rtpengine-10.5.2.6
Jiri Slachta [Sat, 15 Oct 2022 06:35:13 +0000 (08:35 +0200)]
Merge pull request #780 from micmac1/rtpengine-10.5.2.6

rtpengine: bump to 10.5.2.6

2 years agortpengine: bump to 10.5.2.6 780/head
Sebastian Kemper [Fri, 14 Oct 2022 22:51:28 +0000 (00:51 +0200)]
rtpengine: bump to 10.5.2.6

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #777 from micmac1/sof-1.13.9
micmac1 [Fri, 30 Sep 2022 09:01:42 +0000 (11:01 +0200)]
Merge pull request #777 from micmac1/sof-1.13.9

sofia-sip: bump to 1.13.9

2 years agoMerge pull request #778 from micmac1/sngrep-1.6.0
micmac1 [Fri, 30 Sep 2022 09:00:50 +0000 (11:00 +0200)]
Merge pull request #778 from micmac1/sngrep-1.6.0

sngrep: bump to 1.6.0

2 years agosngrep: bump to 1.6.0 778/head
Sebastian Kemper [Sun, 25 Sep 2022 09:50:38 +0000 (11:50 +0200)]
sngrep: bump to 1.6.0

- use pcre2 instead of pcre
- add zlib support

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agosofia-sip: bump to 1.13.9 777/head
Sebastian Kemper [Sun, 25 Sep 2022 09:04:22 +0000 (11:04 +0200)]
sofia-sip: bump to 1.13.9

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #776 from micmac1/ast-18.4
Jiri Slachta [Sun, 21 Aug 2022 10:23:20 +0000 (12:23 +0200)]
Merge pull request #776 from micmac1/ast-18.4

asterisk: bump to 18.14.0 (includes pjproject bump)

2 years agoasterisk: bump to 18.14.0 776/head
Sebastian Kemper [Sat, 20 Aug 2022 09:28:34 +0000 (11:28 +0200)]
asterisk: bump to 18.14.0

- add new modules
- res-geolocation depends on asterisk being built with libxlt support,
  but to make libxslt a general dependency is probably not a good idea
  for small devices, so this adds a config option
  ASTERISK_LIBXSLT_SUPPORT that is off by default except on x86_64
  builds
- correct some module titles by removing the extraneous "support" string
- refresh patches
- 170-time-add-support-for-time64-libcs.patch,
  180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch and
  190-logger-workaround-woefully-small-BUFSIZ-in-MUSL.patch removed as
  included in upstream release
- added 170-menuselect-force-use-of-xml2-config.patch as upstream
  switched to use pkg-config for libxml2 detection, which would be fine,
  except OpenWrt's host libxml2 is static and Asterisk can't handle that

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agopjproject: bump to 2.12.1
Sebastian Kemper [Sat, 20 Aug 2022 09:06:39 +0000 (11:06 +0200)]
pjproject: bump to 2.12.1

- add "--disable-android-mediacodec" to configure
- add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up
  the build a bit)
- drop "sed" call as no longer needed
- drop uclibc related patches
  (0002-uclibc-linker-unrecognized-options.patch and
  0003-non-gnu-pthreads.patch)
- update 0004-config_site.patch to sync up with Asterisk 18.14.0
- drop 0005-remove-hardcoded-lstdc++.patch as uclibcxx was removed from
  OpenWrt
- update 0006-fix-pkg_config-file.patch as there were some changes in
  this area upstream
- add 0007-execinfo.patch to prevent errors due to missing <execinfo.h>
- sync patches with 18.14.0

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #775 from micmac1/chan-dongle-iconv-update
Jiri Slachta [Sat, 16 Jul 2022 21:39:02 +0000 (23:39 +0200)]
Merge pull request #775 from micmac1/chan-dongle-iconv-update

asterisk-chan-dongle: adapt BUILD_NLS handling

2 years agoasterisk-chan-dongle: adapt BUILD_NLS handling 775/head
Sebastian Kemper [Sat, 16 Jul 2022 18:24:48 +0000 (20:24 +0200)]
asterisk-chan-dongle: adapt BUILD_NLS handling

openwrt recently stopped using libiconv-stub in the BUILD_NLS=n case.
Instead the libc's iconv has to be used.

This commit changes the iconv include path passed to
asterisk-chan-dongle for the BUILD_NLS=n case to
$(TOOLCHAIN_DIR)/include. That's where musl and glibc store iconv.h.

Also, the patch 200-fix-iconv-detection.patch gets replaced with a sed
script that only runs in the BUILD_NLS=y case.

And finally, $(AUTORELEASE) is added.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #773 from micmac1/fs-gcc-12
micmac1 [Tue, 14 Jun 2022 22:35:40 +0000 (00:35 +0200)]
Merge pull request #773 from micmac1/fs-gcc-12

freeswitch: workaround for compile fail with gcc 12

2 years agofreeswitch: workaround compile fail with gcc 12 773/head
Sebastian Kemper [Sun, 12 Jun 2022 08:05:30 +0000 (10:05 +0200)]
freeswitch: workaround compile fail with gcc 12

An issue report already exists upstream [1].

[1] https://github.com/signalwire/freeswitch/issues/1670

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #772 from PolynomialDivision/fix-compile
micmac1 [Wed, 8 Jun 2022 21:33:13 +0000 (23:33 +0200)]
Merge pull request #772 from PolynomialDivision/fix-compile

rtpengine: fix compilation with iptables 1.8.8

Thanks!

2 years agortpengine: fix compilation with iptables 1.8.8 772/head
Nick Hainke [Tue, 7 Jun 2022 22:28:52 +0000 (00:28 +0200)]
rtpengine: fix compilation with iptables 1.8.8

The extension handling changed [0,1]. Fix compilation with iptables
1.8.8 [2].

[0] - https://git.netfilter.org/iptables/commit/?id=ef108943f69a6e20533d58823740d3f0534ea8ec
[1] - https://git.netfilter.org/iptables/commit/?id=6c689b639cf8e2aeced8685eca2915892d76ad86
[2] - https://github.com/openwrt/openwrt/pull/9886

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #768 from micmac1/github-sync-with-packages
Jiri Slachta [Tue, 31 May 2022 19:45:53 +0000 (21:45 +0200)]
Merge pull request #768 from micmac1/github-sync-with-packages

CI: sync up with changes in packages repo

2 years agoCI: sync up with changes in packages repo 768/head
Sebastian Kemper [Mon, 30 May 2022 16:45:58 +0000 (18:45 +0200)]
CI: sync up with changes in packages repo

Catch up with the changes in the packages repository. All changes are
manual cherry picks from the packages repo and listed below.

github: adapt templates

Remove refs to LEDE and use "OpenWrt" instead of "OpenWRT"

Remove instructions on self-checking pull request content for the
following considerations

 - The checks are now enforced by travis autocheck scripts
 - Github now prompts users to refer to the contributing guide on
   submitting new issue and pull request

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit f552f738e2d4bb1fc15acde8b7410e3d37586e2f)

repo: Add more information to the issue template

Rephrase the template a bit and add information about
older releases and forks.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 31179ef2a414412871c1c23a9b3e506a5eab1ef8)

CI: use new `openwrt` Docker username

We now own `openwrtorg` and `openwrt`, where the latter replaces the
former. Slowly migrate over.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit b164a3aa32caa181feff8074ecce3a42b052b060)

CI: define matrix individually and add targets

This allows more specific definition per test, like on which target
packages should be compiled.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 3701000051afe81c0f6c166a924828706cf21b05)

CI: reformat extra long line

Better readability on split screens.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 81f7461e66c877a9d1f6c751fd92252e950370c3)

CI: test build dependent packages

By using OPKGs `whatdepends` all packages dependent on a library are
printed. Use that feature to obtain packages which a version change may
break and build them as well.

Change "default" packages to contain a lib on which other packages
depend, instead of compiling `tmux` compile `attendedsysupgrade-common`
on which other packages depend.

Ignore any LuCI packages which only contains translations.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit c0d0c64f6ca1cbed2586812cad9d7da7b6e5e542)

CI: revert adding of *depending* packages

While the idea may make sense the current implementation is faulty.
Problem is that OpenWrt uses the folder name of packages within the
build system while `opkg` spits out the actual packages names.

An example, compiling the packages of folder `vim` (`make
package/vim/compile`) creates a package called `xxd`, where `make
package/xxd/compile` would fail.

The current implementation uses `opkg` to figure out dependent packages,
but the resulting names do not match the above mentioned folders.

Revert this for now until we come up with a better implementation to
avoid false positive CI failures.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a2bda4cc69e4121dccba097578bbd0bd40d0675d)

github-ci: fix small typo

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit 05a3011b00f7128c5f46c2d05999937fc01dc2ca)

CI: update SDK action to v3

No also check mirror hashes and badly formated init files

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 291d1f255abefbc05e53bb3019ed7a13e1826ef2)

github-ci: also build mipsel_24kc / mt7621

Signed-off-by: Kevin David <kevin.p.david@gmail.com>
This seems like a fairly popular configuration and is at least handy for me for temporary testing.

(cherry picked from commit a5de3d04557eccd1db58a35ab9f76b38eab4bfb4)

artifacts: use git commit sha in name

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit bbf983721cf41fd94388b16ce90f018d6c0496f5)

CI: add PKG-INFO metadata file

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit a40c1b3e442eccbf0619f06b473705f4a4a0ac6d)

CI: do not crash during PKG-INFO generation if there are no packages

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit b5132de5cf4f7d0562445cf3c65f9f1a4bcb1bbf)

CI: fix runtime testing for non master branch

The runtime testing always ran on master branch aka snapshots since the
branch wasn't passed over to the container execution!

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit f535d770901674d7d9f3d8cd9abe566d9db63ebe)

ci: use openwrt/gh-action-sdk@v4

In order to use feeds from GH mirror for GH actions, thus saving a lot
of resources being wasted. While at it fix whitespace issue.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit b1355832a05f96d96081044a90b4c9137eb15fad)

github: fix typo in issue template

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit ffdc2b09eada82dd563f23a9a51e4ef8e233920f)

ci: Look for changed packages in the PR branch only

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 6b2294ac379ecae55993a8faa583910423f620e7)

ci: Use openwrt/gh-action-sdk@v5

The previous build errors with v5 have been fixed. This version builds
packages as a normal user instead of as root.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 37f9b77b01fd148c946dc313869602fb8203eaea)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #767 from micmac1/sof-1.13.8
micmac1 [Mon, 30 May 2022 16:56:20 +0000 (18:56 +0200)]
Merge pull request #767 from micmac1/sof-1.13.8

sofia-sip: bump to 1.13.8

2 years agosofia-sip: bump to 1.13.8 767/head
Sebastian Kemper [Mon, 30 May 2022 16:24:58 +0000 (18:24 +0200)]
sofia-sip: bump to 1.13.8

Some security issues were fixed. Upstream labelled them as follows:

GHSA-79jq-hh82-cv9g: Fix Out-of-bound read in sip_method_d
GHSA-g3x6-p824-x6hm: Fix Out-of-bound read in url_canonize2 and
                     url_canonize3
GHSA-8w5j-6g2j-pxcp: Fix Heap-buffer-overflow in parse_descs and
                     parse_message

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #764 from micmac1/libsrtp-openssl
micmac1 [Tue, 3 May 2022 21:18:08 +0000 (23:18 +0200)]
Merge pull request #764 from micmac1/libsrtp-openssl

libsrtp: use OpenSSL

2 years agolibsrtp: use OpenSSL 764/head
Sebastian Kemper [Sat, 30 Apr 2022 15:57:54 +0000 (17:57 +0200)]
libsrtp: use OpenSSL

Use OpenSSL instead of the internal crypto backend. Everything in
OpenWrt that links to libsrtp2 depends on OpenSSL anyway.

Upsides:

  - the libsrtp2 package size shrinks a bit (for example from 35 to 24
    KiB on ath79)
  - allows to use more cipher suites
  - may allow for hardware acceleration

Closes #763

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #759 from micmac1/ast-disable-libxslt
micmac1 [Sun, 17 Apr 2022 10:47:11 +0000 (12:47 +0200)]
Merge pull request #759 from micmac1/ast-disable-libxslt

asterisk: add --without-libxslt to configure

2 years agoasterisk: add --without-libxslt to configure 759/head
Sebastian Kemper [Sun, 17 Apr 2022 08:57:20 +0000 (10:57 +0200)]
asterisk: add --without-libxslt to configure

Since upstream commit b40c4d59b1dd803cad79060fb5b5a48d249ba578
"--disable-xmldoc" does no longer prevent the linking to libxslt, if
available. If that's the case one is greeted with the following error:

Package asterisk is missing dependencies for the following libraries:
libxslt.so.1

This commit explicitly disables the use of libxslt, to avoid the
dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoMerge pull request #756 from micmac1/ast-18.11.2
Jiri Slachta [Sat, 16 Apr 2022 17:20:54 +0000 (19:20 +0200)]
Merge pull request #756 from micmac1/ast-18.11.2

asterisk: bump to 18.11.2

2 years agoasterisk: add logger patch 756/head
Sebastian Kemper [Fri, 15 Apr 2022 15:17:07 +0000 (17:17 +0200)]
asterisk: add logger patch

Add a patch from Philip that got upstreamed. This is in reference to
issue #737.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoasterisk: replace time64 patch
Sebastian Kemper [Fri, 15 Apr 2022 15:15:38 +0000 (17:15 +0200)]
asterisk: replace time64 patch

This replaces the current patch with the one upstreamed by Philip.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2 years agoasterisk: bump to version 18.11.2
Sebastian Kemper [Fri, 15 Apr 2022 14:25:50 +0000 (16:25 +0200)]
asterisk: bump to version 18.11.2

- add two new modules (app_sf and func_json)
- update 100-build-reproducibly.patch as upstream refactored some of the
  code
- refresh patches

This bump includes fixes for the following security issues:

https://downloads.asterisk.org/pub/security/AST-2022-001.html
https://downloads.asterisk.org/pub/security/AST-2022-002.html
https://downloads.asterisk.org/pub/security/AST-2022-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>