Commit graph

117 commits

Author SHA1 Message Date
Sebastian Kemper
390b0aabe6 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>
2023-12-23 23:40:39 +01:00
Sebastian Kemper
26e09b2914 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>
2023-10-06 17:20:18 +02:00
Sebastian Kemper
999a8a9ff1 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>
2023-08-18 14:23:56 +02:00
Sebastian Kemper
2d4c2d2361 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>
2023-05-29 19:53:37 +02:00
Sebastian Kemper
8bd8f5e3e4 freeswitch: fix compile against musl-1.2.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2023-05-19 01:00:12 +02:00
Sebastian Kemper
269b611027 freeswitch: bump to 1.10.9
ZRTP support removed as it was dropped upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2023-03-02 20:12:23 +01:00
Eneas U de Queiroz
09ad78b6cc
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>
2023-02-10 18:20:35 -03:00
Sebastian Kemper
9604a203d5 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>
2022-11-08 21:19:27 +01:00
Sebastian Kemper
145d0b3a30 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>
2022-11-07 22:07:53 +01:00
Sebastian Kemper
66cddc0459 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>
2022-10-15 16:49:42 +02:00
Sebastian Kemper
62929c24b6 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>
2022-06-12 10:10:44 +02: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
Sebastian Kemper
10d500efb9 freeswitch: clean PKG_CONFIG_DEPENDS
CONFIG_FS_WITH_MODCONF doesn't influence configure and doesn't belong
here.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-09 18:59:56 +01:00
Sebastian Kemper
ebcdcb3547 freeswitch: add missing item to PKG_CONFIG_DEPENDS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-07 20:26:27 +01:00
Sebastian Kemper
6004044dc0 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>
2021-11-06 12:29:18 +01:00
Sebastian Kemper
eb145cd014 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>
2021-11-06 12:25:56 +01:00
Sebastian Kemper
42574d54d4 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>
2021-11-06 12:25:09 +01:00
Sebastian Kemper
3fafe1afac 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>
2021-10-31 08:52:51 +01:00
Sebastian Kemper
652d110b2f freeswitch: add python3 support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:08:00 +02:00
Sebastian Kemper
4ab96a1879 freeswitch: bump to 1.10.7
- freetdm is now external
- added the freeswitch library to InstallDev in preparation for freetdm
  package
- add time64 change which always uses "lld" format and casts
- various fixes related to general build and time64 especially
- patches refreshed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:07:04 +02:00
Sebastian Kemper
060be263d2 freeswitch: don't start with explicit group
Currently the freeswitch init script starts the service with the group
"freeswitch". Like this, even if the freeswitch user is part of other
groups, freeswitch will not be able to make use of them. So for instance
if you add the user to the group "dialout", freeswitch will run under
group "freeswitch", instead of "freeswitch" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-10 11:26:41 +02:00
Sebastian Kemper
7392aea053 freeswitch: remove "+=" operator for portability
POSIX shells don't support "+=" operators. This commit replaces it with
something portable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-27 23:38:19 +02:00
Sebastian Kemper
0b942dad3f freeswitch: set stop level
This sets STOP to 10 to allow for a graceful shutdown. Users may
additionally need to set "term_timeout" in /etc/config/freeswitch to a
sensible value.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-17 18:11:53 +02:00
Rosen Penev
213538cdc8 freeswitch: fix compilation with GCC11
GCC 11 is more strict with declarations.

Also backport patch fixing mod_gsmopen compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-04 01:45:54 -07:00
Sebastian Kemper
34e26f180a 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:50:53 +02:00
Sebastian Kemper
601188d0ff 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-03-26 22:22:20 +01:00
Sebastian Kemper
a34590f057 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-03-26 22:15:45 +01:00
Sebastian Kemper
4d8e02f4af freeswitch: clean up after uclibc* removal
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-09 21:44:30 +01:00
Rosen Penev
13fd0a5ab9 treewide: remove uClibc++ support
This is in preparation for removing the whole thing from base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 14:45:47 -08:00
Rosen Penev
03415d1b87
freeswitch: fix compilation with CentOS 7
Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.

The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-01 13:58:27 -08:00
Rosen Penev
cff514032b
freeswitch: fix compilation with musl 1.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 18:53:57 -07:00
Sebastian Kemper
ee37dc867a freeswitch: remove leftover patch
This patch was used in 1.10.4 but now it's not used anymore because the
external spandsp3 package is used. Drop the file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-12 10:29:41 +02:00
Sebastian Kemper
e8d5a49f05 freeswitch: revisit build setup
1. Upstream fixed the parallel build issue in
   90ea0b7a1fdd7d8c5adaac87d74ed1c3c74086d0, so no need to force it off
   anymore.

2. The same sed script for uncommenting modules in modules.conf is used
   multiple times. This commit puts the script into a define that can be
   reused.

3. Some ifdefs removed. They only clutter up the Makefile. The sed
   script can run a few extra times, it does not matter.

4. Add a few extra dependencies that came to light.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-08 19:35:35 +02:00
Sebastian Kemper
787ea81583 freeswitch: add mod_rayo gcc 10 upstream fix
This removes the current workaround and replaces it with upstream fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-08 19:26:44 +02:00
Sebastian Kemper
1dcfd2becf freeswitch: version bump to 1.10.5
This now uses the external spandsp3 package.

Patches:

 - 390-t38-reinvite-488-fix.patch removed (finally upstreamed)
 - 340-mod-spandsp-fix-typo.patch and 350-gsmopen-spandsp-fixup.patch
   added (both accepted into upstream master already)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-03 19:50:28 +02:00
Sebastian Kemper
5b9b5db1b7 freeswitch: make pkg-config file usable
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-15 12:44:08 +02:00
Sebastian Kemper
adc6a81a0f freeswitch: fix shadow dep
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-15 12:29:43 +02:00
Sebastian Kemper
984100dc61 freeswitch: bump to 1.10.4
Upstream split out spandsp as well. But their spandsp "fork" may not be
a drop-in replacement for the regular spandsp. For now we keep it built
into freeswitch via patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-07 21:27:39 +02:00
Sebastian Kemper
0e055c4657 freeswitch: update libjpeg deps
libjpeg was replaced by libjpeg-turbo in packages repo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 11:55:36 +02:00
Sebastian Kemper
e0feb012ad freeswitch: mod-rayo not compiling with gcc-10
Raised issue upstream ([1]). For now let's add this workaround.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-20 20:46:24 +02:00
Sebastian Kemper
ece4d54d62 freeswitch: remove package symbol from FT mods
No need to have this symbol around here. libfreetdm is part of the same
package (freeswitch) anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-15 20:35:14 +02:00
Sebastian Kemper
9710018e41 freeswitch: prevent libcheck use
Currently we disable some sofia tests to prevent build failure. An issue
was actually raised upstream ([1]) where this was discussed.

This cleared up some doubts. For instance it was established that
libcheck is used as a test framework, if the lib is detected. In OpenWrt
libcheck is available, so it may be in staging during the freeswitch
build.

Upstream also mentioned that libcheck is not always compatible with
freeswitch, which depends on the libcheck version.

This commit prevents libcheck detection. This is nicer than explicitly
disabling tests that fail.

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

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-06-09 18:56:31 +02:00
Sebastian Kemper
e3b3dce36e freeswitch-stable: rename to just freeswitch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-23 19:55:50 +02:00
Sebastian Kemper
b7ada77e17 freeswitch-stable: move folder
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-23 19:46:12 +02:00
Jiri Slachta
6381da204b freeswitch: move to packages-abandoned repository
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2019-06-16 12:53:51 +02:00
Hannu Nyman
fd727f5ed5 freeswitch: disable flite module
Disable also flite module that depends on non-existing package.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-02-03 10:42:36 +02:00
Mazi Lo
c46719867f Added patches to build for glibc.
For now, these patches are basically the same for musl library build.

Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-02-01 21:37:39 -05:00
Mazi Lo
be557c9bc0 Fixed depencencies and also bumped to git 77d0cfbf9e9a546b4eee23d9668cf44022f5d454
Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-02-01 21:32:18 -05:00
Mazi Lo
fec346da37 Fixed to use local python3-package.mk
Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-01-23 08:22:52 -05:00
Habibie
16a9cf8cd0 1. Updated to git HEAD 7a46fd67cd2833f07d583288b8d2dc084733fc91 (v1.9.0)
2. Updated patched files.
3. Fixed detection of perl and python3 in configure.ac file

Signed-off-by: Mazi Lo <openwrt.mazilo@xoxy.net>
2017-05-14 13:34:11 -04:00