- LOW_MEMORY is known to cause sporadic crashes, disable it by default.
- Prevent Asterisk from adding -march=native to CFLAGS.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Don't add extra TARGET_LDFLAGS for asterisk13-pbx-lua. It is not
needed anymore (apart from that the module isn't available currently,
see next commit).
- Stop setting -Wl,-rpath-link in LDFLAGS. There is no point to do that.
- Stop calling specific make targets like version.h; make handles the
build properly without it.
- Use the default compile routine instead of the custom one.
- Add AST_FORTIFY_SOURCE to MAKE_FLAGS (seen in Debian rules file,
prevents asterisk's build system to mess with OpenWrt/LEDE flags).
- Remove $(SITE_VARS) (unused)
- Remove $(SDK) from ifneq. The variable prevents the ifneq from
working on the buildbots. $(SDK) is set there, so the ifneqs that test
for empty will always be true.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Set data dir to /usr/share/asterisk and use default locations for
everything else.
- This is more in line with FHS. 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>
The currently used version 13.8.0 has the following open CVEs:
CVE-2016-7551
CVE-2016-9938
CVE-2017-14099
CVE-2017-14100
CVE-2017-14603
CVE-2017-16671
CVE-2017-16672
CVE-2017-17090
CVE-2017-17664
CVE-2017-17850
CVE-2017-7617
CVE-2017-9358
CVE-2017-17850
Upstream provided patches for these but used 13.13.0 or later versions
as baseline. Multiple of these patches fail to apply to 13.8.0. So
upgrade to the current version instead.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Cleans up the flags
- Copies symbolic links to libraries instead of hard links to save space
- Cleans up pkgconfig file so there are no COPTS warnings during
Asterisk builds
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Version bump because current version has open CVEs for which
backported patches do not exist (CVE-2017-16875 and CVE-2017-16872).
- Adds dependency on openssl as otherwise Asterisk will complain. Some
Asterisk modules cannot load without it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Update to 0.5.0
Remove Speex as it's being obsoleted by upstream.
Add Opus to replace Speex
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
libedit is not available in 15.05. Add --disable-core-libedit-support
to configure flags to fix build error
Fixes#118
Signed-Off-By: Bernhard Schmidt <berni@birkenwald.de>
this leads to lots of these lines when updating the feed in CC
WARNING: No feed for package 'libsqlite2' found, maybe it's already part of the standard packages?
WARNING: No feed for package 'libedit' found, maybe it's already part of the standard packages?
Signed-off-by: John Crispin <blogic@openwrt.org>
DAHDI tries downloading firmware blobs from Digium's server which are
for hardware not supported by the OpenWrt package and those blobs are
licensed prohibiting redistribution. Thus there is no point in
downloading them at all, especially as the download failing frequently
causes build failures.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>