Commit graph

1052 commits

Author SHA1 Message Date
Andre Heider
7a9a78a398 asterisk-15.x: update to 15.6.1
Update to the current 15.x release, see [0].
Drop merged patches and refresh the rest.

Get rid of the unknown --without-pwlib configure switch.
Drop the direct ncurses dependency, it's unused in case of an external
libedit [1].

[0] http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-15-current
[1] https://issues.asterisk.org/jira/browse/ASTERISK-27761

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-10-08 12:13:24 +02:00
Robert Högberg
a026c0ee63 yate: Revert to internal regex implementation
.. because the musl implementation doesn't seem to be fully compatible
with yate. We switched to the musl implementation in f6ad95d.

Yate has this regexp:
^([[:alpha:]][[:alnum:]]+:)?/?/?([^[:space:][:cntrl:]@]+@)?([[:alnum:]._+-]+|[[][[:xdigit:].:]+[]])(:[0-9]+)?

Given a string like

  sip:012345678@11.111.11.111:5060;user=phone

musl's regexec() returns these matches:

index start end
0     -1    0
1     0     32   sip:012345678@11.111.11.111:5060
2     -1    -1
3     0     14   sip:012345678@
4     14    27   11.111.11.111
5     27    32   :5060

.. but this is what yate expects:

index start end
0     -1    0
1     0     32   sip:012345678@11.111.11.111:5060
2     0     4    sip:
3     4     14   012345678@
4     14    27   11.111.11.111
5     27    32   :5060

Fixes #378

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2018-10-02 19:48:18 +02:00
Sebastian Kemper
2711cb872b freeswitch-stable: bump to 1.8.2
- bump version
- go back to using release tarballs (unavailable when 1.8.1 was
  initially released)
- add OpenWrt mirror

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-27 22:48:22 +02:00
Jiri Slachta
66bd4490a5
Merge pull request #370 from micmac1/kama-mas-cve
(master) kamailio-5.x: add fix for CVE-2018-16657
2018-09-21 16:47:25 +02:00
Sebastian Kemper
8a53ea43a1 asterisk-15.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:34:25 +02:00
Sebastian Kemper
ed99b9f31b asterisk-13.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:29:33 +02:00
Sebastian Kemper
8ecfc4b0b1 kamailio-5.x: add fix for CVE-2018-16657
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with
an invalid Via header causes a segmentation fault and crashes Kamailio. The
reason is missing input validation in the crcitt_string_array core function
for calculating a CRC hash for To tags. (An additional error is present in
the check_via_address core function: this function also misses input
validation.) This could result in denial of service and potentially the
execution of arbitrary code.

Patch from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-12 20:27:33 +02:00
Sebastian Kemper
8dc9a376bf freeswitch-stable: add PKG_CPE_ID
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-26 20:08:50 +02:00
Sebastian Kemper
d78c4e07fa freeswitch-stable: replace defaults with uci
This commit replaces /etc/default/freeswitch with /etc/config/freeswitch.
This way the init and hotplug configuration can be done with uci instead of
having to edit a file.

This also does away with the busybox ntpd warning. ntpd uses the same
configuration in system and it looks like busybox's ntpd is not used when
ntpd is installed.

Lastly some log strings are amended to start with a lowercase letter.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-26 12:36:48 +02:00
Sebastian Kemper
a162bd9298 freeswitch-stable: disable parallel build
There is a discussion ongoing if parallel builds should be enabled by
default. For freeswitch parallel builds are known to fail when certain
modules are enabled. This commit preemptively disables parallel builds
explicitly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-26 12:19:25 +02:00
Sebastian Kemper
3466a118b5 freeswitch-stable: fix perl setup
A recent commit in packages/lang/perl is causing a problem with the
perlmod.mk include. Work around this by including perlver.mk instead and
setting up PERL_CMD and PERL_SITELIB manually.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-16 22:12:27 +02:00
Jiri Slachta
76851ef29d
Merge pull request #360 from micmac1/kam-cve-master
kamailio-5.x: add fix for CVE-2018-14767
2018-08-11 12:18:26 +02:00
Jiri Slachta
d025a99c08
Merge pull request #346 from micmac1/asterisk-uclibc-iconv
asterisk: fix iconv related build issue
2018-08-11 12:17:27 +02:00
Jiri Slachta
1f1a639abe
Merge pull request #351 from micmac1/sccp-nls
asterisk-chan-sccp: remove iconv hack
2018-08-11 12:16:44 +02:00
Jiri Slachta
ef0b6466f4
Merge pull request #352 from micmac1/dongle-nls
asterisk-chan-dongle: remove iconv hack + update snapshot
2018-08-11 12:16:07 +02:00
Sebastian Kemper
1c3677ac96 kamailio-5.x: add fix for CVE-2018-14767
CVE-2018-14767: "In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a
crafted SIP message with a double "To" header and an empty "To" tag
causes a segmentation fault and crash. The reason is missing input
validation in the "build_res_buf_from_sip_req" core function. This could
result in denial of service and potentially the execution of arbitrary
code."

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-06 23:25:27 +02:00
Sebastian Kemper
b7ce37ba0b freeswitch-stable: add SIGKILL to init script
Sometimes freeswitch doesn't exit after receiving the SIGTERM signal.
This can be reproduced by sending SIGTERM to a freeswitch instance which
is initializing (which can take quite some time).

Instead of just giving up and exiting - leaving a hung freeswitch
process on the system - this commit adds some lines to the init script
that send SIGKILL to freeswitch in case the attempt to terminate it with
SIGTERM fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-05 14:56:08 +02:00
micmac1
26db4efb3c
Merge pull request #347 from micmac1/yate-uclibc-iconv
yate: upgrade to 6.1.0 and fix uclibc build issue
2018-08-05 11:22:49 +02:00
Sebastian Kemper
f0d34a6e6d freeswitch-stable: fix garbled output in fs_cli
Fix a typo. Sent to upstream via Jira FS-11309.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-03 18:48:40 +02:00
Eneas U de Queiroz
c116c37851 freeswitch-stable: fix memory leak in mod_event_multicast
Applied a patch, submitted upstream at
https://freeswitch.org/jira/browse/FS-11193
that fixes two memory leaks in mod_event_multicast.c

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-08-01 14:15:14 -03:00
Sebastian Kemper
3fbdfa8d96 freeswitch-stable: add new modules
1. fail2ban
2. raven
3. video_filter

All three are new in FreeSWITCH 1.8.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 15:51:13 +02:00
Sebastian Kemper
06b7df55b0 freeswitch-stable: upgrade to 1.8.1
- Bump version from 1.6.20 to 1.8.1 (includes OpenSSL 1.1.0 support).
- Upstream didn't provide a source tarball yet, switch to git to grab
  the release.
- freeradius-client got updated to 1.1.7 by upstream, update version and
  checksum accordingly.
- tiff, libvpx and pcre patches are no longer needed, drop them.
- Refresh the remaining patches. Only minor changes were needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 13:22:42 +02:00
Sebastian Kemper
2ef37ad9fe freeswitch-stable: remove mod_v8
mod_v8 is too difficult to maintain and tricky to cross-compile. This
commit removes it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-01 13:13:34 +02:00
Sebastian Kemper
63caadb3d3 asterisk-chan-dongle: update snapshot
Includes USSD encoding fix for E3531.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-18 22:11:46 +02:00
Sebastian Kemper
d5f36f5394 asterisk-chan-dongle: remove iconv hack
Remove the hack for iconv on uclibc. Instead include nls.mk which will
sort out the iconv depends.

This changes the iconv patch. AC_SEARCH_LIB doesn't work properly for
openwrt/lede. Instead use AC_CHECK_LIB.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-18 22:07:50 +02:00
Sebastian Kemper
e45e405487 asterisk-chan-sccp: remove iconv hack
Instead just include nls.mk.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-17 23:26:23 +02:00
Sebastian Kemper
1886bd33b5 freeswitch-stable: fix gsmopen inbuf handling
inbuf is only const in libiconv-full when compiled against uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-16 23:24:38 +02:00
Sebastian Kemper
d568f9336c freeswitch-stable: fix sed script
The sed script used on libs/unimrcp is used to set LDFLAGS using
APR_SETVAR. Since nls.mk is included there are LDFLAGS with commas. But
the macro APR_SETVAR uses commas to separate arguments, so now the
LDFLAGS are only getting partially copied.

Solve this by surrounding LDFLAGS with brackets ([...]).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 23:27:09 +02:00
Sebastian Kemper
e5e1e20ab3 freeswitch-stable: include nls.mk, remove hack
Removes the uClibc iconv hack. Instead nls.mk is included to sort out
iconv depends.

mod_gsmopen isn't able to figure out if iconv's inbuf is const. In
OpenWrt this is the case with libiconv-full, not with libiconv-stub. To
aid mod_gsmopen update 270-fix-uclibc-iconv-in-gsmopen.patch so that we
can pass on if inbuf is const via CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 16:53:23 +02:00
Sebastian Kemper
9d339b9e41 freeswitch-stable: fix APR_TRY_COMPILE_NO_WARNING
The macro included in apr/apr-util is incorrect. It results in extra
brackets being put into conftest.c, for example:

  #include "confdefs.h"

[
  #include <stddef.h>
  #include <iconv.h>
  ]
int main(int argc, const char *const *argv) {
[
  iconv(0,(char **)0,(size_t *)0,(char **)0,(size_t *)0);
  ]
  return 0; }

The test always fails with:

error: expected identifier or '(' before '[' token

The following checks are affected:

- variable length arrays
- type of inbuf parameter to iconv

Fix from upstream (Apache).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-15 16:34:53 +02:00
Sebastian Kemper
b12a8bf62c asterisk-15.x: fix iconv related build issue
libmariadb 10.2 needs to be linked in together with iconv. Include nls.mk
to help the build system find the iconv library.

Also update func_iconv's depend. We want to use the variable
$(ICONV_DEPENDS) provided by nls.mk. It resolves to
+BUILD_NLS:libiconv-full. This cannot be handled properly right now, as the
module depends filter cannot handle +<SYMBOL>:<package> depends. So add
another field to the Makefile's module function for complex depends, which
are passed on unfiltered.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 23:21:41 +02:00
Sebastian Kemper
166a1d9f0b asterisk-13.x: fix iconv related build issue
libmariadb 10.2 needs to be linked in together with iconv. Include nls.mk
to help the build system find the iconv library.

Also update func_iconv's depend. We want to use the variable
$(ICONV_DEPENDS) provided by nls.mk. It resolves to
+BUILD_NLS:libiconv-full. This cannot be handled properly right now, as the
module depends filter cannot handle +<SYMBOL>:<package> depends. So add
another field to the Makefile's module function for complex depends, which
are passed on unfiltered.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 23:13:27 +02:00
Sebastian Kemper
6315dcd5bf yate: update to 6.1.0
Upgrade yate. The video codec mapping patch needed some small changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 22:25:01 +02:00
Sebastian Kemper
0234b91cba yate: fix mod-mysqldb compile
Since libmariadb 10.2.x requires to be linked in together with iconv,
include nls.mk to help the build system find it.

Also fix a type in PKG_CONFIG_DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-12 22:22:20 +02:00
Sebastian Kemper
6228ab5ed9 asterisk-15.x: patch AST-2018-007 and 008
Patches from upstream for:

AST-2018-007
AST-2018-008

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-25 22:50:20 +02:00
Sebastian Kemper
028912b333 asterisk-13.x: patch AST-2018-008
Patch from upstream for AST-2018-008.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-25 22:47:40 +02:00
Sebastian Kemper
2c490b7fd1 freeswitch-stable: fix incompatible pointer type
Currently compiles fail with:

  CC       libfreeswitch_la-switch_regex.lo
src/switch_regex.c: In function 'switch_regex_compile':
src/switch_regex.c:40:9: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
  return pcre_compile(pattern, options, errorptr, erroroffset, tables);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:2100: recipe for target 'libfreeswitch_la-switch_regex.lo' failed
make[5]: *** [libfreeswitch_la-switch_regex.lo] Error 1

Fix cherry-picked from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-21 21:09:54 +02:00
guidosarducci
b65b20f6f8 siproxd: restructure code and use procd for init
Switch to use procd for init, with support for jails. Clean up code and
restructure callback processing to be more robust and understandable. This
also fixes a bug processing multiple siproxd config sections, as reported
by Michael Kuron.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-05-24 00:23:56 -07:00
guidosarducci
a3f6f176d5 siproxd: don't apply default values already built-in
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-05-24 00:18:54 -07:00
Sebastian Kemper
e70c0848cc asterisk-15.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:11:50 +02:00
Sebastian Kemper
94b70e0425 asterisk-13.x: remove sounds cache
When there is no sounds cache declared the build system will not attempt to
download any sound packs or their SHA1 checksums.

This is to be preferred because:

  a) the build may occur offline, causing it to fail
  b) plain http is used by the build system for downloading

There is no drawback here because the standard sound packs are included in
the Asterisk source tarball already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-21 23:09:26 +02:00
Sebastian Kemper
32fa1723c9 yate: fix mysql detection
When configure is called with '--with-mysql="$(STAGING_DIR)/usr"' it tries
to detect mysql manually instead of using mysql_config. This doesn't always
work:

<snip>
checking for MySQL in /var/lib/buildbot/slaves/slave-lede-builds4/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl/usr... no
<snip>

This commit changes the configure argument to '--with-mysql=yes/no'. When
'yes' is selected configure uses mysql_config and then the detection works
reliably.

<snip>
checking for MySQL using mysql_config... yes 10.1.32
checking whether MYSQL_OPT_RECONNECT is declared... yes
checking whether MYSQL_OPT_READ_TIMEOUT is declared... yes
checking whether MYSQL_OPT_WRITE_TIMEOUT is declared... yes
checking whether mysql_set_character_set is declared... yes
<snip>

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-05 13:21:50 +02:00
Jiri Slachta
b159ed0cf9
Merge pull request #321 from micmac1/chan-lantiq-fix-target-build
asterisk-chan-lantiq: fix dep for nonshared builds
2018-05-01 21:19:05 +02:00
Jiri Slachta
4289fbab0d
Merge pull request #322 from micmac1/baresip-up
Baresip suite: version bumps
2018-05-01 21:16:57 +02:00
Jiri Slachta
fb52a10929
Merge pull request #323 from micmac1/ast-up
Asterisk: version bumps
2018-05-01 21:16:34 +02:00
Jiri Slachta
78ad9d8d36
Merge pull request #324 from micmac1/ast-modules-up
asterisk-channel modules: bump sccp and dongle
2018-05-01 21:15:09 +02:00
Sebastian Kemper
5f04977bd6 kamailio-5.x: bump to 5.1.3
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:09:35 +02:00
Sebastian Kemper
97e04fd17a asterisk-chan-sccp: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:05:30 +02:00
Sebastian Kemper
929ad42044 asterisk-chan-dongle: bump snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 15:03:53 +02:00
Sebastian Kemper
715bd046c1 asterisk-15.x: bump to 15.3.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed
- drop a module that was removed upstream for being incomplete

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:55:53 +02:00
Sebastian Kemper
6cf1db0c4e asterisk-13.x: bump to 13.20.0
- patches refreshed
- menuselect is bootstrapped from main bootstrap script now, extra call
  removed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:27:06 +02:00
Sebastian Kemper
ff40589317 baresip: bump to 0.5.9
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:03:16 +02:00
Sebastian Kemper
8dd77211e0 asterisk-chan-lantiq: fix dep for nonshared builds
Despite all previous efforts chan-lantiq is not built by the build bots.
Checking the logs of a target build reveals that the chan-lantiq builds are
not even attempted.

During the target builds CONFIG_ALL is not set, meaning no regular package
gets selected. CONFIG_ALL_NONSHARED on the other hand is set. But
chan-lantiq still will not be selected, because it depends on "asterisk",
meaning asterisk needs to be selected first for chan-lantiq to become
available.

This commit changes the asterisk depend to "+asterisk", meaning asterisk
will be selected if chan-lantiq is selected.

This was tested with the SDK. A seed config file was added with the
following:

CONFIG_ALL_NONSHARED=y

Running menuselect showed that now chan-lantiq is selected
automatically. This should fix the problem.

The problem with "+asterisk" is that this breaks the asterisk menus for all
asterisk plugins/utilities that follow chan-lantiq alphabetically.  To
address this put the chan-lantiq modules into their own sub menu "Telephony
Lantiq". This is not nice, but the alternative would be to rename the
packages to something like asterisk13-z-chan-lantiq. This would make it
harder to find the packages. Maybe somebody has a better idea in the
future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-27 21:44:43 +02:00
Sebastian Kemper
f0e7c5cd4d asterisk-chan-lantiq: avoid VARIANTs
chan-lantiq currently is still not built by the build bots. Split the
package in two, one for Asterisk 13, the other for 15, to avoid a VARIANT
build. Maybe the build bots do not support nonshared VARIANT builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-15 17:34:21 +02:00
Jiri Slachta
2ead2c458c
Merge pull request #315 from micmac1/siproxd-fix-package-names
siproxd: remove underscores from package names
2018-04-14 07:49:29 +02:00
Jiri Slachta
187aa78b80
Merge pull request #312 from micmac1/baresip2-fix-package-names
baresip: remove underscores from package names
2018-04-14 07:49:19 +02:00
Jiri Slachta
28c39ca99b
Merge pull request #313 from micmac1/rtpproxy-fix-package-names
rtpproxy: remove underscores from package names
2018-04-14 07:49:07 +02:00
Jiri Slachta
bae2d2a2c6
Merge pull request #316 from micmac1/kamailio-fix-package-names
kamailio-5.x: remove underscores from package names
2018-04-14 07:48:53 +02:00
Jiri Slachta
4ef7e692bf
Merge pull request #317 from micmac1/yate-fix-package-names
yate: remove underscores from package names
2018-04-14 07:48:41 +02:00
Jiri Slachta
bf8164ad0b
Merge pull request #311 from micmac1/asterisk-fix-package-names
Asterisk: fix package names
2018-04-14 07:48:06 +02:00
Sebastian Kemper
03ac9faf7b freeswitch-stable: tone down perl/python flags
Tidy up the flags passed on to FS build system for Perl and Python
modules. Some flags seem a bit too random to include - this commit
removes them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-13 23:16:21 +02:00
Sebastian Kemper
45ecde769a yate: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-10 21:34:43 +02:00
Sebastian Kemper
7974fbbe3a kamailio-5.x: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-10 21:18:16 +02:00
Sebastian Kemper
a126cfcb74 siproxd: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-10 21:14:11 +02:00
Sebastian Kemper
b6a2b611e9 freeswitch-stable: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-10 20:47:16 +02:00
Sebastian Kemper
a0dc2c7607 rtpproxy: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-09 23:42:24 +02:00
Sebastian Kemper
37f897c8c0 baresip: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-09 23:30:51 +02:00
Sebastian Kemper
b13029c9e6 asterisk-15.x: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-09 22:57:24 +02:00
Sebastian Kemper
34263d1d22 asterisk-13.x: remove underscores from package names
Underscores should not be used in package base names as they're used as
semantic separators by opkg.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-09 22:54:08 +02:00
Sebastian Kemper
174fce59b7 yate: build pgsqldb for target ARC
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-08 11:52:53 +02:00
Sebastian Kemper
d5a8385a87 kamailio-5.x: build db_postgres for target ARC
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-08 11:51:49 +02:00
Sebastian Kemper
c8ea07edd0 asterisk-15.x: build pgsql for target ARC
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-08 11:50:45 +02:00
Sebastian Kemper
05f74e241a asterisk-13.x: build pgsql for target ARC
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-08 11:49:51 +02:00
Zhong Jianxin
c447ba0de2 yate: Bump PKG_RELEASE
Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2018-03-31 00:14:25 +08:00
Zhong Jianxin
2235c2fa01 yate: More video codecs mapping
Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2018-03-30 22:09:57 +08:00
Sebastian Kemper
66d0d185df baresip: fix mod-avformat DEPENDS
mod-avformat is only built when mod-avcodec is selected. baresip sets it
up like that in mk/modules.mk:

  ifneq ($(USE_AVCODEC),)
  MODULES   += avcodec
  ifneq ($(USE_AVFORMAT),)
  MODULES   += avformat
  endif
  endif

This commit updates the mod-avformat DEPENDS accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-24 12:53:49 +01:00
Sebastian Kemper
40e1a78030 baresip: update baresip-mod-pulse depend
There are two pulseaudio packages, pulseaudio-daemon and
pulseaudio-daemon-avahi. Both provide pulseaudio. Depend on pulseaudio
so the user may choose which one to install.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-18 10:23:16 +01:00
guidosarducci
b5204f6d0d siproxd: improve syslog messages
Use explicit ident string ("siproxd") instead of NULL, as the latter is
not guaranteed to prepend the program name (e.g. unspecified in POSIX),
and may result in syslog messages identified only by PID.

Use consistent facility (LOG_DAEMON) across openlog() and syslog() calls.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-17 18:41:10 -07:00
guidosarducci
ea47a982ac siproxd: add usage comments, examples to default UCI config
Explain default configuration options and potential firewall settings.
Provide examples of using documented siproxd configuration directives.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-17 18:41:10 -07:00
guidosarducci
09f32fb1a5 siproxd: use UCI callback processing, reduce code size
Switch to using callback functions for UCI config processing, and remove
the unnecessary scan_interfaces() call together with related code.

Instead of explicitly handling every possible siproxd config option, use
callbacks to deal with those defined in the UCI config file, and directly
handle only selected options with desired default values. This shrinks
the init code by ~3.5 KB and simplifies updating to future siproxd
versions with new options.

(Note: this change exposed some long-standing, broken aspects of UCI
callback handling, fixed in https://github.com/openwrt/openwrt/pull/805.)

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-17 18:34:16 -07:00
Jiri Slachta
25bb8873b7
Merge pull request #302 from micmac1/sipp-standard-c++-lib
sipp: use preferred standard C++ lib
2018-03-13 16:05:44 +01:00
Sebastian Kemper
7342fdf484 sipp: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 13:08:52 +01:00
Sebastian Kemper
1b493c6532 asterisk-15.x: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 13:03:47 +01:00
Sebastian Kemper
28fb0ecc3c asterisk-15.x: clean up DEPENDS
- The main package does not actually depend on libpopt. Only the utility
  smsq does. This commit reflects that in the dependencies.

- libxslt is only used if generating the XML documentation, which this
  package does not use. So remove the bogus dependency.

- app-sms does not depend on libpopt either. It has another dependency
  on libstdcpp, which is already covered by the main package. This removes
  both dependencies.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 13:02:12 +01:00
Sebastian Kemper
10beb4c240 asterisk-13.x: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 12:59:30 +01:00
Sebastian Kemper
bdfb3d75a4 asterisk-13.x: clean up DEPENDS
- The main package does not actually depend on libpopt. Only the utility
  smsq does. This commit reflects that in the dependencies.

- libxslt is only used if generating the XML documentation, which this
  package does not use. So remove the bogus dependency.

- app-sms does not depend on libpopt either. It has another dependency
  on libstdcpp, which is already covered by the main package. This removes
  both dependencies.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-13 12:57:39 +01:00
Jiri Slachta
171fec75e8
Merge pull request #295 from micmac1/dongle-up
asterisk-chan-dongle: simplify and update snapshot
2018-03-13 08:42:32 +01:00
Jiri Slachta
6f886e2a33
Merge pull request #297 from micmac1/sccp-up
asterisk-chan-sccp: bump and cleanup
2018-03-13 08:42:18 +01:00
Jiri Slachta
f318f797f4
Merge pull request #294 from micmac1/pkg_conf_dep_ast15
asterisk-15.x: remove hack, fix deps and add PKG_CONFIG_DEPENDS
2018-03-13 08:41:47 +01:00
Jiri Slachta
2f74348b92
Merge pull request #293 from micmac1/pkg_conf_dep_ast13
asterisk-13.x: remove hack, fix deps and add PKG_CONFIG_DEPENDS
2018-03-13 08:41:34 +01:00
Jiri Slachta
c24cc0c639
Merge pull request #283 from micmac1/siproxd-updates
Siproxd updates
2018-03-13 08:40:38 +01:00
Jiri Slachta
48bbb813ab
Merge pull request #291 from micmac1/compile-fix-pcapsipdump
pcapsipdump: compile fixes
2018-03-13 08:25:40 +01:00
Jiri Slachta
0ce847e000
Merge pull request #296 from micmac1/lantiq-up
asterisk-chan-lantiq: update snapshot
2018-03-13 08:25:12 +01:00
Jiri Slachta
d2593de184
Merge pull request #298 from micmac1/kam-up
Kamailio 5: version bump + PKG_CONFIG_DEPENDS
2018-03-13 08:24:54 +01:00
Jiri Slachta
ef744af47d
Merge pull request #299 from micmac1/yate-up
yate: add PKG_CONFIG_DEPENDS
2018-03-13 08:24:45 +01:00
Sebastian Kemper
c7b427e48f freeswitch-stable: use preferred standard C++ lib
Currently libstdc++ is hardcoded. Change that and use whatever standard
C++ lib has preference.

Note: Two modules, event_zmq and v8, do not compile against libuClibc++.
For them to be available libstdcpp needs to have preference.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-11 23:32:25 +01:00
Sebastian Kemper
87ae0b7ab2 asterisk-chan-lantiq: add back nonshared flag
The module is never attempted to build in the regular buildbot package
cycle. Stick back the nonshared flag to get at least some log during
the target build cycle.

This also updates the dependency on kmod-ltq-vmmc to be selective (+).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-11 10:49:07 +01:00
Sebastian Kemper
5c4ac82788 yate: add PKG_CONFIG_DEPENDS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 16:57:33 +01:00
Sebastian Kemper
c218f8d79c kamailio-5.x: add PKG_CONFIG_DEPENDS
The module list is necessary, unfortunately. But having working
PKG_CONFIG_DEPENDS is nice and the list rarely needs updating.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 16:37:37 +01:00
Sebastian Kemper
f0bc3c6776 kamailio-5.x: version bump
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 16:36:19 +01:00
Sebastian Kemper
b9c6eabfde asterisk-chan-sccp: remove iostreams workaround
The iostreams patch was dropped from the asterisk 13 package. The
workaround can go away.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 15:31:03 +01:00
Sebastian Kemper
45787332e5 asterisk-chan-sccp: update snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 15:29:26 +01:00
Sebastian Kemper
5f7266cda7 asterisk-chan-lantiq: update snapshot
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 15:04:27 +01:00
Sebastian Kemper
1459baa061 asterisk-chan-dongle: update snapshot
./configure now requires us to set DESTDIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 14:52:42 +01:00
Sebastian Kemper
7beff532c5 asterisk-chan-dongle: add patch to force OpenWrt CFLAGS
Prevent ./configure from adding '-O6' to CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 14:49:20 +01:00
Sebastian Kemper
b22af0210e asterisk-chan-dongle: simplify Makefile
Simplify the Makefile by using the default Build/Compile routine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 14:47:34 +01:00
Sebastian Kemper
59edf25bc1 asterisk-15.x: add PKG_CONFIG_DEPENDS
The module and util lists are necessary, unfortunately. But having
working PKG_CONFIG_DEPENDS is nice and the lists rarely need updating.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 13:01:32 +01:00
Sebastian Kemper
ec4ecc032d asterisk-15.x: remove .lastclean hack
Remove the hack. Instead just call make with .lastclean and afterward
make menuselect again. If .lastclean was not removed by menuselect this
will not do anything, which is nice.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:59:43 +01:00
Sebastian Kemper
dc40ee03e4 asterisk-15.x: update compile stage
- define Build/menuselect for reuse
- call the default Compile define for menuselect-tree

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:57:47 +01:00
Sebastian Kemper
8510c786c0 asterisk-15.x: add missing util dependencies
The AEL utils need the pbx-ael module selected, otherwise they won't be
built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:55:26 +01:00
Sebastian Kemper
0af4ac7c51 asterisk-13.x: add PKG_CONFIG_DEPENDS
The module and util lists are necessary, unfortunately. But having
working PKG_CONFIG_DEPENDS is nice and the lists rarely need updating.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:53:01 +01:00
Sebastian Kemper
23f5a70e0d asterisk-13.x: remove .lastclean hack
Remove the hack. Instead just call make with .lastclean and afterward
make menuselect again. If .lastclean was not removed by menuselect this
will not do anything, which is nice.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:45:29 +01:00
Sebastian Kemper
2184038734 asterisk-13.x: update compile stage
- define Build/menuselect for reuse
- call the default Compile define for menuselect-tree

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:40:09 +01:00
Sebastian Kemper
edbca36521 asterisk-13.x: add missing util dependencies
The AEL utils need the pbx-ael module selected, otherwise they won't be
built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-09 12:34:54 +01:00
Sebastian Kemper
3f238a5e98 pcapsipdump: compile fixes
Previous revert only works when libstdcpp is the default C++ lib. To
make the compile work in all scenarios LIBS needs to be defined and
MAKE_FLAGS are required instead of MAKE_VARS, otherwise the included
variables are overridden.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-08 15:56:54 +01:00
Sebastian Kemper
ecfb5062ef yate: revert uclibc++ commit
This reverts commit b8b9818a13.

In hindsight I have to admit I did not correctly understand the
implications of the uclibc++.mk include.

The include allows a package to follow the user's choice regarding which
C++ library should be the standard. Linking against uClibc++ instead of
libstd++ is not a problem when running musl (which is what I had
incorrectly assumed), as both C++ libs are separate packages. And
uClibc++ is a lot smaller than libstd++, which is probably why it is
even the default C++ lib on OpenWrt currently.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 19:21:28 +01:00
Sebastian Kemper
da85405911 pcapsipdump: revert uclibc++ commit
This reverts commit 6857bc21eb.

In hindsight I have to admit I did not correctly understand the
implications of the uclibc++.mk include.

The include allows a package to follow the user's choice regarding which
C++ library should be the standard. Linking against uClibc++ instead of
libstd++ is not a problem when running musl (which is what I had
incorrectly assumed), as both C++ libs are separate packages. And
uClibc++ is a lot smaller than libstd++, which is probably why it is
even the default C++ lib on OpenWrt currently.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 19:18:35 +01:00
Sebastian Kemper
9f910aeaa9 freeswitch-stable: fix CVE in libvpx
Patch copied from Debian to fix CVE-2017-13194.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 18:47:13 +01:00
Sebastian Kemper
986be1c013 freeswitch-stable: unite libvpx patches, address CVE
Currently there are two simple patches for libvpx. This commit puts the
second patch into the first.

Also added:

  - CPPFLAGS
  - a flag to address CVE-2017-0641
  - comments

A tiff patch got refreshed due to the above.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 18:41:28 +01:00
Sebastian Kemper
971fea6e34 freeswitch-stable: clean up PKG_CONFIG_DEPENDS
A lot of entries in there are unnecessary. Remove them and add the
essential bits.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 18:37:49 +01:00
Sebastian Kemper
ee3add9b9c freeswitch-stable: move module selection to Build/Configure
Currently the routine that sets up the modules.conf file resides in
Build/Prepare.

When PKG_CONFIG_DEPENDS causes a reconfiguration, Build/Prepare is not
triggered. So if another module gets selected in menuconfig, this module
would not be added to modules.conf, meaning the rebuild would fail.

Add the routine to Build/Compile to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 18:25:32 +01:00
Sebastian Kemper
ab7d46ec35 freeswitch-stable: move source file copying to Build/Compile
Some source files need to be copied into PKG_BUILD_DIR. This is
currently done in Build/Prepare.

When PKG_CONFIG_DEPENDS causes a reconfiguration, Build/Prepare is not
triggered again, meaning needed source files would not be copied.

Move these lines to Build/Compile to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 18:09:35 +01:00
Jiri Slachta
be6402819c
Merge pull request #284 from micmac1/yate-updates
Yate updates
2018-03-03 10:50:23 +01:00
Sebastian Kemper
2698f07aa7 asterisk-15.x: bump to 15.2.2
- Fixes:
    AST-2018-004
    AST-2018-005
    AST-2018-006
- Remove res_pjsip_transport_management.so as it got moved into
  res_pjsip's core as per AST-2018-003.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-26 22:41:51 +01:00
Sebastian Kemper
49579c60f3 asterisk-13.x: bump to 13.19.2
- Fixes:
    AST-2018-004
    AST-2018-005
- Remove res_pjsip_transport_management.so as it got moved into
  res_pjsip's core as per AST-2018-003.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-26 22:37:41 +01:00
Sebastian Kemper
dff826f128 yate: update install define
- Simplify lib install
- Use $(INSTALL_CONF) for config files

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:37:48 +01:00
Sebastian Kemper
1f76a5f991 yate: add DAHDI support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:35:04 +01:00
Sebastian Kemper
b1cd5436d7 siproxd: update module install define
Use $(INSTALL_BIN) as the modules are installed by siproxd as
executables. Remove the wildcards from this line as they're not needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:25:09 +01:00
Sebastian Kemper
67b6cc3221 siproxd: update libltdl handling
Remove LIBLTDL from the Makefile as well as a patch related to LTDL.
Both have in common that they accomplish absolutely nothing.

Also explicitly disable the use of the internal libltdl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 11:22:39 +01:00
Jiri Slachta
25fb644f73
Merge pull request #272 from micmac1/baresip-version-bump
Re, Baresip: version bump
2018-02-18 18:57:36 +01:00
Jiri Slachta
5a871e44a2
Merge pull request #269 from micmac1/kam5-util-lib-rename
kamailio-5.x: update libs and utils handling
2018-02-18 18:56:56 +01:00
Jiri Slachta
8c640cfac1
Merge pull request #274 from micmac1/rtpproxy-bump
Rtpproxy bump
2018-02-18 18:55:01 +01:00
Jiri Slachta
6a34217a54
Merge pull request #273 from micmac1/asterisk-bumps
Asterisk bumps
2018-02-18 18:46:14 +01:00
Jiri Slachta
1b924f661a
Merge pull request #275 from micmac1/yate-fortify-off
net/yate: some tiny updates
2018-02-18 18:43:29 +01:00
Jiri Slachta
c603b46f58
Merge pull request #276 from micmac1/pcapsipdump-up
Pcapsipdump update
2018-02-18 18:42:50 +01:00
Sebastian Kemper
fb78b0b536 net/pcapsipdump: Simplify Makefile
Use the default Build/Compile. Use MAKE_VARS to set up the variables
that are used by pcapsipdump's Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:16:34 +01:00
Sebastian Kemper
6857bc21eb net/pcapsipdump: Remove uclibc++.mk include
The include injects a lib depend on libuClibc++.so.0 into the package,
even on musl. Remove it and replace the depend with libstcpp instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:14:16 +01:00
Sebastian Kemper
91e90c7f9b net/yate: Add some plugins
Add some plugins which are built by default anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:11:28 +01:00
Sebastian Kemper
326df0e414 net/yate: Disable RTTI
Yate is the only package in OpenWrt which manually enables RTTI
(run-time type information). There's no explanation in the Makefile as
to why that would be needed or advisable. Remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:07:19 +01:00
Sebastian Kemper
b8b9818a13 net/yate: Remove uclibc++.mk include
With this include libuClibc++.so.0 gets added as a lib depend, even on
musl. readelf shows:

  Dynamic section at offset 0x10ea60 contains 23 entries:
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libuClibc++.so.0]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so]
   0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
   0x000000000000000e (SONAME)             Library soname: [libyate.so.6.0.0]

Remove the include from the Makefile and add a depend on libstdcpp
instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:04:23 +01:00
Sebastian Kemper
b3dff13a07 net/yate: Disable FORTIFY_SOURCE properly
This reverts commit 4cc2afdcdc which
disabled FORTIFY_SOURCE by removing OpenWrt's CPPFLAGS from the built.
Instead PKG_FORTIFY_SOURCE:=0 is defined, which is the proper way to do
it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 18:39:25 +01:00
Sebastian Kemper
b2200fbbe1 net/sipgrep: fix PKG_SOURCE_URL
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:51:07 +01:00
Sebastian Kemper
1d513a367b net/rtpproxy: improvide configuration file treatment
Protect configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:44:24 +01:00
Sebastian Kemper
2309d88a7a net/rtpproxy: update flags
rtpproxy doesn't use OpenWrt's CPPFLAGS (i.e. used for including
fortify-source headers). Add them to CFLAGS.

Run autoreconf. It's usually a good idea.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:40:35 +01:00
Sebastian Kemper
dea8fc71bd net/rtpproxy: add new CSV accounting module
Can be loaded by rtpproxy with -dso command line parameter.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:18:13 +01:00
Sebastian Kemper
a4462a7432 net/rtpproxy: bump to 2.1.0
- Version bump
- Refresh debug-disable patch
- Add patch to add missing includes to fix:

    rtpp_record.c: In function 'rtpp_record_open':
    rtpp_record.c:228:62: error: 'DEFFILEMODE' undeclared (first use in this function)
         rrc->fd = open(rrc->spath, O_WRONLY | O_CREAT | O_TRUNC, DEFFILEMODE);
                                                                  ^

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-17 10:11:35 +01:00
Sebastian Kemper
81f3fca695 net/asterisk-15.x: bump to 15.2.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 22:26:41 +01:00
Sebastian Kemper
b7e365fa0d net/asterisk-13.x: bump to 13.19.1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 22:17:58 +01:00
Sebastian Kemper
bd08dc6577 net/baresip: bump to 0.5.8
One new module added: ctrl_tcp (TCP control interface using JSON
payload)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 21:58:15 +01:00
Sebastian Kemper
a885b29922 kamailio-5.x: update libs and utils handling
- The libraries and the Berkeley DB recovery utility are currently in
  Libraries/Telephony and Utilities/Telephony. That makes little sense
  as the are not general purpose libraries/utilities, hence it is better
  to move them to where Kamailio 5 sits in menuconfig.
- Rename them by adding prefixes "lib" and "util" to their name.
- Update their titles a bit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-12 21:50:02 +01:00
Sebastian Kemper
9113396032 kamailio-5.x: add kambdb_recover utility
The recently added mod-db-berkeley comes with a companion utility.
Package kambdb_recover so it becomes available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 22:30:19 +01:00
Sebastian Kemper
28d380b376 kamailio-5.x: move lesser-used internal libraries into packages
This commit moves libkamailio-ims & libtrie into their own packages to
keep the main package small.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:43:16 +01:00
Sebastian Kemper
9bf1935987 kamailio-5.x: make internal libs available always
kamailio comes with internal libraries. Some are not built when only the
standard group of modules is compiled (i.e. no modules selected in
menuconfig).

The problem is that there is no way to rely on specific internal
libraries being available in the main kamailio package.

To fix this this add some modules (if they are not already selected)
that will kick of the build of the internal libraries in any case.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:39:07 +01:00
Sebastian Kemper
0d8d91c39b kamailio-5.x: run make cfg
The INSTALL file from kamailio suggests to make the target "cfg" first.
All settinggs will then be reused when make is called again.

This has the side effect that "$(FPIC)" can be dropped from CFLAGS as
the build system adds the flags automatically now.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:31:33 +01:00
Sebastian Kemper
fbf862318f kamailio-5.x: remove a gratuitous ":"
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:26:42 +01:00
Sebastian Kemper
bb248ce4ff kamailio-5.x: specify run directory
When not specifying "run_target" the kamailio build system assumes
$(DESTDIR)/var/run/kamailio to be the run directory on the target
device. Add the variable to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:22:12 +01:00
Sebastian Kemper
4ac7a02e9f kamailio-5.x: fix RPATH of kamailio modules
The kamailio build system provides an RPATH "///usr/lib/kamailio/" when
linking. OpenWrt's rstrip.sh inspects this RPATH and drops it. Now the
modules cannot find the needed libraries. Fix this by specifying a path
that rstrip.sh accepts.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:18:07 +01:00
Sebastian Kemper
ae71bd2782 kamailio-5.x: add missing files from mod-xhttp_pi
The initial commit for this plugin missed that it comes with a
configuration file and extra files that go into
/usr/share/kamailio/xhttp_pi.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:13:15 +01:00
Sebastian Kemper
d3ebba27fd kamailio-5.x: add snmpstats mibs files
This installs the snmp mibs files provided by mod_snmpstats. A patch is
added to make the kamailio build system install the files in a proper
location in PKG_INSTALL_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-11 19:09:00 +01:00
Jiri Slachta
5f90ebdff0
Merge pull request #266 from micmac1/kam-master
kamailio-5.x: update PKG_MAKE_ARGS
2018-02-10 16:06:40 +01:00
Sebastian Kemper
2dd8c008bd kamailio-5.x: add various new modules
The aim is to add the missing modules that Debian packages, minus the
ones for which depends are missing on OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:15:35 +01:00
Sebastian Kemper
606fe5f10e kamailio-5.x: update configuration file handling
- add install/conffile routine
- use it for main package
- setup BuildKamailio5Module to allow inclusion of configuration files
  on a per-module basis (mod-tls is currently the only user)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:12:51 +01:00
Sebastian Kemper
000b984212 kamailio-5.x: bump to version 5.1.1
- dictionary.kamailio & kamailio-basic.cfg are gone, remove from
  Makefilei accordingly
- Install the config files from PKG_INSTALL_DIR
- Use $(INSTALL_CONF) for config files
- Remove gratuitous directory creation
- Refresh 050-fix-kamailio-utils.patch
- Remove src/modules/cnxcc/Makefile change from 120-libevent-libs.patch
  as $(EXTRA_LIBS) has been removed from Makefile in previous commit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-10 15:07:45 +01:00
Jiri Slachta
e597e4c2d1
Merge pull request #257 from hnyman/flite
freeswitch: disable flite module
2018-02-10 09:59:08 +01:00
Sebastian Kemper
a088b930c4 kamailio-5.x: update PKG_MAKE_ARGS
- Removes TLS_HOOKS as this is default anyway
- Removes -DUSE_PTHREAD_MUTEX as on supported arches FAST_LOCK is used
  by default, which according to doc/tutorials/locking.txt is fastest.
  -DUSE_PTHREAD_MUTEX will be set by the build system automatically in
  case FAST_LOCK is unsupported, e.g. on ARC.
- Add OpenWrt LDFLAGS via LD_EXTRA_OPTS.
- With OpenWrt LDFLAGS and CPPFLAGS in place there is no need to declare
  PCREDEFS, PCRELIBS nor EXTRA_LIBS. Remove them all.
- With this setup mod-dialplan now links to libpcre as well; add the
  depend accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-07 22:24:37 +01:00
micmac1
9a60912bae
Merge pull request #265 from micmac1/fs-redo-freetdm
freeswitch-stable: redo freetdm
2018-02-05 23:13:58 +01:00
Sebastian Kemper
bd66ecc3b7 freeswitch-stable: prevent libfreetdm from being installed twice
This patch takes care of that. This commit concludes the series with a
revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 23:08:20 +01:00
Sebastian Kemper
584c9841f3 freeswitch-stable: tidy up the Build defines
This commit changes Build/Compile, Build/Install and Build/InstallDev to
prevent building/installing items that are not selected. I.e. when
freeswitch-stable is not selected, only libfreetdm-stable gets built.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 23:07:09 +01:00
Sebastian Kemper
abacde6dd6 freeswitch-stable: move the config define
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 22:57:40 +01:00
Sebastian Kemper
d82451ec02 freeswitch-stable: redo FreeTDM handling
This commit renames libfreetdm to libfreetdm-stable. Also the depends
are changed to what they actually are, i.e. there is no depend on
freeswitch-stable anymore (libfreetdm.so is a standalone libary).

The FreeTDM modules get the same treatment.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-05 22:54:38 +01:00
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
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
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
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
8e22eba241
Merge pull request #260 from micmac1/yate-master
New PR: Yate for master
2018-02-03 18:05:16 +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
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
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
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
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
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
Sebastian Kemper
adc9777fec sipgrep: update maintainer and copyright messages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 17:58:36 +01:00
Sebastian Kemper
1e4463088f sipgrep: import from openwrt/packages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-21 17:55:01 +01:00
Sebastian Kemper
64294b937d rtpproxy: add PKG_MIRROR_HASH
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 20:28:18 +01:00
Sebastian Kemper
796c7c9b8d asterisk-chan-sccp: add PKG_MIRROR_HASH
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 20:28:01 +01:00
Sebastian Kemper
5229b5d8ee asterisk-chan-dongle: add PKG_MIRROR_HASH
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 20:27:41 +01:00
Sebastian Kemper
b9902a664d freeswitch-stable-mod-bcg729: add PKG_MIRROR_HASH
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 20:22:26 +01:00
Sebastian Kemper
42bf582474 freeswitch-stable: change how python-host.mk is included
This was suggested in PR #241 by @commodo. Python maintainers moved the
.mk files and also want to get rid of the include_mk construct.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-20 11:34:54 +01:00
Jiri Slachta
61b4185f39
Merge pull request #240 from micmac1/asterisk-for-master
Asterisk for master
2018-01-15 20:16:47 +01:00
Sebastian Kemper
1fa58a571f asterisk-15.x: bump to 15.2.0
- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Refresh patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-14 19:18:12 +01:00
Sebastian Kemper
3c8c7844ae asterisk-13.x: bump to 13.19.0
- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Remove 055-ASTERISK-24517.patch again due to multiple hunk failures.
- Refresh patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-14 19:13:31 +01:00
Jiri Slachta
c6c34d668d asterisk-15.x: fix typo in dependency to res-statsd
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2018-01-07 18:40:07 +01:00
micmac1
b0e5bba218
Merge pull request #232 from micmac1/gsmopen
New PR: add gsmlib, libctb and mod_gsmopen
2018-01-07 12:32:36 +01:00
Sebastian Kemper
2d90346f8a freeswitch-stable: add FreeTDM modules
This commit adds mod_freetdm (glue between FreeSWITCH and FreeTDM) and
the following FreeTDM modules:

 - ftmod_analog
 - ftmod_analog_em
 - ftmod_libpri
 - ftmod_pritap
 - ftmod_skel
 - ftmod_zt

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-04 16:52:05 +01:00
Sebastian Kemper
70a99e695b freeswitch-stable: add FreeTDM support
The OpenWrt telephony feed already has DAHDI support. This commit
enables FreeTDM so FreeSWITCH can make use of DAHDI via libpri.

This does not change the existing FreeSWITCH packages as FreeTDM is a
separate library in the FreeSWITCH distribution, hence no revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-04 16:38:39 +01:00
Sebastian Kemper
6686be2933 freeswitch-stable: add mod_gsmopen
Add mod_gsmopen to be able to use FreeSWITCH as a GSM gateway (for SMS
and voice calls).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-02 11:21:59 +01:00
Sebastian Kemper
5efc34c0ed freeswitch-stable: add iconv support when using uclibc
uclibc doesn't include iconv. This commit adds a dependency to
libiconv-full when building against uclibc. iconv can be used by the
included apr and is a hard dependency of mod_gsmopen.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-02 11:18:56 +01:00
Sebastian Kemper
acc5806357 freeswitch-stable-mod-bcg729: fix upstream URL
- remove unused variable
- fix upstream URL

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-30 18:27:26 +01:00
Jiri Slachta
9e66952479
Merge pull request #227 from micmac1/freeswitch-stable
New PR: freeswitch-stable
2017-12-27 09:45:25 +01:00
Jiri Slachta
b93d740036
Merge pull request #228 from micmac1/asterisk
New PR: Asterisk
2017-12-27 09:44:44 +01:00
Sebastian Kemper
8860618e41 baresip: add procd init script
- add procd init script
  - script starts the daemon as user "baresip" instead of root
  - add /etc/default/baresip
  - add example configuration into /etc/baresip
  - add conffiles definition
  - prevent autostart after upgrade by using ENABLE_BARESIP variable in
    /etc/default/baresip

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 15:21:27 +01:00
Sebastian Kemper
1de3d36d4b restund: add procd init script
- add procd init script
- script starts the daemon as user "restund" instead of root
- add /etc/default/restund
- declare /etc/init.d/restund a configuration file
- prevent autostart after upgrade by using ENABLE_RESTUND variable in
  /etc/default/restund

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:58:39 +01:00
Sebastian Kemper
4219368092 baresip suite: improve MAKE_FLAGS
- add CROSS_COMPILE and OS to MAKE_FLAGS; this should help when
  compiling on other OSes, e.g. Darwin.
- move RELEASE up (alphabetical sort)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:34:47 +01:00
Sebastian Kemper
1c11a59250 baresip + restund: delete faulty patch
The patch is wrong. It may cause errors of the "illegal instruction" variety.
The libre package fix in commit e40f0ea06f makes
this patch unnecessary anyway. Drop it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:27:01 +01:00
Sebastian Kemper
53073babbf freeswitch-stable: improve autostart prevention
The current approach (creating a blocker file) is clumsy. Use a variable
in /etc/default/freeswitch instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:05:52 +01:00
Sebastian Kemper
b25a6bbf5d asterisk-15.x: bump to 15.1.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:05:59 +01:00
Sebastian Kemper
cd82cbd06b asterisk-15.x: add module dependencies
Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:04:13 +01:00
Sebastian Kemper
5180bf8576 asterisk-13.x: bump to 13.18.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:02:02 +01:00
Sebastian Kemper
1d697f8bfc asterisk-13.x: add module dependencies
Add some dependencies to select modules. Dependencies confirmed by
menuselect.

Also fix description of res_monitor.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:59:24 +01:00
Sebastian Kemper
d3cc034185 freeswitch-stable: add a few autoconf_bools
- Use autoconf_bool instead of manually calling configure switches.
- Revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:51:58 +01:00
Sebastian Kemper
1a193e1b74 freeswitch-stable: make libedit a hard dependency
Remove the possibility to prevent the dependency on libedit. freeswitch
behaves very quirky without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:46:10 +01:00
Sebastian Kemper
3f169145df freeswitch-stable: init script update
- Use "-nc -nf" always. When started by procd freeswitch detects the
  console to be orphaned and disables it. So disable the interactive
  console but force freeswitch to not fork into background.
- Improve readability of command parameters.
- Minor changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:37:22 +01:00
Sebastian Kemper
23b3363a5e baresip: add symbol to prevent FFmpeg dependency by default
Currently baresip often fails to build because the FFmpeg compile was
not successful:

  CC [M]  build-mipsel/modules/avcodec/avcodec.o
modules/avcodec/avcodec.c:9:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.

Address this by adding a configuration symbol that prevents the
FFmpeg-depending modules from being selected by default, except on i386
and x86_64.

It is better having baresip packages without these video modules than
not having baresip packages at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-13 19:37:13 +01:00
Jiri Slachta
94b7a831af
Merge pull request #225 from micmac1/baresip
baresip: fix build failure on 32bit x86 targets
2017-12-12 12:04:18 +01:00
Sebastian Kemper
d3a784ca78 baresip: fix build failure on 32bit x86 targets
re and baresip builds for 32bit x86 targets are currently failing:

build-i386/sip/auth.o: In function `sip_auth_encode':
/build/lede-snapshots/i386_pentium/build/sdk/build_dir/target-i386_pentium_musl/re-0.5.6/src/sip/auth.c:279: undefined reference to `__stack_chk_fail_local'

The undefined references occur because there is no linking done to ssp.
Fix this by setting LD to TARGET_CC, so ld is not called directly. This
also means one patch is not needed anymore.

Do the same for rem and restund as they basically all share the same
build system.

Compile-tested for x86, x86_64 and mips.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-07 21:32:56 +01:00
Alexander Couzens
2e291359c8
kamailio-5.x: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-07 15:06:24 +01:00
Alexander Couzens
126afbfd2e asterisk-chan-sccp: remove BUILD_USER BUILD_DATE
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens
2ac545a480 asterisk-15.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens
761ac5c833 asterisk-13.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:26:15 +01:00
Jiri Slachta
90c264a8fb
Merge pull request #220 from lynxis/rb_restund
restund: remove build timestamp
2017-12-06 09:10:24 +01:00
Jiri Slachta
2855f9742d
Merge pull request #221 from lynxis/rb_sipp
sipp: remove build timestamp
2017-12-06 09:09:56 +01:00
Alexander Couzens
79060be7bf
sipp: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-05 23:21:41 +01:00
Alexander Couzens
da9513fa76
restund: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-05 23:21:16 +01:00