feed/telephony.git
6 years agoasterisk-13.x: bump to 13.18.4
Sebastian Kemper [Fri, 22 Dec 2017 22:02:02 +0000 (23:02 +0100)]
asterisk-13.x: bump to 13.18.4

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add module dependencies
Sebastian Kemper [Fri, 22 Dec 2017 21:59:22 +0000 (22:59 +0100)]
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>
6 years agoMerge pull request #226 from micmac1/baresip
Jiri Slachta [Thu, 14 Dec 2017 07:33:32 +0000 (08:33 +0100)]
Merge pull request #226 from micmac1/baresip

baresip/re: build fix and a workaround

6 years agobaresip: add symbol to prevent FFmpeg dependency by default 226/head
Sebastian Kemper [Wed, 13 Dec 2017 18:37:11 +0000 (19:37 +0100)]
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>
6 years agore: fix build errors on mipsel targets
Sebastian Kemper [Wed, 13 Dec 2017 18:29:01 +0000 (19:29 +0100)]
re: fix build errors on mipsel targets

On most mipsel targets re fails to build because the re Makefile adds
"-march=mips32" to CFLAGS:

Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips32
src/sip/addr.c:1:0: error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor
 /**
 ^
Makefile:92: recipe for target 'build-mipsel/sip/addr.o' failed

Fix this by preventing re from adding to OpenWrt CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #225 from micmac1/baresip
Jiri Slachta [Tue, 12 Dec 2017 11:04:18 +0000 (12:04 +0100)]
Merge pull request #225 from micmac1/baresip

baresip: fix build failure on 32bit x86 targets

6 years agoMerge pull request #224 from lynxis/rb_kamailio
Jiri Slachta [Fri, 8 Dec 2017 07:53:54 +0000 (08:53 +0100)]
Merge pull request #224 from lynxis/rb_kamailio

kamailio-5.x: remove build timestamp

6 years agobaresip: fix build failure on 32bit x86 targets 225/head
Sebastian Kemper [Thu, 7 Dec 2017 20:32:45 +0000 (21:32 +0100)]
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>
6 years agokamailio-5.x: remove build timestamp 224/head
Alexander Couzens [Thu, 7 Dec 2017 14:05:13 +0000 (15:05 +0100)]
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>
6 years agoMerge pull request #223 from lynxis/rb_asterisk
Jiri Slachta [Thu, 7 Dec 2017 05:40:40 +0000 (06:40 +0100)]
Merge pull request #223 from lynxis/rb_asterisk

asterisk: reproducible builds

6 years agoasterisk-chan-sccp: remove BUILD_USER BUILD_DATE 223/head
Alexander Couzens [Wed, 6 Dec 2017 01:48:03 +0000 (02:48 +0100)]
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>
6 years agoasterisk-15.x: remove build timestamp
Alexander Couzens [Wed, 6 Dec 2017 01:04:39 +0000 (02:04 +0100)]
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>
6 years agoasterisk-13.x: remove build timestamp
Alexander Couzens [Wed, 6 Dec 2017 01:04:09 +0000 (02:04 +0100)]
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>
6 years agoMerge pull request #222 from lynxis/github_template
Jiri Slachta [Wed, 6 Dec 2017 08:11:39 +0000 (09:11 +0100)]
Merge pull request #222 from lynxis/github_template

copy .github/templates from package feed

6 years agoMerge pull request #220 from lynxis/rb_restund
Jiri Slachta [Wed, 6 Dec 2017 08:10:24 +0000 (09:10 +0100)]
Merge pull request #220 from lynxis/rb_restund

restund: remove build timestamp

6 years agoMerge pull request #221 from lynxis/rb_sipp
Jiri Slachta [Wed, 6 Dec 2017 08:09:56 +0000 (09:09 +0100)]
Merge pull request #221 from lynxis/rb_sipp

sipp: remove build timestamp

6 years agoMerge pull request #219 from micmac1/asterisk
Jiri Slachta [Wed, 6 Dec 2017 08:09:30 +0000 (09:09 +0100)]
Merge pull request #219 from micmac1/asterisk

Asterisk: fixups, version bumps

6 years agocopy .github/templates from package feed 222/head
Alexander Couzens [Tue, 5 Dec 2017 23:43:47 +0000 (00:43 +0100)]
copy .github/templates from package feed

The template will be used by issues and pull-request.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
6 years agosipp: remove build timestamp 221/head
Alexander Couzens [Tue, 5 Dec 2017 21:45:37 +0000 (22:45 +0100)]
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>
6 years agorestund: remove build timestamp 220/head
Alexander Couzens [Tue, 5 Dec 2017 22:13:54 +0000 (23:13 +0100)]
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>
6 years agoasterisk-15.x: security bump to 15.1.3 219/head
Sebastian Kemper [Tue, 5 Dec 2017 20:21:57 +0000 (21:21 +0100)]
asterisk-15.x: security bump to 15.1.3

AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: security bump to 13.18.3
Sebastian Kemper [Tue, 5 Dec 2017 20:19:51 +0000 (21:19 +0100)]
asterisk-13.x: security bump to 13.18.3

AST-2017-013: chan_skinny: Call pthread_detach when sess threads end
ASTERISK-27452

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: workaround for build failure
Sebastian Kemper [Tue, 5 Dec 2017 20:17:50 +0000 (21:17 +0100)]
asterisk-15.x: workaround for build failure

On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: workaround for build failure
Sebastian Kemper [Tue, 5 Dec 2017 20:05:53 +0000 (21:05 +0100)]
asterisk-13.x: workaround for build failure

On the buildbots (and locally, too) the x86 builds currently fail. It's
visible that the Asterisk build system attempts to build menuselect a
second time, which fails because it follows the standard recipes in its
Makefiles. The first build of menuselect on the other hand only works
because the OpenWrt package sets up the build properly.

The second build attempt happens because the menuselect CFLAGS category
is setup to delete a stamp file when anything in it changes. On x86
-march=native is available, so the OpenWrt package disables that via
menuselect, hence this item in the category is changed and the stamp
file automatically removed. The missing stamp file triggers a rebuild of
menuselect (which is not required for OpenWrt's intents and purposes).
Another item in the CFLAGS category with which the package can have the
same issue is LOW_MEMORY, but that is not enabled (changed) by default.

Work around this problem by recreating the stamp file after the
menuselect calls.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: speed up menuselect calls
Sebastian Kemper [Tue, 5 Dec 2017 20:03:50 +0000 (21:03 +0100)]
asterisk-15.x: speed up menuselect calls

Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: speed up menuselect calls
Sebastian Kemper [Tue, 5 Dec 2017 19:58:01 +0000 (20:58 +0100)]
asterisk-13.x: speed up menuselect calls

Currently the menuselect calls, for each category or item, step into a
directory and call menuselect once. So if all packages are build
menuselect will be called hundreds of times and as many directory
changes will be done.

Instead step into the directory only once, then generate the argument
string by iteratively adding to it and then call menuselect once. The
speedup is big.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: fix CONFIGURE_ARGS
Sebastian Kemper [Tue, 5 Dec 2017 19:53:47 +0000 (20:53 +0100)]
asterisk-15.x: fix CONFIGURE_ARGS

The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: fix CONFIGURE_ARGS
Sebastian Kemper [Tue, 5 Dec 2017 19:46:54 +0000 (20:46 +0100)]
asterisk-13.x: fix CONFIGURE_ARGS

The way CONFIGURE_ARGS are done for srtp and pjproect does not take into
account that more than one package depends on them. This can result in
build failures. So add ifeqs to test properly if --with or --without is
required.

This commit also adds CONFIGURE_ARGS checks for:

alsa (asound)
portaudio
speex
speexdsp

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #218 from micmac1/master
Jiri Slachta [Sun, 3 Dec 2017 19:28:44 +0000 (20:28 +0100)]
Merge pull request #218 from micmac1/master

asterisk: add samples, modules, utilities and a dep

6 years agoMerge pull request #217 from micmac1/chan-lantiq
Jiri Slachta [Sun, 3 Dec 2017 19:27:02 +0000 (20:27 +0100)]
Merge pull request #217 from micmac1/chan-lantiq

chan-lantiq: revert (non-working) hack, add Asterisk 15 variant

6 years agoasterisk-15.x: add libcap dep 218/head
Sebastian Kemper [Sun, 3 Dec 2017 16:38:02 +0000 (17:38 +0100)]
asterisk-15.x: add libcap dep

With libcap support Asterisk is able to set the TOS bits even when
dropping its privileges to a non-root user.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add libcap dep
Sebastian Kemper [Sun, 3 Dec 2017 16:35:51 +0000 (17:35 +0100)]
asterisk-13.x: add libcap dep

With libcap support Asterisk is able to set the TOS bits even when
dropping its privileges to a non-root user.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add utilities
Sebastian Kemper [Sun, 3 Dec 2017 16:32:10 +0000 (17:32 +0100)]
asterisk-15.x: add utilities

Adds the command line tools that ship with Asterisk as optional
packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add modules
Sebastian Kemper [Sun, 3 Dec 2017 16:29:49 +0000 (17:29 +0100)]
asterisk-15.x: add modules

Adds modules that aren't deprecated. These include dependencies and
configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add missing config samples
Sebastian Kemper [Sun, 3 Dec 2017 16:26:04 +0000 (17:26 +0100)]
asterisk-15.x: add missing config samples

Adds some missing config files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add utilities
Sebastian Kemper [Sun, 3 Dec 2017 16:06:14 +0000 (17:06 +0100)]
asterisk-13.x: add utilities

Adds the command line tools that ship with Asterisk as optional
packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add modules
Sebastian Kemper [Sun, 3 Dec 2017 16:02:31 +0000 (17:02 +0100)]
asterisk-13.x: add modules

Adds modules that aren't deprecated. These include dependencies and
configuration files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add missing config samples
Sebastian Kemper [Sun, 3 Dec 2017 15:57:12 +0000 (16:57 +0100)]
asterisk-13.x: add missing config samples

Adds some missing config files.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agochan-lantiq: add variant for Asterisk 15 217/head
Sebastian Kemper [Sun, 3 Dec 2017 15:46:12 +0000 (16:46 +0100)]
chan-lantiq: add variant for Asterisk 15

@kochstefan got the module to work on Asterisk 15. Update the Makefile
and include the new variant.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agochan-lantiq: revert previous commit
Sebastian Kemper [Sun, 3 Dec 2017 15:40:18 +0000 (16:40 +0100)]
chan-lantiq: revert previous commit

The hack does not work on the buildbots. In the SDK the other packages'
Makefiles and patch directories aren't available, hence the hack fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agokamailio-5.x: bump to 5.0.4
Jiri Slachta [Sun, 3 Dec 2017 14:33:48 +0000 (15:33 +0100)]
kamailio-5.x: bump to 5.0.4

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
6 years agoMerge pull request #209 from micmac1/chan-lantiq
Jiri Slachta [Sat, 2 Dec 2017 18:00:20 +0000 (19:00 +0100)]
Merge pull request #209 from micmac1/chan-lantiq

chan-lantiq: setup Lantiq kernel headers locally

6 years agoMerge pull request #215 from micmac1/prevent-build-all
Jiri Slachta [Sat, 2 Dec 2017 17:44:14 +0000 (18:44 +0100)]
Merge pull request #215 from micmac1/prevent-build-all

Asterisk: Prevent building of all default modules

6 years agoMerge pull request #214 from micmac1/fix-module-load-failure
Jiri Slachta [Sat, 2 Dec 2017 17:42:28 +0000 (18:42 +0100)]
Merge pull request #214 from micmac1/fix-module-load-failure

asterisk-15.x: add 053-musl-mutex-init.patch

6 years agoMerge pull request #216 from micmac1/baresip
Jiri Slachta [Sat, 2 Dec 2017 17:41:56 +0000 (18:41 +0100)]
Merge pull request #216 from micmac1/baresip

baresip: add missing dependency

6 years agobaresip: add missing dependency 216/head
Sebastian Kemper [Tue, 28 Nov 2017 21:43:10 +0000 (22:43 +0100)]
baresip: add missing dependency

The avcodec module needs a depend on libx264.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add menuselect mechanism 215/head
Sebastian Kemper [Tue, 28 Nov 2017 21:25:03 +0000 (22:25 +0100)]
asterisk-15.x: add menuselect mechanism

This adds a mechanism that disables all modules by default and then
enables only the modules needed for the packages selected, resulting in
less build time.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-13.x: add menuselect mechanism
Sebastian Kemper [Tue, 28 Nov 2017 21:20:16 +0000 (22:20 +0100)]
asterisk-13.x: add menuselect mechanism

This adds a mechanism that disables all modules by default and then
enables only the modules needed for the packages selected, resulting in
less build time.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoasterisk-15.x: add 053-musl-mutex-init.patch 214/head
Sebastian Kemper [Tue, 28 Nov 2017 20:59:38 +0000 (21:59 +0100)]
asterisk-15.x: add 053-musl-mutex-init.patch

@kochstefan pointed out that asterisk 15 doesn't load any modules. It
turned out that this happens because of patch that was dropped. Add the
patch again.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #212 from micmac1/chan-sccp
Jiri Slachta [Mon, 27 Nov 2017 14:50:56 +0000 (15:50 +0100)]
Merge pull request #212 from micmac1/chan-sccp

asterisk-chan-sccp: improve package

6 years agoMerge pull request #213 from micmac1/baresip
Jiri Slachta [Mon, 27 Nov 2017 12:07:06 +0000 (13:07 +0100)]
Merge pull request #213 from micmac1/baresip

New PR: re, rem, restund and baresip

6 years agoasterisk-chan-sccp: improve package 212/head
Sebastian Kemper [Sun, 26 Nov 2017 22:12:21 +0000 (23:12 +0100)]
asterisk-chan-sccp: improve package

- remove some whitespaces
- install only the configuration example from the source instead of the
  locally kept files (which are probably outdated anyway)
- add a comment explaining the iostream hack
- use proper install routine instead of "$(CP)"

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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

6 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

6 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>
6 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>
6 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>
6 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>
6 years agochan-lantiq: setup Lantiq kernel headers locally 209/head
Sebastian Kemper [Thu, 23 Nov 2017 15:33:56 +0000 (16:33 +0100)]
chan-lantiq: setup Lantiq kernel headers locally

This commit unpacks the sources of lib_ifxos, drv_tapi and drv_vmmc,
patches them and sets up their header files for the compiler to use when
building chan-lantiq.

The dependency on kmod-ltq-vmmc is dropped so that the package can be
built by the buildbots. Instead, a dependency on mips is added so that
the buildbots will only build the package for the ARCH that Lantiq
actually runs on.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 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

6 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

6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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

6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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>
6 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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>