pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libre: update to libre-0.4.17



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Tue Sep 6 07:34:14 2016 +0200
Changeset:	b3924b6c3e1f220aea930ff03b10623ce3b089d7

Modified Files:
	libre/Makefile
	libre/PLIST
	libre/distinfo
	libre/patches/patch-src_dns_res.c

Log Message:
libre: update to libre-0.4.17

Changelog:

2016-06-24 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.17

	* build: add USE_OPENSSL_AES and USE_OPENSSL_HMAC

	* dns: add key to dns_rrlist_sort()
	       add dns_rrlist_sort_addr

	* tls: add tls_set_ciphers()
	       add tls_set_servername()

	* sip: fix for stateless SIP requests
	       sort DNS RR entries by a fixed key

	* stun: fix bug with 8-bit and 16-bit attributes on certain
		platforms, such as MIPS

2016-04-27 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.16

	* build: fix warnings about DEFAULT_SOURCE with new glibc

	* lock: fix debian build without HAVE_PTHREAD_RWLOCK

	* rand: add arc4random (based on patch from Dmitrij D. Czarkoff)

	* rtcp: adjust mbuf positions for RTCP_PSFB_AFB decoding

	* tls: add tls_cipher_name()
	       add dtls_set_mtu()

2016-02-06 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.15

	* build: fix warnings about DEFAULT_SOURCE with new glibc
		 fix compile error for mingw32 (thanks Dmitrij D. Czarkoff)

	* aes: handle buffers with zero length

	* dns: add support for multiple DNS name-servers on Android

	* hmac: add support for HMAC-SHA256

	* rtp: fix packet-loss calc when first packet has seq=0

	* srtp: split error code in ENOSR and ENOMEM

	* stun: keepalive: handle method BINDING only

	* telev: add a maximum queue size

	* uri: fix a potential read buffer overflow

2015-10-24 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.14

	* New modules: json and odict

	* build: add pkg-config file (thanks to William King)

	* re_types: added a portable __REFUNC__

	* fmt: add utf8_encode/decode, used by JSON module

	* hash: add hash_fast() function

	* json: new JavaScript Object Notation (JSON) module

	* main: fix order of kqueue setting events (WRITE,READ)

	* odict: new Ordered Dictionary module

	* sip: reverse order of transport enumeration for SRV-records

	* udp,tcp,net: add __USE_XOPEN2K (thanks Dmitrij D. Czarkoff)

2015-07-01 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.13

	* 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

2015-03-16 Alfred E. Heggestad <aeh%db.org@localhost>

	* Version 0.4.12

	* ice: added ice_ prefix to some functions and types
               fix bug in priority calculations (thanks to Daniel Ma)

	* mqueue: fix bug with leaking sockets on Windows-32

	* rtp: fix bug with RTCP timestamp calculation

	* sip: export sip_transp_laddr()

	* tls: added more TLS methods

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b3924b6c3e1f220aea930ff03b10623ce3b089d7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libre/Makefile                    | 2 +-
 libre/PLIST                       | 3 +++
 libre/distinfo                    | 9 +++++----
 libre/patches/patch-src_dns_res.c | 8 ++++----
 4 files changed, 13 insertions(+), 9 deletions(-)

diffs:
diff --git a/libre/Makefile b/libre/Makefile
index 34f2093..3cc9f96 100644
--- a/libre/Makefile
+++ b/libre/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.8 2015/03/15 14:37:03 othyro Exp $
 
-DISTNAME=	re-0.4.11
+DISTNAME=	re-0.4.17
 PKGNAME=	lib${DISTNAME}
 CATEGORIES=	net
 MASTER_SITES=	http://www.creytiv.com/pub/
diff --git a/libre/PLIST b/libre/PLIST
index 02ba9cc..1caafaf 100644
--- a/libre/PLIST
+++ b/libre/PLIST
@@ -15,6 +15,7 @@ include/re/re_http.h
 include/re/re_httpauth.h
 include/re/re_ice.h
 include/re/re_jbuf.h
+include/re/re_json.h
 include/re/re_list.h
 include/re/re_lock.h
 include/re/re_main.h
@@ -26,6 +27,7 @@ include/re/re_mqueue.h
 include/re/re_msg.h
 include/re/re_natbd.h
 include/re/re_net.h
+include/re/re_odict.h
 include/re/re_rtp.h
 include/re/re_sa.h
 include/re/re_sdp.h
@@ -48,4 +50,5 @@ include/re/re_uri.h
 include/re/re_websock.h
 lib/libre.a
 lib/libre.so
+lib/pkgconfig/libre.pc
 share/re/re.mk
diff --git a/libre/distinfo b/libre/distinfo
index b9a392c..dabc593 100644
--- a/libre/distinfo
+++ b/libre/distinfo
@@ -1,6 +1,7 @@
 $NetBSD: distinfo,v 1.7 2015/03/15 14:37:03 othyro Exp $
 
-SHA1 (re-0.4.11.tar.gz) = 6e04f8e30eaa273134c47433b41bcffadfca194c
-RMD160 (re-0.4.11.tar.gz) = e775e371292b4fb4cb266c76e73693844f9a3e88
-Size (re-0.4.11.tar.gz) = 295558 bytes
-SHA1 (patch-src_dns_res.c) = 62245c05b3017a1a16ece093c6d435ea78e6ecf5
+SHA1 (re-0.4.17.tar.gz) = 5c6bb638b785d9689189c7d14ce46f11c621cded
+RMD160 (re-0.4.17.tar.gz) = 7c732c27b6ca813d87f1b5c09375dec4878cf92e
+SHA512 (re-0.4.17.tar.gz) = 70704290476819f642d622d9b25a6dc1c2e1758e62a8a29ab4d7f3ccc930d7c3b437a42a84acd8c8e6054ff80d663a8c0c92c9f827853622d349dd626b5e9d9e
+Size (re-0.4.17.tar.gz) = 309193 bytes
+SHA1 (patch-src_dns_res.c) = 76dc4952b1935337bc8b9758fc400980c2026682
diff --git a/libre/patches/patch-src_dns_res.c b/libre/patches/patch-src_dns_res.c
index 88062e2..4eb73b8 100644
--- a/libre/patches/patch-src_dns_res.c
+++ b/libre/patches/patch-src_dns_res.c
@@ -2,9 +2,9 @@ $NetBSD: patch-src_dns_res.c,v 1.1 2014/08/17 10:57:07 thomasklausner Exp $
 
 Fix NetBSD, from upstream.
 
---- src/dns/res.c.orig	2012-08-16 08:43:50.000000000 +0000
+--- src/dns/res.c.orig	2015-12-17 14:07:00.000000000 +0000
 +++ src/dns/res.c
-@@ -32,26 +32,28 @@
+@@ -33,26 +33,28 @@
   */
  int get_resolv_dns(char *domain, size_t dsize, struct sa *nsv, uint32_t *n)
  {
@@ -20,7 +20,7 @@ Fix NetBSD, from upstream.
  
 -	if (_res.dnsrch[0])
 -		str_ncpy(domain, _res.dnsrch[0], dsize);
--	else if (_res.defdname)
+-	else if ((char *)_res.defdname)
 -		str_ncpy(domain, _res.defdname, dsize);
 +	if (state.dnsrch[0])
 +		str_ncpy(domain, state.dnsrch[0], dsize);
@@ -41,7 +41,7 @@ Fix NetBSD, from upstream.
  		err |= sa_set_sa(&nsv[i], (struct sockaddr *)addr);
  	}
  	if (err)
-@@ -60,7 +62,7 @@ int get_resolv_dns(char *domain, size_t 
+@@ -61,7 +63,7 @@ int get_resolv_dns(char *domain, size_t 
  	*n = i;
  
   out:


Home | Main Index | Thread Index | Old Index