Jiri Slachta [Thu, 29 Oct 2020 23:58:47 +0000 (00:58 +0100)]
Merge pull request #558 from neheb/kama
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
micmac1 [Sun, 25 Oct 2020 08:35:04 +0000 (09:35 +0100)]
Merge pull request #585 from micmac1/rtpe8.5.2
rtpengine: bump to 8.5.2.1 LTS
Sebastian Kemper [Sat, 24 Oct 2020 10:15:27 +0000 (12:15 +0200)]
rtpengine: bump to 8.5.2.1 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Daniel Golle [Sat, 17 Oct 2020 13:18:30 +0000 (14:18 +0100)]
Merge pull request #581 from neheb/pri
libpri: remove Werror
micmac1 [Sat, 17 Oct 2020 12:07:18 +0000 (14:07 +0200)]
Merge pull request #584 from micmac1/sipp361
sipp: bump to 3.6.1
Sebastian Kemper [Mon, 12 Oct 2020 07:49:52 +0000 (09:49 +0200)]
sipp: bump to 3.6.1
Upstream dropped autotools support, so this converts the build to use
cmake. Adds a simple include fix as well as a fix for older c++
compilers (the latter is a patch from upstream).
Support for pcaps is now also compiled in, to follow what upstream
considers a "common" build.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Rosen Penev [Sun, 30 Aug 2020 21:04:32 +0000 (14:04 -0700)]
libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Jiri Slachta [Wed, 23 Sep 2020 09:31:04 +0000 (11:31 +0200)]
Merge pull request #575 from guidosarducci/master-add-siproxd-max-clients
siproxd: add max clients configuration and default
Tony Ambardar [Mon, 21 Sep 2020 14:01:28 +0000 (07:01 -0700)]
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>
micmac1 [Sun, 20 Sep 2020 18:19:17 +0000 (20:19 +0200)]
Merge pull request #572 from micmac1/span3xml2
spandsp3: prevent host include search paths
Sebastian Kemper [Sun, 20 Sep 2020 11:40:56 +0000 (13:40 +0200)]
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>
Jiri Slachta [Thu, 17 Sep 2020 18:16:40 +0000 (20:16 +0200)]
Merge pull request #566 from dhewg/ast
asterisk-16.x: bump to 16.13.0
micmac1 [Sat, 12 Sep 2020 08:36:54 +0000 (10:36 +0200)]
Merge pull request #571 from micmac1/fs_rm_spandsp_patch
freeswitch: remove leftover patch
Sebastian Kemper [Sat, 12 Sep 2020 08:29:39 +0000 (10:29 +0200)]
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>
micmac1 [Tue, 8 Sep 2020 21:03:56 +0000 (23:03 +0200)]
Merge pull request #569 from micmac1/fs_cleanups
freeswitch: cleanups
Sebastian Kemper [Tue, 8 Sep 2020 17:35:32 +0000 (19:35 +0200)]
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>
Sebastian Kemper [Tue, 8 Sep 2020 17:26:42 +0000 (19:26 +0200)]
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>
micmac1 [Tue, 8 Sep 2020 10:25:19 +0000 (12:25 +0200)]
Merge pull request #568 from micmac1/rtpe-bump
rtpengine: bump to 8.5.1.2, disable parallel build
Sebastian Kemper [Mon, 7 Sep 2020 09:23:10 +0000 (11:23 +0200)]
rtpengine: bump to 8.5.1.2, disable parallel build
Minor version bump. This also partially reverts
7e7ab06ccda2befbd517a1b974da44fd6643f72e by disabling parallel builds,
as there are sporadic build failures again
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Sun, 6 Sep 2020 19:58:44 +0000 (21:58 +0200)]
Merge pull request #567 from guidosarducci/master-update-siproxd-0.8.3
siproxd: update to version 0.8.3, improve logging and memory usage
micmac1 [Sun, 6 Sep 2020 09:53:29 +0000 (11:53 +0200)]
Merge pull request #564 from micmac1/fs1105
freeswitch + sofia-sip: version bumps
micmac1 [Sun, 6 Sep 2020 09:47:31 +0000 (11:47 +0200)]
Merge pull request #555 from neheb/ks
libks: fix compilation without deprecated OpenSSL APIs
Tony Ambardar [Sun, 30 Aug 2020 06:21:35 +0000 (23:21 -0700)]
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>
Andre Heider [Fri, 4 Sep 2020 07:09:35 +0000 (09:09 +0200)]
asterisk-16.x: bump to 16.13.0
Signed-off-by: Andre Heider <a.heider@gmail.com>
Andre Heider [Fri, 4 Sep 2020 06:07:30 +0000 (08:07 +0200)]
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>
Sebastian Kemper [Thu, 3 Sep 2020 17:50:25 +0000 (19:50 +0200)]
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>
Sebastian Kemper [Thu, 3 Sep 2020 17:45:10 +0000 (19:45 +0200)]
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>
micmac1 [Thu, 3 Sep 2020 17:41:03 +0000 (19:41 +0200)]
Merge pull request #563 from micmac1/spandsp3
spandsp3: new package
micmac1 [Tue, 1 Sep 2020 17:20:13 +0000 (19:20 +0200)]
Merge pull request #562 from micmac1/fs-misc
freeswitch: small fixes
Sebastian Kemper [Wed, 19 Aug 2020 19:43:23 +0000 (21:43 +0200)]
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>
Sebastian Kemper [Sat, 15 Aug 2020 10:30:27 +0000 (12:30 +0200)]
freeswitch: make pkg-config file usable
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 15 Aug 2020 10:29:40 +0000 (12:29 +0200)]
freeswitch: fix shadow dep
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Mon, 10 Aug 2020 20:58:07 +0000 (22:58 +0200)]
Merge pull request #559 from micmac1/fs1104
freeswitch: bump to 1.10.4
micmac1 [Sat, 8 Aug 2020 14:22:58 +0000 (16:22 +0200)]
Merge pull request #560 from neheb/rtpe
rtpengine: fix compilation without deprecated OpenSSL APIs
Sebastian Kemper [Fri, 7 Aug 2020 19:27:36 +0000 (21:27 +0200)]
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>
Rosen Penev [Wed, 5 Aug 2020 21:19:12 +0000 (14:19 -0700)]
rtpengine: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
micmac1 [Fri, 7 Aug 2020 19:06:53 +0000 (21:06 +0200)]
Merge pull request #553 from micmac1/dah-to-gcc10
dahdi-tools: add -fcommon workaround for gcc10
micmac1 [Fri, 7 Aug 2020 19:06:17 +0000 (21:06 +0200)]
Merge pull request #554 from micmac1/rtpengine-lts
rtpengine: update to LTS version
Sebastian Kemper [Fri, 7 Aug 2020 18:57:45 +0000 (20:57 +0200)]
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>
Rosen Penev [Wed, 5 Aug 2020 21:11:40 +0000 (14:11 -0700)]
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Jiri Slachta [Thu, 6 Aug 2020 14:21:24 +0000 (16:21 +0200)]
Merge pull request #557 from neheb/bare
baresip: fix compilation without deprecated OpenSSL APIs
Jiri Slachta [Thu, 6 Aug 2020 14:19:15 +0000 (16:19 +0200)]
Merge pull request #556 from neheb/re
re: fix compilation without deprecated OpenSSL APIs
Jiri Slachta [Thu, 6 Aug 2020 14:18:13 +0000 (16:18 +0200)]
Merge pull request #549 from micmac1/kam54
kamailio-5.x: bump to 5.4.0
Rosen Penev [Wed, 5 Aug 2020 21:24:33 +0000 (14:24 -0700)]
baresip: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Wed, 5 Aug 2020 21:25:36 +0000 (14:25 -0700)]
re: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Wed, 5 Aug 2020 21:26:58 +0000 (14:26 -0700)]
libks: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sebastian Kemper [Sun, 2 Aug 2020 11:40:29 +0000 (13:40 +0200)]
rtpengine: update to LTS version
Upstreamed patch removed. Build workaround removed as fixed upstream.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sun, 2 Aug 2020 10:43:14 +0000 (12:43 +0200)]
Merge pull request #552 from micmac1/fs-jpeg
freeswitch: update libjpeg deps
micmac1 [Sun, 2 Aug 2020 10:42:45 +0000 (12:42 +0200)]
Merge pull request #551 from neheb/patch-1
rtpengine: add nls.mk
Sebastian Kemper [Sun, 2 Aug 2020 10:28:09 +0000 (12:28 +0200)]
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>
Sebastian Kemper [Sun, 2 Aug 2020 09:55:34 +0000 (11:55 +0200)]
freeswitch: update libjpeg deps
libjpeg was replaced by libjpeg-turbo in packages repo.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Rosen Penev [Sat, 1 Aug 2020 19:41:43 +0000 (12:41 -0700)]
rtpengine: add nls.mk
Needed for the glib2 update in the packages feed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sebastian Kemper [Wed, 29 Jul 2020 18:13:01 +0000 (20:13 +0200)]
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>
micmac1 [Tue, 28 Jul 2020 16:13:24 +0000 (18:13 +0200)]
Merge pull request #548 from micmac1/fs-gcc10
freeswitch: mod-rayo not compiling with gcc-10
micmac1 [Tue, 28 Jul 2020 16:13:00 +0000 (18:13 +0200)]
Merge pull request #547 from neheb/six
sixproxd: fix compilation with GCC 10
Jiri Slachta [Tue, 28 Jul 2020 07:00:48 +0000 (09:00 +0200)]
Merge pull request #546 from neheb/srt
libsrtp2: fix compilation with GCC 10
Sebastian Kemper [Mon, 20 Jul 2020 18:35:05 +0000 (20:35 +0200)]
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>
Rosen Penev [Sun, 19 Jul 2020 07:03:11 +0000 (00:03 -0700)]
sixproxd: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Sun, 19 Jul 2020 07:03:58 +0000 (00:03 -0700)]
libsrtp2: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
micmac1 [Sat, 18 Jul 2020 14:06:37 +0000 (16:06 +0200)]
Merge pull request #544 from micmac1/tel-deps
sipgrep/freeswitch: small amendments
Sebastian Kemper [Wed, 15 Jul 2020 18:35:12 +0000 (20:35 +0200)]
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>
Sebastian Kemper [Wed, 15 Jul 2020 18:35:00 +0000 (20:35 +0200)]
sipgrep: make IPv6 support depend on CONFIG_IPV6
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Tue, 16 Jun 2020 14:35:16 +0000 (16:35 +0200)]
Merge pull request #540 from micmac1/dongle-iconv
asterisk-chan-dongle: fix iconv lib detection
Sebastian Kemper [Thu, 11 Jun 2020 17:27:48 +0000 (19:27 +0200)]
asterisk-chan-dongle: fix iconv lib detection
A small but important oversight crept into the last asterisk-chan-dongle
update. The iconv library detection was changed to look for iconv()
instead of libiconv().
Reminder: the autoconf macros for finding libraries do _not_ include any
extra headers when testing the compile. So the redefinitions done in
iconv.h provided by any libiconv (stub or regular) aren't visible during
the test the macros execute.
This means that when testing for iconv() the only iconv that can be
detected is the one from libc. Moreover, if the libc doesn't provide
iconv, the check will fail. Below example is with uclibc:
checking for iconv in -liconv... no
configure: error: iconv library missing
Makefile:87: recipe for target '/builder/shared-workdir/build/sdk/build_dir/target-arc_archs_uClibc/asterisk-chan-dongle-asterisk16/asterisk-chan-dongle-2020-05-28-
328b2b7d/.configured_a17fb5ef857664f03cd0ce37cc5ea591' failed
So, this changes the patch to look for libiconv(), again.
Also, instead of using AC_CHECK_LIB this uses AC_SEARCH_LIBS, like
upstream does. There apparently was a problem with that in the past, but
now it works fine.
checking for rm... rm
checking for library containing libiconv... -liconv
checking for sqlite3_open in -lsqlite3... yes
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Wed, 10 Jun 2020 18:21:45 +0000 (20:21 +0200)]
Merge pull request #538 from micmac1/fs-check
freeswitch: prevent libcheck use
Jiri Slachta [Tue, 9 Jun 2020 18:07:55 +0000 (20:07 +0200)]
Merge pull request #537 from micmac1/dongle-up
asterisk-chan-dongle: bump + cleanup
Sebastian Kemper [Tue, 9 Jun 2020 16:56:28 +0000 (18:56 +0200)]
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>
Sebastian Kemper [Tue, 9 Jun 2020 16:40:49 +0000 (18:40 +0200)]
asterisk-chan-dongle: bump + cleanup
Bump dongle plugin to latest git revision. PKG_SOURCE_SUBDIR and
PKG_BUILD_DIR are removed because defaults are fine. PKG_VERSION is
replaced by PKG_SOURCE_DATE, which is in line with OpenWrt
recommendation.
Soft deps are removed as per request in issue #536.
iconv handling is updated. Upstream now lets us specify the include
directory, so that makes the patch simpler. The iconv lib detection is
also updated so that it never picks the libc iconv. This way we get the
same iconv handling independent of the libc in use. Now it'll be always
iconv-stub or iconv-full.
libsqlite3 dep is made explicit. There was always a dep on it, but it
was implicit via asterisk. When the dep is made explicit, the dongle
package picks up on the sqlite3 ABI_VERSION, which is nice.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Sat, 30 May 2020 05:09:33 +0000 (07:09 +0200)]
Merge pull request #534 from micmac1/fs_rename
freeswitch-stable: rename to freeswitch
Jiri Slachta [Sun, 24 May 2020 19:04:29 +0000 (21:04 +0200)]
Merge pull request #531 from micmac1/ast16100
asterisk-16.x: bump to 16.10.0 + init/config changes
Sebastian Kemper [Sat, 23 May 2020 18:02:18 +0000 (20:02 +0200)]
freeswitch-stable-mod-bcg729: rename
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 23 May 2020 18:00:18 +0000 (20:00 +0200)]
freeswitch-stable-mod-bcg729: move folder
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 23 May 2020 17:53:52 +0000 (19:53 +0200)]
freeswitch-stable: rename to just freeswitch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 23 May 2020 17:46:12 +0000 (19:46 +0200)]
freeswitch-stable: move folder
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Fri, 22 May 2020 08:50:48 +0000 (10:50 +0200)]
Merge pull request #533 from micmac1/rtpe-parallel
rtpengine: build fix and patch improvement
Sebastian Kemper [Thu, 21 May 2020 15:40:43 +0000 (17:40 +0200)]
rtpengine: work around sporadic build failures
The rtpengine build system uses the Makefiles to generate source files
on the fly. This usually works fine, but when building in parallel,
intermittently the generated files contain garbage (like, lines are
repeated, causing redefinition errors).
As a workaround this commit disables parallel builds.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 21 May 2020 15:34:48 +0000 (17:34 +0200)]
rtpengine: clean up 01-cflags.patch
This commit follows upstream, how they include the Debian build system
flags, appending them to their own. To that end OpenWrt's flags are now
saved at the beginning of the Makefiles, and appended at the bottom of
lib/lib.Makefile.
This also sorts out the iptables module compile, to use OpenWrt's
LDFLAGS.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Mon, 18 May 2020 18:05:23 +0000 (20:05 +0200)]
Merge pull request #532 from micmac1/rtpecfl
rtpengine: prevent picking up host system flags
Sebastian Kemper [Sun, 17 May 2020 10:55:16 +0000 (12:55 +0200)]
rtpengine: prevent use of host dpkg utilities
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 17 May 2020 10:52:29 +0000 (12:52 +0200)]
rtpengine: prevent picking up host libsystemd
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sat, 16 May 2020 18:55:27 +0000 (20:55 +0200)]
asterisk-16.x: sort out lua detection
We have both liblua and liblua5.3 in $(STAGING_DIR)/usr. But the headers
for liblua5.3 are in (STAGING_DIR)/usr/include/lua5.3. The way things
are now, Asterisk uses the headers from liblua and links against
liblua5.3.
The easiest way out of this is to turn off the lua detection that is
based on version numbers. The next detection looks for a version-less
lua, which works fine.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 14 May 2020 19:56:50 +0000 (21:56 +0200)]
asterisk-16.x: update init and configuration
This commit changes handling of configuration and init a bit:
1. Asterisk configuration files are installed with $(INSTALL_DATA). This
way there is no need to chown /etc/asterisk to user asterisk. The
package provides the standard asterisk configuration (no secrets) so
it's OK to install it readable for all. If users put something
sensitive in there they can update permissions how they like.
2. The init script no longer creates directories that the users can
configure in /etc/config/asterisk, which could be all kinds of
strange directories. Instead only the default directories are
created, and only the ones that reside on volatile memory. The other
directories are now created by the package itself.
3. This commit removes the ability to choose a user/group via
/etc/config/asterisk. This makes the init script simpler. If anybody
wants to play around with the user/group, then it's up to them to fix
the permissions.
4. "local" is removed because it's not POSIX.
5. From issue #520 we know that adding the user to the dialout group
does not help with the device permissions for chan_lantiq. This
removes it again.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 14 May 2020 19:46:29 +0000 (21:46 +0200)]
asterisk-16.x: bump to 16.10.0
Patches refreshed, no longer needed patches are dropped.
This adds directory "/usr/share/asterisk/firmware/iax" to silence a
run-time warning.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Thu, 14 May 2020 19:40:03 +0000 (21:40 +0200)]
pjproject: add two patches from Asterisk 16.10.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Wed, 13 May 2020 16:38:24 +0000 (18:38 +0200)]
Merge pull request #530 from micmac1/fs1103-no-sofia-tests
freeswitch-stable: disable sofia-sip tests
Sebastian Kemper [Wed, 13 May 2020 16:22:29 +0000 (18:22 +0200)]
freeswitch-stable: disable sofia-sip tests
Upstream commit
2dced93 "[sofia-sip] Build internal tests" enabled the
building of tests. One of them causes build failures on the build bots:
Making all in s2check
make[11]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/freeswitch-1.10.3.-release/libs/sofia-sip/s2check'
COMPILE s2tcase.o
s2tcase.c: In function 's2_tcase_add_test':
s2tcase.c:60:27: error: passing argument 2 of '_tcase_add_test' from incompatible pointer type [-Werror=incompatible-pointer-types]
_tcase_add_test(tc, tf, name, signo, 0, start, end);
^~
In file included from s2tcase.c:35:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/check.h:331:69: note: expected 'const TTest *' {aka 'const struct TTest *'} but argument is of type 'TFun' {aka 'void (*)(int)'}
CK_DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest,
~~~~~~~~~~~~~~^~~~~
s2tcase.c:60:31: error: passing argument 3 of '_tcase_add_test' makes integer from pointer without a cast [-Werror=int-conversion]
_tcase_add_test(tc, tf, name, signo, 0, start, end);
^~~~
In file included from s2tcase.c:35:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/check.h:332:47: note: expected 'int' but argument is of type 'const char *'
int _signal, int allowed_exit_value,
~~~~^~~~~~~
s2tcase.c:60:7: error: too many arguments to function '_tcase_add_test'
_tcase_add_test(tc, tf, name, signo, 0, start, end);
^~~~~~~~~~~~~~~
In file included from s2tcase.c:35:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include/check.h:331:27: note: declared here
CK_DLL_EXP void CK_EXPORT _tcase_add_test(TCase * tc, const TTest * ttest,
^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
I can't reproduce this at home. Not with a master checkout, not with a
current SDK. But the tests are not needed for the OpenWrt packages
anyway, so this commit disables them again.
No rev bump is done because this has no effect on the packages.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Tue, 12 May 2020 18:26:47 +0000 (20:26 +0200)]
Merge pull request #529 from micmac1/fs1103
freeswitch-stable: bump to 1.10.3 (also up libks + signalwire-c)
Sebastian Kemper [Tue, 12 May 2020 17:32:15 +0000 (19:32 +0200)]
signalwire-client-c: bump to 1.3.0
Use regular releases from now on.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Tue, 12 May 2020 17:30:22 +0000 (19:30 +0200)]
libks: bump to 1.6.0
Use regular releases from now on.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Tue, 12 May 2020 16:45:51 +0000 (18:45 +0200)]
freeswitch-stable: bump to 1.10.3
Patches refreshed. Two patches can be dropped.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
micmac1 [Tue, 12 May 2020 16:40:38 +0000 (18:40 +0200)]
Merge pull request #528 from micmac1/fs-init2
freeswitch-stable: improve init script
micmac1 [Wed, 6 May 2020 17:09:24 +0000 (19:09 +0200)]
Merge pull request #526 from micmac1/rtpengine
rtpengine: new package
Sebastian Kemper [Mon, 4 May 2020 18:00:59 +0000 (20:00 +0200)]
rtpengine: new package
rtpengine is a proxy for RTP traffic. It has lots of capabilities,
including transcoding, in-kernel forwarding and SRTP transport, to name
a few.
Packaging:
1. regular rtpengine
2. rtpengine variant without transcoding support (smaller dependency
tree)
3. recording daemon
4. kernel module
5. iptables module
Simple init scripts (procd) are included, plus a hotplug script for
rtpengine.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Sun, 3 May 2020 10:15:01 +0000 (12:15 +0200)]
freeswitch-stable: improve init script
This is in response to a posting on oss-security ([1]).
This commit removes the ability to choose a user/group via
/etc/config/freeswitch. This makes the init script simpler. If anybody
wants to play around with the user/group, then it's up to them to fix
the permissions.
The complex awk script is deleted and replaced by two for-loops,
basically. The first loop creates "/var/lib/freeswitch" and
"/var/run/freeswitch" and chowns them to freeswitch, in case they don't
exist already.
The second loop checks if the other directories (either the default ones
or the ones specified by the user) exist. If any is missing it uses "su"
to create that directory as user "freeswitch".
The reasoning behind this is that a) this works for the defaults
(example: "/tmp/freeswitch/db") and b) the user can specify anything
he/she wants in "/etc/config/freeswitch", which could be all kinds of
strange directories. "mkdir" may now fail, as we're not calling it as
root anymore, but we err on the side of caution, as the saying goes.
Calls to "chmod" are eliminated. Instead the desired mode is provided to
"mkdir". The latter applies the mode only to the final directory.
Possible parent directories are created with the regular umask alone.
A dependency on the "su" utility is added to the Makefile.
"local" also gets removed because it is undefined in POSIX.
[1] https://www.openwall.com/lists/oss-security/2020/04/30/1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Wed, 29 Apr 2020 06:59:57 +0000 (08:59 +0200)]
Merge pull request #524 from micmac1/master-dahlin
dahdi-linux: add patch to fix 32bit targets
Jiri Slachta [Mon, 27 Apr 2020 16:43:30 +0000 (18:43 +0200)]
Merge pull request #525 from micmac1/master-kam-funroll
kamailio-5.x: remove "-funroll-loops"
Sebastian Kemper [Fri, 24 Apr 2020 19:03:46 +0000 (21:03 +0200)]
kamailio-5.x: remove "-funroll-loops"
Since recent commit
60ea8ff OpenWrt flags are added to CC_EXTRA_OPTS
instead of CFLAGS, allowing upstream flags to pass into our builds.
Upstream passes "-funroll-loops", which increases package sizes
significantly.
Example mips:
kamailio5_5.3.3-1_mips_24kc.ipk: 1019K
kamailio5_5.3.3-2_mips_24kc.ipk: 1,4M
This commit removes "-funroll-loops", reducing the size to previous
level.
kamailio5_5.3.3-2_mips_24kc.ipk: 1021K
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Sebastian Kemper [Fri, 24 Apr 2020 18:52:11 +0000 (20:52 +0200)]
dahdi-linux: add patch to fix 32bit targets
On some 32 bit targets dahdi-linux currently fails to build.
Examples:
ERROR: "__divdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__udivdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__moddi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!
ERROR: "__divdi3" [/builder/shared-workdir/build/sdk/build_dir/target-powerpc_8540_musl/linux-mpc85xx_generic/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!
or
ERROR: "__aeabi_ldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__aeabi_uldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp_usb.ko] undefined!
ERROR: "__aeabi_ldivmod" [/store/buildbot/slave/shared-workdir/build/sdk/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/dahdi-linux-3.1.0/drivers/dahdi/xpp/xpp.ko] undefined!
Problem was reported to upstream already by third party ([1]). Patch
attached to bug report is not sufficient.
This commit adds a patch from PLD Linux ([2]) to address the build
failures.
[1] https://issues.asterisk.org/jira/browse/DAHLIN-371
[2] https://github.com/pld-linux/dahdi-linux/blob/master/math64.patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Jiri Slachta [Thu, 23 Apr 2020 06:28:23 +0000 (08:28 +0200)]
Merge pull request #519 from micmac1/master-kam-build-and-py
kamailio-5.x: update build setup and add Python 3 module
Sebastian Kemper [Fri, 10 Apr 2020 12:10:24 +0000 (14:10 +0200)]
kamailio-5.x: add app_python3
Adds the Python 3 module. Patch is required because otherwise the
module's Makefile tries to get the includes from host python.
The patch also adds "--embed" to the python-config call that discovers
LDFLAGS as otherwise the python lib is not linked into the module.
Patch has been accepted upstream already.
Adding PYTHON3 to MAKE_VARS tells the Makefile which python to use.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>