Commit graph

1687 commits

Author SHA1 Message Date
Jiri Slachta
df7208f616
Merge pull request #667 from robho/yate_6.4.0_for_21.02
[21.02] yate: bump to 6.4.0
2021-08-16 21:06:51 +02:00
Jiri Slachta
4dc042961f
Merge pull request #668 from micmac1/21ast1851
[21.02] Backport Asterisk 18.5.1 bump
2021-08-16 21:06:07 +02:00
micmac1
c1391b570e
Merge pull request #670 from micmac1/21sof14
[21.02] sofia-sip: bump to 1.13.4
2021-08-11 23:01:16 +02:00
Sebastian Kemper
caea1c41df asterisk: bump to 18.5.1
Update deps of asterisk-res-pjproject. It depends on res_sorcery_config,
which is part of asterisk-res-sorcery.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-06 20:43:57 +02:00
Sebastian Kemper
54ad579b30 pjproject: sync patches with asterisk 18.5.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-06 20:43:25 +02:00
Sebastian Kemper
b3f4993851 sofia-sip: bump to 1.13.4
Fixes some issues, for instance a segfault during shutdown when
sofia-sip wasn't fully loaded, see [1]. The segfault was reproducible
by simply calling "freeswitch -help".

The added patch is to address a library versioning regression, patch is
from upstream.

[1] https://github.com/freeswitch/sofia-sip/issues/58

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-06 20:27:46 +02:00
Robert Högberg
3bc13cba19 yate: bump to 6.4.0
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-08-04 23:28:45 +02:00
Jiri Slachta
aa19540243
Merge pull request #660 from dangowrt/asterisk-18.5.0-for-21.02
asterisk: update to version 18.5.0 and backport patch
2021-07-22 14:39:16 +02:00
Daniel Golle
a58d120e0e asterisk: update to version 18.5.0 and backport patch
Update to upstream version 18.5.0 and backport commit[1] completing the
announcements in Dial command to behave like it is stated in the
documenation[2].

[1]: 1e5a2cfe30
[2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Dial

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 20e8c3b2d9)
2021-07-22 13:30:03 +01:00
Jiri Slachta
ee64ec42e9
Merge pull request #647 from robho/yate-6.3.0_21.02
[21.02] yate: bump to 6.3.0 and enable speex codec
2021-06-08 08:28:11 +02:00
Robert Högberg
87fd562617 yate: bump to 6.3.0 and enable speex codec
New yate modules in this release:
yate-mod-ilbcwebrtc
yate-mod-speexcodec
yate-mod-wiresniff

Some patches were removed:
110-no-libnsl.patch - not needed
120-create-thread-key-on-access.patch - not needed
150-video-codecs-mapping.patch - already applied upstream

Some additional changes:
* An upstream fix (r6470) is cherry-picked to avoid crashing when YATE
  receives an invalid SIP message.

* Build directory changed to include package version.

* Set PKG_BUILD_PARALLEL to allow parallelized build of yate.

* Speed up build if yate-mod-ilbccodec or yate-mod-sqlitedb is
  disabled (disable ilbc and sqlite in configure step).

* Removing umbrella package yate-collection-basic. It isn't built and
  hasn't been built for years and I think the modules it wants to
  install are a bit strange and probably not useful to most
  users. From the name yate-collection-basic I would expect to get
  some basic functionality, but why would I then need
  yate-mod-dumbchan, yate-mod-rmanager and yate-mod-tonegen? What is
  the use case? I think it's better that users themselves install the
  packages needed for their use case, especially in OpenWrt where
  flash space usually is limited and you don't want to install more
  packages than what you really need.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-06-07 12:48:38 +02:00
micmac1
04e1378baf
Merge pull request #645 from micmac1/fs1106-nua-mem-leak-21.02
[21.02] sofia-sip: add upstream fix for memory leak
2021-05-27 22:03:16 +02:00
Sebastian Kemper
45f39f1d45 sofia-sip: add upstream fix for memory leak
Upstream provided a patch for a memory leak in Sofia SIP (see [1] for
more information).

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-27 20:20:54 +02:00
Jiri Slachta
90a8f084cf asterisk: update to 18.4.0
Patches updated/refreshed:

100-build-reproducibly.patch
130-eventfd.patch
140-use-default-lua.patch

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2021-05-12 21:30:11 +02:00
micmac1
1788229571
Merge pull request #638 from micmac1/rtpe-8533-21.02
rtpengine: bump to 8.5.3.3
2021-04-18 12:14:05 +02:00
Sebastian Kemper
3ead65a298 rtpengine: fix Module.symvers handling
This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the rtpengine
Module.symvers file.

Also, this puts KERNEL_MAKE_FLAGS into the make flags used to compile
the kernel module. This way Module.symvers files of other modules are
made available, plus there is no need anymore to specify ARCH and
CROSS_COMPILE, as KERNEL_MAKE_FLAGS already takes care of that.

While updating make flags this also adds PKG_JOBS for completeness'
sake.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-18 12:10:58 +02:00
Sebastian Kemper
ec7ac00999 rtpengine: build in BUILD_DIR
rtpengine is not primarily about kernel modules. It's an application
(which also offers a kernel module). So build it in BUILD_DIR instead of
KERNEL_BUILD_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-18 12:09:45 +02:00
Sebastian Kemper
c72f51bac2 rtpengine: bump to 8.5.3.3
Contains upstream fix for G.729 recording with bcg729.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-18 12:01:08 +02:00
micmac1
2d24c9eb2a
Merge pull request #635 from micmac1/fs-modmake-patch-21.02
[21.02] freeswitch: fix 003-modmake-fix.patch
2021-04-08 22:02:15 +02:00
Sebastian Kemper
a0a097f604 freeswitch: fix 003-modmake-fix.patch
Somehow this white space change slipped in unintentionally.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-07 20:54:05 +02:00
micmac1
79fafd3726
Merge pull request #632 from micmac1/fs-1106-21.02
[21.02] update freeswitch to 1.10.6
2021-04-04 10:47:41 +02:00
Sebastian Kemper
1cb886e052 freeswitch: rework init & hotplug
This adds a term_timeout uci option which can be used to change the
default timeout that procd uses while waiting for freeswitch to exit
once the TERM signal is sent. freeswitch may take a bit longer to exit,
so adding this option is likely appreciated. By default procd's default
is used, though.

Logging is updated in init script and hotplug script. The used facility
is changed from user to daemon, for instance.

An issue was fixed in the parsing of the ntpq output. In case a positive
offset was printed the parsing failed. Apparently ntpq is now adding a
'+', so this is now accounted for.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-03 09:14:05 +02:00
Sebastian Kemper
e21e40486d freeswitch: update to 1.10.6
- patches which are now upstream were removed
- some patches were refreshed
- 003-modmake-fix.patch was amended a bit because of upstream commit
  91f12b5 (it changed tests/unit/Makefile.am so that it doesn't
  redefine AM_CFLAGS and AM_CPPFLAGS, which results in duplicated flags)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-03 09:07:29 +02:00
Jiri Slachta
bdaf85981b
Merge pull request #628 from micmac1/21.02-ast-backports
[21.02] asterisk backports
2021-03-25 12:35:51 +01:00
micmac1
3179b75fa2
Merge pull request #627 from micmac1/21.02-seb-backports
[21.02] freeswitch/sngrep backports
2021-03-21 19:55:31 +01:00
Sebastian Kemper
fad04b6d2e asterisk: update to 18.2.2
Updated 140-use-default-lua.patch.

Patches refreshed:
  001-disable-semaphores-on-uclibc-otherwise-allow.patch
  002-configure-fix-detection-of-re-entrant-resolver-funct.patch
  100-build-reproducibly.patch
  130-eventfd.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-20 09:33:41 +01:00
Sebastian Kemper
9452a933ad pjproject: sync patches with asterisk 18.2.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:13:31 +01:00
Sebastian Kemper
4786b9aa7d pjproject: drop autoreconf, run make dep
Neither configure.ac nor configure.in exists, so autoreconf is a no-op.
This commit drops it.

Also, run "make dep" as advertised by the README and the configure
script.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:13:21 +01:00
Sebastian Kemper
0189f67bd2 pjproject: add patch for AST-2021-005
https://downloads.asterisk.org/pub/security/AST-2021-005.html
https://issues.asterisk.org/jira/browse/ASTERISK-29196

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:13:02 +01:00
Sebastian Kemper
b69c7eedd7 sngrep: bump to 1.4.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:05:16 +01:00
Sebastian Kemper
73bae4f168 spandsp3: bump to 2020-10-19
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:05:06 +01:00
Sebastian Kemper
702ee9a3df sofia-sip: bump to 1.13.3
Upstream now provides a release tarball. Use that instead of a git
checkout.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:04:43 +01:00
Sebastian Kemper
2755c30ff1 libks: bump to 1.7.0
Drops 05-openssl-deprecated.patch as included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-19 18:04:20 +01:00
micmac1
a419384ef2
Merge pull request #612 from micmac1/glib-rtpen-bump
rtpengine: update to 8.5.3.2
2021-02-14 22:07:58 +01:00
Sebastian Kemper
78624e5c5c rtpengine: update to 8.5.3.2
02-pcap.patch no longer needed, it's included in upstream release.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-02-14 10:29:52 +01:00
micmac1
611bb9c4e7
Merge pull request #610 from lipnitsk/master
dahdi-linux: patch to compile with linux >= 5.6
2021-02-01 20:14:21 +01:00
Ilya Lipnitskiy
ea67943314 dahdi-linux: patch to compile with linux >= 5.6
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-01 11:07:49 -08:00
Jiri Slachta
3fa0c89afd
Merge pull request #609 from BKPepe/asterisk-uriparser-disable
asterisk: disable uriparser
2021-01-27 14:49:34 +01:00
Josef Schlehofer
ba73572d3e
asterisk: disable uriparser
Uriparser is a compliant URI parsing and handling library for RFC 3986.
For now, this is not included in OpenWrt feeds, but in Turris OS
uriparser is used as dependency for Updater-ng.

When Asterisk finds in build system there is uriparser or anything else mentioned in configure,
it tries to enable it by default. This applies to every package in
OpenWrt and because of that new packages which are added to OpenWrt tries to disable almost
everything by default. Because if someone adds library, some packages
are not compiled or tested.

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

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-27 11:04:29 +01:00
micmac1
f929face41
Merge pull request #607 from micmac1/rtpe-up
rtpengine: bump to 8.5.3.1
2021-01-25 22:32:22 +01:00
micmac1
da8e877450
Merge pull request #608 from guidosarducci/master-fix-uid-error
siproxd: fix UID variable conflict in init
2021-01-25 22:28:59 +01:00
Tony Ambardar
442a19214b siproxd: fix UID variable conflict in init
Variable 'UID' is set readonly in some calling contexts, yielding errors
during e.g. ImageBuilder usage:

  Enabling rpcd
  ./etc/init.d/siproxd: line 14: UID: readonly variable
  Enabling siproxd
  Enabling sysctl

Rename UID and GID variables as SIPROXD_UID and SIPROXD_GID.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-01-24 00:27:05 -08:00
Sebastian Kemper
71bf69c27d rtpengine: bump to 8.5.3.1
In other news:

 - removes "mr" from version
 - refreshes patches/02-pcap.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-23 12:05:22 +01:00
Jiri Slachta
4d2bb84647
Merge pull request #606 from micmac1/aster-sup
asterisk: revert commit + add missing dep
2021-01-15 21:45:59 +01:00
Sebastian Kemper
6e8eaf2602 asterisk: add dependency to asterisk-chan-rtp
This commit makes asterisk-chan-rtp depend on
asterisk-res-rtp-multicast. Without the res-rtp-multicast module
chan-rtp cannot be loaded:

OpenWrt*CLI> module load chan_rtp.so
Unable to load module chan_rtp.so
Command 'module load chan_rtp.so' failed.
[Jan  9 08:51:01] ERROR[16337]: loader.c:281 module_load_error: Error loading module 'chan_rtp.so': Error relocating /usr/lib/asterisk/modules/chan_rtp.so: ast_multicast_rtp_create_options: symbol not found

This issue was mentioned in the OpenWrt forum ([1]).

[1] https://forum.openwrt.org/t/asterisk-makes-a-problem-with-loading/84816

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-15 20:00:09 +01:00
Sebastian Kemper
b619c417db Revert "asterisk: link in libdl when linking to liblua"
This reverts commit 150b85ab35.

OpenWrt upstream updated the lua package so that liblua now is linked
to libdl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-15 19:51:11 +01:00
micmac1
1000b51246
Merge pull request #605 from neheb/r
rtpengine: fix compilation with newer pcap
2021-01-15 19:20:14 +01:00
Rosen Penev
63508ca6d8
rtpengine: fix compilation with newer pcap
Backport upstream patch fixing this issue.

Remove uClibc-ng patch as it's no longer in the tree.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-05 15:35:59 -08:00
Jiri Slachta
655badbc10
Merge pull request #604 from micmac1/ast-lua
asterisk: link in libdl when linking to liblua
2021-01-03 20:17:00 +01:00
Sebastian Kemper
150b85ab35 asterisk: link in libdl when linking to liblua
Currently building for archs target against glibc fails:

checking for mandatory modules:  CAP GSM ILBC LIBEDIT LIBXML2 LUA PJPROJECT SQLITE3 SRTP ZLIB... fail

configure: ***
configure: *** The LUA installation appears to be missing or broken.

Checking config.log reveals:

/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlopen'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlclose'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlerror'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlsym'

This commit adds "-ldl" to lua linker flags so compilation against glibc
works. This has no ill effect on musl where libdl is just an empty
library archive.

This is not something that should be sent upstream, as they maybe
support non-Linux platforms as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-03 18:39:07 +01:00