Hi!
Below is an update for re-0.4.13. Changes are:
* aes: added support for CommonCrypto API
* fmt: pl_float() handles negative numbers now
* hmac: added support for CommonCrypto API
* main: added support for async I/O method `kqueue'
this is now the default on platforms like OSX/iOS,
FreeBSD, NetBSD and OpenBSD.
* mem: added mem_reallocarray(), inspired by OpenBSD
* net: added net_default_gateway_get()
* tls: use RSA_generate_key_ex() instead of deprecated functions
According to nm output there were only additions to the library, thus
only minor bump in so version number.
This update enables kqueue for baresip automatically, but it is not
immediately obvious from baresip configuration file, so a patch for
baresip also follows.
Comments? OK?
--
Dmitrij D. Czarkoff
Index: Makefile
===================================================================
RCS file: /var/cvs/ports/telephony/baresip/re/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 22 Mar 2015 06:13:37 -0000 1.3
+++ Makefile 1 Jul 2015 22:16:19 -0000
@@ -2,9 +2,9 @@
COMMENT = portable library for real-time communications
-V = 0.4.12
+V = 0.4.13
DISTNAME = re-${V}
-SHARED_LIBS = re 1.0
+SHARED_LIBS = re 1.1
CATEGORIES += devel
WANTLIB = crypto pthread ssl z
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/telephony/baresip/re/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 22 Mar 2015 06:13:37 -0000 1.3
+++ distinfo 1 Jul 2015 22:01:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (re-0.4.12.tar.gz) = DUQCjOnBVrLKNOx+rY9EpZ09ylewSO2zQQ2UzItjTfI=
-SIZE (re-0.4.12.tar.gz) = 297022
+SHA256 (re-0.4.13.tar.gz) = Fxd8D2gSzZKhVFlwRCxuk99DgsarRBa93dHEfaKzJhE=
+SIZE (re-0.4.13.tar.gz) = 299493
Index: Makefile
===================================================================
RCS file: /var/cvs/ports/telephony/baresip/baresip/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile 21 Jun 2015 07:40:46 -0000 1.4
+++ Makefile 1 Jul 2015 22:49:36 -0000
@@ -3,6 +3,7 @@
COMMENT = modular SIP User-Agent with audio and video support
DISTNAME = baresip-0.4.13
+REVISION = 1
WANTLIB += X11 Xext avcodec avdevice avformat avutil c crypto gsm
WANTLIB += m opus pthread re rem sndfile sndio spandsp speex
Index: patches/patch-src_config_c
===================================================================
RCS file: patches/patch-src_config_c
diff -N patches/patch-src_config_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_config_c 1 Jul 2015 22:56:16 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+--- src/config.c.orig Thu Jul 2 00:48:31 2015
++++ src/config.c Thu Jul 2 00:48:56 2015
+@@ -379,7 +379,10 @@ static int core_config_template(struct re_printf *pf,
+ "\n# Core\n"
+ "poll_method\t\t%s\t\t# poll, select"
+ #ifdef HAVE_EPOLL
+- ", epoll ..\n"
++ ", epoll .."
++#endif
++#ifdef HAVE_KQUEUE
++ ", kqueue .."
+ #endif
+ "\n# SIP\n"
+ "sip_trans_bsize\t\t128\n"