Commit graph

562 commits

Author SHA1 Message Date
Sebastian Kemper
d84d1822a4 asterisk-13.x: change LOW_MEMORY and -march=native treatment
- 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>
2018-01-10 23:19:50 +01:00
Sebastian Kemper
2ef5b082ce asterisk-13.x: clean up compile stage
- 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>
2018-01-10 23:11:15 +01:00
Sebastian Kemper
ee4ba55e32 asterisk-13.x: 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. 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>
2018-01-10 23:04:43 +01:00
Sebastian Kemper
ecf9870ab7 asterisk-13.x: .conf file fixes
Fix issues with configuration files:

- missing configuration files
- conffiles define

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 22:56:48 +01:00
Sebastian Kemper
1b98907582 asterisk-13.x: bump to 13.18.5
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>
2018-01-10 22:41:07 +01:00
Sebastian Kemper
91756021ca asterisk-11.x: add end-of-life warning
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 22:02:10 +01:00
Sebastian Kemper
6fbaa37f32 asterisk-11.x: add upstream patches for CVEs
This commit adds patches for:

CVE-2016-7551
CVE-2016-9938
CVE-2017-14099
CVE-2017-14100
CVE-2017-14603

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 22:00:10 +01:00
Sebastian Kemper
111a6b1df4 asterisk-1.8: add end-of-life warning
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 21:54:40 +01:00
Sebastian Kemper
62ddafbb15 pjproject: Makefile improvements
- 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>
2018-01-10 21:50:11 +01:00
Sebastian Kemper
70b79582bb 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).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 21:47:07 +01:00
Sebastian Kemper
6bc938b39f pjproject: bump to 2.7.1
- 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>
2018-01-10 21:42:27 +01:00
Jiri Slachta
c399bb6013
Merge pull request #197 from wigyori/for-15.05-baresip
CC: baresip: upgrade to 0.5.6
2017-11-12 13:04:15 +02:00
Jiri Slachta
8702540baa
Merge pull request #198 from wigyori/for-15.05-kama4
CC: kamailio-4.x: upgrade to 4.4.0, fix build
2017-11-12 13:04:04 +02:00
Jiri Slachta
088ab9a367
Merge pull request #196 from wigyori/for-15.05-re
CC: re/rem: fix build on CC and upgrade
2017-11-12 13:01:33 +02:00
Zoltan HERPAI
f0a53c28f0 kamailio-4.x: fix build
- drop dialog-ng module
 - add dependency for hiredis lib

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2017-11-11 23:34:29 +01:00
Zoltan HERPAI
90d6123188 kamailio-4.x: Fix sercmd/kamcmd patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2017-11-11 23:34:15 +01:00
Jiri Slachta
ae5c14a774 kamailio-4.x: update to 4.4.0
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-11 01:31:52 +01:00
Daniel Golle
f33a4041c9 kamailio-4.x: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-11 01:31:46 +01:00
Jiri Slachta
4de0ca3e03 baresip: update to 0.5.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 23:36:04 +01:00
Jiri Slachta
8dc3ecd08f baresip: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 23:35:59 +01:00
Daniel Engberg
0e1c878c32 net/baresip: Update to 0.5.0
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>
2017-11-10 23:35:55 +01:00
Alfred E. Heggestad
db3993ec61 upgrade baresip to version 0.4.19 2017-11-10 23:35:49 +01:00
Jiri Slachta
9fdf06f729 baresip: add DTMF input/output module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-10 23:35:44 +01:00
Jiri Slachta
e377008057 baresip: update to 0.4.18
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-10 23:35:37 +01:00
Jiri Slachta
1bc85bdb21 rem: update to 0.5.2
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 23:18:07 +01:00
Jiri Slachta
c884bbf46b rem: update to 0.5.1
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 23:18:02 +01:00
Jiri Slachta
20fee81e90 rem: update to version 0.4.7
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-10 23:17:56 +01:00
Daniel Golle
ce3849c053 libs/rem: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-10 23:17:49 +01:00
Zoltan HERPAI
c059f12958 re: bring back MD5SUM for CC
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2017-11-10 23:00:25 +01:00
Jiri Slachta
35357aaef7 re: update to 0.5.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 22:54:35 +01:00
Jiri Slachta
4fc1689eb4 re: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-10 22:54:31 +01:00
Daniel Engberg
9a288fb9c5 libs/re: Add zlib dependency
Adds missing zlib dependency

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-11-10 22:50:57 +01:00
Alfred E. Heggestad
89674ac4c5 libre: update to version 0.4.17 2017-11-10 22:50:44 +01:00
Jiri Slachta
e9ede9f00d multiple packages: change PKG_MAINTAINER email address
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-10 22:50:37 +01:00
Alfred E. Heggestad
e2e683b9df telephony: upgrade libre to 0.4.16 2017-11-10 22:50:32 +01:00
Jiri Slachta
51cbe6754a re: update to 0.4.15
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2017-11-10 22:50:26 +01:00
Jiri Slachta
5736cb7c59 Merge pull request #146 from pho/for-15.05
Fix PKG_SOURCE_URL for libpri 1.4.15
2017-05-09 11:32:37 +02:00
Jaime
65b549d660 Fix PKG_SOURCE_URL for libpri 2017-05-09 09:53:06 +02:00
Jiri Slachta
f39b95b09e Merge pull request #119 from bernhardschmidt/fix-freeswitch-build
Fix build of FreeSWITCH due to missing libedit
2017-05-05 13:17:06 +02:00
Bernhard Schmidt
bb4e8f7e0c Fix build of FreeSWITCH due to missing libedit
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>
2016-08-14 22:44:53 +02:00
John Crispin
5ef9ebae81 Merge pull request #108 from blogic/for-15.05
freeswitch: libsqlite2 and libedit do not exist
2016-04-20 19:00:18 +02:00
John Crispin
cc2b959905 freeswitch: libsqlite2 and libedit do not exist
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>
2016-04-19 11:47:06 +02:00
Jiri Slachta
ea86469ec5 asterisk-13.x: update to 13.8.0
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-04-13 10:44:47 +02:00
Jiri Slachta
1fe84f401e asterisk-11.x: update to 11.22.0
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-04-13 10:44:17 +02:00
Daniel Golle
757d8d1f7f dahdi-linux: skip blob firmware download
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>
2016-01-19 10:46:43 +01:00
Alexander Ryzhov
e283983dac chan-sccp-b: fix source URL
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2016-01-19 10:45:55 +01:00
Daniel Golle
eedb2673ad Merge pull request #92 from dangowrt/for-15.05.01
backport fixes and minor updates from master to for-15.10
2015-11-11 01:56:06 +01:00
Sebastian Kemper
98a8bea6a9 net/asterisk: Update asterisk-13.x to 13.6.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[daniel@makrotopia.org: split patch, one for each version]
2015-10-11 12:09:07 +02:00
Sebastian Kemper
e26c828073 net/asterisk: Update asterisk-11.x to 11.20.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[daniel@makrotopia.org: split patch, one for each version]
2015-10-11 12:09:07 +02:00
Daniel Golle
3542104099 chan-sccp-b: conflicts with asterisk*-chan-skinny
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-09 02:21:31 +02:00