feed/telephony.git
7 years agobaresip: build fix 213/head
Sebastian Kemper [Sun, 26 Nov 2017 22:04:17 +0000 (23:04 +0100)]
baresip: build fix

The package currently fails to build because librem headers cannot be
found. For reasons unknown baresip searches in SYSROOT instead of
SYSROOT_ALT for them. Fix this by patching the Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agobaresip: add patch to fix ld call
Sebastian Kemper [Sun, 26 Nov 2017 22:03:15 +0000 (23:03 +0100)]
baresip: add patch to fix ld call

ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agobaresip: add modules
Sebastian Kemper [Sun, 26 Nov 2017 22:01:25 +0000 (23:01 +0100)]
baresip: add modules

Add some more modules to the Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agobaresip: improve module routine and descriptions
Sebastian Kemper [Sun, 26 Nov 2017 21:56:38 +0000 (22:56 +0100)]
baresip: improve module routine and descriptions

- improve routine regarding dependencies
- improve module descriptions

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agobaresip: Clean up Makefile
Sebastian Kemper [Sun, 26 Nov 2017 21:45:24 +0000 (22:45 +0100)]
baresip: Clean up Makefile

Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agobaresip: Use default Build/Compile routine
Sebastian Kemper [Sun, 26 Nov 2017 21:42:05 +0000 (22:42 +0100)]
baresip: Use default Build/Compile routine

Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorestund: add patch to fix ld call
Sebastian Kemper [Sun, 26 Nov 2017 21:36:39 +0000 (22:36 +0100)]
restund: add patch to fix ld call

ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorestund: module fixes/improvements
Sebastian Kemper [Sun, 26 Nov 2017 21:33:56 +0000 (22:33 +0100)]
restund: module fixes/improvements

- add missing modules to base package
- improve module DEPENDS handling routine

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorestund: Clean up Makefile
Sebastian Kemper [Sun, 26 Nov 2017 21:32:10 +0000 (22:32 +0100)]
restund: Clean up Makefile

Remove unneeded variables, dependencies, whitespaces and trailing
slashes, use specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorestund: Use default Build/Compile routine
Sebastian Kemper [Sun, 26 Nov 2017 21:27:58 +0000 (22:27 +0100)]
restund: Use default Build/Compile routine

Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibrem: clean up Makefile
Sebastian Kemper [Sun, 26 Nov 2017 21:23:11 +0000 (22:23 +0100)]
librem: clean up Makefile

Remove unneeded variables, whitespaces, depends and trailing slashes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibrem: Use default Build/Compile routine
Sebastian Kemper [Sun, 26 Nov 2017 21:20:31 +0000 (22:20 +0100)]
librem: Use default Build/Compile routine

Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO, to the package if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibre: prevent re.mk from applying its own optimizations
Sebastian Kemper [Sun, 26 Nov 2017 21:13:20 +0000 (22:13 +0100)]
libre: prevent re.mk from applying its own optimizations

Using the CFLAGS from the environment of Build/Compile the optimizations
from libre now appear after OpenWrt CFLAGS, overriding them. Prevent
that by disabling libre's optimization altogether.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibre: fix ld argument
Sebastian Kemper [Sun, 26 Nov 2017 21:09:40 +0000 (22:09 +0100)]
libre: fix ld argument

When using the default Build/Compile routine $LD is set to the actual
linker, so libre's build system is not using ld indirectly via the
compiler anymore. But it feeds -rdynamic to ld instead of
--export-dynamic. Fix that with this patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibre: Add patch to prevent ssize_t redefinition
Sebastian Kemper [Sun, 26 Nov 2017 21:07:02 +0000 (22:07 +0100)]
libre: Add patch to prevent ssize_t redefinition

With FORTIFY_SOURCE enabled the compiler errors our when libre defines
ssize_t again. Prevent that by adding the proper hint to the header in
question.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibre: Clean up Makefile
Sebastian Kemper [Sun, 26 Nov 2017 21:04:23 +0000 (22:04 +0100)]
libre: Clean up Makefile

Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibre: Use default Build/Compile routing
Sebastian Kemper [Sun, 26 Nov 2017 20:58:15 +0000 (21:58 +0100)]
libre: Use default Build/Compile routing

Change from custom make call to using the default Build/Compile routine.
This applies the standard memory corruption mitigation methods, e.g.
FORTIFY_SOURCE and RELRO to the package, if they are enabled (default).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #208 from micmac1/asterisk-g72x
Jiri Slachta [Fri, 24 Nov 2017 08:57:07 +0000 (09:57 +0100)]
Merge pull request #208 from micmac1/asterisk-g72x

Asterisk g72x

7 years agoMerge pull request #210 from micmac1/chan-sccp
Jiri Slachta [Fri, 24 Nov 2017 08:55:33 +0000 (09:55 +0100)]
Merge pull request #210 from micmac1/chan-sccp

Chan sccp

7 years agoasterisk-g72x: add Asterisk 15 variant 208/head
Sebastian Kemper [Thu, 23 Nov 2017 18:28:13 +0000 (19:28 +0100)]
asterisk-g72x: add Asterisk 15 variant

Add a package for Asterisk 15.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-g72x: version bump, cleanups
Sebastian Kemper [Thu, 23 Nov 2017 18:24:49 +0000 (19:24 +0100)]
asterisk-g72x: version bump, cleanups

- bump to 1.4.2 (includes Asterisk 15 support)
- clean up the Makefile (whitespaces, remove some leftover defines that
  are no longer needed etc.)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agochan-sccp: add Asterisk 15 variant 210/head
Sebastian Kemper [Thu, 23 Nov 2017 17:11:29 +0000 (18:11 +0100)]
chan-sccp: add Asterisk 15 variant

Define a variant for Asterisk 15.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agochan-sccp: update to latest commit
Sebastian Kemper [Thu, 23 Nov 2017 17:01:02 +0000 (18:01 +0100)]
chan-sccp: update to latest commit

- Update to latest commit to get support for Asterisk 15
- Upstream renamed the project from chan-sccp-b to chan-sccp. This
  commit updates the OpenWrt Makefile accordingly.
- Move the directory from chan-sccp-b to asterisk-chan-sccp (follow the
  naming of the other channel drivers' directories).
- OpenWrt Asterisk13 is mistaken for Asterisk15 because it has the
  iostream patch applied, fix this with workaround in autoconf script.
- Update upstream URL to the github page.
- Update description of the package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #204 from micmac1/master
Jiri Slachta [Thu, 23 Nov 2017 11:33:00 +0000 (12:33 +0100)]
Merge pull request #204 from micmac1/master

chan-lantiq: pull the source from github

7 years agoMerge pull request #206 from micmac1/chan-dongle
Jiri Slachta [Thu, 23 Nov 2017 11:32:39 +0000 (12:32 +0100)]
Merge pull request #206 from micmac1/chan-dongle

chan-dongle: add variant for asterisk 15

7 years agochan-lantiq: pull the source from github 204/head
Sebastian Kemper [Mon, 20 Nov 2017 11:24:35 +0000 (12:24 +0100)]
chan-lantiq: pull the source from github

Instead of using local copies pull the source from github. The source
version is selected via CHAN_LANTIQ_VERSION, so there can be a different
version for each VARIANT.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agochan-dongle: add variant for asterisk 15 206/head
Sebastian Kemper [Thu, 23 Nov 2017 10:15:58 +0000 (11:15 +0100)]
chan-dongle: add variant for asterisk 15

chan-dongle already supports asterisk 15. This commit adds a variant for
it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #205 from micmac1/calendars
Jiri Slachta [Wed, 22 Nov 2017 10:31:39 +0000 (11:31 +0100)]
Merge pull request #205 from micmac1/calendars

New PR: add calendar integration

7 years agoasterisk-15.x: fix typo 205/head
Sebastian Kemper [Tue, 21 Nov 2017 20:54:15 +0000 (21:54 +0100)]
asterisk-15.x: fix typo

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-15.x: add calendar integration
Sebastian Kemper [Tue, 21 Nov 2017 20:52:41 +0000 (21:52 +0100)]
asterisk-15.x: add calendar integration

This adds support for the following calendars:

- CalDAV
- MS Exchange Web Service
- MS Exchange
- iCalendar

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: add calendar integration
Sebastian Kemper [Tue, 21 Nov 2017 20:44:57 +0000 (21:44 +0100)]
asterisk-13.x: add calendar integration

This adds support for the following calendars:

- CalDAV
- MS Exchange Web Service
- MS Exchange
- iCalendar

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #202 from micmac1/master
Jiri Slachta [Sat, 18 Nov 2017 09:47:31 +0000 (11:47 +0200)]
Merge pull request #202 from micmac1/master

New PR: bump asterisk

7 years agoasterisk-15.x: bump to 15.1.2 202/head
Sebastian Kemper [Thu, 16 Nov 2017 18:48:03 +0000 (19:48 +0100)]
asterisk-15.x: bump to 15.1.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: bump to 13.18.2
Sebastian Kemper [Thu, 16 Nov 2017 18:47:08 +0000 (19:47 +0100)]
asterisk-13.x: bump to 13.18.2

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #201 from micmac1/master
Jiri Slachta [Wed, 15 Nov 2017 04:03:07 +0000 (06:03 +0200)]
Merge pull request #201 from micmac1/master

New PR: libsrtp2, pjproject and asterisk-13/15

7 years agoasterisk-15.x: upgrade dependency from libsrtp to libsrtp2 201/head
Sebastian Kemper [Tue, 14 Nov 2017 22:08:04 +0000 (23:08 +0100)]
asterisk-15.x: upgrade dependency from libsrtp to libsrtp2

With the recently updated libsrtp2 asterisk 15 compiles fine, so it
doesn't need to be forcefully prevented anymore from linking against it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: upgrade dependency from libsrtp to libsrtp2
Sebastian Kemper [Tue, 14 Nov 2017 22:04:05 +0000 (23:04 +0100)]
asterisk-13.x: upgrade dependency from libsrtp to libsrtp2

With the recently updated libsrtp2 asterisk 13 compiles fine, so it
doesn't need to be forcefully prevented anymore from linking against it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agopjproject: bump to 2.7.1
Sebastian Kemper [Tue, 14 Nov 2017 21:59:19 +0000 (22:59 +0100)]
pjproject: bump to 2.7.1

- Update from 2.6 to 2.7.1.
- Update sed script because the TARGET_CFLAGS now occur twice in the .pc
  file.
- Upgrade dependency from libsrtp to libsrtp2.
- Drop patches that were included upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agolibsrtp2: install library symlink
Sebastian Kemper [Tue, 14 Nov 2017 21:54:26 +0000 (22:54 +0100)]
libsrtp2: install library symlink

Install the symlink from libsrtp2.so to libsrtp2.so.1 as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #199 from micmac1/master
Jiri Slachta [Mon, 13 Nov 2017 11:26:13 +0000 (13:26 +0200)]
Merge pull request #199 from micmac1/master

asterisk-chan-lantiq: remove nonshared hack

7 years agoasterisk-chan-lantiq: remove nonshared hack 199/head
Sebastian Kemper [Sun, 12 Nov 2017 19:17:17 +0000 (20:17 +0100)]
asterisk-chan-lantiq: remove nonshared hack

The previously conceived hack - to make the buildbots actually build
this package during the target phase - does not work. This patch removes
the hack. This includes removing the lines from the asterisk Makefiles
that tar up the asterisk headers.

The upside of removing the hack is that the package name can be reverted
to what it was before, so it can be found in the same place like all the
other asterisk modules, i.e. below its asterisk version.

Another upside is that the Makefile does not pretend to solve the
problem anymore. Issue #193 is still open for the same. Maybe some day
somebody can figure out how to resolve the problem properly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agorem: update to 0.5.2
Jiri Slachta [Tue, 7 Nov 2017 19:50:00 +0000 (20:50 +0100)]
rem: update to 0.5.2

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agore: update to 0.5.6
Jiri Slachta [Tue, 7 Nov 2017 19:49:23 +0000 (20:49 +0100)]
re: update to 0.5.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agobaresip: update to 0.5.6
Jiri Slachta [Tue, 7 Nov 2017 19:48:49 +0000 (20:48 +0100)]
baresip: update to 0.5.6

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agortpproxy: fix build for bcg729 >1.0.1
Jiri Slachta [Tue, 7 Nov 2017 19:07:03 +0000 (20:07 +0100)]
rtpproxy: fix build for bcg729 >1.0.1

Several method signatures have changed in bcg729 1.0.1
and higher. This issue was already resolved in upstream.
In the current development branch, there is no compilable
version. Due to those changes, I have disabled linking
against bcg729 since we have bcg729 at version 1.0.2.

By disabling bcg729 the internal g729 rtpproxy API
will be used.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-15.x: introduce new package
Jiri Slachta [Tue, 7 Nov 2017 08:29:45 +0000 (09:29 +0100)]
asterisk-15.x: introduce new package

I introduce asterisk 15.x as a replacement for asterisk 11.x. Currently
without support for chan-lantiq and sccp-b. Those features are going to
be added soon after this introduction.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: patch for TLS support, closes #195
Jiri Slachta [Sun, 5 Nov 2017 16:59:58 +0000 (17:59 +0100)]
asterisk-13.x: patch for TLS support, closes #195

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agolibsrtp2: update to 2.1.0
Jiri Slachta [Wed, 1 Nov 2017 10:59:29 +0000 (11:59 +0100)]
libsrtp2: update to 2.1.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agolibsrtp: update to 1.6.0
Jiri Slachta [Wed, 1 Nov 2017 10:58:15 +0000 (11:58 +0100)]
libsrtp: update to 1.6.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: rm not applicable patch to 13.18
Jiri Slachta [Wed, 1 Nov 2017 09:46:45 +0000 (10:46 +0100)]
asterisk-13.x: rm not applicable patch to 13.18

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-13.x: update to 13.18.0
Jiri Slachta [Tue, 31 Oct 2017 15:10:28 +0000 (16:10 +0100)]
asterisk-13.x: update to 13.18.0

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoortp: export to abandoned packages repository
Jiri Slachta [Sun, 29 Oct 2017 17:29:49 +0000 (18:29 +0100)]
ortp: export to abandoned packages repository

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-11.x: export to abandoned repository
Jiri Slachta [Sun, 29 Oct 2017 17:22:19 +0000 (18:22 +0100)]
asterisk-11.x: export to abandoned repository

Asterisk-11.x has been marked as obsolete by upstream, thus we
cannot provide support for this version in telephony repository.

Asterisk at version 11.x is no longer with us, however its successor
is going to be in the repository for a quite a long time. Please use
13.x or newer version.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agochan-sccp-b: removal of asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:20:59 +0000 (18:20 +0100)]
chan-sccp-b: removal of asterisk-11.x variant

The removal of asterisk-11.x variant is made due to
Asterisks 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-g72x: removal of asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:19:55 +0000 (18:19 +0100)]
asterisk-g72x: removal of asterisk-11.x variant

The removal of asterisk11.x variant is made due to
asterisk 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoasterisk-chan-dongle: remove asterisk-11.x variant
Jiri Slachta [Sun, 29 Oct 2017 17:16:36 +0000 (18:16 +0100)]
asterisk-chan-dongle: remove asterisk-11.x variant

The removal of asterisk-11.x variant is made due to
asterisks 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #191 from micmac1/master
Jiri Slachta [Mon, 9 Oct 2017 06:51:01 +0000 (08:51 +0200)]
Merge pull request #191 from micmac1/master

asterisk-chan-lantiq: fix SDK build

7 years agoasterisk-chan-lantiq: fix SDK build 191/head
Sebastian Kemper [Sun, 8 Oct 2017 17:52:13 +0000 (19:52 +0200)]
asterisk-chan-lantiq: fix SDK build

When building using the SDK the $(SOURCE) variable is set differently,
resulting in files not being found. Not using the variable and using
"./" instead works fine.

This fixes issue #190. Thanks to @Bongo79 for reporting and providing
the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #188 from micmac1/master
Jiri Slachta [Sun, 8 Oct 2017 14:41:32 +0000 (16:41 +0200)]
Merge pull request #188 from micmac1/master

New PR: asterisk version bumps plus chan-lantiq changes

7 years agolibosip2: version bump 188/head
Sebastian Kemper [Sun, 8 Oct 2017 09:12:00 +0000 (11:12 +0200)]
libosip2: version bump

Bump to 5.0.0, drop patch which was integrated by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoiksemel: fixes and cleanups
Sebastian Kemper [Sun, 8 Oct 2017 08:53:54 +0000 (10:53 +0200)]
iksemel: fixes and cleanups

- Currently iksemel doesn't recognize gnutls anymore. Fix that by
  substituting the currently used patches with one that also Debian is
  using. It allows gnutls detection via pkgconfig.
- Add another patch Debian is using to enable secure gnutls options.
- Update project URL.
- Remove unneeded flags and Build/Prepare customizations.
- Cleanup DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: use PKG_HASH instead of PKG_MD5SUM
Sebastian Kemper [Sun, 8 Oct 2017 08:31:56 +0000 (10:31 +0200)]
telephony: use PKG_HASH instead of PKG_MD5SUM

Use sha256 instead of md5 for download verification.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: use https:// PKG_SOURCE_URLs where possible
Sebastian Kemper [Sun, 8 Oct 2017 08:11:00 +0000 (10:11 +0200)]
telephony: use https:// PKG_SOURCE_URLs where possible

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agotelephony: replace git:// URIs with https:// equivalents
Sebastian Kemper [Sun, 8 Oct 2017 07:50:41 +0000 (09:50 +0200)]
telephony: replace git:// URIs with https:// equivalents

Plain git:// doesn't add security. Use https:// instead. See
https://gist.github.com/grawity/4392747.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-lantiq: Fix nonshared builds
Sebastian Kemper [Wed, 27 Sep 2017 13:43:20 +0000 (15:43 +0200)]
asterisk-chan-lantiq: Fix nonshared builds

- Cosmetic: change version from 1.0 to git checkout date.
- Remove dependency on asterisk, as otherwise the package won't be
  built by the build bots.
- Without asterisk in the staging directory the asterisk headers are
  now taken from an archive in $(DL_DIR), which is stored there by the
  asterisk package.
- The naming of the package needs to be changed, as without the
  dependency on asterisk it would otherwise mess with asterisk's
  menuconfig layout.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: Store headers for chan-lantiq
Sebastian Kemper [Wed, 27 Sep 2017 13:27:12 +0000 (15:27 +0200)]
asterisk-13.x: Store headers for chan-lantiq

Store asterisk headers in $(DL_DIR) so chan-lantiq can access them
during the target specific build phase. The headers are tarred up for
"mips_24kc" only because that is currently the only used arch for all
chan-lantiq targets.

Store one archive for each combination of asterisk version (e.g. 13) and
branch (using $(VERSION_NUMBER)). The latter makes sure that a release
build doesn't overwrite the header archive of a master snapshot build
and vice vera.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: Bump to 13.17.2
Sebastian Kemper [Wed, 27 Sep 2017 13:01:08 +0000 (15:01 +0200)]
asterisk-13.x: Bump to 13.17.2

Fixes: AST-2017-008
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-11.x: Bump to 11.25.3
Sebastian Kemper [Wed, 27 Sep 2017 12:57:43 +0000 (14:57 +0200)]
asterisk-11.x: Bump to 11.25.3

Fixes: AST-2017-008
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #189 from robho/yate6
Jiri Slachta [Mon, 2 Oct 2017 08:56:18 +0000 (10:56 +0200)]
Merge pull request #189 from robho/yate6

yate: Bump to version 6.0.0

7 years agoyate: Bump to version 6.0.0 189/head
Robert Högberg [Sun, 1 Oct 2017 18:26:06 +0000 (20:26 +0200)]
yate: Bump to version 6.0.0

Updates yate to version 6.0.0.

7 years agoMerge pull request #187 from micmac1/master
Jiri Slachta [Wed, 20 Sep 2017 07:22:24 +0000 (09:22 +0200)]
Merge pull request #187 from micmac1/master

New PR: asterisk chan-dongle and chan-lantiq

7 years agoasterisk-chan-lantiq: Move to separate package 187/head
Sebastian Kemper [Thu, 14 Sep 2017 19:02:57 +0000 (21:02 +0200)]
asterisk-chan-lantiq: Move to separate package

Currently chan-lantiq doesn't build on the build bots and users end up
having to build it themselves. The reason for this was explained by
Mathias Kresin here:
http://lists.infradead.org/pipermail/lede-dev/2017-September/008886.html.

To fix this put chan-lantiq into its own package and set
PKG_FLAGS:=nonshared. The new package uses variants already, so it is
easily extendable in the future.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: sync up with master, fix endian issue
Sebastian Kemper [Thu, 14 Sep 2017 18:56:35 +0000 (20:56 +0200)]
asterisk-chan-dongle: sync up with master, fix endian issue

- Sync module to master.
- Drop big endian patch as it was included upstream.
- This fixes endian issue reported at
  https://github.com/wdoekes/asterisk-chan-dongle/issues/44.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: mark chan-lantiq as nonshared
Jiri Slachta [Wed, 13 Sep 2017 13:31:54 +0000 (15:31 +0200)]
asterisk-13.x: mark chan-lantiq as nonshared

Because asterisk13-chan-lantiq is target specific package,
it needs PKG_FLAGS variable set to nonshared.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agobaresip: update to 0.5.5
Jiri Slachta [Tue, 12 Sep 2017 12:10:43 +0000 (14:10 +0200)]
baresip: update to 0.5.5

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agorem: update to 0.5.1
Jiri Slachta [Tue, 12 Sep 2017 12:10:21 +0000 (14:10 +0200)]
rem: update to 0.5.1

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agore: update to 0.5.5
Jiri Slachta [Tue, 12 Sep 2017 12:09:48 +0000 (14:09 +0200)]
re: update to 0.5.5

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agokamailio-4.x: moved to abandoned packages
Jiri Slachta [Tue, 12 Sep 2017 06:30:00 +0000 (08:30 +0200)]
kamailio-4.x: moved to abandoned packages

Kamailio-4.x is moved to abandoned packages in favor
of Kamailio-5.x.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
7 years agoMerge pull request #186 from micmac1/master
Jiri Slachta [Mon, 11 Sep 2017 19:37:34 +0000 (21:37 +0200)]
Merge pull request #186 from micmac1/master

New PR: asterisk 11 + 13 (cleanups, fixes and version bumps)

7 years agoasterisk13: bump to 13.17.1 186/head
Sebastian Kemper [Sun, 10 Sep 2017 20:35:49 +0000 (22:35 +0200)]
asterisk13: bump to 13.17.1

Fixes AST-2017-005, AST-2017-006 and AST-2017-007.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add patch from alpine linux to fix AMI on musl
Sebastian Kemper [Sun, 10 Sep 2017 20:27:18 +0000 (22:27 +0200)]
asterisk13: add patch from alpine linux to fix AMI on musl

This adds ASTERISK-24517.patch from alpine linux. Without the patch
there are problems with the tcp/tls wrapper when running on a musl
toolchain. This is visible when toying with AMI:

LEDE*CLI> !nc localhost 5038
[Sep 10 12:13:25] WARNING[10315]: tcptls.c:684 handle_tcptls_connection: FILE * open failed!

This fixes issue #185 for asterisk 13 in trunk. The patch cannot be
applied to asterisk 11.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: bump to 11.25.2
Sebastian Kemper [Sun, 10 Sep 2017 20:23:24 +0000 (22:23 +0200)]
asterisk11: bump to 11.25.2

Fixes AST-2017-005 and AST-2017-006.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: use internal libedit
Sebastian Kemper [Sun, 10 Sep 2017 20:20:54 +0000 (22:20 +0200)]
asterisk11: use internal libedit

Asterisk 11 cannot deal with a unicode-enabled libedit. Input is not
possible anymore. Use the internal copy. Asterisk 13 works fine with the
external libedit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: fix conffiles define
Sebastian Kemper [Sun, 10 Sep 2017 20:18:30 +0000 (22:18 +0200)]
asterisk11: fix conffiles define

The configuration file protection for modules does not work when there
is more than one configuration file. Currently conffiles is populated
with a space separated list. But the items need to be separated by
newlines. With spaces, only the first item gets added to conffiles. The
remaining items are dropped and not protected. Fix this by replacing
spaces with newlines.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: clean up compile stage
Sebastian Kemper [Sun, 10 Sep 2017 20:15:38 +0000 (22:15 +0200)]
asterisk11: clean up compile stage

- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
  needed anymore.
- Stop setting -Wl,-rpath-link in LDFLAGS. There seems to be no point to
  do that (anymore).
- Stop calling specific make targets like version.h; make handles the
  build properly without it.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
  prevents asterisk's build system to mess with OpenWrt/LEDE flags).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: clean up configure stage
Sebastian Kemper [Sun, 10 Sep 2017 20:11:36 +0000 (22:11 +0200)]
asterisk11: clean up configure stage

- Remove some unneeded parentheses.
- Use CONFIGURE_VARS instead of SITE_VARS.
- Clean up user.mak input, add NDEBUG=1 to avoid debug asserts.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11: change some default file locations
Sebastian Kemper [Sun, 10 Sep 2017 20:05:21 +0000 (22:05 +0200)]
asterisk11: change some default file locations

- Set data dir to /usr/share/asterisk and use default locations for
  everything else.
- This is more in line with FHS and fixes issue #38. Database files are
  now written to tmpfs (/var is mounted there). This prevents the
  rootfs from filling up. It also prevents the flash to degrade during
  constant database rewriting.
- As the data dir changes, so does the location of the sound files. This
  commit also takes care of that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoMerge pull request #184 from micmac1/master
Jiri Slachta [Sun, 3 Sep 2017 12:53:49 +0000 (14:53 +0200)]
Merge pull request #184 from micmac1/master

New PR: asterisk, chan-sccp-b, asterisk-chan-dongle

7 years agochan-sccp-b: fix uclibc build 184/head
Sebastian Kemper [Fri, 1 Sep 2017 22:30:28 +0000 (00:30 +0200)]
chan-sccp-b: fix uclibc build

uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: fix uclibc build
Sebastian Kemper [Fri, 1 Sep 2017 22:28:16 +0000 (00:28 +0200)]
asterisk-chan-dongle: fix uclibc build

uclibc doesn't include iconv, so we need to use libiconv-full. This
fixes the ARC builds as they still default to uclibc.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-chan-dongle: change project URL
Sebastian Kemper [Fri, 1 Sep 2017 22:24:51 +0000 (00:24 +0200)]
asterisk-chan-dongle: change project URL

Change the upstream URL to the one where we get the source from to avoid
confusion.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add func_iconv
Sebastian Kemper [Fri, 1 Sep 2017 22:22:42 +0000 (00:22 +0200)]
asterisk13: add func_iconv

Add new module. Iconv is available in the toolchain, so it doesn't cost
anything. Don't add it when uclibc is used, because there an external
libiconv would be needed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk13: add missing commas to module definitions
Sebastian Kemper [Fri, 1 Sep 2017 22:21:13 +0000 (00:21 +0200)]
asterisk13: add missing commas to module definitions

Only a cosmetic change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk11 + asterisk13: use system libedit
Sebastian Kemper [Fri, 1 Sep 2017 22:17:42 +0000 (00:17 +0200)]
asterisk11 + asterisk13: use system libedit

libedit now includes a pkgconfig file, meaning asterisk can detect it.
So use the system libedit instead having asterisk include an internal
copy.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agodahdi-tools: fix previous commit
Daniel Golle [Fri, 1 Sep 2017 14:21:22 +0000 (16:21 +0200)]
dahdi-tools: fix previous commit

The dependencies in the default section were modified instead of just
the ones for dahdi-cfg. Fix that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agodahdi-tools: package dahdi_cfg executable
Daniel Golle [Thu, 31 Aug 2017 23:11:17 +0000 (01:11 +0200)]
dahdi-tools: package dahdi_cfg executable

Grab the binary instead of the libtool-shell-wrapper...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoMerge pull request #183 from micmac1/master
Jiri Slachta [Mon, 28 Aug 2017 19:31:30 +0000 (21:31 +0200)]
Merge pull request #183 from micmac1/master

asterisk-chan-dongle: overhaul

7 years agoasterisk-chan-dongle: overhaul 183/head
Sebastian Kemper [Sun, 27 Aug 2017 18:58:19 +0000 (20:58 +0200)]
asterisk-chan-dongle: overhaul

- Make the Makefile use BUILD_VARIANT so the package can be built for
  different Asterisk versions. This is also the reason why the folder is
  renamed from asterisk-11.x-chan-dongle to asterisk-chan-dongle.
- Change source URI from upstream to the fork of wdoekes. Upstream
  doesn't update the repo anymore, wdoekes does.
- Remove dep on libiconv-full, make the package use toolchain's iconv
  (compile-tested with musl).
- Drop patches that are already upstream.
- Update flags.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
7 years agoasterisk-13.x: package RAND dialplan function
Daniel Golle [Sun, 27 Aug 2017 01:36:12 +0000 (03:36 +0200)]
asterisk-13.x: package RAND dialplan function

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agoMerge pull request #182 from micmac1/master
Jiri Slachta [Sat, 26 Aug 2017 16:37:00 +0000 (18:37 +0200)]
Merge pull request #182 from micmac1/master

New PR: pjproject and asterisk13