Commit Graph

1040 Commits

Author SHA1 Message Date
sthen
22e4e26ebe fix previous, dpb didn't like it 2020-12-16 21:51:02 +00:00
sthen
cd79c00252 asterisk: tweak the -fblocks/BlocksRuntime setup after another
failed attempt to get this working with clang
2020-12-16 17:57:08 +00:00
bluhm
c0e082a284 update p5-Net-SIP to 0.826 2020-12-11 21:29:53 +00:00
sthen
28f1191a5a asterisk: AST.pdf is no more, replace the reference in pkg-readme with a
link to the official documentation wiki.
2020-11-25 14:11:17 +00:00
bluhm
e74f4f0082 p5-Net-SIP to 0.825 2020-11-24 15:46:17 +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
ef361aa4e1 update to asterisk-16.14.0 2020-10-20 13:48:04 +00:00
ian
5efc598563 Add 6.8 song.
"...But two years go by and still my light's on
This is hard for me to say, but this is all that I can take

It's the last song I'll ever write for you
It's the last time that I'll tell you just how much I really care
This is the last song I'll ever sing for you..."
2020-10-18 16:02:16 +00:00
naddy
f53d54c834 Update to 0.8.3 and take maintainer.
Changes:
- mostly bugfixes and performance improvements

New plugins:
- plugin_stats: write some statistics about currently active calls
- plugin_blacklist: new plugin to block UACs that cause excessive
  failures during REGISTER attempts
2020-10-02 19:22:09 +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
feinerer
455a84983e Update to coturn 4.5.1.3 2020-08-15 05:11:03 +00:00
sthen
f3c2287b93 update email address 2020-08-01 11:23:05 +00:00
sthen
7dbd3bd68c asterisk: disable libvpx, which is enabled by default in the newer version
of pjsip used by asterisk 16.12.0.

The Asterisk port can't use anything which pulls in libc++ libraries
because (unless someone can fix -fblocks in clang) it has to build with
gcc/libestdc++ resulting in conflicting libraries.
2020-07-21 19:42:34 +00:00
sthen
b3cf84d6d1 update to asterisk-16.12.0 2020-07-20 13:37:02 +00:00
sthen
6cc9779250 switch my maintainer email addresses to my own domain 2020-07-11 22:54:35 +00:00
semarie
9c2a6809e3 update telephony/py-phonenumbers to 8.12.6
ok @robert
reviewed by Renaud Allard
2020-07-05 09:50:46 +00:00
sthen
95d31a4bd8 bump for search.cpan.org->metacpan.org change 2020-07-03 21:44:29 +00:00
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
sthen
e2509cc689 iaxclient: honour CC in Tcl build parts, from Brad 2020-06-21 13:58:47 +00:00
sthen
a80843a253 update to asterisk-16.11.1
* res_ari: Fix create channel request channelId parameter parsing
If channelId parameters were passed in the body, Asterisk doesn't parse
it correctly.
2020-06-17 19:51:33 +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
jasper
39567b34b2 bump after libxslt dependency changed 2020-06-09 07:14:44 +00:00
naddy
9200ae0c0e Just use arc4random() and skip the whole convoluted and incomplete
attempt to read architecture or OS-specific timers or random values
to seed srandom().  Fixes the build on non-x86.  ok feinerer@
2020-06-04 20:50:39 +00:00
feinerer
86663035ae +resiprocate 2020-05-29 21:59:46 +00:00
feinerer
dc2c24d771 Import reSIProcate stack, repro, and reTurn 1.12.0
The reSIProcate components, particularly the SIP stack, are in use in both
commercial and open-source products. The project is dedicated to maintaining a
complete, correct, and commercially usable implementation of SIP and a few
related protocols.

repro is an open-source, free SIP server which provides SIP proxy, registrar,
redirect, and identity services.

reTurn is a highly efficient C++ open-source STUN/TURN server and client
library. It is an implementation of the latest STUN/TURN RFCs: RFC5389 (STUN),
and RFC5766 (TURN).

OK sthen@
2020-05-29 21:41:23 +00:00
feinerer
e7c073ddc2 Update to coturn 4.5.1.2 2020-05-17 10:14:53 +00:00
sthen
3ad0144521 update to asterisk-16.10.0 2020-05-14 11:42:48 +00:00
sthen
28dcd86359 iaxclient: stop trying to use functions which were removed from ffmpeg
some time ago. They were causing the build to fail on arch using a linker
which cares about such things as the functions existing, and would have
caused crashes if the relevant code was actually called on other arches
(I guess this port is not really very widely used..)

Diff from Brad, I merged with newer commit.
2020-04-16 08:51:57 +00:00
ratchov
0c6c28c32c Use /dev/null instead of /dev/mixer
Ports using -lossaudio still call open(2) to get a file descriptor.
They don't need it to change the volume, but expect various syscalls
to succeed. Using /dev/null ensures programs will continue to work
once /dev/mixer is disabled.

"go ahead" landry@ and naddy@
2020-04-16 06:45:19 +00:00
kmos
121530e87e Mark iaxclient broken for sparc64 like it is for aarch64. The same
linking error keeps it from building.

ok sthen@
2020-04-15 16:31:15 +00:00
sthen
e27905a880 mark BROKEN-aarch64; linker error, undefined refs to
avcodec_encode_video and avcodec_alloc_frame.

strangely, though aarch64 *only* uses LLD, the same failure can be
reproduced on amd64 by forcing ld.bfd (USE_LLD=No).
2020-04-14 21:57:14 +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
jca
7153b5feef Support clang/sparc64 combination
So much knowledge hardcoded in those Makefiles...
2020-04-06 14:48:59 +00:00
sthen
0444d86f0b update to asterisk-16.9.0 2020-03-29 15:42:27 +00:00
sthen
23a72bc428 astmanproxy: update to a very slightly newer version, switch from self-rolled tarball
to GH_*, tidy makefile and patches. (there's a slightly more active fork that fixes a
few things but needs fixing to not use gnu extensions :/)
2020-03-20 10:51:21 +00:00
cwen
a5ab1402d3 pjsua: fix packaging on gcc archs
Implicit MODGCC4_CPPLIBDEP in LIB_DEPENDS is not inherited by
LIB_DEPENDS-*, despite COMPILER_LIBCXX being in WANTLIB-*, so
it's needed to add it.

OK sthen@
2020-02-13 22:31:04 +00:00
sthen
4cba0d4501 register @conflicts; from Mikolaj Kucharski 2020-02-11 20:48:30 +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
1564f161cb add a maintainer/debug convenience target to make it easier to adjust
internal debug options via "make menuselect" (dep on configure, set user
to _pbuild as needed)
2020-01-16 21:24:19 +00:00
sthen
03aaa26071 - update to pjsip/pjsua 2.9
- stop using CC -lstdc++ to link, use CXX instead
2020-01-10 13:37:46 +00:00
bluhm
0999a3517b update p5-Net-SIP to 0.822 2020-01-01 23:51:22 +00:00
sthen
6e661c5d99 update to asterisk-16.7.0 2019-12-27 13:27:50 +00:00
semarie
dbac6efb96 update telephony/py-phonenumbers to 8.11.0
ok kmos@
2019-12-10 18:40:49 +00:00
kmos
e706e9e3cd Move tests to MODPY_PYTEST. This gives us 322 regression tests rather
than only 26.
2019-12-02 05:20:32 +00:00
sthen
24b80aca08 update to asterisk-16.6.2
AST-2019-006: SIP request can change address of a SIP peer.
AST-2019-007: AMI user could execute system commands.
AST-2019-008: Re-invite with T.38 and malformed SDP causes crash.
2019-11-21 23:52:49 +00:00
sthen
8ce0336022 add debug packages 2019-11-11 21:25:19 +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
a9c609a2de Add the extra pjsip patchset *before* running the asterisk script
to apply it... the previous commit to fix a memory leak with TLS in
chan_pjsip was not actually being applied. Reported by Mark Patruck.
2019-10-16 11:14:56 +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
9078831c42 update to asterisk-16.5.1
AST-2019-004 Crash when negotiating for T.38 with a declined stream (res_pjsip_t38.c)
AST-2019-005 Remote Crash Vulnerability in audio transcoding (bug introduced in 16.5.0)
2019-09-05 20:06:34 +00:00
sthen
b826c4558c update to Asterisk 16.5.0 2019-07-25 22:23:39 +00:00
danj
5171d0cdfa Remove unresponsive maintainers
If somebody is removed who actually wants maintainer and either
didn't receive the mail, or didn't bother to reply to it, they are
free to send a diff to reinstate.

ok sthen@, jca@
2019-07-17 14:39:42 +00:00
naddy
ae1cb22cb2 Switch to PERMIT_(DISTFILES|PACKAGE).
CDROM restrictions are no longer applicable.
2019-07-14 02:16:50 +00:00
naddy
7ab397505a Switch to PERMIT_PACKAGE. CDROM restrictions are no longer applicable. 2019-07-14 00:39:34 +00:00
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
sthen
b1a64774ed update to asterisk-16.4.1
AST-2019-002: Remote crash vulnerability with MESSAGE messages:
A specially crafted SIP in-dialog MESSAGE message can cause Asterisk to crash.

AST-2019-003: Remote Crash Vulnerability in chan_sip channel driver:
When T.38 faxing is done in Asterisk a T.38 reinvite may be sent to an
endpoint to switch it to T.38. If the endpoint responds with an improperly
formatted SDP answer including both a T.38 UDPTL stream and an audio or video
stream containing only codecs not allowed on the SIP peer or user a crash will
occur. The code incorrectly assumes that there will be at least one common
codec when T.38 is also in the SDP answer.
2019-07-12 15:56:20 +00:00
sthen
fb7f4374ad sync WANTLIB 2019-07-05 11:52:59 +00:00
ajacoutot
8b083afcea Update to py-phonenumbers-8.10.13. 2019-06-16 08:57:48 +00:00
sthen
f548d95863 sync some WANTLIBs 2019-06-13 15:48:50 +00:00
sthen
9c6e9626b9 s/PERMIT_PACKAGE_CDROM/PERMIT_PACKAGE/ and some light whitespace tidying
in ports which I maintain
2019-06-03 16:06:50 +00:00
sthen
b6eeb0b3c7 update to asterisk-16.4.0 2019-05-31 10:36:27 +00:00
naddy
ebf751b927 Update gettext to 0.20.1.
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext       -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new)                  devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
naddy
b08772880b switch to CONFIGURE_STYLE=autoreconf 2019-05-20 04:47:01 +00:00
naddy
0819fd513b switch to CONFIGURE_STYLE=autoreconf 2019-05-19 11:26:24 +00:00
lteo
8427d985fa Drop maintainership 2019-05-12 02:08:29 +00:00
lteo
1a2100ddb8 Drop maintainership 2019-05-12 02:08:13 +00:00
jca
cd38495cdf Yet another boring cp -a patch removed 2019-05-07 20:08:52 +00:00
feinerer
38b26098e2 Update to coturn 4.5.1.1 2019-05-02 11:43:10 +00:00
sthen
e8e4466b38 just set COMPILER=ports-gcc for asterisk/asterisk-g729 (dropping base-gcc). 2019-05-01 23:04:59 +00:00
sthen
42dc443195 Use ld.bfd to link math/py-scipy and telephony/asterisk on i386, like gcc/8
itself they fail with "has non-ABS relocation R_386_GOTOFF against symbol XXX"
with LLD.

Mention these ports in the comment in lang/gcc/8/Makefile.
2019-05-01 12:12:24 +00:00
naddy
3e042ba62d Bump all ports that depend on ports-gcc on the clang archs.
SYSTEM_VERSION didn't quite work out how we expected and it's
easier|safer to do it this way than fiddle with pkg_add now.
2019-04-28 21:08:26 +00:00
sthen
d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00
sthen
86852bcf6e reset unresponsive maintainers, various porters have spent a bunch of
time waiting for timeouts over the last year or more for many of these
ports.  ok danj@ jca@ kmos@
2019-04-24 16:26:54 +00:00
sthen
6d77c57cfb update to asterisk-16.3.0 2019-04-18 19:10:06 +00:00
semarie
fb5d96ab85 update to 8.10.10
OK kmos@
2019-04-17 15:24:15 +00:00
sthen
532a34cb8e typo in DESCR-pjsua; from Eddie Thieda 2019-04-04 10:38:57 +00:00
sthen
b6fc1b19f7 update to asterisk-16.2.1
* AST-2019-001: Remote crash vulnerability with SDP protocol violation
When Asterisk makes an outgoing call, a very specific SDP protocol violation
by the remote party can cause Asterisk to crash.

https://issues.asterisk.org/jira/browse/ASTERISK-28260
2019-03-01 00:18:25 +00:00
semarie
17cebf0673 update py-phonenumbers to 8.10.4
diff from Linda Lapinlampi linda at lindalap fi

while here take maintainership
2019-02-22 07:18:38 +00:00
sthen
976fe91882 clean up ffmpeg dep's, from Brad. 2019-02-21 22:37:58 +00:00
bluhm
4cd6f786f5 update p5-Net-SIP to 0.820 2019-02-20 13:31:57 +00:00
ajacoutot
67dc100f2a Update for newer FFmpeg API.
from Brad
2019-02-18 10:05:39 +00:00
sthen
9617b9623f update to asterisk-16.2.0 2019-02-15 22:52:15 +00:00
sthen
b009ff9992 update to pjsip/pjsua 2.8, supporting newer libsrtp 2019-02-15 22:31:08 +00:00
sthen
1defc17282 srtp is now a shared lib 2019-02-15 22:30:39 +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
8ef430b93b build for asterisk 16.x 2019-01-29 23:40:14 +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
b9953e1497 update to asterisk-13.24.1
the backported patch is retained for now, the issue it's fixing won't be
fixed upstream until 13.25.0, thanks Mark Patruck for testing.
2019-01-01 23:00:29 +00:00
naddy
af59bb7b3f add the 6.2 song 2018-12-21 21:27:44 +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
jca
56dac1eaf5 Remove iaxcomm subpackage
iaxcomm doesn't build with wxWidgets3, not very surprising since the
last beta release was in 2008.

Maintainer timeout, ok kn@ rsadowski@ sthen@
2018-12-17 01:08:29 +00:00
sthen
440ebb3232 update to asterisk-13.24.0 2018-12-12 10:52:13 +00:00
bluhm
18ee95825e update p5-Net-SIP to 0.818 2018-11-30 00:27:48 +00:00
jca
bb716a9608 +py-phonenumbers
+py-phonenumbers,python3
2018-11-16 08:50:45 +00:00
jca
b7512aad02 Import py-phonenumbers, python port of Google's libphonenumber library
from semarie@, ok danj@

This is a Python port of Google's libphonenumber library (original code
in Java).  Among other features it provides phone number validation,
standardized formatting, and informations like location and original
carrier.
2018-11-16 08:48:52 +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
bluhm
5628908a9b update p5-Net-SIP to 0.816
from wen heping
2018-11-07 17:52:43 +00:00
sthen
71e92fb0b1 most post-patch to do-gen 2018-11-05 17:24:32 +00:00
kn
87b1a271fe Update to baresip 0.5.11
From semarie, OK feinerer
2018-10-28 10:46:02 +00:00
sthen
25f0e460f2 Add COMPILER lines to c++ ports which currently use the default. Adjust
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.

This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -

- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.

- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.

devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
2018-10-24 14:27:57 +00:00
sthen
50ca521d56 update to asterisk-g729-1.4.3 2018-10-16 12:37:13 +00:00
sthen
faba394441 update to asterisk-13.23.1
AST-2018-009: Fix crash processing websocket HTTP Upgrade requests
https://downloads.asterisk.org/pub/security/AST-2018-009.pdf
2018-09-20 22:19:09 +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
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
feinerer
435cb0d934 Update to baresip 0.5.10 2018-08-03 12:20:06 +00:00
feinerer
7783f7a86b Update to libzrtp git head of 2018-06-17 2018-07-22 17:36:13 +00:00
sthen
aee6279ab9 update to asterisk-13.22.0 2018-07-18 08:47:28 +00:00
bluhm
eb8777142a update p5-Net-SIP to 0.815 2018-06-23 16:24:01 +00:00
sthen
fd7f669da3 update to asterisk-13.21.1
AST-2018-007: Infinite loop when reading iostreams

When connected to Asterisk via TCP/TLS if the client abruptly
disconnects, or sends a specially crafted message then Asterisk
gets caught in an infinite loop while trying to read the data stream.
Thus rendering the system as unusable.

AST-2018-008: PJSIP endpoint presence disclosure when using ACL

When endpoint specific ACL rules block a SIP request they respond with
a 403 forbidden. However, if an endpoint is not identified then a 401
unauthorized response is sent. This vulnerability just discloses which
requests hit a defined endpoint. The ACL rules cannot be bypassed to
gain access to the disclosed endpoints.
2018-06-12 15:52:03 +00:00
feinerer
b0f3ecaaea Update to baresip 0.5.9
Tweaks and "go for it" sthen@
2018-05-07 07:22:54 +00:00
feinerer
1e7d5c1428 Update to librem 0.5.3
"go for it" sthen@
2018-05-07 07:20:16 +00:00
feinerer
a1179bbd33 Update to libre 0.5.8
"go for it" sthen@
2018-05-07 07:18:39 +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
naddy
986cd9a0da explicitly link with libpthread to satisfy lld 2018-05-02 19:26:54 +00:00
naddy
54ab563b72 explicitly link with libpthread to satisfy lld 2018-05-02 19:21:53 +00:00
naddy
00094af4c3 char cannot hold the return value of getopt() 2018-04-25 20:13:04 +00:00
feinerer
4839ad22fd Update to libzrtp git head of 2017-09-26
Diff from Thomas Frohwein, ok sthen@
2018-04-03 05:02:06 +00:00
sthen
3cf0e453d4 security update kamailio to 5.0.6: pre-authentication heap overflow in
handling From:

- fix berkeley db utilities and kamctl "shift: nothing to shift",
reported by feinerer@, from maintainer Roman Kravchuk

- fix runtime TLS failure, undefined symbol OPENSSL_zalloc,
from maintainer

- remove some dead patches follow switch to clang, from me

(there was an earlier update to 5.1.x from maintainer earlier this
month which I missed pushing earlier and it's too close to release now;
this is planned for post-6.3)
2018-03-20 22:03:35 +00:00
sthen
0dca8747e3 remove junk asterisk.conf.old file from plist, which caused clean builds to
fail, reported by naddy@.

set COMPILER_LANGS=c while there, the GNU compiler is only used for C nested
functions (because I still have no ideas about the BlocksRuntime with clang),
c++ is not needed.
2018-03-16 20:57:09 +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
feinerer
95ce696470 Update to baresip 0.5.8
Testing and OK landry@
2018-03-11 18:48:59 +00:00
feinerer
069d1c0b86 Update to libre 0.5.7
Testing and OK landry@
2018-03-11 18:46:45 +00:00
bluhm
c96a20c61d update p5-Net-SIP to 0.814 2018-03-05 14:27:54 +00:00
sthen
720878bd28 update to asterisk-13.19.2
AST-2018-002: Crash when given an invalid SDP media format description
AST-2018-003: Crash with an invalid SDP fmtp attribute
AST-2018-004: Crash when receiving SUBSCRIBE request
AST-2018-005: Crash when large numbers of TCP connections are closed suddenly
AST-2018-006: WebSocket frames with 0 sized payload causes DoS

(only 15.x reported as affected by AST-2018-001)
2018-02-21 22:37:41 +00:00
sthen
7642a36137 undo bad sync, these files are both patched and modified by sed in pre-configure 2018-02-20 08:30:06 +00:00
sthen
94a8b7debf unbreak; we have most of the new BIO_meth_* calls this uses, except for
BIO_meth_set_callback_ctrl(). however in this case it is just setting the
callback pointer to NULL, and BIO_meth_new() already returns zeroed space,
so just skip that for now.
2018-02-19 22:43:28 +00:00
sthen
d630993839 sync; no change 2018-02-19 22:18:37 +00:00
sthen
db6eb2c55b update to asterisk-13.19.1 2018-02-13 21:42:45 +00:00
sthen
9bd2631cfd update to asterisk-extra-sounds-1.5.2 2018-02-13 01:10:20 +00:00
sthen
77cc2c59b1 update to asterisk-core-sounds 1.6.1, now with en_NZ voice prompts 2018-02-13 01:09:14 +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
b2881b08d2 Fix a bad subst in the simplified sample of extensions.conf.
Fix #! line for bash in astversion. Not forced in RUN_DEPENDS because in all
the time this has been present only one person noticed, so the script doesn't
seem too popular. (Script also makes some assumptions about library versions
which don't apply here but I don't think it's worth poking at this too far).

Reported by landry@
2018-01-21 20:59:18 +00:00
sthen
7487cad718 use asterisk's github mirror of pjproject tarball as the primary download
site for that
2018-01-15 11:48:48 +00:00
sthen
98a2c2b056 don't pick up bcg729 if present, it breaks build of the internal copy of pjproject
(other codecs are already disabled in the pjproject build, it's only used for sip
signalling - asterisk has its own codec stack, this doesn't affect use of the
asterisk-g729 package).
2018-01-15 11:45:04 +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
fb7c52b737 update to asterisk-g729-1.4.2 2018-01-13 01:07:01 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
bentley
93f5867e25 Switch openbsd.org URLs to https. 2018-01-04 06:15:08 +00:00
sthen
5b1f08dc4c update to Asterisk 13.18.5
AST-2017-012: Remote Crash Vulnerability in RTCP Stack

If a compound RTCP packet is received containing more than one report
(for example a Receiver Report and a Sender Report) the RTCP stack
will incorrectly store report information outside of allocated memory
potentially causing a crash.

AST-2017-014: Crash in PJSIP resource when missing a contact header

A select set of SIP messages create a dialog in Asterisk. Those SIP
messages must contain a contact header. For those messages, if the
header was not present and using the PJSIP channel driver, it would
cause Asterisk to crash. The severity of this vulnerability is somewhat
mitigated if authentication is enabled. If authentication is enabled a
user would have to first be authorized before reaching the crash point.
2017-12-24 19:37:16 +00:00
feinerer
30842085a4 +coturn 2017-12-23 17:59:29 +00:00
feinerer
55fb2f7e1d Import coturn TURN server 4.5.0.7
The TURN Server is a VoIP media traffic NAT traversal server and gateway.

Tweaks and OK sthen@
2017-12-23 17:55:38 +00:00
sthen
767a3645bf update to Asterisk 13.18.3; fix problem with chan_skinny (SCCP protocol)
which missed a pthread_detach().
2017-12-06 14:22:39 +00:00
bluhm
7b0dece0d9 update p5-Net-SIP to 0.812 2017-11-23 14:50:49 +00:00
naddy
1a87aebd2d mechanical replacement of the gettext module 2017-11-21 00:12:59 +00:00
bluhm
223a7e7696 update p5-Net-SIP to 0.811 2017-11-14 18:01:57 +00:00
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
naddy
7c32ef7b4e replace gettext module 2017-11-04 21:48:06 +00:00
feinerer
0141d1b3e0 Update to baresip 0.5.6
Tweaks and OK by czarkoff@
2017-10-30 17:24:36 +00:00
feinerer
9078ee07f7 Update to librem 0.5.2
OK czarkoff@
2017-10-30 17:22:21 +00:00
sthen
cd095cec5e Handle pthread-stubs removal. 2017-10-23 17:11:02 +00:00
naddy
0051479fb8 fix @conflict; from sthen@ 2017-10-01 18:54:27 +00:00
feinerer
ecb9c9336c Update to baresip 0.5.5
"go ahead" czarkoff@
2017-09-22 07:26:48 +00:00
feinerer
ee59d45680 Update to re 0.5.5
"go ahead" czarkoff@
2017-09-22 07:25:26 +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
a4baca8c98 update to kamailio-5.0.3 and fix loading modules linked with srdb1, srdb2,
trie, srutils on clang arches, from Roman Kravchuk (maintainer)
2017-09-21 09:34:32 +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
sthen
ef00c34068 update to asterisk-sounds-1.5.1 2017-08-22 10:34:56 +00:00
espie
7737872aef rework COMPILER yet again. new version should be easier to grasp 2017-08-22 10:27:33 +00:00
jca
f58815bf3b Give this a chance to build on sparc64 (and maybe others)
Same duktape header fix as with textproc/calibre.
ok Roman Kravchuk (maintainer)
2017-08-10 18:40:21 +00:00
bluhm
e34af38dd8 update p5-Net-SIP to 0.810 2017-08-10 14:07:34 +00:00
sthen
2c2ce3ad7c update to asterisk-g729-1.4.1
switch to COMPILER=gcc-only to unbreak
2017-08-06 20:10:25 +00:00
sthen
bd76691f90 update to bcg729-1.0.2 2017-08-06 20:09:40 +00:00
sthen
130bbb1e22 drop maintainer 2017-08-05 12:31:01 +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
51ebbbda91 update to iaxmodem-1.3.0, unbreaks on clang i386 build (mmx problems) 2017-07-27 18:45:41 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
sthen
5fb4890bc9 update to asterisk-core-sounds-*-1.6 2017-07-19 15:07:38 +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
5cb3f5aa7d patch Kamailio's kamcmd to use arc4random, from Roman Kravchuk (maintainer)
enable radius support, from me, ok maintainer
2017-07-04 08:29:27 +00:00
sthen
48517581e2 update to Kamailio 5.0.2, from maintainer Roman Kravchuk,
plus minor wantlib cleanup by me
2017-07-03 22:14:20 +00:00
czarkoff
0b53fbaf8f update libzrtp 2017-06-28 10:26:44 +00:00
czarkoff
a16b369c81 update to baresip 0.5.4 2017-06-28 10:20:25 +00:00
czarkoff
97e6954ae4 update to re-0.5.4 2017-06-28 10:20:08 +00:00
sthen
0981641541 update to stuntman-1.2.13, from maintainer Roman Kravchuk 2017-06-22 15:52:46 +00:00
czarkoff
c16a8c14d7 Fix linking in libzrtp
REVISION bump in baresip to force update
2017-06-13 08:02:57 +00:00
czarkoff
c6250f2d25 undo partial commit 2017-06-13 07:57:18 +00:00
czarkoff
f57daeea6b Fix linking in libzrtp
REVISION bump in baresip to force update
2017-06-13 07:50:51 +00:00
czarkoff
e33bdfff0f Update to baresip-0.5.3, rem-0.5.1, re-0.5.3
While at it, disable Daala support, as corresponding module is not being
updated upstream.
2017-06-08 14:29:37 +00:00
czarkoff
a493bb5cc4 update to libzrtp-0.20170606
In the process:

 * change upstream to https://github.com/juha-h/libzrtp
 * remove patches that are already integrated by upstream
 * avoid hidden dependency on doxygen
2017-06-08 14:27:47 +00:00
ajacoutot
7995708f3c Bring rc_bg back. 2017-05-27 19:57:05 +00:00
ajacoutot
958bb491e0 I forgot the bump commit... 2017-05-27 13:55:58 +00:00
ajacoutot
13730769c8 Cope with recent rc.subr(8) change (removal of rc_bg etc.) 2017-05-27 13:53:06 +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
espie
944532d42b tweak makefile so that we can substitute -lcompiler_rt for -lgcc
fixes build with clang
2017-05-13 01:52:38 +00:00
sthen
3427d66e85 Oops, remove BUILD_DEPENDS which causes a loop because asterisk RUN_DEPENDS
on some of the sound files. Reported by dhill.
2017-05-12 14:19:50 +00:00
sthen
170b8248fb set BUILD_DEPENDS on telephony/asterisk, there's no point packaging these
(fairly large) sound files on arch where asterisk doesn't work.
2017-05-10 10:58:36 +00:00
espie
8d860230fd adjust distinfo post DISTFILES change 2017-05-06 15:10:17 +00:00
ian
006fe90472 Add 6.1 song. 2017-04-26 20:34:32 +00:00
sthen
56539fb322 remove -I- (deprecated in gcc, not available in clang). change preceding -I to -iquote. 2017-04-12 11:59:25 +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
bluhm
bec9da1fd7 update p5-Net-SIP to 0.809 2017-03-16 16:22:53 +00:00
espie
9a9e652da7 better fix, don't commit before coffee
thx aja@
2017-03-07 14:22:15 +00:00
espie
cde35580d8 no idea where this g++ comes from but it's easy to fix 2017-03-07 12:49:35 +00:00
sthen
db780cda19 honour CC 2017-02-26 20:07:40 +00:00
sthen
035ece38c3 update to asterisk-13.14.0 2017-02-14 12:31:38 +00:00
czarkoff
1abf328642 Update to re-0.5.1
No SHLIB bump because there are no changes in API.
2017-02-12 11:15:51 +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
naddy
c4adeeb218 add one more 6.0 song 2017-01-07 15:22:00 +00:00
sebastia
b89fd42f26 a memcpy -> memmove transition to prevent an abort, observed with
coccinella IAX client.

OK sthen@
2017-01-02 12:56:06 +00:00
czarkoff
5fd3b0381e Update to baresip 0.5.0 2016-12-26 14:53:25 +00:00
bluhm
e14faec992 update p5-Net-SIP to 0.808 2016-12-13 22:29:00 +00:00
sthen
cb837b9a3e update to asterisk-13.13.1 2016-12-10 12:25:44 +00:00
bluhm
d3742823c5 update p5-Net-SIP to 0.807 2016-12-07 12:47:10 +00:00
bluhm
288ac03425 update p5-Net-SIP to 0.805 2016-12-05 15:00:13 +00:00
bluhm
455efcec33 update p5-Net-SIP to 0.803 2016-12-05 13:40:40 +00:00
czarkoff
45efb3df5f Update to rem-0.5.0 2016-12-03 10:13:06 +00:00
sthen
cc0e54003c update to asterisk-13.13.0 2016-11-29 13:57:49 +00:00
bluhm
04aa77cee7 update p5-Net-SIP to 0.802 2016-11-25 21:49:03 +00:00
czarkoff
4baa74075a Update re to 0.5.0 2016-11-25 21:26:26 +00:00
bluhm
60f84a921e update p5-Net-SIP to 0.801
support for TLS
warning: partly incompatible API changes
2016-11-25 18:48:24 +00:00
bluhm
ff0d913361 update p5-Net-SIP to 0.703 2016-11-21 15:54:38 +00:00
bluhm
3ca60d769f update p5-Net-SIP to 0.702 2016-11-18 14:48:37 +00:00
bluhm
bd0738dae3 update p5-Net-SIP to 0.701
warning: major API changes
2016-11-18 00:00:21 +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
04ce4c6b75 WANTLIB += lzma and bump 2016-11-08 14:23:59 +00:00
bluhm
f9b12e1341 update p5-Net-SIP to 0.691 2016-11-07 15:14:24 +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
bluhm
e36285e2d3 update p5-Net-SIP to 0.690 2016-10-30 23:13:02 +00:00
sthen
6d4b6e5f02 update to asterisk-13.12.1 2016-10-29 19:21:13 +00:00
bluhm
3db5f291da update p5-Net-SIP to 0.688 2016-10-27 17:16:40 +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
ajacoutot
cd28d9de8d Second and last pass at pre-entively fixing ports that would break once
guenther's header pollution cleanup diff is in.
2016-09-11 20:54:12 +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
ian
79e4bbd34c Add 6.0 songs, ok naddy 2016-09-01 14:29:50 +00:00
sthen
fa276bcf88 bump ports that might pick up IP_SENDSRCADDR 2016-08-17 20:58:46 +00:00
naddy
e3485466b2 catch up to 5.9 2016-08-03 22:03:17 +00:00
czarkoff
0174f61178 update to baresip-0.4.20 2016-08-03 09:21:30 +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
czarkoff
4aff01fd60 fix line breaks (no binary changes) 2016-07-10 19:39:29 +00:00
czarkoff
040389c6b1 update to re-0.4.17 2016-07-10 19:09:20 +00:00
sthen
087042f190 update en_AU / es asterisk core-sounds packages to 1.5, plus a hack to
rename strangely named text files in the archive.
2016-06-25 13:38:16 +00:00
czarkoff
437f6b250f update to re-0.4.16 and baresip-0.4.19
Changes:
 - removed remaining static archs support goo,
 - use arc4random() in re,
 - new baresip module "mpa" for corresponding codec,
 - multiple bugfixes.
2016-06-14 16:15:55 +00:00