10 Commits

Author SHA256 Message Date
8ea8ecc9a8 Accepting request 1287814 from devel:libraries:c_c++
- update to 1.13.0:
  * Update CMakeLists.txt to fix the error of
    check_symbol_exists() when static-link openssl.
  * Fix path response padding
  * Make a packet containing PATH_RESPONSE to active path non-
    probing
  * Make pacing less bursty
  * Add extra precision to pacing_interval
  * Refactor cubic
  * cubic: Bound time_delta
  * Make as_uint8_span consteval
  * Avoid slower std::ranges::mismatch
  * putting important libdir and incdir first

- Trim idempotent if..endif guards
- Delete metadata for unproduced ngtcp2-doc subpackage

- Additionally build OpenSSL backend and ship it in optional subpackage

OBS-URL: https://build.opensuse.org/request/show/1287814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=8
2025-06-24 18:46:41 +00:00
930907a8a7 - update to 1.13.0:
* Update CMakeLists.txt to fix the error of
    check_symbol_exists() when static-link openssl.
  * Fix path response padding
  * Make a packet containing PATH_RESPONSE to active path non-
    probing
  * Make pacing less bursty
  * Add extra precision to pacing_interval
  * Refactor cubic
  * cubic: Bound time_delta
  * Make as_uint8_span consteval
  * Avoid slower std::ranges::mismatch
  * putting important libdir and incdir first

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=27
2025-06-23 05:53:58 +00:00
11f72a9d9a add ossl subpackage to baselibs
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=26
2025-06-22 19:35:26 +00:00
b8f96c6caf Fixup naming of ossl subpackage
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=25
2025-06-22 19:34:08 +00:00
295f098fff Trim idempotent guards; delete ngtcp2-doc
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=24
2025-06-22 19:29:24 +00:00
691a97a654 Accepting request 1287714 from home:crameleon:branches:devel:libraries:c_c++
Additionally build OpenSSL backend and ship it in optional subpackage

OBS-URL: https://build.opensuse.org/request/show/1287714
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=23
2025-06-22 19:26:34 +00:00
b2e0f545ae Accepting request 1270643 from devel:libraries:c_c++
- Update to release 1.12.0

OBS-URL: https://build.opensuse.org/request/show/1270643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=7
2025-04-18 14:22:14 +00:00
9cd6f6917c Update to release 1.12.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=21
2025-04-17 20:39:56 +00:00
275e3ff3e6 Accepting request 1244412 from devel:libraries:c_c++
- update to 1.10.0:
  * Rename NGTCP2_INITIAL_TABLE_LENBITS to
    NGTCP2_INITIAL_HASHBITS
  * Do not extend app-limited period
  * Fuzz sequences of different received packets
  * Fuzz timestamp in read_write_pkt fuzzer
  * Exercise all CC algorithms in read_write_pkt fuzzer
  * Exercise client in read_write_pkt fuzzer
  * Fix assertion error when retransmitting 0 length STREAM
  * Fuzz remote transport params in read_write_pkt fuzzer
  * Update ksl fuzzer with FuzzedDataProvider
  * Remove outdated PMTUD probe packet handling when it is lost
  * Add ngtcp2_rob fuzzer
- update to 1.9.1:
  * Fixes CVE-2024-52811
- update to 1.9.0:
  * ringbuf: silence superfluous unused function warning on
    NDEBUG builds
  * Use REQUIRED when finding a package
  * Remove extra semicolons
  * examples: GRO buffer size should be 64KiB
  * Limit the number of ACK frames per packet
  * Nothing to acknowledge in a 0RTT packet
  * Introduce ngtcp2_ksl_search
  * Update doc
  * Loosen app-limited condition
  * Tweak threshold for max_stream_data and max_data transmission
  * Add note for window auto-tuning
  * examples/client: Disable window auto-tuning by default
  * ngtcp2_ksl: Use proper type

OBS-URL: https://build.opensuse.org/request/show/1244412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=6
2025-02-11 20:22:23 +00:00
11d6dff14f - update to 1.10.0:
* Rename NGTCP2_INITIAL_TABLE_LENBITS to
    NGTCP2_INITIAL_HASHBITS
  * Do not extend app-limited period
  * Fuzz sequences of different received packets
  * Fuzz timestamp in read_write_pkt fuzzer
  * Exercise all CC algorithms in read_write_pkt fuzzer
  * Exercise client in read_write_pkt fuzzer
  * Fix assertion error when retransmitting 0 length STREAM
  * Fuzz remote transport params in read_write_pkt fuzzer
  * Update ksl fuzzer with FuzzedDataProvider
  * Remove outdated PMTUD probe packet handling when it is lost
  * Add ngtcp2_rob fuzzer
- update to 1.9.1:
  * Fixes CVE-2024-52811
- update to 1.9.0:
  * ringbuf: silence superfluous unused function warning on
    NDEBUG builds
  * Use REQUIRED when finding a package
  * Remove extra semicolons
  * examples: GRO buffer size should be 64KiB
  * Limit the number of ACK frames per packet
  * Nothing to acknowledge in a 0RTT packet
  * Introduce ngtcp2_ksl_search
  * Update doc
  * Loosen app-limited condition
  * Tweak threshold for max_stream_data and max_data transmission
  * Add note for window auto-tuning
  * examples/client: Disable window auto-tuning by default
  * ngtcp2_ksl: Use proper type

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=19
2025-02-08 21:26:00 +00:00
7 changed files with 183 additions and 42 deletions

View File

@@ -1,2 +1,3 @@
libngtcp2-16 libngtcp2-16
libngtcp2_crypto_gnutls8 libngtcp2_crypto_gnutls8
libngtcp2_crypto_ossl0

3
ngtcp2-1.13.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc98cdd7d0ce0050b5589c99f89ac72fb34aee6ff88bb3351f239407a65699fe
size 654972

16
ngtcp2-1.13.0.tar.xz.asc Normal file
View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUWtiKRjRXEeKseo6UzmivoLgfewFAmg0ZwwACgkQUzmivoLg
fezcmw/9E9/wwe1oijo23hJh1Z2oY7OqpQ200qEXJngebLUptAn+fjY15dujLm88
EX97rQu9A5aJr0iXyzq3IB+5XH5HLSYJBkIQeGpHuchx+nexpd+0oEKF+k4z0y3l
ohP2FYUYXHAIY9XOe99oKiJm7YT9GU2StMiVnKbQTOVHS0tw40YwZgMfckXawzWt
VY7YJbKsYnMnJ91Oooz4CwWQ7v827yBd7Mt4YCSilFV/CDwhesq7fJ3+FJ3nLxUT
SKTUHfs5R93gg44c8tjhIE/zum2SAcFT2TLbWbcIAdcZWsktTLoBSJ3zom8ejqYh
OIYkHYo5wY3U5Uatxl4wu5o7U/yqgczvOL3JHETDbS+/huCqSVrnxml/NGbnfg1W
cTNZD3GfNxs1oibKnXdPnxukP1FBJ5m3dUdydTwrN4a+zkBTVwEyq2O5/zuCMbQ1
ZX6vRE8G/Q93AJpqOm41YEQonvU6uQUzLh9NNhcQfy5c2jKqWhNp7rs+oVKKMy6O
v378UaSAy1uGEpa6QU0u/Azs+IBXqTPYXNMzujmFn4jEYTu/P/xPcWLsYVj/2EGv
Ieh5y/F/i270759qHcBCZ/fvu0Cn2jwuVQ4VfynZs9z9GdYtJhgklyMQFlptbXac
muILvFTchLU+UYnPsF18XLXraW+EABQ6PYW4w4K+/E0PxYPxjqY=
=cCse
-----END PGP SIGNATURE-----

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e575a42d369c2c982a1117f062ff9743fa07f87738ac5cedb304aa72260023a
size 623300

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUWtiKRjRXEeKseo6UzmivoLgfewFAmZqwekACgkQUzmivoLg
fewteg/+MY7gflwoK6KnVMoZ8MkrZHVpkk2YLjC7+Oqo8bihtp11ZubOX1zYYP3o
0fSnDlTy8h0k29Sf7/uGRP4aCDl7HT8t2usQnc4kkGgU1l2dr9WPEa7XFnDgqZOD
4yd7qReH7ekg/xYKbUyS3NPwpueBRDlvEtG+0fKEY7YNlE6Yl9DAMGMP+MKvJOwb
vk3cedIa5b69+tImQpZRE++NadQumCLa3CSupK0c8rhp41IMgHJePQc9VdCnHf2U
f576IGe1NnUHdIuzUSb5lFmsWXrfvl4BmINX/VhMD6yWzHFymQqBXkSMbanmswBY
wTGtPypBKdG4IZwLrHZk9Llib95W+HU7LMgcqgsExZyZ/aCD8q060i6J3ukSIj7r
/MlRffy0Ps1RLWr3c3bHLymOZ6eTMvSUnbPExAC6if49I0dTiJY4NRrVl/35zlEP
9w9PF3bTUizcNpKCExon7mV0BTgLQpCzGq45Wg8GyPkt8lrS2X/cLZHMX2VGgS3U
2Ebo6U6VLFRqSSJftmDQWBqenZcGD8V+/oUXyIn/YCR6Rmy3DHv7L/dehflVFc15
pxul8qQPfO3NxNpWSfmHPjdf+bjOmUXao6TPJKkWaH5v1BM9RLel3A7w1fPs5Dco
UAFtkIsJLZZGi2EexjN2GHB73DxI/TwejVwhKSQriG4hg6XtT/c=
=9qDA
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,106 @@
-------------------------------------------------------------------
Mon Jun 23 05:53:05 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.13.0:
* Update CMakeLists.txt to fix the error of
check_symbol_exists() when static-link openssl.
* Fix path response padding
* Make a packet containing PATH_RESPONSE to active path non-
probing
* Make pacing less bursty
* Add extra precision to pacing_interval
* Refactor cubic
* cubic: Bound time_delta
* Make as_uint8_span consteval
* Avoid slower std::ranges::mismatch
* putting important libdir and incdir first
-------------------------------------------------------------------
Sun Jun 22 19:29:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Trim idempotent if..endif guards
- Delete metadata for unproduced ngtcp2-doc subpackage
-------------------------------------------------------------------
Sun Jun 22 14:09:39 UTC 2025 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Additionally build OpenSSL backend and ship it in optional subpackage
-------------------------------------------------------------------
Thu Apr 17 20:23:14 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.12.0
* Avoid limiting CWND during path validation.
* Avoid PMTUD if it is disabled by configuration.
- Use SRPM name as a base for -devel subpackage.
-------------------------------------------------------------------
Sat Feb 8 21:23:45 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.10.0:
* Rename NGTCP2_INITIAL_TABLE_LENBITS to
NGTCP2_INITIAL_HASHBITS
* Do not extend app-limited period
* Fuzz sequences of different received packets
* Fuzz timestamp in read_write_pkt fuzzer
* Exercise all CC algorithms in read_write_pkt fuzzer
* Exercise client in read_write_pkt fuzzer
* Fix assertion error when retransmitting 0 length STREAM
* Fuzz remote transport params in read_write_pkt fuzzer
* Update ksl fuzzer with FuzzedDataProvider
* Remove outdated PMTUD probe packet handling when it is lost
* Add ngtcp2_rob fuzzer
- update to 1.9.1:
* Fixes CVE-2024-52811
- update to 1.9.0:
* ringbuf: silence superfluous unused function warning on
NDEBUG builds
* Use REQUIRED when finding a package
* Remove extra semicolons
* examples: GRO buffer size should be 64KiB
* Limit the number of ACK frames per packet
* Nothing to acknowledge in a 0RTT packet
* Introduce ngtcp2_ksl_search
* Update doc
* Loosen app-limited condition
* Tweak threshold for max_stream_data and max_data transmission
* Add note for window auto-tuning
* examples/client: Disable window auto-tuning by default
* ngtcp2_ksl: Use proper type
* Retry token validation with more detailed error reporting
* examples: Call getnameinfo only when logging is required
* Replace http_parser_parse_url with urlparse
- update to 1.8.1:
* Fix connection stall due to cwnd limited
- update to 1.8.0:
* ngtcp2_cid: Update doc and style
* Add const qualifier
* ngtcp2_pkt_decode_hd_long: Do not touch dest on error
* ngtcp2_pkt_decode_ack_frame: Remove useless initialization
* Change clang-format options
* Fixing cmake export
* Rtb on pkt lost
* Rtb refactor
* Crypto refactor
* ngtcp2_pkt_encode_ack_frame: Make fr const and fix doc
* ngtcp2_ppe: Update style
* Remove unused NGTCP2_MAX_RX_(INITIAL|HANDSHAKE)_CRYPTO_DATA
* ngtcp2_map: Fix hash computation
* ngtcp2_map: Rename tablelenbits to hashbits
* Map refactor
* CUBIC RFC 9438
* Amend CUBIC
* Hystart++ RFC 9406
- update to 1.7.0:
* Cleanup end of macro comments and clang-format
* GHA: Remove EXTRA_LDFLAGS
* Bump docker/build-push-action from 5 to 6
* Add ngtcp2_tpe, testing packet encoder
* Refactor packet writer functions for testing
* ngtcp2_gaptr: Cleanup doc and style
* ngtcp2_idtr: Clean doc and fix wrong assertions
* Added options to command find_package
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 1 22:03:43 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org> Mon Jul 1 22:03:43 UTC 2024 - Michal Hrusecky <michal.hrusecky@opensuse.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package ngtcp2 # spec file for package ngtcp2
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,19 @@
%global soname libngtcp2 %global soname libngtcp2
%global sover 16 %global sover 16
%global gnutls_soname libngtcp2_crypto_gnutls %global gnutls_soname %{soname}_crypto_gnutls
%global gnutls_sover 8 %global gnutls_sover 8
%global openssl_soname %{soname}_crypto_ossl
%global openssl_sover 0
%if 0%{?suse_version} > 1600
%bcond_without openssl
%else
# requires OpenSSL 3.x with QUIC support
%bcond_with openssl
%endif
Name: ngtcp2 Name: ngtcp2
Version: 1.6.0 Version: 1.13.0
Release: 0 Release: 0
Summary: Implementation of the IETF QUIC protocol Summary: Implementation of the IETF QUIC protocol
License: MIT License: MIT
@@ -36,51 +45,64 @@ BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(gnutls) >= 3 BuildRequires: pkgconfig(gnutls) >= 3
BuildRequires: pkgconfig(libnghttp3) >= 1.0.0 BuildRequires: pkgconfig(libnghttp3) >= 1.0.0
%if %{with openssl}
BuildRequires: pkgconfig(openssl)
%endif
%description %description
ngtcp2 is an effort to implement RFC9000 QUIC protocol. ngtcp2 is an implementation of the QUIC protocol (RFC 9000)
with a C library API.
%package -n %{soname}-%{sover} %package -n %{soname}-%{sover}
Summary: Shared library for ngtcp2 Summary: Implementation of the IETF QUIC protocol
Group: System/Libraries Group: System/Libraries
%description -n %{soname}-%{sover} %description -n %{soname}-%{sover}
Shared C libraries for implementation of QUIC Protocol ngtcp2 is an implementation of the QUIC protocol (RFC 9000)
with a C library API.
%package -n %{gnutls_soname}%{gnutls_sover} %package -n %{gnutls_soname}%{gnutls_sover}
Summary: Shared library for ngtcp2 - GNUTLS backend Summary: The ngtcp2 crypto API with GNUTLS as a backend
Group: System/Libraries Group: System/Libraries
%description -n %{gnutls_soname}%{gnutls_sover} %description -n %{gnutls_soname}%{gnutls_sover}
Shared C libraries for implementation of QUIC Protocol - GNUTLS backend ngtcp2 is an implementation of the QUIC protocol (RFC 9000).
This package contains the crypto API of ngtcp2, which was built using
GNUTLS as the cryptographic provider.
%package -n %{openssl_soname}%{openssl_sover}
Summary: The ngtcp2 crypto API with OpenSSL as a backend
Group: System/Libraries
%description -n %{openssl_soname}%{openssl_sover}
ngtcp2 is an implementation of the QUIC protocol (RFC 9000).
This package contains the crypto API of ngtcp2, which was built using
OpenSSL as the cryptographic provider.
%package -n python3-ngtcp2 %package -n python3-ngtcp2
Summary: Python3 bindings for ngtcp2 Summary: Python3 bindings for ngtcp2
Group: Development/Libraries/Python Group: Development/Libraries/Python
%description -n python3-ngtcp2 %description -n python3-ngtcp2
Python bindings for implementation of QUIC Protocol Python bindings for the ngtcp2 implementation of the QUIC protocol.
%package -n %{soname}-devel %package devel
Summary: Development files for ngtcp2 Summary: Development files for ngtcp2
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: %{gnutls_soname}%{gnutls_sover} = %{version} Requires: %{gnutls_soname}%{gnutls_sover} = %{version}
%if %{with openssl}
Requires: %{openssl_soname}%{openssl_sover} = %{version}
%endif
Requires: %{soname}-%{sover} = %{version} Requires: %{soname}-%{sover} = %{version}
Provides: %{name}-devel Provides: libngtcp2-devel = %{version}-%{release}
Obsoletes: libngtcp2-devel < %{version}-%{release}
%description -n %{soname}-devel %description devel
Development files for usage with libngtcp2, which implements Development files for use with libngtcp2, which implements the
QUIC Protocol. QUIC protocol.
%package doc
Summary: Documentation for ngtcp2
Group: Documentation/HTML
%description doc
Documentation for ngtcp2, which includes a shared C library
%prep %prep
%setup -q -n ngtcp2-%{version} %autosetup -n ngtcp2-%{version} -p1
%build %build
%configure \ %configure \
@@ -89,7 +111,11 @@ Documentation for ngtcp2, which includes a shared C library
--enable-lib-only \ --enable-lib-only \
--with-libnghttp3 \ --with-libnghttp3 \
--with-gnutls \ --with-gnutls \
%if %{with openssl}
--with-openssl \
%else
--without-openssl \ --without-openssl \
%endif
--without-libev \ --without-libev \
%{nil} %{nil}
%make_build all %make_build all
@@ -110,6 +136,7 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
%ldconfig_scriptlets -n %{soname}-%{sover} %ldconfig_scriptlets -n %{soname}-%{sover}
%ldconfig_scriptlets -n %{gnutls_soname}%{gnutls_sover} %ldconfig_scriptlets -n %{gnutls_soname}%{gnutls_sover}
%ldconfig_scriptlets -n %{openssl_soname}%{openssl_sover}
%files -n %{soname}-%{sover} %files -n %{soname}-%{sover}
%license COPYING %license COPYING
@@ -119,12 +146,22 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
%license COPYING %license COPYING
%{_libdir}/%{gnutls_soname}.so.%{gnutls_sover}* %{_libdir}/%{gnutls_soname}.so.%{gnutls_sover}*
%files -n %{soname}-devel %if %{with openssl}
%files -n %{openssl_soname}%{openssl_sover}
%license COPYING
%{_libdir}/%{openssl_soname}.so.%{openssl_sover}*
%endif
%files devel
%dir %{_includedir}/%{name}/ %dir %{_includedir}/%{name}/
%{_includedir}/%{name}/*.h %{_includedir}/%{name}/*.h
%{_libdir}/%{soname}.so %{_libdir}/%{soname}.so
%{_libdir}/%{gnutls_soname}.so %{_libdir}/%{gnutls_soname}.so
%{_libdir}/pkgconfig/%{soname}.pc %{_libdir}/pkgconfig/%{soname}.pc
%{_libdir}/pkgconfig/libngtcp2_crypto_gnutls.pc %{_libdir}/pkgconfig/libngtcp2_crypto_gnutls.pc
%if %{with openssl}
%{_libdir}/%{openssl_soname}.so
%{_libdir}/pkgconfig/libngtcp2_crypto_ossl.pc
%endif
%changelog %changelog