275 Commits

Author SHA1 Message Date
sthen
8c273f49e0 update to Asterisk 13.18.2 2017-11-11 15:19:10 +00:00
ajacoutot
bdca485ff0 Bump after libical pkgpath change. 2017-11-08 05:36:11 +00:00
sthen
9d473b4911 update to asterisk-13.17.2 - fix AST-2017-008 RTP/RTCP problems, followup
to AST-2017-005.

The RTP/RTCP stack will now validate RTCP packets before processing
them. Packets failing validation are discarded. RTP stream qualification
now requires the intended series of packets from the same address
without seeing packets from a different source address to accept a new
source address.
2017-09-21 10:11:16 +00:00
sthen
c0686bca82 - fix build when pjproject distfile is older than version.mak, breakage
reported by nigel@

- avoid hardcoded -O3 in pjsip build, honour CFLAGS instead
2017-09-01 09:55:28 +00:00
sthen
8a290e74b0 update to asterisk-13.17.1
AST-2017-005: Media takeover in RTP stack
AST-2017-006: Shell access command injection in app_minivm
AST-2017-007: Remote Crash Vulerability in res_pjsip

also install the basic-pbx sample configs
2017-08-31 21:34:05 +00:00
sthen
a7a5775b0f add comment noting that these two ports should keep COMPILER in sync 2017-08-22 22:51:04 +00:00
espie
7737872aef rework COMPILER yet again. new version should be easier to grasp 2017-08-22 10:27:33 +00:00
sthen
4a8a1b2bed Switch Asterisk to a gcc build (it requires either nested functions,
which are gcc-specific, or clang with -fblocks, which we don't have
working fully yet).

To avoid a C++ standard library conflict, switch to a stripped-down and
patched copy of pjsua/pjsip built as part of the Asterisk build.

Some slight patch gymnastics; Asterisk doesn't distribute pjsua itself
but rather normally downloads, untars and patches as part of the build,
which isn't compatible with the patches we need to apply in order to
fix it with libressl.
2017-08-05 12:29:21 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
dc5ed179ec update to asterisk-13.17.0 2017-07-12 19:55:29 +00:00
sthen
bdddc7a175 update to asterisk-13.15.1, fixing AST-2017-004: Memory exhaustion
on short SCCP packets. This only affects SCCP users (chan_skinny).

13.15.1 also added some fixes to the bundled copy of PJSIP
(used by chan_pjsip, *not* used by chan_sip) -
AST-2017-002: Buffer Overrun in PJSIP transaction layer,
AST-2017-003: Crash in PJSIP multi-part body parser
- however that copy is not used by this package and will need to
be fixed separately.
2017-05-26 15:42:45 +00:00
sthen
9c8d475fe3 pass LDFLAGS to the autoconf test for clang -fblocks. still broken:
- clang + ld.bfd: link fails in autoconf test, undefined symbols.

- clang + ld.lld: package builds, dlopen()ing the .so modules that use -fblocks
fails at runtime.

because with clang + ld.lld it does build but results in unusable packages,
explicitly mark BROKEN-aarch64 for now.
2017-05-26 15:30:49 +00:00
sthen
073d25a37c use LIBCXX 2017-04-10 11:46:32 +00:00
sthen
76cc768287 update to asterisk-13.15.0.
add various OPENSSL_VERSION_NUMBER patches now that asterisk supports
openssl 1.1:

- we don't have openssl 1.1's SSL_is_server yet, so use the old check
for ssl->server instead

- we do still need the hack to avoid initing multiple times which is
no longer needed in openssl 1.1
2017-04-07 21:32:20 +00:00
sthen
93733b5c4f update to asterisk-13.14.1
http://downloads.digium.com/pub/security/AST-2017-001.html

CDR: Protect from data overflow in ast_cdr_setuserfield.
ast_cdr_setuserfield wrote to a fixed length field using strcpy.
This could result in a buffer overrun when called from chan_sip or
func_cdr. This patch adds a maximum bytes written to the field by using
ast_copy_string instead.
2017-04-05 10:27:36 +00:00
sthen
40792daef2 convert another getprotobyname() 2017-03-18 21:49:48 +00:00
sthen
721578dc23 Don't use thread-unsafe getprotobyname(), patch from jira ticket ASTERISK-26759.
Teach some helper scripts about common coredump paths in OpenBSD.
2017-03-18 21:42:04 +00:00
sthen
035ece38c3 update to asterisk-13.14.0 2017-02-14 12:31:38 +00:00
kili
513ae4b616 Revert the -kqueue subpackage changes that snucked in by accident.
ok sthen@
2017-02-07 21:09:10 +00:00
sthen
d0734edd19 raise debug level of other audiohook messages, even debug level 1 is unusable
on a busy system
2017-02-06 10:11:31 +00:00
sthen
7f2a39c127 Patch to raise level of Asterisk's "Read factory %p and write factory %p
both fail to provide %zu samples" debug message which is triggering very
frequently, so that it's possible to get debug level 5 messages without
flattening the box.
2017-02-02 14:04:07 +00:00
sthen
cb837b9a3e update to asterisk-13.13.1 2016-12-10 12:25:44 +00:00
sthen
cc0e54003c update to asterisk-13.13.0 2016-11-29 13:57:49 +00:00
sthen
93ea86b1a0 update to asterisk-13.12.2, fixing a chan_sip rtptimeout problem introduced
in 13.12.1 that would cause calls to be dropped early
2016-11-11 10:55:17 +00:00
sthen
c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00
sthen
6d4b6e5f02 update to asterisk-13.12.1 2016-10-29 19:21:13 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
sthen
4f953ac768 update to asterisk-13.11.2
res_pjsip: Do not crash on ACKs from unknown endpoints
chan_sip: Don't allocate new RTP instances on top of old ones
2016-09-13 12:13:03 +00:00
sthen
4e6d9bca42 sync WANTLIB 2016-09-02 11:09:37 +00:00
sthen
a1a632dfb1 update to asterisk-13.11.0 2016-09-02 10:34:59 +00:00
sthen
f877de500c update to asterisk-13.10.0 and patch for libressl (upstream tests
OPENSSL_VERSION_NUMBER < 0x10002000L to see if DTLSv1_method is available;
it's an error at runtime only as it's in a dlopen'd module, and doesn't
crash the process, just fails loading the module, so you don't notice
until you wonder why calls are all failing...)
2016-07-30 21:12:15 +00:00
ajacoutot
af1f8139af Bump after the devel/gmime mono subpackage removal. 2016-06-13 09:22:41 +00:00
sthen
14b99460bc update to asterisk-13.9.1 2016-05-14 13:45:17 +00:00
sthen
969d45532e update to asterisk-13.9.0 2016-05-09 16:07:13 +00:00
sthen
72808c31bf update to asterisk-13.8.2 2016-04-22 22:37:40 +00:00
sthen
a9d0d114a7 security update to asterisk-13.8.1
AST-2016-005: TCP denial of service in PJProject
AST-2016-004: Fix crash on REGISTER with long URI
2016-04-15 11:35:12 +00:00
sthen
dfe14bc282 Fix sample cdr.conf in Asterisk (s/enabled/enable/ - the former used to be
valid but is no more). From Todd Mortimer.

Standardise style while there.
2016-04-02 14:38:19 +00:00
sthen
4f40ab2aa2 update to asterisk-13.8.0 2016-03-29 23:24:46 +00:00
naddy
2c4204cf62 remove SHARED_ONLY from simple ports that use the gettext or libiconv module 2016-03-18 21:38:22 +00:00
sthen
52c2138dbd update to asterisk-13.7.2, regression fix with pjsip realtime (probably not
all that widely used yet)
2016-02-25 00:42:50 +00:00
sthen
d23b04c1f7 security update to asterisk-13.7.1 (if anyone has time to look at
pulling -stable up to 11.21.1, that would be appreciated..)

BEAST vulnerability in HTTP server
http://downloads.digium.com/pub/security/AST-2016-001.html

File descriptor exhaustion in chan_sip
http://downloads.digium.com/pub/security/AST-2016-002.html

Remote crash vulnerability when receiving UDPTL FAX data.
http://downloads.digium.com/pub/security/AST-2016-003.html
2016-02-04 02:56:29 +00:00
sthen
1286d9c954 update to Asterisk 13.7.0 2016-01-16 14:21:53 +00:00
espie
d4de7a9fac don't assume FILESDIR has consistent modes
okay sthen@
2015-10-31 11:28:57 +00:00
sthen
981d86d970 sync WANTLIB (curl+nghttp2) 2015-10-30 12:59:16 +00:00
sthen
522c11d2dc tweaks to asterisk port: fix copy-and-pasto in COMMENT-tds, tidy Makefile 2015-10-15 13:16:50 +00:00
sthen
745a7019a8 update to asterisk-13.6.0
this is a major update - upgrading users should review UPGRADE-12.txt and
UPGRADE.txt in /usr/local/share/doc/asterisk. some configurations will work
unchanged, but there have been big changes in other areas, notably AMI,
CDR and CEL.
2015-10-12 22:07:28 +00:00
sthen
ea0f321243 update to asterisk-11.20.0 2015-10-10 19:58:47 +00:00
sthen
6d87b84c90 cope with pexp tightening in rc.subr r1.99, reported by sebastia@ 2015-09-21 14:10:21 +00:00
sthen
a7b01e47e2 update to asterisk-11.18.0 2015-06-08 08:44:52 +00:00
espie
2ace40bfb8 don't depend on modes in the ports tree being what we want installed 2015-05-08 09:08:44 +00:00