Commit graph

1053 commits

Author SHA1 Message Date
Sebastian Kemper
21e64474a4 freeswitch-stable: remove --disable-silent-rules
Remove this switch as the logs grow quite big with this level of
verbosity.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 21:42:40 +01:00
Sebastian Kemper
489adca0db yate: turn miniwebrtc error into warning
ilbcwebrtc and isaccodec currently depend on @!arc because the code does
not compile there. The code does not compile on aarch64 either.

Instead of adding @!aarch64 this commit adds a patch copied from Debian
that turns the error "Please add support for your architecture in
typedefs.h" into a warning, allowing the code to build.

Consequently this commit removes @!arc from the depends as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 21:24:49 +01:00
Jiri Slachta
6b6e7a9d5d
Merge pull request #263 from micmac1/yate-fix-typo
yate: fix a typo
2018-02-05 06:36:08 +01:00
Sebastian Kemper
f7a1941430 yate: fix a typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-04 19:24:33 +01:00
Jiri Slachta
7a606b0632
Merge pull request #262 from micmac1/master
PR: yate follow-up and a bit of kamailio
2018-02-04 14:00:39 +01:00
Sebastian Kemper
c8a788a164 kamailio-5.x: copy symbolic links instead of hard links
Currently three copies of every library are installed. Save space by
installing symbolic links instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 21:50:52 +01:00
Sebastian Kemper
4cc2afdcdc yate: Prevent build failures due to inclusion of fortify-source headers
yate cannot be compiled against fortify-source headers at this moment:

  In file included from /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/unistd.h:23:0,
                   from ../yateclass.h:32,
                   from ../yatengine.h:29,
                   from ../yatephone.h:29,
                   from server/ysnmpagent.cpp:22:
  /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/fortify-headers.h:20:42: error: type of 'TelEngine::strcat' is unknown

To work around this remove CPPFLAGS from CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 21:46:21 +01:00
micmac1
3c2171a80d
Merge pull request #261 from micmac1/master
New PR: freeswitch-stable
2018-02-03 20:24:40 +01:00
Sebastian Kemper
957ff81982 freeswitch-stable: workaround for build failures when gcc 7 is used
When gcc 7 is used, -Werror=format-truncation finds snprintf() calls in
mod_cdr_mongodb.c and suspects that they may result in truncation. As a
result the build fails.

Work around this by adding -Wno-error=format-truncation to CFLAGS when
gcc support this.

JIRA-10939 has been raised upstream to follow up on this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 20:19:20 +01:00
Sebastian Kemper
5111568c38 freeswitch-stable: cleanup after move to system libtiff
- refresh a patch
- drop depend on liblzma from mod-gsmopen
- add tiff to PKG_BUILD_DEPENDS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 19:29:23 +01:00
Jiri Slachta
0f435d4ae7
Merge pull request #256 from micmac1/dahdi-linux
dahdi-linux: update source to snapshot
2018-02-03 18:18:52 +01:00
Jiri Slachta
8e22eba241
Merge pull request #260 from micmac1/yate-master
New PR: Yate for master
2018-02-03 18:05:16 +01:00
Jiri Slachta
a28fa5904d
Merge pull request #258 from micmac1/libosip2-master
libosip2: fix build with ARC toolchain
2018-02-03 18:04:54 +01:00
Jiri Slachta
84fd64d72c
Merge pull request #259 from micmac1/kamailio-master
New PR: Kamailio for master
2018-02-03 18:04:33 +01:00
Sebastian Kemper
74d4c05222 yate: fix compile failures on ARC
- perl and postgresql do not compile on ARC; disable the modules
  accordingly
- ilbcwebrtc and isac also cause build failures on ARC; disable them as
  well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:55:42 +01:00
Sebastian Kemper
262d9e7b8b yate: fix module conffiles
Currently conffiles is always filled with <module>.conf. This leads to
"no such file and directory" errors when the file actually does not
exist.

This commit adds a 6th column to BuildPlugin() which indicates if there
is a config file or not.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:50:11 +01:00
Sebastian Kemper
f6ad95d6aa yate: clean up CONFIGURE_ARGS
- remove ARGS that are default anyway
- enable sse2 when target is x86_64
- remove --enable-inline as that causes too many warnings:

    ilbccodec.cpp:50:7: warning: inlining failed in call to 'virtual {anonymous}::iLBCFactory::~iLBCFactory()': call is unlikely and code size would grow [-Winline]
     class iLBCFactory : public TranslatorFactory
           ^~~~~~~~~~~
    ilbccodec.cpp:50:7: note: called from here
     class iLBCFactory : public TranslatorFactory
           ^~~~~~~~~~~

- --enable-internalregex removed as yate can use external regex
- make some choices depending on whether a package is selected; otherwise the
  build might fail, i.e. when spandsp is not installed but the Makefiles tells
  the build system to use spandsp anyway

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:38:32 +01:00
Sebastian Kemper
a49531f22e yate: clean up FLAGS
- remove flags to don't have a reason for being there anymore (there is
  no comment on why they're needed).
- add CPPFLAGS to CFLAGS so the compiler can use the FORTIFY_SOURCE
  headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:27:41 +01:00
Sebastian Kemper
f52d5ff3f8 yate: prevent ilbc to overwrite OpenWrt CFLAGS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:27:24 +01:00
Sebastian Kemper
4ba28200be yate: improve depends of sub packages
Currently the Makfile pulls in every dependency mentioned. Fix this by
prefixing the depends with the respective PACKAGE_* items.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:18:52 +01:00
Sebastian Kemper
d50b56ba15 kamailio-5.x: disable mod-db-postgres on ARC
postgresql does not build on ARC. This commit makes sure that it is not
pulled in.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:07:23 +01:00
Sebastian Kemper
8763b0703f kamailio-5.x: add CPPFLAGS to CFLAGS
Pass CPPFLAGS in the CFLAGS as otherwise the build system will ignore
them.

This way FORTIFY_SOURCE headers are passed to the compiler.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 14:02:39 +01:00
Sebastian Kemper
706ea18d8c kamailio-5.x: improve module selection
Currently INCL_MODULES is filled with all modules. This commit changes
this so that only the modules that are selected are added to it.

To further limit the number of modules built group_include="standard" is
added. This way only the modules of the standard group plus the modules
selected in menuconfig are built. The "standard" group only includes
modules without any depends.

This fixes build failures on targets where not all depends are
available, i.e. postgresql on ARC. Now these modules can be properly
prevented from being built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:57:38 +01:00
Sebastian Kemper
07bcdd9fa7 kamailio-5.x: improve module depends
Currently the Makefile pulls in depends even for packages which are not
selected. Fix this by prefixing the depends with the respective
PACKAGE_* item.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:49:01 +01:00
Sebastian Kemper
24b13d2bd7 kamailio-5.x: remove KAM_MODULES use
Adding KAM_MODULES variable is not needed. Remove it and call
BuildPackage from BuildKamailio5Module instead. For this to work
PKG_MAKE_ARGS and Build/Compile need to be moved up, before the module
evals.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:46:24 +01:00
Sebastian Kemper
8006aa8ad3 libosip2: fix build with ARC toolchain
ARC toolchain exports __arc__, which clashes with a symbol of the same
name in libosip2. This commit undefines the toolchain symbol when
building the library.

The fix was found in buildroot repo. Thanks to whoever spotted this!

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-03 13:33:27 +01:00
Hannu Nyman
fd727f5ed5 freeswitch: disable flite module
Disable also flite module that depends on non-existing package.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-02-03 10:42:36 +02:00
Mazi Lo
c46719867f Added patches to build for glibc.
For now, these patches are basically the same for musl library build.

Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-02-01 21:37:39 -05:00
Mazi Lo
be557c9bc0 Fixed depencencies and also bumped to git 77d0cfbf9e9a546b4eee23d9668cf44022f5d454
Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-02-01 21:32:18 -05:00
Sebastian Kemper
dffb87f93b dahdi-linux: update source to snapshot
Currently dahdi-linux fails to compile on targets that use kernel 4.14.
Changes were introduced in kernels 4.11 and 4.13 that cause these build
failures.

Update to an upstream git snapshot to fix the breakage.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-01 00:47:20 +01:00
micmac1
7eca3bfa40
Merge pull request #255 from micmac1/fs-system-tiff
freeswitch-stable: use system libtiff
2018-01-28 14:26:55 +01:00
Sebastian Kemper
53335746c4 freeswitch-stable: use system libtiff
The included libtiff is dated and has multiple unfixed CVEs. This commit
applies patches from upstream's master branch to use the system libtiff
instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-28 14:19:30 +01:00
Sebastian Kemper
b1d2302fcc freeswitch-stable: activate verbose build mode
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-28 14:16:17 +01:00
micmac1
ed14ceb7be
Merge pull request #254 from micmac1/fs-1.6.20
freeswitch-stable: bump to 1.6.20
2018-01-27 14:33:31 +01:00
Sebastian Kemper
6749058140 freeswitch-stable: bump to 1.6.20
Upstream seems to have updated their libtool. Instead of running
rebootstrap.sh, set PKG_FIXUP:=autoreconf. Otherwise the build would
fail due to libtool version conflicts.

This is actually nice, because now the build is a bit quicker due to
less autoconf and configure runs.

rebootstrap.sh was primarily used because it worked around some other
issues (e.g. not being able to detect how to convert files to the cross
compiler format, i.e. "func_convert_file_noop"), but that doesn't appear
to be needed anymore, which is nice.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-27 14:24:36 +01:00
Rosen Penev
480393ac36
bcg729: Remove BUILD_PATENTED.
As of 2017, all patents have expired. Full announcement text below:

As of January 1, 2017 the patent terms of most Licensed Patents under the G.729 Consortium have expired.

With regard to the unexpired Licensed Copyrights and Licensed Patents of the G.729 Consortium Patent License Agreement, the Licensors of the G.729 Consortium, namely Orange SA, Nippon Telegraph and Telephone Corporation and Université de Sherbrooke (“Licensors”) have agreed to license the same under the existing terms on a royalty-free basis starting January 1, 2017.

For current Licensees of the G.729 Consortium Patent License Agreement, no reports and no payments will be due for Licensed Products Sold or otherwise distributed as of January 1, 2017.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-25 19:09:13 -08:00
Mazi Lo
fec346da37 Fixed to use local python3-package.mk
Signed-off-by: Mazi Lo <openwrt.forum.mazilo@recursor.net>
2018-01-23 08:22:52 -05:00
Jiri Slachta
7f190f9769
Merge pull request #248 from micmac1/master-mirror-hash-jiri
Add PKG_MIRROR_HASH pt. 2
2018-01-22 19:56:42 +01:00
micmac1
38f156bcf0
Merge pull request #249 from micmac1/import-sipgrep-and-sngrep
Import sipgrep and sngrep
2018-01-21 19:00:27 +01:00
Sebastian Kemper
66e06be821 sngrep: version bump
- use upstream release tarball instead of git checkout
- update to recently released version 1.4.5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:48:05 +01:00
Sebastian Kemper
f338b3b27a sngrep: install /etc/sngreprc
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:46:54 +01:00
Sebastian Kemper
b56aec67e8 sngrep: add some features
This commit enables support for:

  - IPv6
  - Homer export
  - TLS

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:45:01 +01:00
Sebastian Kemper
db5f1f36bd sngrep: update descriptions
- move the package to Utilities/Telephony
- title/description shamelessly copied from Debian

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:42:14 +01:00
Sebastian Kemper
81507d30ba sngrep: move binary to /usr/bin
- added PKG_INSTALL
- upstream puts the binary into /usr/bin, now OpenWrt does the same

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:39:58 +01:00
Sebastian Kemper
b99814d954 sngrep: update maintainer and copyright messages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:37:52 +01:00
Sebastian Kemper
02a6be28b6 sngrep: import from openwrt/packages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:19:34 +01:00
Sebastian Kemper
487a3f4c67 sipgrep: update PKG_VERSION
The source does not change, but reflect the real version (2.2.1) in
PKG_VERSION. Also move from gz to xz to shave off a few Bytes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:16:03 +01:00
Sebastian Kemper
9396c38ef6 sipgrep: drop ncurses dependency, add ipv6 support
Following Debian's example, keeping it lean and mean.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:12:44 +01:00
Sebastian Kemper
b601d73d6b sipgrep: update descriptions
- move the package to Utilities/Telephony
- title/description shamelessly copied from Debian

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:09:31 +01:00
Sebastian Kemper
20aa96f16b sipgrep: move binary to /usr/bin
- added PKG_INSTALL
- upstream puts the binary into /usr/bin, now OpenWrt does the same

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 18:07:02 +01:00