Commit graph

1842 commits

Author SHA1 Message Date
micmac1
1d2031a5c8
Merge pull request #769 from micmac1/22.03-sof-1.13.8
[openwrt-22.03] sofia-sip: bump to 1.13.8
2022-05-31 21:33:10 +02:00
Sebastian Kemper
598ac0959a 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>
(cherry picked from commit 1efc4f3f98)
2022-05-31 21:09:55 +02:00
micmac1
4c148548df
Merge pull request #760 from micmac1/22.03-ast-disable-libxslt
[22.03] asterisk: add --without-libxslt to configure
2022-04-17 12:47:54 +02:00
Sebastian Kemper
5188599d53 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>
(cherry picked from commit 64a1d2faef)
2022-04-17 11:03:09 +02:00
Jiri Slachta
9d05db773b
Merge pull request #758 from micmac1/22.03-AST-2022-01-02-03-try2
[22.03] asterisk: bump to 18.11.2
2022-04-16 19:21:15 +02:00
Sebastian Kemper
814294e50e 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>
(cherry picked from commit 23925c22f8)
2022-04-16 12:16:28 +02:00
Sebastian Kemper
244e205bb3 asterisk: replace time64 patch
This replaces the current patch with the one upstreamed by Philip.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit c1cb4fd1a4)
2022-04-16 12:16:22 +02:00
Sebastian Kemper
dcc8a89ee0 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>
(cherry picked from commit 958401fa8f)
2022-04-16 12:16:10 +02:00
Sebastian Kemper
7117f7971d pjproject: sync patches with asterisk 18.11.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 0c67ab5831)
2022-04-16 12:16:05 +02:00
Philip Prindeville
692d360e0c asterisk: don't send stdout to syslog by default
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit fb0c2cf2b8)
2022-04-16 12:15:59 +02:00
micmac1
ced4ff20e3
Merge pull request #752 from micmac1/pj-AST
pjproject: add upstream security fixes
2022-03-06 12:15:25 +01:00
Sebastian Kemper
623e5288f1 pjproject: add upstream security fixes
Details:

https://downloads.asterisk.org/pub/security/AST-2022-004.html
https://downloads.asterisk.org/pub/security/AST-2022-005.html
https://downloads.asterisk.org/pub/security/AST-2022-006.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-03-05 16:58:02 +01:00
micmac1
e44178af63
Merge pull request #751 from micmac1/mod-av-BROKEN
freeswitch: mark mod-av BROKEN
2022-03-04 00:46:59 +01:00
Sebastian Kemper
7b79a34166 freeswitch: mark mod-av BROKEN
FS is not yet ready for FFMPEG 5.0. Upstream has a related issue already
([1]).

Also move to AUTORELEASE.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-03-03 23:08:12 +01:00
micmac1
8cf20bc21c
Merge pull request #749 from micmac1/rtpengine-host-perl
rtpengine: use perl/host when building
2022-02-27 12:22:52 +01:00
Sebastian Kemper
3657828ae3 rtpengine: use perl/host when building
utils/const_str_hash is called by rtpengine build system. The Perl
script uses shebang "#!/usr/bin/perl" and depends on perl-IPC-Cmd. If
this is missing the build will fail:

../utils/const_str_hash < "control_ng.c" > "control_ng.strhash.c"
Can't locate IPC/Cmd.pm in @INC (you may need to install the IPC::Cmd module) (@INC contains: /usr/local/lib64/perl5/5.34 /usr/local/share/perl5/5.34 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../utils/const_str_hash line 6.
BEGIN failed--compilation aborted at ../utils/const_str_hash line 6.
make[4]: *** [../lib/common.Makefile:46: control_ng.strhash.c] Error 2

OpenWrt does not depend on perl-IPC-Cmd being available, so this commit
makes rtpengine build depend on perl/host, which provides this Perl
module.

Closes #748

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-26 18:02:34 +01:00
micmac1
980c6cd4d0
Merge pull request #745 from micmac1/pj-AST-2021-009-2
pjproject: add missing patch for AST-2021-009
2022-02-20 23:31:56 +01:00
Sebastian Kemper
1ac119d6c8 pjproject: add missing patch for AST-2021-009
AST-2021-009 has two patches, the second of which was missed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-20 23:10:07 +01:00
Jiri Slachta
9fe1266431
Merge pull request #744 from micmac1/siproxd-up
siproxd/libosip2: update to latest
2022-02-20 13:35:39 +01:00
Sebastian Kemper
10f2be5400 siproxd: update to latest git
This includes time64 fixes plus allows reproducible builds.

Also switch to $(AUTORELEASE)

Closes #613
Closes #742

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-20 13:19:23 +01:00
Sebastian Kemper
99a0f61304 libosip2: update to 5.3.0
Switch to $(AUTORELEASE).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-20 13:16:35 +01:00
micmac1
703bf7013d
Merge pull request #740 from svlobanov/kamailio-fix-build-on-macos
kamailio: fix build on macos
2022-02-14 21:28:56 +01:00
Jiri Slachta
f1f291d0b4
Merge pull request #743 from micmac1/bare-aud-sup
baresip: only build gst with AUDIO_SUPPORT enabled
2022-02-14 07:23:19 +01:00
Sergey V. Lobanov
f902c18fbc kamailio: fix build on macos
kamailio macos build fails due to kamailio Makefile checks OS
(`uname -s`) and OSREL (`uname -r`). If build host is not Linux,
then these checks will provide different results, but OpenWrt is
always Linux so target OS should be always Linux.

This patch explicitly specifies OS=linux and OSREL=$(LINUX_UNAME_VERSION)
to avoid using build host values for target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-14 02:13:47 +03:00
Sebastian Kemper
4492cc2b83 baresip: only build gst with AUDIO_SUPPORT enabled
Most gstreamer packages aren't build when the target does not have
AUDIO_SUPPORT. This can be seen with realtek target (4kec).

This commit makes the gst plugins depend on AUDIO_SUPPORT, because
otherwise the build dies with this error:

Package baresip-mod-gst-video is missing dependencies for the following libraries:
libgstapp-1.0.so.0

Note: compiling baresip on a target without AUDIO_SUPPORT may be
questionable anyway.

Close #730

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-13 18:54:17 +01:00
micmac1
2afbe4fda6
Merge pull request #741 from svlobanov/asterisk-fix-build-on-macos
asterisk: fix build on macos
2022-02-13 12:41:11 +01:00
Sergey V. Lobanov
4209a36afe asterisk: fix build on macos
This commit adds a patch to fix /sbin/launchd detection on macos

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-09 02:03:30 +03:00
micmac1
0eb623a3a6
Merge pull request #736 from svlobanov/yate-fix-build-on-macos
yate: fix build on macos
2022-02-06 10:50:52 +01:00
Sergey V. Lobanov
fb23e4f004 yate: fix build on macos
yate configure script uses `uname -s` to determine OS and changes
build logic regarding to build host OS. OpenWrt is always Linux so
it should be built as for Linux.

This patch uses fakeuname tool to pass `uname -s` checks as Linux
on macos build host.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-06 11:46:51 +03:00
micmac1
ab94e2c73e
Merge pull request #734 from svlobanov/coturn-repro-and-macos-build-fix
coturn: improve reproducibility and fix build on macos
2022-02-06 08:41:32 +01:00
micmac1
d3b1787211
Merge pull request #729 from svlobanov/libpri-fix-build-on-macos
libpri: fix build on macos
2022-02-06 08:26:39 +01:00
Jiri Slachta
e0c9e89f1a
Merge pull request #735 from micmac1/restund-remove
restund: remove package
2022-02-01 18:27:17 +01:00
Sebastian Kemper
b508e76300 restund: remove package
Removing as upstream dropped the project. Users can use coturn instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-01 18:16:17 +01:00
Sergey V. Lobanov
ba23b92974 coturn: fix build on macos
coturn build fails on macos due using `ar -r` by default, but macos
system `ar` is not compatible with the objects generated by OpenWrt
GCC toolchain.

This patch redefines ARCHIVERCMD="$(TARGET_AR) -r" to make it possible
to build coturn on macos build host.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-01 19:49:03 +03:00
Sergey V. Lobanov
8a4daac339 coturn: improve reproducibility (Ubuntu build host fix)
coturn package is reproducible unless the build OS is Ubuntu

coturn configure script detects Ubuntu build host([1]) and changes
compilation flags so produced OpenWrt binaries are different on
Ubuntu and any other build OS (e.g. Debian). It might be necessary
for native build but this check is not valid for cross-compiling.

This patch set LIBEV_OK=1 to generate the same binaries on Ubuntu
and other build OS

Refs:
[1] https://github.com/coturn/coturn/blob/upstream/4.5.2/configure#L426-L435

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-01 19:26:38 +03:00
micmac1
51e62de182
Merge pull request #732 from micmac1/sof-1137
sofia-sip: update to 1.13.7
2022-01-31 19:54:41 +01:00
Sebastian Kemper
f04a5a2383 sofia-sip: update to 1.13.7
Contains DOS fix, see [1].

Converted to AUTORELEASE.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-01-31 19:34:13 +01:00
Sergey V. Lobanov
3424e0027d libpri: fix build on macos
libpri can not be built on macos for OpenWrt Linux target due to:
1. Makefile uses `ar` and `ranlib` (without using make variables).
   MacOS system ar and ranlib are not compatible with the objects
   generated by OpenWrt GCC toolchain. This commit adds patch to
   add an ability to redefine `ar` and `ranlib` tools.
   Upstream issue: https://issues.asterisk.org/jira/browse/PRI-188
2. Makefile detects Darwin using `uname -s` and changes build logic
   but it is not need for cross-platfrom build. This commit
   redefines OSARCH=Linux in OpenWrt Makefile
3. After redefining OSARCH=Linux, libpri Makefile uses /sbin/ldconfig
   that does not exist on MacOS. This commit redefines LDCONFIG=ldconfig
   in OpenWrt Makefile to use ldconfig provided by OpenWrt.

Patch '001-fix-include-signal-h-warning.patch' was refreshed to pass
CI checks. The payload of this patch was not changed.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-30 14:40:24 +03:00
micmac1
561131d523
Merge pull request #728 from micmac1/rtpe9532
rtpengine: bump to 9.5.3.2
2022-01-22 15:10:53 +01:00
Sebastian Kemper
6ffb3e81d2 rtpengine: bump to 9.5.3.2
Latest LTS release. Switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-01-22 11:55:56 +01:00
micmac1
33fda345d2
Merge pull request #726 from shalzz/master
asterisk-chan-dongle: update to the latest git HEAD
2022-01-04 14:16:42 +01:00
Shaleen Jain
409e797785 asterisk-chan-dongle: update to the latest git HEAD
The upstream commit 6073c91fcf0a46a1525d500c274fa5ab96af7dda broke
non-quectel devices due to the channel driver unable to complete
initialization.

This is fixed in the latest upstream commit.

Signed-off-by: Shaleen Jain <shaleen@jain.sh>
2022-01-04 16:09:08 +05:30
micmac1
323a790926
Merge pull request #725 from BKPepe/coturn
coturn: add libintl dependency when enabled full language support
2021-12-31 12:46:32 +01:00
Josef Schlehofer
f2a745c472
coturn: add patch for not linking libintl
If there is enabled CONFIG_BUILD_NLS, coturn can not be compiled.
It fails with the following error:

Package coturn is missing dependencies for the following libraries:
libintl.so.8

But thanks to @micmac1, it was realized that libintl
is not used anywhere in coturn, that's why there was sent PR to upstream.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-30 22:23:12 +01:00
Jiri Slachta
8c563cb3d8
Merge pull request #724 from micmac1/kam-time_t-ldap
kamailio: add upstreamed patches (compile fix + time64 fixes)
2021-12-23 23:26:16 +01:00
Sebastian Kemper
b0387a66ac kamailio: add patch for time64 libc support
This was upstreamed recently. All twelve commits were squashed into a
single patch.

Also the Makefile is switched to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-22 21:49:56 +01:00
Sebastian Kemper
8ecd6e71fd kamailio: ldap: rename function ldap_connect
With the recently updated openldap, kamailio fails to build. This adds
an upstreamed patch to resolve this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-22 21:39:31 +01:00
micmac1
7fa7115d7a
Merge pull request #722 from micmac1/ast-init
asterisk: init script changes
2021-12-22 21:21:52 +01:00
micmac1
4806e36ecd
Merge pull request #723 from micmac1/coturn-conffiles
coturn: add /etc/turnserver to conffiles
2021-12-22 21:21:14 +01:00
Sebastian Kemper
893f8d72a8 coturn: add /etc/turnserver to conffiles
If turndb it created in this folder it should be saved during
sysupgrade.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-19 12:59:35 +01:00