164 Commits

Author SHA1 Message Date
sthen
bfddeb4fc0 move asterisk to 18.1.0 from the 18.x LTS branch.
IMAP voicemail has moved from building all of Asterisk with a separate
build option (with imap files linked to the main binaries) to a separate
module which can be switched in config. (Only one voicemail module is
allowed at a time, if you have multiple of these installed you can
select between them with noload in modules.conf).

Quirks doesn't handle a flavour moving to unflavoured+subpackage; use
@ask-upgrade so that users of the imap flavour (and only them) are
warned about this at update time.
2020-12-16 23:57:26 +00:00
sthen
add9e763bb update to asterisk-16.15.0 2020-11-20 12:38:53 +00:00
sthen
a1c0efce36 Update to Asterisk 16.14.1, fixing two issues with res_pjsip (both
requiring authenticated sessions to trigger):

AST-2020-001: Remote crash in res_pjsip_session
AST-2020-002: Outbound INVITE loop on challenge with different nonce
2020-11-06 09:05:51 +00:00
sthen
5a89463f17 asterisk: update the description around -fblocks failing on clang arches,
patch and tweak the port Makefile to make it easier to test this
2020-09-12 19:35:37 +00:00
sthen
8220ecbd7a update to asterisk-16.13.0 2020-09-04 21:22:41 +00:00
sthen
b3cf84d6d1 update to asterisk-16.12.0 2020-07-20 13:37:02 +00:00
sthen
9aeeb6c36e update to asterisk-16.11.0, drop an old LIBRESSL_VERSION_NUMBER ifdef around DTLS_method 2020-06-11 14:33:49 +00:00
sthen
3ad0144521 update to asterisk-16.10.0 2020-05-14 11:42:48 +00:00
sthen
1e8de19e94 telephony/asterisk: Add a subpackage for Lua dialplan support, use
CONFIGURE_STYLE=autoreconf, explicitly set --with-foo=no for some of the
newer build options.
2020-04-08 22:10:50 +00:00
sthen
0444d86f0b update to asterisk-16.9.0 2020-03-29 15:42:27 +00:00
sthen
ff0be9f1de update to asterisk-16.8.0 2020-02-06 16:21:42 +00:00
sthen
835fa8ff45 asterisk port tweaks:
- use getthrid to record TID (this is displayed following the opaque thread
id in "core show threads", and is useful to match against top -H output)

- provide a -kqueue package for res_timing_kqueue (previously @comment'ed
out). Normally a pthread-backed timer is used in the package; the kqueue-backed
timer is built by default but has had problems on OpenBSD in the past so is
@comment'ed out. I wouldn't consider this production ready on OpenBSD (lots
of "kqueue_timer_ack: [18]: Missed 1" at least on a kernel with standard HZ)
but I'd like to have it more easily available for experimentation, hence
adding the package.
2020-01-19 21:35:24 +00:00
sthen
6e661c5d99 update to asterisk-16.7.0 2019-12-27 13:27:50 +00:00
sthen
e83c04f1e0 update to asterisk-16.6.1, with an ugly ns_t_xxxx -> T_XXXX patch
added for our old arpa/nameser.h (there's a similar one in pciutils).
2019-10-16 22:50:30 +00:00
sthen
8242e664b6 Add patches from https://gerrit.asterisk.org/c/asterisk/+/12895 reverting
a pjproject change that caused a memory leak with TLS in chan_pjsip. Found by
Mark Patruck and diagnosed by him with upstream.
2019-09-25 11:39:15 +00:00
sthen
b6eeb0b3c7 update to asterisk-16.4.0 2019-05-31 10:36:27 +00:00
sthen
6d77c57cfb update to asterisk-16.3.0 2019-04-18 19:10:06 +00:00
sthen
9617b9623f update to asterisk-16.2.0 2019-02-15 22:52:15 +00:00
sthen
8bbe7e680f sort LIB_DEPENDS-main. fix some 64-bit time_t issues on 32-bit arches. 2019-02-12 22:56:35 +00:00
sthen
6fb185fdc8 update to Asterisk 16.1.1 from the new 16.x LTS branch
changes aren't too extreme, but upgrading users should review upgrade notes
in /usr/local/share/doc/asterisk (UPGRADE-14.txt, UPGRADE-15.txt, UPGRADE.txt).
2019-01-29 23:40:02 +00:00
sthen
7cc71a17b5 Fix MWI for voicemail in asterisk; patch from upstream via Mark Patruck
https://issues.asterisk.org/jira/browse/ASTERISK-28215
2018-12-20 17:02:23 +00:00
sthen
440ebb3232 update to asterisk-13.24.0 2018-12-12 10:52:13 +00:00
sthen
906e611ee5 avoid 'asterisk: vfprintf %s NULL in "%.*s %.*s/%u%s%.*s"' noticed by landry@ 2018-11-10 16:57:43 +00:00
sthen
69961a77e1 update to asterisk-13.23.0
- update comments in pjlib's sock_ossl.c, we do now have
SSL_set1_curves/SSL_CTX_set1_curves but still not SSL_get_shared_curve,
SSL_set1_{client_,}sigalgs_list
2018-09-06 13:32:00 +00:00
sthen
aee6279ab9 update to asterisk-13.22.0 2018-07-18 08:47:28 +00:00
sthen
248dbaa207 missed cvs add for some long long time_t fixes in pjsip 2018-05-03 21:11:41 +00:00
sthen
33c17030a7 update to asterisk-13.21.0 2018-05-03 21:10:49 +00:00
sthen
fd223b54a2 bugfix update to Asterisk 13.20.0, some security-related
https://www.asterisk.org/downloads/asterisk-news/asterisk-13200-now-available
2018-03-15 23:00:19 +00:00
sthen
228e7320e0 fix build on base-gcc architectures; it was failing there because /usr/local
is not in the header search path on base-gcc, whereas it is on ports-gcc.

thanks to Diana Eichert for the report (testing on octeon).
2018-02-08 22:23:02 +00:00
sthen
dba14465bc Fix asterisk build on a clean system, reported by ajacoutot@.
Problem was due to an OPENSSL_VERSION_NUMBER 0x1010... check in a .so.
2018-01-15 09:43:45 +00:00
sthen
fe984140a9 update to asterisk-13.19.0 2018-01-14 13:11:48 +00:00
sthen
8c273f49e0 update to Asterisk 13.18.2 2017-11-11 15:19:10 +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
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
sthen
dc5ed179ec update to asterisk-13.17.0 2017-07-12 19:55:29 +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
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
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
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
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
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
sthen
969d45532e update to asterisk-13.9.0 2016-05-09 16:07:13 +00:00
sthen
4f40ab2aa2 update to asterisk-13.8.0 2016-03-29 23:24:46 +00:00
sthen
1286d9c954 update to Asterisk 13.7.0 2016-01-16 14:21:53 +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