feed/telephony.git
4 years agobaresip: fix compilation without deprecated OpenSSL APIs 557/head
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>
4 years agoMerge pull request #552 from micmac1/fs-jpeg
micmac1 [Sun, 2 Aug 2020 10:43:14 +0000 (12:43 +0200)]
Merge pull request #552 from micmac1/fs-jpeg

freeswitch: update libjpeg deps

4 years agoMerge pull request #551 from neheb/patch-1
micmac1 [Sun, 2 Aug 2020 10:42:45 +0000 (12:42 +0200)]
Merge pull request #551 from neheb/patch-1

rtpengine: add nls.mk

4 years agofreeswitch: update libjpeg deps 552/head
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>
4 years agortpengine: add nls.mk 551/head
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>
4 years agoMerge pull request #548 from micmac1/fs-gcc10
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

4 years agoMerge pull request #547 from neheb/six
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

4 years agoMerge pull request #546 from neheb/srt
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

4 years agofreeswitch: mod-rayo not compiling with gcc-10 548/head
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>
4 years agosixproxd: fix compilation with GCC 10 547/head
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>
4 years agolibsrtp2: fix compilation with GCC 10 546/head
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>
4 years agoMerge pull request #544 from micmac1/tel-deps
micmac1 [Sat, 18 Jul 2020 14:06:37 +0000 (16:06 +0200)]
Merge pull request #544 from micmac1/tel-deps

sipgrep/freeswitch: small amendments

4 years agofreeswitch: remove package symbol from FT mods 544/head
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>
4 years agosipgrep: make IPv6 support depend on CONFIG_IPV6
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>
4 years agoMerge pull request #540 from micmac1/dongle-iconv
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

4 years agoasterisk-chan-dongle: fix iconv lib detection 540/head
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>
4 years agoMerge pull request #538 from micmac1/fs-check
micmac1 [Wed, 10 Jun 2020 18:21:45 +0000 (20:21 +0200)]
Merge pull request #538 from micmac1/fs-check

freeswitch: prevent libcheck use

4 years agoMerge pull request #537 from micmac1/dongle-up
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

4 years agofreeswitch: prevent libcheck use 538/head
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>
4 years agoasterisk-chan-dongle: bump + cleanup 537/head
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>
4 years agoMerge pull request #534 from micmac1/fs_rename
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

4 years agoMerge pull request #531 from micmac1/ast16100
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

4 years agofreeswitch-stable-mod-bcg729: rename 534/head
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>
4 years agofreeswitch-stable-mod-bcg729: move folder
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>
4 years agofreeswitch-stable: rename to just freeswitch
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>
4 years agofreeswitch-stable: move folder
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>
4 years agoMerge pull request #533 from micmac1/rtpe-parallel
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

4 years agortpengine: work around sporadic build failures 533/head
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>
4 years agortpengine: clean up 01-cflags.patch
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>
4 years agoMerge pull request #532 from micmac1/rtpecfl
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

4 years agortpengine: prevent use of host dpkg utilities 532/head
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>
4 years agortpengine: prevent picking up host libsystemd
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>
4 years agoasterisk-16.x: sort out lua detection 531/head
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>
4 years agoasterisk-16.x: update init and configuration
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>
4 years agoasterisk-16.x: bump to 16.10.0
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>
4 years agopjproject: add two patches from Asterisk 16.10.0
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>
4 years agoMerge pull request #530 from micmac1/fs1103-no-sofia-tests
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

4 years agofreeswitch-stable: disable sofia-sip tests 530/head
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>
4 years agoMerge pull request #529 from micmac1/fs1103
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)

4 years agosignalwire-client-c: bump to 1.3.0 529/head
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>
4 years agolibks: bump to 1.6.0
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>
4 years agofreeswitch-stable: bump to 1.10.3
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>
4 years agoMerge pull request #528 from micmac1/fs-init2
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

4 years agoMerge pull request #526 from micmac1/rtpengine
micmac1 [Wed, 6 May 2020 17:09:24 +0000 (19:09 +0200)]
Merge pull request #526 from micmac1/rtpengine

rtpengine: new package

4 years agortpengine: new package 526/head
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>
4 years agofreeswitch-stable: improve init script 528/head
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>
4 years agoMerge pull request #524 from micmac1/master-dahlin
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

4 years agoMerge pull request #525 from micmac1/master-kam-funroll
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"

4 years agokamailio-5.x: remove "-funroll-loops" 525/head
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>
4 years agodahdi-linux: add patch to fix 32bit targets 524/head
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>
4 years agoMerge pull request #519 from micmac1/master-kam-build-and-py
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

4 years agokamailio-5.x: add app_python3 519/head
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>
4 years agokamailio-5.x: update build setup
Sebastian Kemper [Fri, 10 Apr 2020 11:52:17 +0000 (13:52 +0200)]
kamailio-5.x: update build setup

This switches the Makefile away from calling "make" manually to using
OpenWrt default build defines. This way PKG_BUILD_PARALLEL and
PKG_INSTALL can be used.

To achieve this the flags are added to MAKE_FLAGS. The flags are also
tidied up as per example from Alpine Linux. Like this the build is
cleaner, for instance this gets rid of the wrong share directory
("//share/kamailio" instead of "/usr/share/kamailio") and things like
multi-slashes in directory names (ex. "///usr/lib/kamailio/modules").

lib_target was removed after verifying that the correct RPATH
"/usr/lib/kamailio" is still in place without it.

CFLAGS is replaced by CC_EXTRA_OPTS (same is already done for LDFLAGS).
This way upstream source can add flags like "-Wall" to OpenWrt builds.

Extra flags LOCALBASE, SYSBASE and CROSS get removed as they aren't
needed anymore with the "Alpine Linux" flags.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #523 from micmac1/master-ci2
Jiri Slachta [Wed, 22 Apr 2020 16:20:51 +0000 (18:20 +0200)]
Merge pull request #523 from micmac1/master-ci2

circleci: fetch packages repo

4 years agocircleci: fetch packages repo 523/head
Sebastian Kemper [Wed, 22 Apr 2020 16:01:29 +0000 (18:01 +0200)]
circleci: fetch packages repo

Currently CI doesn't work, because the dependencies from the packages
repo are not available.

<snip>
WARNING: No feed for package 'libopenldap' found
WARNING: No feed for package 'libidn2' found
WARNING: No feed for package 'libssh2' found
<snip>

This commit adds the packages repo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #522 from micmac1/master-ci
Jiri Slachta [Wed, 22 Apr 2020 11:40:15 +0000 (13:40 +0200)]
Merge pull request #522 from micmac1/master-ci

circleci: allow dots in subject line

4 years agocircleci: allow dots in subject line 522/head
Sebastian Kemper [Wed, 22 Apr 2020 11:06:20 +0000 (13:06 +0200)]
circleci: allow dots in subject line

We like to use "kamailio-5.x:" and "asterisk-16.x:" in commit message
subject lines. So relax the regex for it to allow the dots.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #507 from BKPepe/circle_ci
Jiri Slachta [Mon, 13 Apr 2020 11:05:53 +0000 (13:05 +0200)]
Merge pull request #507 from BKPepe/circle_ci

build: Add CircleCI

4 years agoMerge pull request #518 from jslachta/kamailio-5.3.3
Jiri Slachta [Thu, 9 Apr 2020 16:06:47 +0000 (18:06 +0200)]
Merge pull request #518 from jslachta/kamailio-5.3.3

kamailio-5.x: update to 5.3.3

4 years agokamailio-5.x: update to 5.3.3 518/head
Jiri Slachta [Thu, 9 Apr 2020 16:00:49 +0000 (18:00 +0200)]
kamailio-5.x: update to 5.3.3

This commit updates kamailio to version 5.3.3.

Within this commit the python support is removed, since
the python 2.x support is removed and app-python3 is not
ready yet.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
4 years agoMerge pull request #514 from micmac1/fs-rem-python
micmac1 [Sat, 4 Apr 2020 09:35:00 +0000 (11:35 +0200)]
Merge pull request #514 from micmac1/fs-rem-python

freeswitch-stable: remove python support

4 years agofreeswitch-stable: remove python support 514/head
Sebastian Kemper [Sat, 4 Apr 2020 09:27:53 +0000 (11:27 +0200)]
freeswitch-stable: remove python support

Following the removal of python2 from packages this commit removes
python support from this package. FreeSWITCH at present does not support
python3.

120-fix-copts.patch is refreshed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #511 from hnyman/frsw-opencv
micmac1 [Sat, 21 Mar 2020 20:08:17 +0000 (21:08 +0100)]
Merge pull request #511 from hnyman/frsw-opencv

Thanks!

4 years agofreeswitch-stable: remove opencv module 511/head
Hannu Nyman [Sat, 21 Mar 2020 19:40:54 +0000 (21:40 +0200)]
freeswitch-stable: remove opencv module

Remove the opencv module from freeswitch-stable. The module
has been marked BROKEN already for some time, and currently
it causes a dependency error, as the opencv package itself
was removed from the packages feed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #510 from micmac1/fs-revert-pg-commit
micmac1 [Sat, 21 Mar 2020 09:16:25 +0000 (10:16 +0100)]
Merge pull request #510 from micmac1/fs-revert-pg-commit

freeswitch-stable: revert libpq pc file workaround

4 years agofreeswitch-stable: revert libpq pc file workaround 510/head
Sebastian Kemper [Sat, 21 Mar 2020 08:44:49 +0000 (09:44 +0100)]
freeswitch-stable: revert libpq pc file workaround

The libpq pkg-config file has been fixed in packages, so we can revert
the commit that introduced the workaround.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #509 from micmac1/dahdi-linux-5.4
Daniel Golle [Thu, 19 Mar 2020 18:25:25 +0000 (18:25 +0000)]
Merge pull request #509 from micmac1/dahdi-linux-5.4

dahdi-linux: bump to version 3.1.0

4 years agodahdi-linux: bump to version 3.1.0 509/head
Sebastian Kemper [Thu, 19 Mar 2020 17:39:19 +0000 (18:39 +0100)]
dahdi-linux: bump to version 3.1.0

This commit provides compatibility with kernel 5.4.

Except for the version bump this commit updates the HFC-S PCI driver to
not rely on the macro "dahdi_pci_module" anymore, because it has been
removed upstream in commit 4af6f69.

Also, a patch is added that makes the include of "<linux/pci-aspm.h>"
conditional on the kernel version, because starting with kernel 5.4 this
header has been removed and its contents merged into "pci.h".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agobuild: Add CircleCI 507/head
Josef Schlehofer [Sat, 7 Mar 2020 23:01:54 +0000 (00:01 +0100)]
build: Add CircleCI

This adds CircleCI as Continous Integration. It will provide compile
test against ath79 target and together with it, it checks if the commit
starts with the package name and it checks if the Signed-off-by matches
the author of the commit.

For example, it can avoid mistakes with broken patches, mismatched changes.

This comes from packages feed and it is being used there and also in
LuCI repository.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
4 years agoMerge pull request #504 from micmac1/pg-fs
micmac1 [Sat, 7 Mar 2020 09:01:53 +0000 (10:01 +0100)]
Merge pull request #504 from micmac1/pg-fs

freeswitch-stable: use pg_config for now

4 years agofreeswitch-stable: use pg_config for now 504/head
Sebastian Kemper [Sat, 7 Mar 2020 08:58:24 +0000 (09:58 +0100)]
freeswitch-stable: use pg_config for now

libpq's pkg-config file is currently broken. Use pg_config instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #503 from micmac1/ast-aslr-pie
Jiri Slachta [Sat, 11 Jan 2020 23:01:24 +0000 (00:01 +0100)]
Merge pull request #503 from micmac1/ast-aslr-pie

asterisk-16.x: fix compile with PKG_ASLR_PIE

4 years agoasterisk-16.x: fix compile with PKG_ASLR_PIE 503/head
Sebastian Kemper [Sat, 11 Jan 2020 22:44:38 +0000 (23:44 +0100)]
asterisk-16.x: fix compile with PKG_ASLR_PIE

CFLAGS aren't used when compiling objects for check_expr2. This commits
adds the flags, which fixes the compilation when PKG_ASLR_PIE is
enabled. Note: The STANDALONE define is removed because it is already
defined in _ASTCFLAGS.

Fixes #502

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #500 from micmac1/fs-1102
micmac1 [Wed, 1 Jan 2020 14:23:34 +0000 (15:23 +0100)]
Merge pull request #500 from micmac1/fs-1102

freeswitch-stable: bump to 1.10.2

4 years agofreeswitch-stable: bump to 1.10.2 500/head
Sebastian Kemper [Wed, 1 Jan 2020 14:11:19 +0000 (15:11 +0100)]
freeswitch-stable: bump to 1.10.2

Patches refreshed, two patches removed (included upstream), fixed one
typo (will send pull request to upstream if nobody did so yet).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #497 from micmac1/fix-weak-md
micmac1 [Fri, 20 Dec 2019 09:09:34 +0000 (10:09 +0100)]
Merge pull request #497 from micmac1/fix-weak-md

freeswitch-stable: fix weak md in gentls_cert

4 years agofreeswitch-stable: fix weak md in gentls_cert 497/head
Sebastian Kemper [Fri, 20 Dec 2019 08:32:20 +0000 (09:32 +0100)]
freeswitch-stable: fix weak md in gentls_cert

gentls_cert generates certificates that are deemed too weak by Debian's
OpenSSL (on Buster and up). This patch upgrades the message digest to
SHA256 to address this.

See patch for details. Sent upstream ([1]).

[1] https://github.com/signalwire/freeswitch/pull/126

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #468 from micmac1/sigwa
micmac1 [Tue, 17 Dec 2019 17:56:19 +0000 (18:56 +0100)]
Merge pull request #468 from micmac1/sigwa

freeswitch-stable: add mod_signalwire and dependencies

5 years agofreeswitch-stable: add mod_signalwire 468/head
Sebastian Kemper [Sun, 6 Oct 2019 12:55:44 +0000 (14:55 +0200)]
freeswitch-stable: add mod_signalwire

This plugin allows to make a connection to the SignalWire CLOUD.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosignalwire-client-c: new package
Sebastian Kemper [Sun, 6 Oct 2019 12:53:59 +0000 (14:53 +0200)]
signalwire-client-c: new package

signalwire-client-c is a dependency of mod-signalwire.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agolibks: new package
Sebastian Kemper [Sun, 6 Oct 2019 12:53:06 +0000 (14:53 +0200)]
libks: new package

libks is a dependency of signalwire-client-c.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #495 from micmac1/sngrep-ssl
micmac1 [Tue, 3 Dec 2019 12:47:01 +0000 (13:47 +0100)]
Merge pull request #495 from micmac1/sngrep-ssl

sngrep: update to snapshot + options

5 years agosngrep: add configuration menu 495/head
Sebastian Kemper [Tue, 3 Dec 2019 12:42:26 +0000 (13:42 +0100)]
sngrep: add configuration menu

Makes ipv6, pcre and eep optional. Defaults unchanged.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agosngrep: update to git snapshot
Sebastian Kemper [Tue, 3 Dec 2019 12:32:12 +0000 (13:32 +0100)]
sngrep: update to git snapshot

Also adds PKG_BUILD_PARALLEL:=1 and updates description.

Fixes #491

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #487 from micmac1/AST-2019-006_007
Jiri Slachta [Sun, 1 Dec 2019 21:22:10 +0000 (22:22 +0100)]
Merge pull request #487 from micmac1/AST-2019-006_007

[master] asterisk-16.x: add fixes for AST-2019-006 and 007

5 years agoMerge pull request #492 from micmac1/fs-vpx-cve
micmac1 [Fri, 29 Nov 2019 20:15:03 +0000 (21:15 +0100)]
Merge pull request #492 from micmac1/fs-vpx-cve

freeswitch-stable: patch CVEs in included libvpx

5 years agofreeswitch-stable: patch CVEs in included libvpx 492/head
Sebastian Kemper [Fri, 29 Nov 2019 19:33:55 +0000 (20:33 +0100)]
freeswitch-stable: patch CVEs in included libvpx

Patch taken from Debian Buster, fixes:

CVE-2019-9232
CVE-2019-9325
CVE-2019-9371
CVE-2019-9433

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoasterisk-16.x: add fixes for AST-2019-006 and 007 487/head
Sebastian Kemper [Fri, 22 Nov 2019 17:03:52 +0000 (18:03 +0100)]
asterisk-16.x: add fixes for AST-2019-006 and 007

https://downloads.asterisk.org/pub/security/AST-2019-006.html
https://downloads.asterisk.org/pub/security/AST-2019-007.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #486 from micmac1/fs_misc
micmac1 [Tue, 5 Nov 2019 22:34:21 +0000 (23:34 +0100)]
Merge pull request #486 from micmac1/fs_misc

freeswitch-stable: small misc fixes

5 years agofreeswitch-stable: update OpenSSL depend 486/head
Sebastian Kemper [Tue, 5 Nov 2019 22:29:38 +0000 (23:29 +0100)]
freeswitch-stable: update OpenSSL depend

FS supports OpenSSL 1.1 but still relies on some of its deprecated
symbols. This commit updates the package's depends to reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agofreeswitch-stable: fix reINVITE after T38 is rejected
Sebastian Kemper [Tue, 5 Nov 2019 22:27:26 +0000 (23:27 +0100)]
freeswitch-stable: fix reINVITE after T38 is rejected

For comments see added patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #485 from micmac1/pj-pc
Jiri Slachta [Mon, 4 Nov 2019 20:18:21 +0000 (21:18 +0100)]
Merge pull request #485 from micmac1/pj-pc

pjproject: fix pkg-config file

5 years agopjproject: fix pkg-config file 485/head
Sebastian Kemper [Mon, 4 Nov 2019 19:22:01 +0000 (20:22 +0100)]
pjproject: fix pkg-config file

The .pc file uses hard-coded paths:

prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include

It also pushes "-I/usr/include" into CFLAGS. This commit amends all of
that.

Resolve: #483

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #482 from micmac1/ast-no-xml-hacks
Jiri Slachta [Tue, 29 Oct 2019 10:21:02 +0000 (11:21 +0100)]
Merge pull request #482 from micmac1/ast-no-xml-hacks

asterisk-16.x: remove libxml2 hacks

5 years agoasterisk-16.x: remove libxml2 hacks 482/head
Sebastian Kemper [Mon, 28 Oct 2019 19:28:35 +0000 (20:28 +0100)]
asterisk-16.x: remove libxml2 hacks

There were problems in the past with OpenWrt's libxml2 package (also
it's host package). This led to quite a few workarounds in the asterisk
Makefile.

Recent changes in the libxml2 package have cleared this up.

1. a proper xml2-config file is now installed by both libxml2 and
   libxml2/host
2. xml2-config is now installed with a host triplet prefix (e.g.
   "mips-openwrt-linux-xml2-config" for libxml2 and
   "x86_64-pc-linux-gnu-xml2-config" for libxml2/host), additionally
   these tools get a symbolic link to xml2-config

That means that now OpenWrt's libxml2 can be properly detected and the
workarounds are no longer required.

This commit also removes an explicit dependency on libxml2 from
res-calendar-caldav. The base package already depends on libxml2, hence
the dependency is implicit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #481 from micmac1/kam-rem-unavailable
Jiri Slachta [Fri, 25 Oct 2019 18:35:10 +0000 (20:35 +0200)]
Merge pull request #481 from micmac1/kam-rem-unavailable

kamailio-5.x: remove rtp_media_server package

5 years agokamailio-5.x: remove rtp_media_server package 481/head
Sebastian Kemper [Fri, 25 Oct 2019 18:02:35 +0000 (20:02 +0200)]
kamailio-5.x: remove rtp_media_server package

menuconfig is currently showing warnings for kamailio:

WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'bcunit', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'mediastreamer2', which does not exist
WARNING: Makefile 'package/feeds/telephony/kamailio-5.x/Makefile' has a dependency on 'ortp', which does not exist

This commit removes the module in question to clear the warnings.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
5 years agoMerge pull request #480 from micmac1/kam-mods
Jiri Slachta [Thu, 24 Oct 2019 21:27:01 +0000 (23:27 +0200)]
Merge pull request #480 from micmac1/kam-mods

kamailio-5.x: add new modules + cleanup

5 years agoMerge pull request #479 from micmac1/pj-patch-sync
Jiri Slachta [Thu, 24 Oct 2019 21:26:12 +0000 (23:26 +0200)]
Merge pull request #479 from micmac1/pj-patch-sync

pjproject: sync patches with Asterisk 16.6.1

5 years agopjproject: sync patches with Asterisk 16.6.1 479/head
Sebastian Kemper [Thu, 24 Oct 2019 20:25:47 +0000 (22:25 +0200)]
pjproject: sync patches with Asterisk 16.6.1

Quote from Asterisk commit e6cc1f5083bbb85a76280e4bbada7be265b0a106:

"Issues in pjproject 2.9 caused us to revert some of their changes as a
work around. This introduced another issue where pjproject wouldn't
build with older gcc versions such as that found on CentOS 6. This
commit replaces the reverts with the official fixes for the original
issues and allows pjproject to be built on CentOS 6 again."

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>