Received: by mail.netbsd.org (Postfix, from userid 605) id 75E3584E8F; Fri, 1 Mar 2024 12:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709295189; bh=6xoa74iB56+gwKV42cYFc7wBoJS3eIyfwNdTmxsu2kE=; h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe; b=BycJlONppa9RjOHSx/h4wge9kMy/m0AUSHEM7ZAyZK0BHtnMMH9j2SbFb0tdFLhIA Pwv4IX0howp0h+VdaAHsEwokkh5605GHOkfoVnAh1U5cUCECHNXLu97uIE5nvGP8YL qi4cJ/1ekPgdTUCef8oSyS3A7H1SR7SaoSpitZX4= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 64D6584CED for ; Fri, 1 Mar 2024 12:13:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id D9TWspzxuVVU for ; Fri, 1 Mar 2024 12:13:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 7E99A84C13 for ; Fri, 1 Mar 2024 12:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1709295187; bh=6xoa74iB56+gwKV42cYFc7wBoJS3eIyfwNdTmxsu2kE=; h=Date:From:Subject:To:Reply-To; b=TrM9pawgq52hYafjrcGIx2gNVHhOKLRIRJALV9tlU5whj3pj6Dcb3w5/lRgHzwQWQ q28IWH2Dv7BNRlfJOk4Lvhg2PrZEICLxqV9UN8otcmCRJ1lnNRDTQS3s+Rde1ZFdEW qrNk+eNH6kfdLgFJ73/04iuh2uSD/oWFLDodoFQo= Received: by cvs.NetBSD.org (Postfix, from userid 500) id 68CA0FA27; Fri, 1 Mar 2024 12:13:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1709295187131910" MIME-Version: 1.0 Date: Fri, 1 Mar 2024 12:13:07 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/www/nghttp2 To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20240301121307.68CA0FA27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1709295187131910 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Fri Mar 1 12:13:07 UTC 2024 Modified Files: pkgsrc/www/nghttp2: Makefile.common distinfo Log Message: nghttp2: updated to 1.60.0 Nghttp2 v1.60.0 lib RFC 7540 priorities (aka stream dependencies) APIs have been deprecated. They work just like before, but in the future release after the end of 2024, the functionality is removed, and the deprecated APIs start behaving differently. See the API documentation for details. RFC 7540 priorities have been deprecated by RFC 9113. Consider migrating RFC 9218 extensible prioritization scheme. The APIs that use ssize_t, including structs and callback functions, have been deprecated. New APIs that use nghttp2_ssize are introduced as a replacement. The usage of ssize_t is problematic for several reasons. Some platforms do not define ssize_t. The minimum value of ssize_t that POSIX requires is -1 which makes nghttp2 error code out of range. nghttp2_ssize is an alias of ptrdiff_t that is in C standard and covers our error code range. New code should use new nghttp2_ssize APIs. The existing applications should consider migrating to new APIs. The deprecated ssize_t APIs continue to work for backward compatibility. Here is the summary of the deprecated APIs and their replacements: Callback functions: nghttp2_data_source_read_callback => nghttp2_data_source_read_callback2 nghttp2_data_source_read_length_callback => nghttp2_data_source_read_length_callback2 nghttp2_pack_extension_callback => nghttp2_pack_extension_callback2 nghttp2_recv_callback => nghttp2_recv_callback2 nghttp2_select_padding_callback => nghttp2_select_padding_callback2 nghttp2_send_callback => nghttp2_send_callback2 Structs: nghttp2_data_provider => nghttp2_data_provider2 Functions: nghttp2_hd_deflate_hd => nghttp2_hd_deflate_hd2 nghttp2_hd_deflate_hd_vec => nghttp2_hd_deflate_hd_vec2 nghttp2_hd_inflate_hd2 => nghttp2_hd_inflate_hd3 nghttp2_pack_settings_payload => nghttp2_pack_settings_payload2 nghttp2_session_callbacks_set_data_source_read_length_callback => nghttp2_session_callbacks_set_data_source_read_length_callback2 nghttp2_session_callbacks_set_pack_extension_callback => nghttp2_session_callbacks_set_pack_extension_callback2 nghttp2_session_callbacks_set_recv_callback => nghttp2_session_callbacks_set_recv_callback2 nghttp2_session_callbacks_set_select_padding_callback => nghttp2_session_callbacks_set_select_padding_callback2 nghttp2_session_callbacks_set_send_callback => nghttp2_session_callbacks_set_send_callback2 nghttp2_session_mem_recv => nghttp2_session_mem_recv2 nghttp2_session_mem_send => nghttp2_session_mem_send2 nghttp2_submit_data => nghttp2_submit_data2 nghttp2_submit_request => nghttp2_submit_request2 nghttp2_submit_response => nghttp2_submit_response2 For those applications that do not want to see ssize_t in nghttp2.h header file at all, define NGHTTP2_NO_SSIZE_T macro before including nghttp2.h. It hides all ssize_t APIs. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/nghttp2/Makefile.common cvs rdiff -u -r1.67 -r1.68 pkgsrc/www/nghttp2/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1709295187131910 Content-Disposition: inline Content-Length: 1690 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/nghttp2/Makefile.common diff -u pkgsrc/www/nghttp2/Makefile.common:1.21 pkgsrc/www/nghttp2/Makefile.common:1.22 --- pkgsrc/www/nghttp2/Makefile.common:1.21 Sun Jan 21 19:58:51 2024 +++ pkgsrc/www/nghttp2/Makefile.common Fri Mar 1 12:13:07 2024 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.21 2024/01/21 19:58:51 wiz Exp $ +# $NetBSD: Makefile.common,v 1.22 2024/03/01 12:13:07 adam Exp $ # used by www/nghttp2/Makefile # used by www/nghttp2-tools/Makefile -DISTNAME= nghttp2-1.59.0 +DISTNAME= nghttp2-1.60.0 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/} EXTRACT_SUFX= .tar.xz Index: pkgsrc/www/nghttp2/distinfo diff -u pkgsrc/www/nghttp2/distinfo:1.67 pkgsrc/www/nghttp2/distinfo:1.68 --- pkgsrc/www/nghttp2/distinfo:1.67 Sun Jan 21 19:58:51 2024 +++ pkgsrc/www/nghttp2/distinfo Fri Mar 1 12:13:07 2024 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.67 2024/01/21 19:58:51 wiz Exp $ +$NetBSD: distinfo,v 1.68 2024/03/01 12:13:07 adam Exp $ -BLAKE2s (nghttp2-1.59.0.tar.xz) = f0a50824c9bdbdfd9385f1b6f47a30d4d6fbf20b1b016bf5273a72926d53c89f -SHA512 (nghttp2-1.59.0.tar.xz) = 0725f302957520893ac454997adc6d6e71dc9b520c62390477fe8c5dd5c64d02415023266814cfec859bf562159e4a42eeb7d7312c5871739a3d57ed7430820b -Size (nghttp2-1.59.0.tar.xz) = 1546956 bytes +BLAKE2s (nghttp2-1.60.0.tar.xz) = 462bc0eead29c4463f2402b3e637896ce06ee70224cbd1471994eaa94e4bdc0f +SHA512 (nghttp2-1.60.0.tar.xz) = 5e6365d9118596d41848930de70f4a918d72463920184df60a7e1678c3a6c9cf1416236888e7e34395c87f41bba00a114994ba5a6e73f6a389769abf1b5cc842 +Size (nghttp2-1.60.0.tar.xz) = 1587004 bytes SHA1 (patch-Makefile.in) = a8b55c4e477ea285a9ba005a20e244b762968f3e --_----------=_1709295187131910--