Update: telephony/kamailio to 5.1.2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Update: telephony/kamailio to 5.1.2

Roman Kravchuk
Hi ports@,

This is update kamailio port.

Changelog:
- update to version 5.1.2
- sync pathes
- sync WANTLIB
- switch to compile with system malloc

Tested on current amd64.

Ok? Comments?

kamailio_5.1.2.diff (35K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update: telephony/kamailio to 5.1.2

Stuart Henderson
On 2018/03/31 12:07, Roman Kravchuk wrote:

> Index: patches/patch-src_modules_tls_tls_locking_c
> ===================================================================
> RCS file: /cvs/ports/telephony/kamailio/patches/patch-src_modules_tls_tls_locking_c,v
> retrieving revision 1.1
> diff -u -p -u -p -r1.1 patch-src_modules_tls_tls_locking_c
> --- patches/patch-src_modules_tls_tls_locking_c 21 Sep 2017 09:34:32 -0000 1.1
> +++ patches/patch-src_modules_tls_tls_locking_c 31 Mar 2018 09:00:39 -0000
> @@ -3,21 +3,43 @@ $OpenBSD: patch-src_modules_tls_tls_lock
>  Index: src/modules/tls/tls_locking.c
>  --- src/modules/tls/tls_locking.c.orig
>  +++ src/modules/tls/tls_locking.c
> -@@ -33,7 +33,7 @@ static int n_static_locks=0;
> +@@ -33,7 +33,8 @@ static int n_static_locks=0;
>   static gen_lock_set_t* static_locks=0;
>  
>   /* OpenSSL is thread-safe since 1.1.0 */
> --#if OPENSSL_VERSION_NUMBER < 0x10100000L
> -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
> +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
> ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || \
> ++ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)

I would like if somebody who is familiar with the current status of
thread safety in libressl could chime in. Either have a look at this
(suggested only if you own peril-sensitive sunglasses...) or explain
what does/doesn't need locking as I'm not too sure of how things
ended up after the pledge fixes.