Commit graph

171 commits

Author SHA1 Message Date
Sebastian Kemper
d65cd5786e bcg729: fix 1.0.4 build
- the Savannah source URI doesn't have the 1.0.4 release; switch it to
  linphone.org

- even with the source available the build fails, as the source now
  defaults to cmake for building. So switch our build process from
  autotools to cmake as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-27 22:18:30 +01:00
Jiri Slachta
0f9207c264
Merge pull request #229 from samm-git/patch-1
bcg729: update to the 1.0.4 version
2017-12-27 09:45:03 +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
e40f0ea06f libre: add forgotten define
"OPENWRT" needs to be defined for 001-extend-ninit-nclose-check.patch to
work.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:16:17 +01:00
Alex Samorukov
c9370a3d90
bcg729: update to the 1.0.4 version 2017-12-26 01:13:23 +01:00
Sebastian Kemper
c22c60b9fd 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>
2017-12-13 19:29:06 +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
Sebastian Kemper
f38e08a904 librem: clean up Makefile
Remove unneeded variables, whitespaces, depends and trailing slashes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:23:13 +01:00
Sebastian Kemper
394e4bc773 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>
2017-11-26 22:20:33 +01:00
Sebastian Kemper
7e1106ff83 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>
2017-11-26 22:13:23 +01:00
Sebastian Kemper
c2f7efa6a1 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>
2017-11-26 22:09:55 +01:00
Sebastian Kemper
a178a9ecc8 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>
2017-11-26 22:07:05 +01:00
Sebastian Kemper
53d727b592 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>
2017-11-26 22:04:24 +01:00
Sebastian Kemper
01243348d3 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>
2017-11-26 21:58:22 +01:00
Sebastian Kemper
622de3d93f 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>
2017-11-14 22:59:21 +01:00
Sebastian Kemper
7b3b808aea 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>
2017-11-14 22:54:28 +01:00
Jiri Slachta
98d327874c rem: update to 0.5.2
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-07 20:50:00 +01:00
Jiri Slachta
cab635755e re: update to 0.5.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-07 20:49:23 +01:00
Jiri Slachta
21847a0d55 libsrtp2: update to 2.1.0
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-01 11:59:29 +01:00
Jiri Slachta
4cc511d0b3 libsrtp: update to 1.6.0
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-01 11:58:15 +01:00
Jiri Slachta
817e8dbd2d ortp: export to abandoned packages repository
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-10-29 18:29:49 +01:00
Sebastian Kemper
145c57b4bc libosip2: version bump
Bump to 5.0.0, drop patch which was integrated by upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 11:12:48 +02:00
Sebastian Kemper
629005d093 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>
2017-10-08 10:53:57 +02:00
Sebastian Kemper
8be8831d34 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>
2017-10-08 10:31:59 +02:00
Sebastian Kemper
45ed7d4afc telephony: use https:// PKG_SOURCE_URLs where possible
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 10:11:02 +02:00
Sebastian Kemper
3dccee6e76 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>
2017-10-08 09:52:21 +02:00
Jiri Slachta
733655602c rem: update to 0.5.1
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:10:21 +02:00
Jiri Slachta
2e999a0ba3 re: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:09:48 +02:00
Daniel Golle
b6a8bbd5fb 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>
2017-09-01 16:21:22 +02:00
Daniel Golle
5fc6447bd4 dahdi-tools: package dahdi_cfg executable
Grab the binary instead of the libtool-shell-wrapper...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-09-01 01:12:27 +02:00
Sebastian Kemper
630d92a0cf pjpoject: cleanups and fix for COPTS warnings
- Remove some unnecessary trailing slashes plus fix a whitespace.
- Remove flags that do not seem to have a good reason to be there
  (anymore).
- Add sed script to remove $(TARGET_CFLAGS) from pkgconfig file. This
  gets rid of the warnings in asterisk13 about COPTS duplication.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-08-19 15:48:04 +02:00
Sebastian Kemper
45e0c6a721 pjproject: add config_site.h
Copied from Asterisk, sets some sane values. For instance it enables
IPv6 support.

Also it disables DEBUG. With debug enabled 'pjproject enables "assert"
functions which can cause Asterisk to crash unexpectedly' (quote from
Asterisk wiki). This probably fixes issue #140.

With this config_site.h in place the libsrtp dep can be dropped from
select sub packages.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-08-09 22:52:24 +02:00
Sebastian Kemper
29cb5debb3 pjproject: enable ssl support
Enable SSL support as Asterisk relies on it. Some Asterisk modules
cannot load without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-08-09 22:48:10 +02:00
Sebastian Kemper
ae177a2f5f pjproject: align with Asterisk requirements, misc improvements
- Make "--disable-floating-point" depend on SOFT_FLOAT
- Remove "--disable-ilbc-coder" as configure no longer recognizes it.
- Align args with the ones used by Asterisk (for their bundled pjproject);
  this includes adding "--disable-resample".
- With libresample removed remove the dep from asterisk13 accordingly.
- Note: the disabled items are _not_ used by Asterisk anyway.
- Drop speex dep as pjproject does not link against it the way it is
  configured.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-08-09 22:45:34 +02:00
Sebastian Kemper
d8469c8750 pjproject: sort configure args, remove duplicates
This commit is only meant to make the following commits easier to follow.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-08-09 22:17:17 +02:00
Jiri Slachta
b9e1101518 pjproject: fix Makefile variables
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-07-29 22:24:58 +02:00
Sebastian Kemper
7fc4844b71 libs/pjproject: security revision bump
Add patches provided by Asterisk project for pjproject. This fixes the
following vulnerabilities:

- AST-2017-002: Buffer Overrun in PJSIP transaction layer (CVE-2017-9372)
- AST-2017-003: Crash in PJSIP multi-part body parser

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-29 14:04:00 +02:00
Sebastian Kemper
535515658a libs/pjproject: prevent linking against opus
When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:25:49 +02:00
Sebastian Kemper
ac3551f723 libs/bcg729: bump to 1.0.2
Also remove the static binary from InstallDev as it's not used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:24:58 +02:00
John Papandriopoulos
b57051c35d spandsp: disable fixed point implementation
On a Netgear R7000 (ARMv7) without floating point, using SpanDSP with
fixed point to send/receive fax on Asterisk resulted in repeated
failure and intermittent performance.  Disabling fixed point fixed
these issues; the software floating point implementation was fine for
real-time use.

Now on a Netgear R7800 (ARMv7) with hardware floating point, the
autoconf auto-detect will say no floating point is available, and
again enables the poor performing fixed point implementation.  Ouch!
2017-06-07 23:11:03 -07:00
Jiri Slachta
3a65188c41 libsrtp2: introduce new package
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-05-09 21:10:08 +02:00
Jiri Slachta
927ddb060d pjproject: update to 2.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-05-08 17:24:36 +02:00
Jiri Slachta
f2c3c887f3 libsrtp: update to 1.5.4
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-05-08 17:23:03 +02:00
Jiri Slachta
dc394f8181 Merge pull request #129 from diizzyy/patch-1
libs/re: Add zlib dependency
2017-05-03 09:46:50 +02:00
Daniel Golle
0d74b1de1d libpri: update to version 1.6.0
Reported-by: Jonas Albrecht <jalb-ledeml@freenet.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-04-29 13:06:29 +02:00
Daniel Engberg
7513cd8b82 libs/re: Add zlib dependency
Adds missing zlib dependency

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-05 00:32:36 +01:00
Daniel Golle
1f0fb2538b dahdi-tools: fix build
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-07-15 11:49:55 +02:00
Alfred E. Heggestad
f915b796ba libre: update to version 0.4.17 2016-06-25 17:01:20 +02:00
Daniel Golle
d2bfa9f05d dahdi-tools: update to version 2.11.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-12 20:30:28 +02:00
Daniel Golle
1bcf610666 dahdi-linux: update to 2.11.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-12 20:30:28 +02:00