Commit graph

1716 commits

Author SHA1 Message Date
micmac1
e2f3704624
Merge pull request #787 from micmac1/gsm-no-nls-21.02
[21.02] gsmlib: disable NLS
2022-10-31 07:37:14 +01:00
Sebastian Kemper
728b42e3a3 gsmlib: disable NLS
It's not wanted, so add "--disable-nls" to override user selecting
CONFIG_BUILD_NLS.

This also updates 01-update-autotools.patch to make these disappear:

ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.

Makefile.am:21: warning: 'intl' should not be in SUBDIRS when AM_GNU_GETTEXT([external]) is used

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit b86cf0cdc6)
2022-10-30 09:27:07 +01:00
micmac1
89cc8fccf7
Merge pull request #770 from micmac1/21.02-sof-1.13.8
[openwrt-21.02] sofia-sip: bump to 1.13.8
2022-05-31 21:21:09 +02:00
Sebastian Kemper
3e2e3a19b3 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:11:26 +02:00
Jiri Slachta
818a3776c7
Merge pull request #761 from micmac1/21.02-AST-2022-01-02-03
[21.02] bump asterisk to 18.11.2
2022-04-19 12:29:43 +02:00
Sebastian Kemper
3181481463 asterisk: bump to version 18.11.2
asterisk: update AST_EXT_TOOL_CHECK for OpenWrt

Issue #672 shows that the current macro has some pitfalls, at least when
running within OpenWrt's buildroot.

The macro is used to detect these tools:

  1. xml2-config
  2. mysql_config
  3. neon-config
  4. net-snmp-config
  5. sdl-config (we're not using SDL)

The macro also adds configure arguments that allow to specify a path
like so:

  --with-mysqlclient=PATH

Macro problems:

  1. If no PATH is specified, it adds "/bin" to the search path.
     Obviously this is a bad thing when cross-compiling.
  2. If a PATH is specified, it adds it to the start of every include
     and library path it encounters. These paths are then broken.

This commit makes problem 1 go away by making the addition of
"${$1_DIR}/bin" to the PATH dependent on there being a PATH handed to
the macro. An alternative would be to remove the PATH addition
altogether, but then the macro wouldn't behave as expected.

It also removes the path filtering of the include and lib dirs to
address problem 2.

Closes #672

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

asterisk: bump to 18.7.1

The removed patch has been applied upstream and is part of this release.

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 0399a3dc73)

asterisk: add missing modules + dependency

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

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>
(cherry picked from commit 4209a36afe)

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)

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-18 17:56:18 +02:00
Andre Heider
ccc57cff3c pjproject: sync patches with asterisk 18.11.2
pjproject: sync patches with asterisk 18.7.1

Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 376473b38c)

pjproject: sync patches with asterisk 18.11.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 0c67ab5831)
2022-04-18 17:55:41 +02:00
micmac1
0183c1adda
Merge pull request #753 from micmac1/openwrt-21.02-AST
[21.02] pjproject: add upstream security fixes
2022-03-06 12:31:34 +01:00
Sebastian Kemper
ab9fc722ae 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>
(cherry picked from commit 623e5288f1)
2022-03-06 12:18:39 +01:00
micmac1
4bff07ae2e
Merge pull request #746 from micmac1/pj-AST-2021-009-2-21.02
[21.02] pjproject: add missing patch for AST-2021-009
2022-02-20 23:38:22 +01:00
Sebastian Kemper
4bea715a41 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>
(cherry picked from commit 1ac119d6c8)
2022-02-20 23:35:04 +01:00
micmac1
001ae7137c
Merge pull request #733 from micmac1/sof-1137-21
[21.02] sofia-sip: update to 1.13.7
2022-01-31 19:55:35 +01:00
Sebastian Kemper
e07c757266 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>
(cherry picked from commit f04a5a2383)
2022-01-31 19:36:47 +01:00
micmac1
ec88aa7ab0
Merge pull request #727 from micmac1/dong-head-21
[21.02] asterisk-chan-dongle: update to the latest git HEAD
2022-01-04 14:28:08 +01:00
Shaleen Jain
033dfdcd14 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>
(cherry picked from commit 409e797785)
2022-01-04 14:21:08 +01:00
Jiri Slachta
922009f1b2
Merge pull request #716 from micmac1/restund-cve-21.02
[21.02] restund: fix CVE-2021-21382
2021-12-08 06:58:06 +01:00
Sebastian Kemper
dec6316f2f restund: fix CVE-2021-21382
Patches taken from [1].

[1] https://github.com/wireapp/restund/pull/7

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-07 00:03:02 +01:00
micmac1
be93cb755c
Merge pull request #711 from micmac1/2102-dongle-fixes
[21.02] asterisk + asterisk-chan-dongle fixes
2021-11-09 19:26:19 +01:00
Sebastian Kemper
466cd85111 asterisk-chan-dongle: add postinst note
Provide quick hint to users to sort out possible/likely permission
issue.

Also refreshes some patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 829c1cf031)
2021-11-09 19:14:21 +01:00
Sebastian Kemper
e6cf1a7b63 asterisk: don't start with explicit group
Currently the asterisk init script starts the service with the group
"asterisk". Like this, even if the asterisk user is part of other groups,
asterisk will not be able to make use of them. So for instance if you add the
user to the group "dialout", asterisk will run under group "asterisk", instead
of "asterisk" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 9017e04b87)
2021-11-09 19:12:52 +01:00
Deomid "rojer" Ryabkov
b688d953ac asterisk-chan-dongle: bump for upstream fixes
To pull in fixes, specifically 3d2a97f26b which fixes decoding of SMS messages.

Also fixes https://github.com/openwrt/telephony/issues/686
and pulls in Quectel support (alternative to https://github.com/openwrt/telephony/pull/682).

Signed-off-by: Deomid "rojer" Ryabkov <rojer@rojer.me>
(cherry picked from commit 02d5dc545e)
2021-11-09 19:10:43 +01:00
micmac1
5c49ca9289
Merge pull request #707 from micmac1/2102-fs1107
[21.02] freeswitch: security update to 1.10.7
2021-11-08 00:21:56 +01:00
Sebastian Kemper
ee12e24d26 freetdm: add package
It was moved from the freeswitch source tree into its own package.

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

freetdm: fix PKG_CONFIG_DEPENDS

One is missing and one is misspelled.

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

freetdm: remove wrong InstallDev defines

They currently don't work, but we don't need them anyway. This removes
them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 70fa153500)
2021-11-07 23:57:10 +01:00
Sebastian Kemper
7414fc91b5 sofia-sip: bump to 1.13.6
Required for freeswitch 1.10.7.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 940613cd7b)
2021-11-07 23:33:50 +01:00
Sebastian Kemper
0ca47d2ef1 freeswitch: bump to 1.10.7
- freetdm is now external
- added the freeswitch library to InstallDev in preparation for freetdm
  package
- various fixes related to general build
- patches refreshed

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

freeswitch: add python3 support

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

freeswitch: fix 230-mod_radius_cdr.patch

This is a patch in a patch. It may happen that the patch was already
applied previously, so this amends the patch line to continue if the
patch doesn't apply. It also sets the direction to forward-only.

Also removes two trailing whitespace warnings.

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

freeswitch: only include python3-version.mk

We're just interested in the version, no need to include more than that.

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

freeswitch: don't check for distutils

We're not using distutils, so don't check for it. This fixes #704.

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

freeswitch: update 480-fix-libyuv-dependency.patch

Update the patch with the version that actually was applied upstream. No
functional change.

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

freeswitch: add missing item to PKG_CONFIG_DEPENDS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit ebcdcb3547)
2021-11-07 23:21:46 +01:00
micmac1
ed27198671
Merge pull request #696 from micmac1/lan-up-21.02
[21.02] asterisk-chan-lantiq: update for DTMF fix
2021-10-22 17:37:35 +02:00
Sebastian Kemper
dced965517 asterisk-chan-lantiq: update for DTMF fix
Bump to last commit. Includes fix for DTMF causing call release when
using Asterisk 18 (see [1]).

[1] https://github.com/openwrt/telephony/issues/631

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit ec6ba744b0)
2021-10-22 17:33:51 +02:00
micmac1
7f73a9ad19
Merge pull request #680 from micmac1/rtpe-up2
[21.02] rtpengine: bump to version 8.5.5.1
2021-08-30 10:41:46 +02:00
Sebastian Kemper
da026a44f4 rtpengine: bump to version 8.5.5.1
This also:

 - fixes /etc/modules.d/ipt-rtpengine (needs user and group ids instead
   of names)
 - adds user as well when kmod is installed so that abovementioned user
   and group ids are available
 - adds /etc/modules.d/ipt-rtpengine to conffiles

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-29 23:00:33 +02:00
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