Commit Graph

66 Commits

Author SHA1 Message Date
Christian Marangi 75acd1cdc2 freeswitch: add patch moving package to PCRE2
Add pending patch moving package to PCRE2 as PCRE is EOL and won't
receive any updates anymore.

These patch were run uder the freeswitch CI and were validated with
their unit tests.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
[fix conflict, fix typo in commit message, remove @BROKEN dep, refresh
patches]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2024-10-28 10:24:13 +01:00
Sebastian Kemper 6c4f646434 freeswitch: bump to 1.10.12
- plugin mod-kazoo removed upstream
- add @BROKEN dependency because of prce removal from packages
- refresh patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2024-08-04 18:34:06 +02:00
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 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
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 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 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 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
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 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 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 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 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 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 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
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 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
Mazi Lo f780db1445 [FreeSWITCH]: Update patched files for musl
--
Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2016-03-26 18:20:35 -04:00
Mazi Lo 1f256b0b9d [FreeSWITCH]: Remove unused patched files
--
Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2016-03-26 18:17:15 -04:00
Mazi Lo 1ee1586053 [FreeSWITCH]: Ref. to FS git commit bb258288801b50e8fb673a620a6c2b4855e11daf
1. Update to FS v1.7.0
 2. Fix erlang detection
 3. Fix mod-python
 4. Add libvpx and libyuv configure switches.
 5. Add mod-graylog2, mod-png, mod-prefix, and mod-translate.
 6. Use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST).

--
Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2016-03-26 17:49:30 -04:00
Mazi Lo 6f84247b3e [FreeSWITCH]
1. Removed PROCESS_SHARED locks check from libs/apr/configure.ac.
2. Flagged mod_flite as BROKEN due to lack of flite package.
3. Added some additional modules, i.e. mod_av, mod_esl, and flagged as BROKEN for now.
4. Depricated mod_celt.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-09-06 00:45:25 -04:00
Mazi Lo 1a8b0e05ee [FreeSWITCH]: Update to v1.5.final
1. Added an sqlite2 option for configure in apr-util
2. Moved bootstrap to Prepare stage.
3. Restructured patches directory to include CONFIG_LIBC
4. Fixed some modules dependency issues.
5. Reinstated mod_enum as not BROKEN.
6. Renamed mod_vp8 to mod_vpx according to FS changes.
7. Added some new modules and some are flagged as BROKEN.
   i.e. mod_cv, mod_hiredis (BROKEN), mod_kazoo, mod_smpp (BROKEN)
8. Flagged some modules as BROKEN due to insufficient libraries.
   i.e. mod_bv, mod_codec2, mod_fsv, mod_ilbc, mod_silk, mod_siren
9. Removed mod_snipe_hunt (depricated by FS)

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-08-29 12:23:52 -04:00
Mazi Lo 882da949e7 FreeSWITCH:
1. Update to FS Git HEAD 464d8ab91086715a2ec7eb1fb9a2d2cb53377eb7
  2. Revert Config.in file to before GitHUB.
  3. Revert dependency to libsrtp before GitHUB.
  4. Add patch from Bluemax <bluemax@users.noreply.github.com> to libs/apr/configure.ac to disable TCP_NODELAY_WITH_CORK when cross compile.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-04-14 22:04:50 -04:00
Jiri Slachta 29d6aa52ab Revert "FreeSWITCH: fixed cross-compile errors" 2015-04-13 15:11:08 +02:00
Bluemax 163874a260 FreeSWITCH: fixed cross-compile errors
Signed-off-by: Bluemax <bluemax@users.noreply.github.com>
2015-04-08 05:46:54 +02:00
Mazi Lo 409394e6ea FreeSWITCH:
1. Remove old patches.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-04-07 11:24:00 -04:00
Mazi Lo 24f45c9b31 FreeSWITCH:
1. Update to FS git 6eb59c711989774fb797d1c447e3d63aac84826b.
  2. Disable mod_perl due to recent changes in perl package.
  3. Disable mod_verto (required mod_perl).
  4. Remove numbering scheme from patches.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2015-04-07 11:09:48 -04:00
Mazi Lo 8d0e8f3638 FreeSWITCH:
1. Some platforms failed in configure process while checking for working
PROCESS_SHARED locks. Perhaps, this is caused by apr_cv_process_shared_works
variable set to yes in configure.ac file. This commit will set the
variable to no and see if configure process will pass such test.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-28 02:25:39 -04:00
Mazi Lo 1fd4c936c6 FreeSWITCH:
1. The included patched file (1130800-libs-srtp-configure-ac.patch) did
not seem to get pushed to the git server. Here we try again.

2. Update the patches/0000011-Makefile.am.patch file.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-26 10:56:06 -04:00
Mazi Lo cc7c560f55 FreeSWITHC: git HASH 12b6940644a68ea444c0e430412d419ae368d4a8
1. libs/srtp/configure.ac: DO NOT check for urandom when
cross_compiling.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-26 00:02:04 -04:00
Mazi Lo 1ba02cf25c FreeSWITCH:
1. Partially revert previous commit (11c475ad4) for python detection
   in configure.ac scripts.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-23 15:14:01 -04:00
Mazi Lo 11c475ad46 FreeSWITCH: git HASH 7faf9f4c25420204b53b5bbda1d228536778b39b
1. Add mod-python
2. Fix PHP detection in configure.ac script.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-19 21:27:13 -04:00
Mazi Lo 9ce7981406 FreeSWITCH: git HASH e3e267f46249abf714dd596dc89e545fd844aaee
1. restore missing ac_cv_dev_urandom=yes for sofia-sip to configure.ac
2. restore missing ac_cv_file___dev_urandom_=yes for srtp to configure.ac

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-15 12:10:55 -04:00
Mazi Lo acf25d8230 FreeSWITCH:
1. Remove -Werror from gnu platform

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
2014-10-11 13:27:34 -04:00