Commit graph

1623 commits

Author SHA1 Message Date
Jiri Slachta
7a6aa455e6
Merge pull request #595 from dkgroot/master
asterisk-chan-sccp: update to v4.3.3 release
2020-12-23 17:44:57 +01:00
Diederik de Groot
6c6aa1a28f
asterisk-chan-sccp: Update to v4.3.3 release
update PKG_MIRROR_HASH

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-12-20 10:37:45 +01:00
micmac1
5b234845f9
Merge pull request #594 from micmac1/rtpe8527
rtpengine: minor bump to mr8.5.2.7
2020-12-17 19:53:52 +01:00
Sebastian Kemper
d996d84a0b rtpengine: minor bump to mr8.5.2.7
05-support-kernels-greater-equal-5.9.9.patch removed as included in tar
ball.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-13 16:34:47 +01:00
Jiri Slachta
9cc7913dcc
Merge pull request #592 from micmac1/kam-build-fixes
kamailio-5.x: build fixes
2020-12-07 09:34:48 +01:00
Sebastian Kemper
060e779993 kamailio-5.x: fix build for new MIPS 4kec target
Recently support for target rtl838x was added to OpenWrt. It uses 4kec,
which is MIPS32. The Kamailio build system doesn't detect this and
treats it as MIPS I, adding -march=r3000 to the flags, which clashes
with -mips32r2.

mips-openwrt-linux-musl-gcc -mfp32 -march=r3000 -ftree-vectorize -fno-strict-overflow -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/kamailio5-5.4.0=kamailio5-5.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DVERSION_NODATE=1 -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include   -DNAME='"kamailio"' -DVERSION='"5.4.0"' -DARCH='"mips"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"mips-openwrt-linux-musl-gcc 8.4.0"' -D__CPU_mips -D__OS_linux -DVERSIONVAL=5004000 -DCFG_DIR='"/etc/kamailio"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DMIPS_HAS_LLSC -DNOSMP -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DUSE_PTHREAD_MUTEX -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  -DMODS_DIR='"/usr/lib/kamailio/modules"' -c main.c -o main.o -MMD -MP
cc1: error: '-mips32r2' conflicts with the other architecture options, which specify a mips1 processor
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips1
Makefile.rules💯 recipe for target 'main.o' failed
make[5]: *** [main.o] Error 1

This commit fixes this by forcing ARCH to mips2 for 4kec CPUs as well
(Kamailio only differentiates between mips, mips2 and mips64).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-05 12:50:24 +01:00
Sebastian Kemper
eea98c6533 kamailio-5.x: fix erlang build
The Erlang module build checks for libs and includes using the erl tool.
This is a hostpkg tool providing paths into the staging/hostpkg.
Of course this fails:

arc-openwrt-linux-uclibc-gcc -shared  -Wl,-O2 -Wl,-E  -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -znow -zrelro -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_ref.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o erlang_mod.o  -L/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib -lei -lpthread   -o erlang.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/8.4.0/../../../../arc-openwrt-linux-uclibc/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib/libei.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'erlang.so' failed
make[6]: *** [erlang.so] Error 1

This patch prevents this by relying on the standard paths, where Erlang
resides in OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-05 12:37:04 +01:00
Jiri Slachta
de86a47df7
Merge pull request #578 from micmac1/osip512
libosip2: minor version bump
2020-11-29 23:38:30 +01:00
Jiri Slachta
e7019d3b68
Merge pull request #586 from micmac1/ast18
asterisk: add Asterisk 18 LTS
2020-11-29 08:03:23 +01:00
Jiri Slachta
302e905c55
Merge pull request #582 from neheb/miax
miax: fix compilation errors under uClibc-ng and musl
2020-11-23 22:02:10 +01:00
Jiri Slachta
c8931b6886
Merge pull request #579 from micmac1/srtp-clean-bump
libsrtp(2): cleanup and bump
2020-11-23 21:49:52 +01:00
micmac1
7290d3c4f4
Merge pull request #591 from micmac1/rtpe-kern2
rtpengine: bump to 8.5.2.3 + add build fix
2020-11-23 19:14:12 +01:00
Sebastian Kemper
04ad4d7cb6 rtpengine: bump to 8.5.2.3 + add build fix
Patch from upstream fixes builds on recent kernels.

Closes #590

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-23 18:39:32 +01:00
Sebastian Kemper
b5638d84f1 asterisk: bump to 18.1.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-19 18:44:10 +01:00
Sebastian Kemper
c70eb7d12c asterisk-chan-lantiq: update for Asterisk 18 LTS
Also use PKG_SOURCE_DATE now to proper things up. And use INSTALL_DATA
for the configuration file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:59:03 +01:00
Sebastian Kemper
8961ee1084 asterisk-chan-sccp: update for Asterisk 18 LTS
- Bump commit as upstream recently added some bits to support Asterisk 18.
- Switch to INSTALL_DATA for configuration file.
- Remove VARIANT-related bits as we only have one Asterisk version.
- Remove dep on app_voicemail as chan-sccp has no hard dependency on it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:58:05 +01:00
Sebastian Kemper
fee0cc861b asterisk-chan-dongle: update for Asterisk 18 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:57:29 +01:00
Sebastian Kemper
87e982a3a5 asterisk-g72x: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:56:45 +01:00
Sebastian Kemper
af20cf00a6 asterisk-opus: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:56:04 +01:00
Sebastian Kemper
b936fade67 asterisk: upgrade to Asterisk 18 LTS
- Bump to new LTS release.
- Move to folder asterisk and remove AST_MAJOR_VERSION variable, as we
  only have one version anyway.
- Add new modules.
- Rename voicemail to app-voicemail.
- Remove deps of voicemail on res-adsi and res-smdi as they are
  optional.
- Use INSTALL_DATA for headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 09:37:46 +01:00
Jiri Slachta
3eea28d8ab
Merge pull request #576 from micmac1/bsip-1.0.0
re+baresip: bump to 1.0.0
2020-10-30 01:00:07 +01:00
Jiri Slachta
909f292c82
Merge pull request #558 from neheb/kama
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
2020-10-30 00:58:47 +01:00
micmac1
6238b6e324
Merge pull request #585 from micmac1/rtpe8.5.2
rtpengine: bump to 8.5.2.1 LTS
2020-10-25 09:35:04 +01:00
Sebastian Kemper
da55a3690f rtpengine: bump to 8.5.2.1 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-24 12:15:27 +02:00
Daniel Golle
5d8774365a
Merge pull request #581 from neheb/pri
libpri: remove Werror
2020-10-17 14:18:30 +01:00
micmac1
c24d8bedcb
Merge pull request #584 from micmac1/sipp361
sipp: bump to 3.6.1
2020-10-17 14:07:18 +02:00
Sebastian Kemper
96b87978a4 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>
2020-10-12 09:53:35 +02:00
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
Rosen Penev
7a9cc85b22
libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:31:31 -07:00
Sebastian Kemper
734b0d76e5 restund: remove postinst script
There are no secrets in /etc/restund.conf. Remove the postinstall script
and install the file with regular permissions.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-04 15:44:44 +02:00
Sebastian Kemper
4da7d848df baresip: use FILE_MODES instead of postinst
We can now set permissions directly thanks to OpenWrt having added
fakeroot support.. This also changes the permissions of /etc/baresip so
that baresip can write to this directory. For instance it wants to write
the file /etc/baresip/current_contact for which it needs the appropriate
permissions (baresip is started by user baresip).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-04 15:29:01 +02:00
Sebastian Kemper
a85ce8450a libsrtp2: move folder, bump to 2.3.0
Bump to upstream release 2.3.0. Move folder and change PKG_NAME so that
we don't have to deal with how github names the tar.gz archive.

Also, don't install the libsrtp2.so symlink anymore on target, as it is
not required and only used in staging.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 19:00:01 +02:00
Sebastian Kemper
a16e2d69db libsrtp: remove
Nothing in this repo nor in packages depends on libsrtp anymore. This
removes it from the tree.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:54:32 +02:00
Sebastian Kemper
8512b7395a siproxd: rev bump
Increases revision due to SONAME bump of libosip2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:52:36 +02:00
Sebastian Kemper
a216aba1f5 libosip2: bump to 5.1.2
This also removes two configure args that are no longer available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:51:03 +02:00
Sebastian Kemper
667774af23 baresip: bump to 1.0.0
- remove 010-openssl-deprecated.patch as upstream seems to have fixed
  the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs
- dtmfio module removed upstream
- always set DESTDIR so that PREFIX is /usr instead of /usr/local
- update 002-fix-rem-include.patch and remove LIBREM_PATH usage
  altogether as it only adds broken include paths which aren't useful in
  the end anyway

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 10:51:29 +02:00
Sebastian Kemper
3907f7f2e4 re: bump to 1.0.0
- remove 010-openssl-deprecated.patch as it does not apply anymore and
  upstream seems to have fixed the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 10:32:36 +02: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