Commit graph

585 commits

Author SHA1 Message Date
Jiri Slachta
a5ff768bab
Merge pull request #340 from micmac1/origin/for-15.05
(for CC-15.05) asterisk-13.x: patch AST-2018-008
2018-06-28 10:38:38 +02:00
Sebastian Kemper
dd6a29e0ae asterisk-13.x: patch AST-2018-008
Patch from upstream for AST-2018-008.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-25 23:06:12 +02:00
Jiri Slachta
27ed6f1e50
Merge pull request #286 from micmac1/ast-up-for-15.05
Asterisk/pjproject updates for 15.05
2018-02-27 08:33:37 +01:00
Sebastian Kemper
72586338be asterisk-13.x: bump to 13.19.2
No new features in this release. This is a bugfix release.

- Fixes:
    AST-2018-004
    AST-2018-005

- Remove res_pjsip_transport_management.so as it got moved into
  res_pjsip's core as per AST-2018-003.

- Change to PKG_HASH.

- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.

- Refreshed patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-26 23:08:03 +01:00
Sebastian Kemper
95594f8eea pjproject: bump 2.7.2
Includes security fixes:

2094: Crash when receiving SDP with invalid fmtp attribute
2095: Crash when parsing SDP with an invalid media format description

No further changes.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-26 23:05:10 +01:00
Jiri Slachta
716c61709b
Merge pull request #243 from micmac1/asterisk-fixes-for-15.05
asterisk-13.x: fix some dependencies
2018-01-22 19:52:07 +01:00
Sebastian Kemper
52c9dd1aaa asterisk-13.x: fix some dependencies
- spandsp module for faxing is missing, add it
- res-pjproject is a missing dependency for pjsip, add it as well
- both res-srtp and res-pjproject depend on libsrtp, change
  CONFIGURE_ARGS accordingly
- same for pjproject, as pjsip and res-rtp-asterisk depend on it

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-16 20:55:40 +01:00
Jiri Slachta
2d67eab1ec
Merge pull request #239 from micmac1/kamailio-for-15.05
Kamailio for 15.05
2018-01-15 20:14:36 +01:00
Jiri Slachta
c65d6a9f76
Merge pull request #238 from micmac1/asterisk_II-for-15.05
Asterisk part 2 for 15.05
2018-01-15 20:14:19 +01:00
Jiri Slachta
f3635101c7
Merge pull request #237 from micmac1/asterisk_I-for-15.05
Asterisk part I for 15.05
2018-01-15 20:14:04 +01:00
Sebastian Kemper
ced26e82ba kamailio-4.x: fix build failure
hiredis is not available on Chaos Calmer, so remove the dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-14 19:05:36 +01:00
Sebastian Kemper
f894b551d8 kamailio-3.x: add fix for CVE-2016-2385
Fixes heap-based buffer overflow in the encode_msg function.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-14 18:59:39 +01:00
Sebastian Kemper
b7e986640a chan-sccp-b: fix variant build
The variant builing is not working properly because PKG_BUILD_DIR is
unset. This fixes that.

Also the Makefile is cleaned up. LOW_MEMORY is not explicitly defined
anymore because chan-sccp-b is getting the define from the Asterisk
headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-11 20:33:25 +01:00
Sebastian Kemper
07b7459194 asterisk-g72x: fix variant build
Currently variant building isn't working properly because PKG_BUILD_DIR
is not set. This commit fixes that.

It also cleans up the Makefile, making it much simpler. The cleanups are
already in master.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-11 20:28:20 +01:00
Sebastian Kemper
37f40d02b8 asterisk-chan-dongle: version bump, add variant for Asterisk 13
This commit adds VARIANT support. This is so that the module will also
be available for Asterisk 13.

The current version does not support Asterisk 13. So this commit also
updates the package to use the (more recent) source from wdoekes on
github, which is also used in master.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-11 20:20:26 +01:00
Sebastian Kemper
f920cc9f59 asterisk-11.x-chan-dongle: folder rename
Rename the folder to asterisk-chan-dongle to prepare for VARIANT build.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-11 20:03:19 +01:00
Jiri Slachta
005ef6633a
Merge pull request #234 from micmac1/libs-for-15.05
Libs for 15.05
2018-01-11 19:45:05 +01:00
Sebastian Kemper
bb1f12ab78 asterisk-13.x: module updates
This commit:

- adds some missing descriptions
- updates some module files (e.g. new sub modules)
- updates some module dependencies

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 23:22:22 +01:00
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
Sebastian Kemper
5eee92177f libsrtp: add patches that fix 2 CVEs
Patches copied from Debian. They fix:

CVE-2013-2139
CVE-2015-6360

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 20:03:26 +01:00
Sebastian Kemper
6851e7a67e libosip2: add that fixes multiple CVEs
This commit adds a patch copied from Debian that addresses the following
bugs:

CVE-2016-10324
CVE-2016-10325
CVE-2016-10326
CVE-2017-7853

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 20:00:22 +01:00
Sebastian Kemper
8fba29d9f6 iksemel: clean up Makefile, bump revision
- clean up deps
- remove no longer needed build customizations
- revision bump

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 19:57:39 +01:00
Sebastian Kemper
54be8dad10 iksemel: address security problem
This commit removes the current patch regarding cipher selection and
replaces it with a patch copied from Debian. This fixes the problem that
only low-grade ciphers are available.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 19:53:57 +01:00
Sebastian Kemper
905cea2ec2 iksemel: fix gnutls detection
This commit removes the current gnutls m4 macro patch. A patch that adds
gnutls detection via pkgconfig is added instead. The patch was copied
from Debian.

Upstream bug report here: https://github.com/meduketto/iksemel/issues/20

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 19:50:42 +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