git: 5df026c62f35 - main - net/libcoap: update to 4.3.5

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Sat, 19 Oct 2024 10:17:47 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5df026c62f35a7fafe44ae3046bfa0fbbbb8252d

commit 5df026c62f35a7fafe44ae3046bfa0fbbbb8252d
Author:     Älven <alster@vinterdalen.se>
AuthorDate: 2024-10-10 09:19:04 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-10-19 10:17:29 +0000

    net/libcoap: update to 4.3.5
    
    Changes:        https://github.com/obgm/libcoap/compare/v4.3.4...v4.3.5
    
    PR:             281984
    MFH:            2024Q4
    Security:       CVE-2024-0962
---
 net/libcoap/Makefile  |  6 ++----
 net/libcoap/distinfo  |  6 +++---
 net/libcoap/pkg-descr |  2 +-
 net/libcoap/pkg-plist | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 55 insertions(+), 9 deletions(-)

diff --git a/net/libcoap/Makefile b/net/libcoap/Makefile
index 8f071c5f3e5f..80b4b3353090 100644
--- a/net/libcoap/Makefile
+++ b/net/libcoap/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	libcoap
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.3.4
-PORTREVISION=	1
+DISTVERSION=	4.3.5
 CATEGORIES=	net
 
 MAINTAINER=	driesm@FreeBSD.org
@@ -20,7 +19,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	obgm
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ENV=	ac_cv_path_SED=${LOCALBASE}/bin/gsed
 
 INSTALL_TARGET=	install-strip
 
@@ -37,5 +36,4 @@ DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen \
 			dot:graphics/graphviz
 DOXYGEN_CONFIGURE_ENABLE=	doxygen
 
-CONFIGURE_ENV=ac_cv_path_SED=${LOCALBASE}/bin/gsed
 .include <bsd.port.mk>
diff --git a/net/libcoap/distinfo b/net/libcoap/distinfo
index c8c8be04cbd4..c782a5e60e47 100644
--- a/net/libcoap/distinfo
+++ b/net/libcoap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696762250
-SHA256 (obgm-libcoap-v4.3.4_GH0.tar.gz) = ae61a48c21f7b40e1442c9e1da9aab9e6f2cf0deccb02f3fed4de232a0b0522e
-SIZE (obgm-libcoap-v4.3.4_GH0.tar.gz) = 679809
+TIMESTAMP = 1728491176
+SHA256 (obgm-libcoap-v4.3.5_GH0.tar.gz) = a417ed26ec6c95c041b42353b5b6fad1602e2bf42a6e26c09863450e227b7b5f
+SIZE (obgm-libcoap-v4.3.5_GH0.tar.gz) = 772396
diff --git a/net/libcoap/pkg-descr b/net/libcoap/pkg-descr
index 6f98cef20f2a..6c56dbff8e48 100644
--- a/net/libcoap/pkg-descr
+++ b/net/libcoap/pkg-descr
@@ -2,6 +2,6 @@ libcoap is a C implementation of a lightweight application-protocol for devices
 that are constrained their resources such as computing power, RF range, memory,
 bandwidth, or network packet sizes. This protocol, CoAP, is standardized by the
 IETF as RFC 7252. For further information related to CoAP, see
-http://coap.technology.
+https://coap.space/
 
 You might want to check out libcoap-minimal for usage examples.
diff --git a/net/libcoap/pkg-plist b/net/libcoap/pkg-plist
index 59338c9fee80..4cfc53ac4aed 100644
--- a/net/libcoap/pkg-plist
+++ b/net/libcoap/pkg-plist
@@ -10,6 +10,7 @@ include/coap3/coap_async.h
 include/coap3/coap_block.h
 include/coap3/coap_cache.h
 include/coap3/coap_debug.h
+include/coap3/coap_defines.h
 include/coap3/coap_dtls.h
 include/coap3/coap_encode.h
 include/coap3/coap_event.h
@@ -21,10 +22,12 @@ include/coap3/coap_option.h
 include/coap3/coap_oscore.h
 include/coap3/coap_pdu.h
 include/coap3/coap_prng.h
+include/coap3/coap_proxy.h
 include/coap3/coap_resource.h
 include/coap3/coap_session.h
 include/coap3/coap_str.h
 include/coap3/coap_subscribe.h
+include/coap3/coap_supported.h
 include/coap3/coap_time.h
 include/coap3/coap_uri.h
 include/coap3/coap_ws.h
@@ -32,7 +35,7 @@ include/coap3/libcoap.h
 lib/libcoap-3-gnutls.a
 lib/libcoap-3-gnutls.so
 lib/libcoap-3-gnutls.so.3
-lib/libcoap-3-gnutls.so.3.1.1
+lib/libcoap-3-gnutls.so.3.2.0
 lib/libcoap-3.a
 lib/libcoap-3.so
 libdata/pkgconfig/libcoap-3-gnutls.pc
@@ -52,6 +55,7 @@ share/man/man3/coap_add_option.3.gz
 share/man/man3/coap_add_optlist_pdu.3.gz
 share/man/man3/coap_add_resource.3.gz
 share/man/man3/coap_add_token.3.gz
+share/man/man3/coap_addr_info_t.3.gz
 share/man/man3/coap_address.3.gz
 share/man/man3/coap_address_copy.3.gz
 share/man/man3/coap_address_equals.3.gz
@@ -60,6 +64,7 @@ share/man/man3/coap_address_init.3.gz
 share/man/man3/coap_address_set_port.3.gz
 share/man/man3/coap_address_set_unix_domain.3.gz
 share/man/man3/coap_address_t.3.gz
+share/man/man3/coap_af_unix_is_supported.3.gz
 share/man/man3/coap_async.3.gz
 share/man/man3/coap_async_get_app_data.3.gz
 share/man/man3/coap_async_is_supported.3.gz
@@ -85,17 +90,24 @@ share/man/man3/coap_cancel_observe.3.gz
 share/man/man3/coap_check_option.3.gz
 share/man/man3/coap_cleanup.3.gz
 share/man/man3/coap_clear_event_handler.3.gz
+share/man/man3/coap_client_is_supported.3.gz
 share/man/man3/coap_clone_uri.3.gz
 share/man/man3/coap_context.3.gz
+share/man/man3/coap_context_get_app_data.3.gz
 share/man/man3/coap_context_get_coap_fd.3.gz
 share/man/man3/coap_context_get_csm_timeout.3.gz
+share/man/man3/coap_context_get_csm_timeout_ms.3.gz
 share/man/man3/coap_context_get_max_handshake_sessions.3.gz
 share/man/man3/coap_context_get_max_idle_sessions.3.gz
 share/man/man3/coap_context_get_session_timeout.3.gz
 share/man/man3/coap_context_oscore_server.3.gz
+share/man/man3/coap_context_set_app_data.3.gz
 share/man/man3/coap_context_set_block_mode.3.gz
+share/man/man3/coap_context_set_cid_tuple_change.3.gz
 share/man/man3/coap_context_set_csm_timeout.3.gz
+share/man/man3/coap_context_set_csm_timeout_ms.3.gz
 share/man/man3/coap_context_set_keepalive.3.gz
+share/man/man3/coap_context_set_max_block_size.3.gz
 share/man/man3/coap_context_set_max_handshake_sessions.3.gz
 share/man/man3/coap_context_set_max_idle_sessions.3.gz
 share/man/man3/coap_context_set_max_token_size.3.gz
@@ -119,6 +131,7 @@ share/man/man3/coap_delete_str_const.3.gz
 share/man/man3/coap_delete_string.3.gz
 share/man/man3/coap_delete_uri.3.gz
 share/man/man3/coap_deprecated.3.gz
+share/man/man3/coap_dtls_cid_is_supported.3.gz
 share/man/man3/coap_dtls_cpsk_t.3.gz
 share/man/man3/coap_dtls_get_log_level.3.gz
 share/man/man3/coap_dtls_is_supported.3.gz
@@ -138,16 +151,19 @@ share/man/man3/coap_endpoint_client.3.gz
 share/man/man3/coap_endpoint_server.3.gz
 share/man/man3/coap_endpoint_set_default_mtu.3.gz
 share/man/man3/coap_endpoint_str.3.gz
+share/man/man3/coap_epoll_is_supported.3.gz
 share/man/man3/coap_find_async.3.gz
 share/man/man3/coap_find_attr.3.gz
 share/man/man3/coap_free_address_info.3.gz
 share/man/man3/coap_free_async.3.gz
 share/man/man3/coap_free_context.3.gz
 share/man/man3/coap_free_endpoint.3.gz
+share/man/man3/coap_get_app_data.3.gz
 share/man/man3/coap_get_available_scheme_hint_bits.3.gz
 share/man/man3/coap_get_data.3.gz
 share/man/man3/coap_get_data_large.3.gz
 share/man/man3/coap_get_log_level.3.gz
+share/man/man3/coap_get_resource_from_uri_path.3.gz
 share/man/man3/coap_get_tls_library_version.3.gz
 share/man/man3/coap_get_uri_path.3.gz
 share/man/man3/coap_handler.3.gz
@@ -162,11 +178,23 @@ share/man/man3/coap_io_prepare_epoll.3.gz
 share/man/man3/coap_io_prepare_io.3.gz
 share/man/man3/coap_io_process.3.gz
 share/man/man3/coap_io_process_with_fds.3.gz
+share/man/man3/coap_ipv4_is_supported.3.gz
+share/man/man3/coap_ipv6_is_supported.3.gz
 share/man/man3/coap_is_af_unix.3.gz
 share/man/man3/coap_is_bcast.3.gz
 share/man/man3/coap_is_mcast.3.gz
 share/man/man3/coap_join_mcast_group_intf.3.gz
 share/man/man3/coap_keepalive.3.gz
+share/man/man3/coap_lock_callback.3.gz
+share/man/man3/coap_lock_callback_release.3.gz
+share/man/man3/coap_lock_callback_ret.3.gz
+share/man/man3/coap_lock_callback_ret_release.3.gz
+share/man/man3/coap_lock_check_locked.3.gz
+share/man/man3/coap_lock_init.3.gz
+share/man/man3/coap_lock_invert.3.gz
+share/man/man3/coap_lock_lock.3.gz
+share/man/man3/coap_lock_unlock.3.gz
+share/man/man3/coap_locking.3.gz
 share/man/man3/coap_log.3.gz
 share/man/man3/coap_log_alert.3.gz
 share/man/man3/coap_log_crit.3.gz
@@ -174,6 +202,7 @@ share/man/man3/coap_log_debug.3.gz
 share/man/man3/coap_log_emerg.3.gz
 share/man/man3/coap_log_err.3.gz
 share/man/man3/coap_log_info.3.gz
+share/man/man3/coap_log_level_desc.3.gz
 share/man/man3/coap_log_notice.3.gz
 share/man/man3/coap_log_oscore.3.gz
 share/man/man3/coap_log_warn.3.gz
@@ -183,6 +212,7 @@ share/man/man3/coap_lwip_dump_memory_pools.3.gz
 share/man/man3/coap_lwip_set_input_wait_handler.3.gz
 share/man/man3/coap_make_str_const.3.gz
 share/man/man3/coap_mcast_per_resource.3.gz
+share/man/man3/coap_mcast_set_hops.3.gz
 share/man/man3/coap_new_bin_const.3.gz
 share/man/man3/coap_new_binary.3.gz
 share/man/man3/coap_new_cache_entry.3.gz
@@ -204,6 +234,7 @@ share/man/man3/coap_new_str_const.3.gz
 share/man/man3/coap_new_string.3.gz
 share/man/man3/coap_new_uri.3.gz
 share/man/man3/coap_observe.3.gz
+share/man/man3/coap_observe_persist_is_supported.3.gz
 share/man/man3/coap_opt_length.3.gz
 share/man/man3/coap_opt_value.3.gz
 share/man/man3/coap_option_clrb.3.gz
@@ -220,6 +251,7 @@ share/man/man3/coap_oscore_is_supported.3.gz
 share/man/man3/coap_package_build.3.gz
 share/man/man3/coap_package_name.3.gz
 share/man/man3/coap_package_version.3.gz
+share/man/man3/coap_path_into_optlist.3.gz
 share/man/man3/coap_pdu_access.3.gz
 share/man/man3/coap_pdu_get_code.3.gz
 share/man/man3/coap_pdu_get_mid.3.gz
@@ -238,7 +270,13 @@ share/man/man3/coap_persist_stop.3.gz
 share/man/man3/coap_persist_track_funcs.3.gz
 share/man/man3/coap_print_addr.3.gz
 share/man/man3/coap_print_ip_addr.3.gz
+share/man/man3/coap_print_wellknown.3.gz
+share/man/man3/coap_proxy.3.gz
+share/man/man3/coap_proxy_forward_request.3.gz
+share/man/man3/coap_proxy_forward_response.3.gz
+share/man/man3/coap_proxy_is_supported.3.gz
 share/man/man3/coap_q_block_is_supported.3.gz
+share/man/man3/coap_query_into_optlist.3.gz
 share/man/man3/coap_read.3.gz
 share/man/man3/coap_recovery.3.gz
 share/man/man3/coap_register_async.3.gz
@@ -259,6 +297,7 @@ share/man/man3/coap_resource_notify_observers.3.gz
 share/man/man3/coap_resource_proxy_uri_init.3.gz
 share/man/man3/coap_resource_proxy_uri_init2.3.gz
 share/man/man3/coap_resource_release_userdata_handler.3.gz
+share/man/man3/coap_resource_reverse_proxy_init.3.gz
 share/man/man3/coap_resource_set_dirty.3.gz
 share/man/man3/coap_resource_set_get_observable.3.gz
 share/man/man3/coap_resource_set_mode.3.gz
@@ -267,6 +306,7 @@ share/man/man3/coap_resource_unknown_init.3.gz
 share/man/man3/coap_resource_unknown_init2.3.gz
 share/man/man3/coap_run_once.3.gz
 share/man/man3/coap_send.3.gz
+share/man/man3/coap_server_is_supported.3.gz
 share/man/man3/coap_session.3.gz
 share/man/man3/coap_session_disconnected.3.gz
 share/man/man3/coap_session_get_ack_random_factor.3.gz
@@ -311,6 +351,7 @@ share/man/man3/coap_session_set_nstart.3.gz
 share/man/man3/coap_session_set_probing_rate.3.gz
 share/man/man3/coap_session_set_type_client.3.gz
 share/man/man3/coap_session_str.3.gz
+share/man/man3/coap_set_app_data.3.gz
 share/man/man3/coap_set_event_handler.3.gz
 share/man/man3/coap_set_log_handler.3.gz
 share/man/man3/coap_set_log_level.3.gz
@@ -327,11 +368,17 @@ share/man/man3/coap_string.3.gz
 share/man/man3/coap_string_equal.3.gz
 share/man/man3/coap_string_tls_support.3.gz
 share/man/man3/coap_string_tls_version.3.gz
+share/man/man3/coap_supported.3.gz
 share/man/man3/coap_tcp_is_supported.3.gz
+share/man/man3/coap_threadsafe_is_supported.3.gz
+share/man/man3/coap_tls_engine_configure.3.gz
+share/man/man3/coap_tls_engine_remove.3.gz
 share/man/man3/coap_tls_is_supported.3.gz
 share/man/man3/coap_tls_library.3.gz
 share/man/man3/coap_uri.3.gz
 share/man/man3/coap_uri_into_options.3.gz
+share/man/man3/coap_uri_into_optlist.3.gz
+share/man/man3/coap_verify_proxy_scheme_supported.3.gz
 share/man/man3/coap_websockets.3.gz
 share/man/man3/coap_write.3.gz
 share/man/man3/coap_ws_is_supported.3.gz
@@ -353,4 +400,5 @@ share/man/man5/coap-server-mbedtls.5.gz
 share/man/man5/coap-server-notls.5.gz
 share/man/man5/coap-server-openssl.5.gz
 share/man/man5/coap-server.5.gz
+share/man/man5/coap-tls-engine-conf.5.gz
 share/man/man7/coap.7.gz