Commit graph

1566 commits

Author SHA1 Message Date
Eneas U de Queiroz
c116c37851 freeswitch-stable: fix memory leak in mod_event_multicast
Applied a patch, submitted upstream at
https://freeswitch.org/jira/browse/FS-11193
that fixes two memory leaks in mod_event_multicast.c

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-01 14:15:14 -03:00
micmac1
c31caa1541
Merge pull request #355 from micmac1/fs-1.8-mods
freeswitch-stable: add new modules
2018-08-01 15:55:36 +02:00
Sebastian Kemper
3fbdfa8d96 freeswitch-stable: add new modules
1. fail2ban
2. raven
3. video_filter

All three are new in FreeSWITCH 1.8.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 15:51:13 +02:00
micmac1
aa966ce4eb
Merge pull request #354 from micmac1/fs-1.8
freeswitch-stable: bump to 1.8.1
2018-08-01 13:35:40 +02:00
Sebastian Kemper
06b7df55b0 freeswitch-stable: upgrade to 1.8.1
- Bump version from 1.6.20 to 1.8.1 (includes OpenSSL 1.1.0 support).
- Upstream didn't provide a source tarball yet, switch to git to grab
  the release.
- freeradius-client got updated to 1.1.7 by upstream, update version and
  checksum accordingly.
- tiff, libvpx and pcre patches are no longer needed, drop them.
- Refresh the remaining patches. Only minor changes were needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 13:22:42 +02:00
Sebastian Kemper
2ef37ad9fe freeswitch-stable: remove mod_v8
mod_v8 is too difficult to maintain and tricky to cross-compile. This
commit removes it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 13:13:34 +02:00
Sebastian Kemper
63caadb3d3 asterisk-chan-dongle: update snapshot
Includes USSD encoding fix for E3531.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-18 22:11:46 +02:00
Sebastian Kemper
d5f36f5394 asterisk-chan-dongle: remove iconv hack
Remove the hack for iconv on uclibc. Instead include nls.mk which will
sort out the iconv depends.

This changes the iconv patch. AC_SEARCH_LIB doesn't work properly for
openwrt/lede. Instead use AC_CHECK_LIB.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-18 22:07:50 +02:00
Sebastian Kemper
e45e405487 asterisk-chan-sccp: remove iconv hack
Instead just include nls.mk.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-17 23:26:23 +02:00
micmac1
c479fe35e4
Merge pull request #350 from micmac1/fs-nls3
freeswitch-stable: fix gsmopen inbuf handling
2018-07-16 23:27:31 +02:00
Sebastian Kemper
1886bd33b5 freeswitch-stable: fix gsmopen inbuf handling
inbuf is only const in libiconv-full when compiled against uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-16 23:24:38 +02:00
micmac1
46dddeb3f1
Merge pull request #349 from micmac1/fs-nls2
freeswitch-stable: fix sed script
2018-07-15 23:34:43 +02:00
Sebastian Kemper
d568f9336c freeswitch-stable: fix sed script
The sed script used on libs/unimrcp is used to set LDFLAGS using
APR_SETVAR. Since nls.mk is included there are LDFLAGS with commas. But
the macro APR_SETVAR uses commas to separate arguments, so now the
LDFLAGS are only getting partially copied.

Solve this by surrounding LDFLAGS with brackets ([...]).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 23:27:09 +02:00
micmac1
208b918f24
Merge pull request #348 from micmac1/fs-nls
freeswitch-stable: fix iconv related issues
2018-07-15 16:58:44 +02:00
Sebastian Kemper
e5e1e20ab3 freeswitch-stable: include nls.mk, remove hack
Removes the uClibc iconv hack. Instead nls.mk is included to sort out
iconv depends.

mod_gsmopen isn't able to figure out if iconv's inbuf is const. In
OpenWrt this is the case with libiconv-full, not with libiconv-stub. To
aid mod_gsmopen update 270-fix-uclibc-iconv-in-gsmopen.patch so that we
can pass on if inbuf is const via CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 16:53:23 +02:00
Sebastian Kemper
9d339b9e41 freeswitch-stable: fix APR_TRY_COMPILE_NO_WARNING
The macro included in apr/apr-util is incorrect. It results in extra
brackets being put into conftest.c, for example:

  #include "confdefs.h"

[
  #include <stddef.h>
  #include <iconv.h>
  ]
int main(int argc, const char *const *argv) {
[
  iconv(0,(char **)0,(size_t *)0,(char **)0,(size_t *)0);
  ]
  return 0; }

The test always fails with:

error: expected identifier or '(' before '[' token

The following checks are affected:

- variable length arrays
- type of inbuf parameter to iconv

Fix from upstream (Apache).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 16:34:53 +02:00
Sebastian Kemper
b12a8bf62c asterisk-15.x: fix iconv related build issue
libmariadb 10.2 needs to be linked in together with iconv. Include nls.mk
to help the build system find the iconv library.

Also update func_iconv's depend. We want to use the variable
$(ICONV_DEPENDS) provided by nls.mk. It resolves to
+BUILD_NLS:libiconv-full. This cannot be handled properly right now, as the
module depends filter cannot handle +<SYMBOL>:<package> depends. So add
another field to the Makefile's module function for complex depends, which
are passed on unfiltered.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 23:21:41 +02:00
Sebastian Kemper
166a1d9f0b asterisk-13.x: fix iconv related build issue
libmariadb 10.2 needs to be linked in together with iconv. Include nls.mk
to help the build system find the iconv library.

Also update func_iconv's depend. We want to use the variable
$(ICONV_DEPENDS) provided by nls.mk. It resolves to
+BUILD_NLS:libiconv-full. This cannot be handled properly right now, as the
module depends filter cannot handle +<SYMBOL>:<package> depends. So add
another field to the Makefile's module function for complex depends, which
are passed on unfiltered.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 23:13:27 +02:00
Sebastian Kemper
6315dcd5bf yate: update to 6.1.0
Upgrade yate. The video codec mapping patch needed some small changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 22:25:01 +02:00
Sebastian Kemper
0234b91cba yate: fix mod-mysqldb compile
Since libmariadb 10.2.x requires to be linked in together with iconv,
include nls.mk to help the build system find it.

Also fix a type in PKG_CONFIG_DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 22:22:20 +02:00
Jiri Slachta
7407084406
Merge pull request #343 from micmac1/AST-master
(for master) asterik: fix AST-2018-007 and AST-2018-008
2018-06-28 10:43:45 +02:00
Sebastian Kemper
6228ab5ed9 asterisk-15.x: patch AST-2018-007 and 008
Patches from upstream for:

AST-2018-007
AST-2018-008

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-25 22:50:20 +02:00
Sebastian Kemper
028912b333 asterisk-13.x: patch AST-2018-008
Patch from upstream for AST-2018-008.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-25 22:47:40 +02:00
micmac1
c7cb1e30c2
Merge pull request #339 from micmac1/fs-pcre
freeswitch-stable: fix incompatible pointer type
2018-06-21 21:14:14 +02:00
Sebastian Kemper
2c490b7fd1 freeswitch-stable: fix incompatible pointer type
Currently compiles fail with:

  CC       libfreeswitch_la-switch_regex.lo
src/switch_regex.c: In function 'switch_regex_compile':
src/switch_regex.c:40:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
  return pcre_compile(pattern, options, errorptr, erroroffset, tables);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:2100: recipe for target 'libfreeswitch_la-switch_regex.lo' failed
make[5]: *** [libfreeswitch_la-switch_regex.lo] Error 1

Fix cherry-picked from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-21 21:09:54 +02:00
Jiri Slachta
02928ab9c8
Merge pull request #332 from guidosarducci/siproxd-procd-cleanup
siproxd: switch to procd, restructure/cleanup code, bugfix
2018-05-27 07:32:45 +02:00
guidosarducci
b65b20f6f8 siproxd: restructure code and use procd for init
Switch to use procd for init, with support for jails. Clean up code and
restructure callback processing to be more robust and understandable. This
also fixes a bug processing multiple siproxd config sections, as reported
by Michael Kuron.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-05-24 00:23:56 -07:00
guidosarducci
a3f6f176d5 siproxd: don't apply default values already built-in
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-05-24 00:18:54 -07:00
Jiri Slachta
1b7fc3f889
Merge pull request #330 from micmac1/master
asterisk: remove sounds cache
2018-05-24 06:51:06 +02:00
Sebastian Kemper
e70c0848cc asterisk-15.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:11:50 +02:00
Sebastian Kemper
94b70e0425 asterisk-13.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:09:26 +02:00
Jiri Slachta
ac71f923cc
Merge pull request #326 from micmac1/yate-fix-mysql-detection
yate: fix mysql detection
2018-05-09 13:55:20 +02:00
Sebastian Kemper
32fa1723c9 yate: fix mysql detection
When configure is called with '--with-mysql="$(STAGING_DIR)/usr"' it tries
to detect mysql manually instead of using mysql_config. This doesn't always
work:

<snip>
checking for MySQL in /var/lib/buildbot/slaves/slave-lede-builds4/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl/usr... no
<snip>

This commit changes the configure argument to '--with-mysql=yes/no'. When
'yes' is selected configure uses mysql_config and then the detection works
reliably.

<snip>
checking for MySQL using mysql_config... yes 10.1.32
checking whether MYSQL_OPT_RECONNECT is declared... yes
checking whether MYSQL_OPT_READ_TIMEOUT is declared... yes
checking whether MYSQL_OPT_WRITE_TIMEOUT is declared... yes
checking whether mysql_set_character_set is declared... yes
<snip>

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-05 13:21:50 +02:00
Jiri Slachta
b159ed0cf9
Merge pull request #321 from micmac1/chan-lantiq-fix-target-build
asterisk-chan-lantiq: fix dep for nonshared builds
2018-05-01 21:19:05 +02:00
Jiri Slachta
4289fbab0d
Merge pull request #322 from micmac1/baresip-up
Baresip suite: version bumps
2018-05-01 21:16:57 +02:00
Jiri Slachta
fb52a10929
Merge pull request #323 from micmac1/ast-up
Asterisk: version bumps
2018-05-01 21:16:34 +02:00
Jiri Slachta
78ad9d8d36
Merge pull request #324 from micmac1/ast-modules-up
asterisk-channel modules: bump sccp and dongle
2018-05-01 21:15:09 +02:00
Jiri Slachta
de93daa077
Merge pull request #325 from micmac1/kamailio-up
kamailio-5.x: bump to 5.1.3
2018-05-01 21:14:45 +02:00
Sebastian Kemper
5f04977bd6 kamailio-5.x: bump to 5.1.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:09:35 +02:00
Sebastian Kemper
97e04fd17a asterisk-chan-sccp: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:05:30 +02:00
Sebastian Kemper
929ad42044 asterisk-chan-dongle: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:03:53 +02:00
Sebastian Kemper
715bd046c1 asterisk-15.x: bump to 15.3.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed
- drop a module that was removed upstream for being incomplete

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:55:53 +02:00
Sebastian Kemper
6cf1db0c4e asterisk-13.x: bump to 13.20.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:27:06 +02:00
Sebastian Kemper
ff40589317 baresip: bump to 0.5.9
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:03:16 +02:00
Sebastian Kemper
a8535f28fd rem: bump to 0.5.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:01:02 +02:00
Sebastian Kemper
624a5c7a00 re: bump to 0.5.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 13:58:52 +02:00
Sebastian Kemper
8dd77211e0 asterisk-chan-lantiq: fix dep for nonshared builds
Despite all previous efforts chan-lantiq is not built by the build bots.
Checking the logs of a target build reveals that the chan-lantiq builds are
not even attempted.

During the target builds CONFIG_ALL is not set, meaning no regular package
gets selected. CONFIG_ALL_NONSHARED on the other hand is set. But
chan-lantiq still will not be selected, because it depends on "asterisk",
meaning asterisk needs to be selected first for chan-lantiq to become
available.

This commit changes the asterisk depend to "+asterisk", meaning asterisk
will be selected if chan-lantiq is selected.

This was tested with the SDK. A seed config file was added with the
following:

CONFIG_ALL_NONSHARED=y

Running menuselect showed that now chan-lantiq is selected
automatically. This should fix the problem.

The problem with "+asterisk" is that this breaks the asterisk menus for all
asterisk plugins/utilities that follow chan-lantiq alphabetically.  To
address this put the chan-lantiq modules into their own sub menu "Telephony
Lantiq". This is not nice, but the alternative would be to rename the
packages to something like asterisk13-z-chan-lantiq. This would make it
harder to find the packages. Maybe somebody has a better idea in the
future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-27 21:44:43 +02:00
Jiri Slachta
3dd2e9183c
Merge pull request #320 from micmac1/chan-lantiq-no-variants
asterisk-chan-lantiq: avoid VARIANTs
2018-04-24 08:58:39 +02:00
Sebastian Kemper
f0e7c5cd4d asterisk-chan-lantiq: avoid VARIANTs
chan-lantiq currently is still not built by the build bots. Split the
package in two, one for Asterisk 13, the other for 15, to avoid a VARIANT
build. Maybe the build bots do not support nonshared VARIANT builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-15 17:34:21 +02:00
Jiri Slachta
2ead2c458c
Merge pull request #315 from micmac1/siproxd-fix-package-names
siproxd: remove underscores from package names
2018-04-14 07:49:29 +02:00