Commit graph

37 commits

Author SHA1 Message Date
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
Sebastian Kemper
f7a1941430 yate: fix a typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-04 19:24:33 +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
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
Robert Högberg
54931ca188 yate: Bump to version 6.0.0
Updates yate to version 6.0.0.
2017-10-01 20:48:43 +02:00
Jiri Slachta
921a560832 Merge pull request #123 from robho/yate_banbrutes_using_iptables_recent
yate-scripts-perl: Add script to block phones which fail to authenticate
2017-08-13 21:26:56 +02:00
Jiri Slachta
a6b42ea220 Merge pull request #85 from robho/install_echo_script
yate-mod-extmodule: Include and install script echo.sh
2017-06-09 10:35:06 +02:00
Jiri Slachta
f9916da3bb Merge pull request #86 from robho/yate-scripts-perl_needs_perlbase-data
yate-scripts-perl: Add dependency on perlbase-data
2017-05-09 14:34:46 +02:00
Jiri Slachta
1ae479cade Merge pull request #120 from robho/init-thread-key-on-access
yate: Call pthread_key_create when the key is first accessed
2017-05-09 12:33:28 +02:00
Daniel Engberg
af7ad3497b net/yate: Remove support for Speex
Remove Speex as it's being obsoleted by upstream.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-04 19:12:48 -06:00
Robert Högberg
2d4f799440 yate-scripts-perl: Add script to block phones which fail to authenticate
Yate ships with a php script (banbrutes.php) which can help block brute
force login/password attacks. Since Yate for OpenWrt doesn't support
php scripts I've written a similar script in perl that's easier to use
with OpenWrt.

The script uses the iptables extension "recent" to keep track of
authentication failures and block users after too many authentication
failures.

This is an alternative to #87. The functionality is mostly the same,
but this is a slightly simplified, more light-weight version since
IP sets aren't used.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2016-10-01 22:17:16 +02:00
Robert Högberg
1a4d76347a yate: Call pthread_key_create when the key is first accessed
pthread_key_create used to be called when a specific static key object was
initialized, but if another static object was initialized earlier and this
other object needed the key during its initialization yate would crash.

Fixes #99

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2016-09-09 19:55:24 +02:00
Jiri Slachta
7a4de7c71d multiple packages: change PKG_MAINTAINER email address
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-05-31 20:12:51 +02:00
Robert Högberg
c4ed82eca6 yate-scripts-perl: Add dependency on perlbase-data
Yate.pm that is included in yate-scripts-perl uses perl package Data::Dumper
which is provided by openwrt package perlbase-data. Update dependency to
reflect this.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2015-09-13 23:57:47 +02:00
Robert Högberg
eee9a3661c yate-mod-extmodule: Include and install script echo.sh
echo.sh is a simple yate script which can be used to echo back audio to a
caller. It's useful for testing purposes.

Since the script is a basic shell script it has no specific dependencies.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2015-09-13 23:54:31 +02:00
Daniel Golle
d567d6c1c4 yate: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-28 23:16:31 +02:00
Daniel Golle
5eebac5572 yate: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-28 22:27:00 +02:00
Jiri Slachta
4165841eda yate: updates yate to 5.4.2. This fixes #14
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-03-16 13:48:57 +01:00
Jiri Slachta
30ffae1ecc Add PKG_LICENSE to the rest of the packages
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-11-04 17:00:24 +01:00
Jiri Slachta
ba0855ebee yate: add patch that adds ppc arch to typedefs.h
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-18 14:01:39 +02:00
Jiri Slachta
81e36eafb4 yate: fix typo
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-12 14:09:11 +02:00
Jiri Slachta
dcbbe3f624 yate: add mysql module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-12 11:28:48 +02:00
Jiri Slachta
92b21b46cb yate: remove broken h323 and mysql module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-11 11:19:45 +02:00
Jiri Slachta
475d996ab5 yate: mark mysql backed module as @BROKEN
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-06 01:30:52 +02:00
Jiri Slachta
0566bed3f6 yate: remove broken script subpackages
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-07-31 15:04:01 +02:00
Jiri Slachta
e2739da460 yate: update to 5.0.4, remove ligsm as dependency
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-07-28 10:57:20 +02:00
Jiri Slachta
25ad34d61e yate: update to 5.0.3
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-07-19 16:46:52 +02:00
Jiri Slachta
b447293e95 yate: update to version 5.1.0-1
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-02-26 14:35:13 +01:00
Jiri Slachta
1b502dc54b yate: disable some configure options (broken subpackages)
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-11-06 13:41:15 +01:00
Jiri Slachta
743bca6d7c This patch updates yate to version 5.0.0.
Tested-by: Robert Högberg <robert.hogberg@gmail.com>
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
[slachta@cesnet.cz: removed zaptel stuff because of zaptel package breakage]
[slachta@cesnet.cz: added more configure options]
Tested-by: Jiri Slachta <slachta@cesnet.cz>
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-11-05 16:11:51 +01:00
Jiri Slachta
1c4ad9c7a4 yate: remove maintainer
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-08-27 10:53:54 +02:00
Jiri Slachta
100f27f3bb Directory structure restructuralized.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-06-21 13:55:47 +02:00