Commit graph

1586 commits

Author SHA1 Message Date
Rosen Penev
94df06b550
miax: fix compilation errors under uClibc-ng and musl
usleep is deprecated. So are bcopy and bzero.

Added extra needed headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:34:21 -07:00
Jiri Slachta
e80afb1545
Merge pull request #575 from guidosarducci/master-add-siproxd-max-clients
siproxd: add max clients configuration and default
2020-09-23 11:31:04 +02:00
Tony Ambardar
37c411269b siproxd: add max clients configuration and default
Add a configuration option SIPROXD_MAX_CLIENTS used for compile-time sizing
of the maximum supported proxy clients. Set this to a default value of 32,
which is more suitable for a small network or CPE router and uses much
less memory than the upstream value of 512 (e.g. RSS of 2 MB vs 17 MB).

Drop the following patch in favour of the new config option:

  * 005-reduce-rtpproxy-urlmap-size.patch

Also fix an incorrect configure option, and silence many warnings due to
unused VCS 'ident' variables in the sources.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-09-22 22:21:12 -07:00
micmac1
13060e85c0
Merge pull request #572 from micmac1/span3xml2
spandsp3: prevent host include search paths
2020-09-20 20:19:17 +02:00
Sebastian Kemper
6abadea9a0 spandsp3: prevent host include search paths
Note the host include path for libxml2 below. This shouldn't cause an
issue because libxml2 is never used. But better safe than sorry as the
configure script probes other host include paths as well.

/bin/sh ../libtool  --tag=CC   --mode=compile ccache_cc -DHAVE_CONFIG_H -I.  -I.. -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include  -I/usr/include/libxml2 -DNDEBUG -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/spandsp3-2020-08-14-6ec23e5a=spandsp3-2020-08-14-6ec23e5a -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -MT dds_float.lo -MD -MP -MF .deps/dds_float.Tpo -c -o dds_float.lo dds_float.c

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-20 13:41:17 +02:00
Jiri Slachta
7d53cdccdf
Merge pull request #566 from dhewg/ast
asterisk-16.x: bump to 16.13.0
2020-09-17 20:16:40 +02:00
micmac1
41812fc6d4
Merge pull request #571 from micmac1/fs_rm_spandsp_patch
freeswitch: remove leftover patch
2020-09-12 10:36:54 +02: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
micmac1
29de904c00
Merge pull request #569 from micmac1/fs_cleanups
freeswitch: cleanups
2020-09-08 23:03:56 +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
micmac1
f354ee4e30
Merge pull request #568 from micmac1/rtpe-bump
rtpengine: bump to 8.5.1.2, disable parallel build
2020-09-08 12:25:19 +02:00
Sebastian Kemper
cd500b425d rtpengine: bump to 8.5.1.2, disable parallel build
Minor version bump. This also partially reverts
7e7ab06ccd by disabling parallel builds,
as there are sporadic build failures again

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-07 11:23:13 +02:00
Jiri Slachta
cf378bd959
Merge pull request #567 from guidosarducci/master-update-siproxd-0.8.3
siproxd: update to version 0.8.3, improve logging and memory usage
2020-09-06 21:58:44 +02:00
micmac1
60c39f1283
Merge pull request #564 from micmac1/fs1105
freeswitch + sofia-sip: version bumps
2020-09-06 11:53:29 +02:00
micmac1
44e91cd20b
Merge pull request #555 from neheb/ks
libks: fix compilation without deprecated OpenSSL APIs
2020-09-06 11:47:31 +02:00
Tony Ambardar
3fb223fa88 siproxd: update to version 0.8.3, improve logging and memory usage
This release includes bug fixes and improvements accumulated over the last
4 years of development snapshots [1].

Bump upstream version, build new plugins 'stats' and 'blacklist', and add
an 'sqlite3' package dependency for siproxd-mod-blacklist.

Disable procd capturing stderr to syslog, since siproxd in 'foreground'
mode writes both to syslog and stderr, duplicating log messages.

Include a patch to drastically reduce memory usage (RSS from 17MB to 5MB
on ipq40xx platform):

  * 005-reduce-rtpproxy-urlmap-size.patch

Drop the following patches now included upstream:

  * 010-syslog-msg.patch
  * 020-gcc10.patch
  * 100-musl-compat.patch

[1] http://siproxd.sourceforge.net/index.php?op=changelog.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-09-04 22:38:33 -07:00
Andre Heider
31ec72bc66 asterisk-16.x: bump to 16.13.0
Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-09-04 17:09:31 +02:00
Andre Heider
a71a6666d2 pjproject: bump to version 2.10
Sync with asterisk v16.13.0:
* update to v2.10
* update config_site.h settings
* sync patches

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-09-04 17:09:31 +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
38addaa2c7 sofia-sip: version bump
Includes fix that buildroot submitted upstream.

This introduces a variable to make following upstream versions a bit
easier.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-03 19:45:13 +02:00
micmac1
062878a672
Merge pull request #563 from micmac1/spandsp3
spandsp3: new package
2020-09-03 19:41:03 +02:00
micmac1
5eb2c8af2e
Merge pull request #562 from micmac1/fs-misc
freeswitch: small fixes
2020-09-01 19:20:13 +02:00
Sebastian Kemper
2bcd4e23c6 spandsp3: new package
This commit adds an updated spandsp library. This is not a drop-in
replacement for the "old" spandsp library. Applications that want to use
it need to be updated a bit, according to upstream info [1].

In an effort to not cause any problems for OpenWrt, this package
installs the library and headers in the staging directory into
non-standard paths:

Library: $(STAGING_DIR/usr/lib/spandsp3/lib
Headers: $(STAGING_DIR/usr/lib/spandsp3/include

This way they are hidden aways from all normal users (like asterisk,
baresip etc.) and won't interfere.

To use the new spandsp library users can look for the spandsp3
pkg-config file (the regular spandsp installs spandsp.pc, this package
installs spandsp3.pc). This should be enough. The first such user will
likely be the freeswitch package, once it gets updated to 1.10.5.

[1] https://github.com/freeswitch/spandsp/issues/5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:07:29 +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
micmac1
061140e8ec
Merge pull request #559 from micmac1/fs1104
freeswitch: bump to 1.10.4
2020-08-10 22:58:07 +02:00
micmac1
4b8938911d
Merge pull request #560 from neheb/rtpe
rtpengine: fix compilation without deprecated OpenSSL APIs
2020-08-08 16:22:58 +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
Rosen Penev
a66e3cd1e9
rtpengine: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-07 12:22:42 -07:00
micmac1
a973ea2bb1
Merge pull request #553 from micmac1/dah-to-gcc10
dahdi-tools: add -fcommon workaround for gcc10
2020-08-07 21:06:53 +02:00
micmac1
86158aead4
Merge pull request #554 from micmac1/rtpengine-lts
rtpengine: update to LTS version
2020-08-07 21:06:17 +02:00
Sebastian Kemper
27447dad3a sofia-sip: new package
FreeSWITCH 1.10.4 split out the sofia-sip library. So here's it's added
as a separate package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-07 20:57:50 +02:00
Jiri Slachta
df492faca9
Merge pull request #557 from neheb/bare
baresip: fix compilation without deprecated OpenSSL APIs
2020-08-06 16:21:24 +02:00
Jiri Slachta
c3d59228ba
Merge pull request #556 from neheb/re
re: fix compilation without deprecated OpenSSL APIs
2020-08-06 16:19:15 +02:00
Jiri Slachta
a5d92c0e35
Merge pull request #549 from micmac1/kam54
kamailio-5.x: bump to 5.4.0
2020-08-06 16:18:13 +02:00
Rosen Penev
6f252c0ba2
baresip: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:32:25 -07:00
Rosen Penev
9e5c3877ed
re: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:31:20 -07:00
Rosen Penev
69e7f4748d
libks: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:29:35 -07:00
Sebastian Kemper
7e7ab06ccd rtpengine: update to LTS version
Upstreamed patch removed. Build workaround removed as fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 13:41:11 +02:00
micmac1
c23f919731
Merge pull request #552 from micmac1/fs-jpeg
freeswitch: update libjpeg deps
2020-08-02 12:43:14 +02:00
micmac1
fefcfe4c4a
Merge pull request #551 from neheb/patch-1
rtpengine: add nls.mk
2020-08-02 12:42:45 +02:00
Sebastian Kemper
82b795dcc0 dahdi-tools: add -fcommon workaround for gcc10
This works around the build failure with gcc-10 until there is a patch
for dahdi-tools that is reviewed and acknowledged by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 12:28:34 +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
Rosen Penev
97326dad46
rtpengine: add nls.mk
Needed for the glib2 update in the packages feed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 12:41:43 -07:00
Sebastian Kemper
e6497a87d4 kamailio-5.x: bump to 5.4.0
- package two new modules: dlgs and pv_headers
- upstream actually provides three more new modules, but two are missing
  dependencies in OpenWrt and one is related to systemd
- use INSTALL_DATA instead of INSTALL_CONF for kamailio configuration
  files (not talking about /etc/config/kamailio) as they're default
  configuration
- refresh 050-fix-kamailio-utils.patch
- drop upstreamed 150-python3-cross-compile.patch
- libsrutils is no longer packaged as upstream moved it into the core

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-29 20:25:04 +02:00
micmac1
267a6ee37a
Merge pull request #548 from micmac1/fs-gcc10
freeswitch: mod-rayo not compiling with gcc-10
2020-07-28 18:13:24 +02:00
micmac1
a305a2b114
Merge pull request #547 from neheb/six
sixproxd: fix compilation with GCC 10
2020-07-28 18:13:00 +02:00
Jiri Slachta
0b16b3aca0
Merge pull request #546 from neheb/srt
libsrtp2: fix compilation with GCC 10
2020-07-28 09:00:48 +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