pkgsrc-WIP-changes archive

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

libre: update to libre-2.0.1



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat May 1 11:38:13 2021 +0200
Changeset:	0f20f75a762adf778ef878e96ff2abed39c1477b

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

Log Message:
libre: update to libre-2.0.1

Changelog:

== [v2.0.1] - 2021-04-22

=== Fixed

- tmr: fix FreeBSD and OpenBSD [#97]
- mk: fix clang analyze CFLAGS

=== Changed

- tls: different return values for tls_get_ca_chain_field() [#94]

== [v2.0.0] - 2021-04-10

=== Added

- .gitignore: add ctags and vim swp files to gitignore [#31]
- tls: add tls_add_capem() for adding CA cert as PEM string [#33]
- httpauth: Add digest support for http clients [#33]
- httpauth: Add basic authentication for HTTP clients [#33]
- dns: add set function for DNS config [#33]
- http/client: support IPv6 [#33]
- http/client: use const parameter for set laddr(6) functions [#33]
- http/client: add set function for timeout [#33]
- http/client: add http_client_add_capem() [#33]
- http/client: add set functions for client certificate and private key [#33]
- http: add HTTP request connection with authorization [#33]
- http: setting of timeouts for http client [#35]
- http: set default path for http requests [#35]
- tls: set selfsigned Elliptic Curve (EC) function [#17]
- tls: extend server verification by host name check (SNI) [#45]
- jbuf: adapative jitter buffer [#41]
- tmr: add tmr_jiffies_usec() - get accurate microseconds [#52]
- fmt: add pl_i32() that converts pl to int32_t [#60]
- fmt: add pl_i64() that converts pl to int64_t [#60]
- mk/re: add C11 and Atomic detection [#61]
- ci: add abi check [#39]
- trace: add re_trace api [#48]
- Add function that resets the timeout timer for a connection of the HTTP server. [#88]
- add error trace helpers [#87]
- sip/auth: add algorithm=MD5 [#86]
- sys: filesystem isdir function
- tls: use ENOENT in tls_add_cafile_path as error code
- tls: more generic function to set cafile and capath
- mk: add .so name versioning, resolves #32
- mk/re: add clang shorten-64-to-32 warning
- mk/re: document new library/header prioritised order with custom SYSROOT
- mk/re: info double colon rule (#64) [#64]
- udp: Add function udp_open for socket without bind
- rtp: Add rtp_open which creates an RTP object only for sending. [#77]
- sip: add decode function for SIP transport
- sip: SIP/TLS Server Name Indication (#67) [#67]
- transp: add flag to disable SIP TLS server verification [#76]

=== Removed

- openssl: remove obsolete function tls_set_hostname() [#33]
- mk/re: remove gcc 2.x/3.x support [#58]
- ci: drop ubuntu 16.04 support - end of life

=== Changed

- http/client: cleanup doxygen [#33]
- http/client: use host of http_req for the host name validation [#37]
- main: disable MAIN_DEBUG, TMR_DEBUG and increase MAX_BLOCKING to 500ms [#43]
- sipreg: dont't force digest challenge for register [#49]
- mk/re: do not override LIBRE_INC, LIBRE_SO and LIBRE_PATH [#62]
- readme: update supported systems and add tiers [#81]
- tls: use ENOTDIR in tls_add_cafile_path if capath is not a dir [#84]
- tls: check capath is directory
- net: get default source addr from udp local test socket [#66]
- Update chklist.c [#70]
- Update icesdp.c [#69]
- mk: cross build changes (#63) [#63]
- sip: use sip_transp_decode() [#71]
- tls: tls_get_issuer/subject return the info of the first loaded ca [#80]

=== Fixed

- dns/client: fix HAVE_INET6 and win32/vcxproj: updates [#28]
- http: fix segfault in response.c [#35]
- http/request: parameter NULL check for http_reqconn_send() [#37]
- http/client: fix conn_idle [#46]
- http/httpreq: mem leak fix [#47]
- sip/request: fix msg->scode null pointer dereference
- rtmp/conn: initialize err
- mk/re: fix LIBRE_SO static detection
- dns/res: Properly process IPV4 and IPV6 addresses (DARWIN) [#56]
- sip/keepalive: fix codeql cpp/integer-multiplication-cast-to-long
- fmt/time: fix codeql gmtime warning
- mk/re: fix gcc 4.x and newer compiler warnings
- sys: add _BSD_SOURCE 1 for compatibility reasons [#92]
- fix weak self-signed certificates [#68]
- net/tls: fixing shorten-64-to-32 warnings [#65]
- http: add missing newline to warning [#78]
- http: fix file read for client certificates
- mk/re: do not override LIBRE_INC, LIBRE_SO and LIBRE_PATH [#62]
- tls: safety NULL pointer check in tls_add_ca() [#79]

=== Contributors (many thanks)

- [sreimers](https://github.com/sreimers)
- [cHuberCoffee](https://github.com/cHuberCoffee)
- [RobertMi21](https://github.com/RobertMi21)
- [cspiel1](https://github.com/cspiel1)
- [alfredh](https://github.com/alfredh)
- [fippo](https://github.com/fippo)
- [jurjen-van-dijk](https://github.com/jurjen-van-dijk)
- [rolizo](https://github.com/rolizo)

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

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                       |  1 +
 libre/distinfo                    |  9 +++++----
 libre/patches/patch-src_tmr_tmr.c | 15 +++++++++++++++
 4 files changed, 22 insertions(+), 5 deletions(-)

diffs:
diff --git a/libre/Makefile b/libre/Makefile
index 77099b1465..8fa16944de 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-1.1.0
+DISTNAME=	re-2.0.1
 PKGNAME=	lib${DISTNAME}
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=baresip/}
diff --git a/libre/PLIST b/libre/PLIST
index a17821a1dc..c08b1e0bd5 100644
--- a/libre/PLIST
+++ b/libre/PLIST
@@ -44,6 +44,7 @@ include/re/re_tcp.h
 include/re/re_telev.h
 include/re/re_tls.h
 include/re/re_tmr.h
+include/re/re_trace.h
 include/re/re_turn.h
 include/re/re_types.h
 include/re/re_udp.h
diff --git a/libre/distinfo b/libre/distinfo
index 8a2a6ca4c4..f602d47edd 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-1.1.0.tar.gz) = 0c280b6b4d3b4a59651f207f38688b8791565754
-RMD160 (re-1.1.0.tar.gz) = 634cad973453612aa7b6b00b397bc8120cfe4acc
-SHA512 (re-1.1.0.tar.gz) = d2e68484bbfb2e7b7aab9aee7e4cd23ddc1ed5988dc0aafcd657c6c023b4d897c6c20910778a4c7a76bb67a57785309c338856b9f55790fb26f0e97751144dcb
-Size (re-1.1.0.tar.gz) = 323322 bytes
+SHA1 (re-2.0.1.tar.gz) = f77be7d8779f6c9313651db20fc4d08d9189d412
+RMD160 (re-2.0.1.tar.gz) = cc0774987b6ec09c9015d12451a0195d660d9589
+SHA512 (re-2.0.1.tar.gz) = 0033976a94b5f1320bbb7e437803a52c1959d9c86555974210ca53c5c1579fd186b74de1e20c3ec3b4cf49a1c4a0eceb7103fc8b33ee91820395d3c82c54f360
+Size (re-2.0.1.tar.gz) = 342897 bytes
+SHA1 (patch-src_tmr_tmr.c) = c1669bbf7e1cf4bd5796a736ef96c2cdf8a59921
diff --git a/libre/patches/patch-src_tmr_tmr.c b/libre/patches/patch-src_tmr_tmr.c
new file mode 100644
index 0000000000..96e0d0246d
--- /dev/null
+++ b/libre/patches/patch-src_tmr_tmr.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use POSIX CLOCK_MONOTONIC on NetBSD as well.
+
+--- src/tmr/tmr.c.orig	2021-04-21 22:05:17.000000000 +0000
++++ src/tmr/tmr.c
+@@ -142,7 +142,7 @@ uint64_t tmr_jiffies_usec(void)
+ #else
+ 	struct timespec now;
+ 
+-#if defined(FREEBSD) || defined(OPENBSD)
++#if defined(FREEBSD) || defined(OPENBSD) || defined(NETBSD)
+ 	if (0 != clock_gettime(CLOCK_MONOTONIC, &now)) {
+ #else
+ 	if (0 != clock_gettime(CLOCK_MONOTONIC_RAW, &now)) {


Home | Main Index | Thread Index | Old Index