feed/telephony.git
10 days agotreewide: refresh hashes after move to use ZSTD as default master
Robert Marko [Sun, 7 Apr 2024 22:01:22 +0000 (00:01 +0200)]
treewide: refresh hashes after move to use ZSTD as default

With the recent move to using ZSTD as the default compression format for
packaging git repo clones we must refresh all of the hashes for the
packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agodahdi-linux: fix compilation for mips_24k arch
Christian Marangi [Wed, 20 Mar 2024 18:56:42 +0000 (19:56 +0100)]
dahdi-linux: fix compilation for mips_24k arch

Fix compilation for mips_24k arch due to a define conflicts with ABS.

Patch has been proposed upstream and should be accepted.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
6 weeks agoMerge pull request #857 from dangowrt/lantiq-vmmc-group
Daniel Golle [Sun, 3 Mar 2024 16:16:51 +0000 (16:16 +0000)]
Merge pull request #857 from dangowrt/lantiq-vmmc-group

asterisk-chan-lantiq: add user 'asterisk' to 'vmmc' group

6 weeks agoasterisk-chan-lantiq: add user 'asterisk' to 'vmmc' group 857/head
Daniel Golle [Sun, 3 Mar 2024 15:25:22 +0000 (15:25 +0000)]
asterisk-chan-lantiq: add user 'asterisk' to 'vmmc' group

Make sure asterisk has permission to access /dev/vmmc* devices as it
will segfault if started without.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2 months agoMerge pull request #856 from micmac1/sipp-372
micmac1 [Wed, 31 Jan 2024 17:35:54 +0000 (18:35 +0100)]
Merge pull request #856 from micmac1/sipp-372

sipp: bump to 3.7.2

2 months agoMerge pull request #788 from guijan/pcapsipdump-libobsd
micmac1 [Wed, 31 Jan 2024 17:35:06 +0000 (18:35 +0100)]
Merge pull request #788 from guijan/pcapsipdump-libobsd

pcapsipdump: fix linking against libobsd

2 months agosipp: bump to 3.7.2 856/head
Sebastian Kemper [Sun, 21 Jan 2024 14:15:08 +0000 (15:15 +0100)]
sipp: bump to 3.7.2

02-Fix_compatibility_with_older_C++_in_3.6.x_branch.patch removed as
included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 months agoMerge pull request #849 from micmac1/ast-20.5.2
Jiri Slachta [Fri, 29 Dec 2023 10:11:14 +0000 (11:11 +0100)]
Merge pull request #849 from micmac1/ast-20.5.2

asterisk: bump to 20.5.2

3 months agoMerge pull request #848 from micmac1/dongle-2022
micmac1 [Fri, 29 Dec 2023 08:14:35 +0000 (09:14 +0100)]
Merge pull request #848 from micmac1/dongle-2022

asterisk-chan-dongle: bump to latest git

3 months agoasterisk: bump to 20.5.2 849/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>
3 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>
3 months agoasterisk-chan-dongle: bump to latest git 848/head
Sebastian Kemper [Tue, 26 Dec 2023 13:21:58 +0000 (14:21 +0100)]
asterisk-chan-dongle: bump to latest git

Closes: #837
The extra patch was submitted upstream for inclusion, see [1].

[1] https://github.com/wdoekes/asterisk-chan-dongle/pull/173

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 months agoMerge pull request #847 from micmac1/rtpe-11.5.1.18
micmac1 [Mon, 25 Dec 2023 14:30:44 +0000 (15:30 +0100)]
Merge pull request #847 from micmac1/rtpe-11.5.1.18

rtpengine: bump to 11.5.1.18

3 months agortpengine: bump to 11.5.1.18 847/head
Sebastian Kemper [Sun, 24 Dec 2023 22:50:51 +0000 (23:50 +0100)]
rtpengine: bump to 11.5.1.18

Add missing xmlrpc-c dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
3 months agoMerge pull request #844 from micmac1/fs-1.10.11
micmac1 [Sun, 24 Dec 2023 11:09:27 +0000 (12:09 +0100)]
Merge pull request #844 from micmac1/fs-1.10.11

freeswitch: bump to 1.10.11

3 months agofreeswitch: bump to 1.10.11 844/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>
3 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>
4 months agoMerge pull request #843 from guidosarducci/master-fix-network-device
Jiri Slachta [Sat, 25 Nov 2023 21:45:44 +0000 (22:45 +0100)]
Merge pull request #843 from guidosarducci/master-fix-network-device

siproxd: improve network device resolution

4 months agosiproxd: improve network device resolution 843/head
Tony Ambardar [Wed, 22 Nov 2023 02:53:39 +0000 (18:53 -0800)]
siproxd: improve network device resolution

Resolve network devices by first trying 'network_get_device' (L3) and
falling back to 'network_get_physdev' (L2) on failure, which allows using
Wireguard interfaces. Both are needed to avoid breaking existing usage
for some interfaces (e.g. 'wan').

Also add myself as a maintainer.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
5 months agoMerge pull request #840 from Ansuel/pcre-kamailio
Jiri Slachta [Sat, 11 Nov 2023 18:47:27 +0000 (19:47 +0100)]
Merge pull request #840 from Ansuel/pcre-kamailio

kamailio: bump to release 5.7.2 + PCRE2

5 months agoMerge pull request #839 from Ansuel/rtengine-pcre2
micmac1 [Sun, 5 Nov 2023 08:38:16 +0000 (09:38 +0100)]
Merge pull request #839 from Ansuel/rtengine-pcre2

rtpengine: bump to 11.5.1.12 release and set PCRE2

5 months agoMerge pull request #838 from Ansuel/sipgrep-pcre2
micmac1 [Sun, 5 Nov 2023 08:34:36 +0000 (09:34 +0100)]
Merge pull request #838 from Ansuel/sipgrep-pcre2

sipgrep: Move package to PCRE2

5 months agoMerge pull request #834 from robho/yate_nftables_banbrutes
micmac1 [Sun, 5 Nov 2023 08:31:45 +0000 (09:31 +0100)]
Merge pull request #834 from robho/yate_nftables_banbrutes

yate: Update yate script to use an nftables set

5 months agoMerge pull request #836 from micmac1/dahli-6
micmac1 [Sun, 5 Nov 2023 08:26:52 +0000 (09:26 +0100)]
Merge pull request #836 from micmac1/dahli-6

dahdi-linux: bump to latest git head

5 months agortpengine: bump to 11.5.1.12 release and set PCRE2 839/head
Christian Marangi [Thu, 2 Nov 2023 22:36:52 +0000 (23:36 +0100)]
rtpengine: bump to 11.5.1.12 release and set PCRE2

Bump rtpengine to release 11.5.1.12.

New 11.x release require libopus as a new library and also moved to
PCRE2 library.

Refresh patches and also introduce a new one to disable docs as they
changed doc generation tool and now would require a new prereq and docs
are not useful and would waste space on an embedded scenario.

For recording module libcurl is also now required.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
5 months agokamailio: backport and move to PCRE2 840/head
Christian Marangi [Fri, 3 Nov 2023 02:37:05 +0000 (03:37 +0100)]
kamailio: backport and move to PCRE2

Backport merged patch and move package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.

Additional patch are backported to minimize changes to the backport
patches. Only patch 010 required adaptation due to a fix backported in
5.7 in the same place where the patch fixed some whitespace issue.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
5 months agokamailio: bump to release 5.7.2
Christian Marangi [Fri, 3 Nov 2023 02:35:35 +0000 (03:35 +0100)]
kamailio: bump to release 5.7.2

Bump kamailio to release 5.7.2 to make it easier to backport PCRE2
patches.

Drop upstream patch related to time_t and python3 fixes.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
5 months agokamailio: add patch fixing fragile kamcmd
Christian Marangi [Fri, 3 Nov 2023 02:33:16 +0000 (03:33 +0100)]
kamailio: add patch fixing fragile kamcmd

Add patch fixing fragile kamcmd where output bin can be renamed to
invalid names due to ENV variable clash.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
5 months agosipgrep: Move package to PCRE2 838/head
Christian Marangi [Thu, 2 Nov 2023 21:21:15 +0000 (22:21 +0100)]
sipgrep: Move package to PCRE2

Add patch to convert the package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
6 months agodahdi-linux: bump to latest git head 836/head
Sebastian Kemper [Fri, 13 Oct 2023 09:24:32 +0000 (11:24 +0200)]
dahdi-linux: bump to latest git head

This compiles with newer kernels now.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 months agoyate: Update yate script to use an nftables set 834/head
Robert Högberg [Tue, 10 Oct 2023 21:25:34 +0000 (23:25 +0200)]
yate: Update yate script to use an nftables set

By using an nftables set in this script it's easier to install
and use this script now that OpenWrt uses nftables by default.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
6 months agoMerge pull request #831 from micmac1/fs-vpx-CVE-2023-5217
micmac1 [Fri, 6 Oct 2023 19:47:20 +0000 (21:47 +0200)]
Merge pull request #831 from micmac1/fs-vpx-CVE-2023-5217

freeswitch: add patches for CVE-2023-5217 & CVE-2023-44488 in bundled libvpx

6 months agofreeswitch: add patches for CVEs in bundled libvpx 831/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>
7 months agoMerge pull request #829 from Rondom/rondom-add-cpe-ids
Jiri Slachta [Sun, 17 Sep 2023 18:26:41 +0000 (20:26 +0200)]
Merge pull request #829 from Rondom/rondom-add-cpe-ids

Add CPE ID for asterisk and pjproject

7 months agopjproject: Add PKG_CPE_ID 829/head
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>
7 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>
8 months agoMerge pull request #826 from micmac1/fs-1.10.10
micmac1 [Sat, 19 Aug 2023 09:20:16 +0000 (11:20 +0200)]
Merge pull request #826 from micmac1/fs-1.10.10

freeswitch: bump to 1.10.10

8 months agofreeswitch: bump to 1.10.10 826/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>
8 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>
8 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>
8 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>
8 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>
8 months agoMerge pull request #822 from micmac1/ast-iax2-crash
micmac1 [Sun, 23 Jul 2023 13:45:02 +0000 (15:45 +0200)]
Merge pull request #822 from micmac1/ast-iax2-crash

asterisk: add upstream patch against iax2 crash

8 months agoasterisk: add upstream patch against iax2 crash 822/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>
9 months agoMerge pull request #820 from kuanyili/replace-autorelease
micmac1 [Tue, 18 Jul 2023 21:16:17 +0000 (23:16 +0200)]
Merge pull request #820 from kuanyili/replace-autorelease

treewide: replace AUTORELEASE with real PKG_RELEASE

9 months agotreewide: replace AUTORELEASE with real PKG_RELEASE 820/head
Kuan-Yi Li [Tue, 18 Jul 2023 02:45:41 +0000 (10:45 +0800)]
treewide: replace AUTORELEASE with real PKG_RELEASE

Based on Paul Fertser <fercerpav@gmail.com>'s guidance:
Change AUTORELEASE in rules.mk to:
```
AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
```

then update all affected packages by:
```
for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
9 months agoMerge pull request #817 from micmac1/pj2131
micmac1 [Sun, 9 Jul 2023 08:05:04 +0000 (10:05 +0200)]
Merge pull request #817 from micmac1/pj2131

pjproject: bump to 2.13.1

9 months agopjproject: bump to 2.13.1 817/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>
9 months agoMerge pull request #815 from micmac1/ast-20.3.0
micmac1 [Sun, 2 Jul 2023 18:55:11 +0000 (20:55 +0200)]
Merge pull request #815 from micmac1/ast-20.3.0

asterisk: bump to 20.3.0

10 months agoasterisk: bump to 20.3.0 815/head
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>
10 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>
10 months agoMerge pull request #812 from micmac1/kam-py-3.11-patches
micmac1 [Mon, 29 May 2023 21:13:36 +0000 (23:13 +0200)]
Merge pull request #812 from micmac1/kam-py-3.11-patches

kamailio: add patches for app_python3

10 months agoMerge pull request #811 from micmac1/fs-py-3.11-broken
micmac1 [Mon, 29 May 2023 21:12:52 +0000 (23:12 +0200)]
Merge pull request #811 from micmac1/fs-py-3.11-broken

freeswitch: mark mod-python3 BROKEN

10 months agokamailio: add patches for app_python3 812/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>
10 months agofreeswitch: mark mod-python3 BROKEN 811/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>
11 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

11 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>
11 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>
11 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>
12 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

12 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>
12 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

12 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

12 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

12 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>
13 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>
13 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

13 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>
13 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>
13 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>
13 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>
14 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

14 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>
14 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>
14 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>
15 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

15 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>
15 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

15 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>
16 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

16 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>
16 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>
16 months 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

17 months 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>
17 months 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>
17 months 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>
17 months 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>
17 months 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>
17 months 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>
17 months 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

17 months 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>
17 months agopcapsipdump: fix linking against libobsd 788/head
Guilherme Janczak [Thu, 3 Nov 2022 21:13:39 +0000 (21:13 +0000)]
pcapsipdump: fix linking against libobsd

This just makes it so libbsd is picked up through pkg-config. It adds
support for libobsd without breaking libbsd.

Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
17 months 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

17 months 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>
18 months 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

18 months 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>
18 months 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>
18 months 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>
18 months 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

18 months 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>