SHA256
8
0
forked from pool/ngtcp2

29 Commits

Author SHA256 Message Date
Elisei Roca
d88689ddae Add package in slfo-main 2026-01-15 11:58:07 +01:00
5505b7f600 Accepting request 1326961 from devel:libraries:c_c++
- Update to 1.19.0:
  * ngtcp2_log: Add missing error codes
  * ngtcp2_str: Remove redundant assignment
  * Update RTT when the largest packet number is acked
  * ngtcp2_qlog: Add const qualifier to vec_pkt_type*
  * bbr: Remove CWND reduction on congestion event
  * bbr: More backups for spurious losses
  * Add ngtcp2_vec_drop
  * Rewrite get_uvarint
  * Rework ngtcp2_frame union to avoid potential UB
  * ksl: Rework key storage to avoid struct hack
  * acktr: Refactor ACK creation function
  * ngtcp2_ksl: Remove alignment enforcement for keys
  * Bump urlparse
  * Refactor with compound literals
  * Add libngtcp2 to pkg-config Requires.private
  * Revise libngtcp2 include dir setup
  * Export CMake target for ngtcp2_crypto_ossl(_static) (forwarded request 1326938 from pmonrealgonzalez)

OBS-URL: https://build.opensuse.org/request/show/1326961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=13
2026-01-14 15:19:33 +00:00
801733e72a - Update to 1.19.0:
* ngtcp2_log: Add missing error codes
  * ngtcp2_str: Remove redundant assignment
  * Update RTT when the largest packet number is acked
  * ngtcp2_qlog: Add const qualifier to vec_pkt_type*
  * bbr: Remove CWND reduction on congestion event
  * bbr: More backups for spurious losses
  * Add ngtcp2_vec_drop
  * Rewrite get_uvarint
  * Rework ngtcp2_frame union to avoid potential UB
  * ksl: Rework key storage to avoid struct hack
  * acktr: Refactor ACK creation function
  * ngtcp2_ksl: Remove alignment enforcement for keys
  * Bump urlparse
  * Refactor with compound literals
  * Add libngtcp2 to pkg-config Requires.private
  * Revise libngtcp2 include dir setup
  * Export CMake target for ngtcp2_crypto_ossl(_static)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=40
2026-01-13 12:15:22 +00:00
2ce0b78d2d Accepting request 1323115 from devel:libraries:c_c++
- Update to 1.18.0:

OBS-URL: https://build.opensuse.org/request/show/1323115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=12
2025-12-17 16:31:27 +00:00
137606f962 Trim changelog
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=38
2025-12-16 12:33:09 +00:00
032283e38b - Update to 1.18.0:
* Assume payload is not empty when decoding a QUIC frame by
   @tatsuhiro-t in #1846
  * Assert payloadlen > 0 for type only frames by @tatsuhiro-t in #1847
  * Map refactor by @tatsuhiro-t in #1848 #1849
  * ngtcp2_map: Optimize a little bit further by @tatsuhiro-t in #1851
  * Fix memory leak on Retry by @tatsuhiro-t in #1852
  * Fix build fuzzer failure by @tatsuhiro-t in #1855
  * Fix bug that bbr_handle_restart_from_idle with inflight == 0 by
    @tatsuhiro-t in #1857
  * Optimize ngtcp2_ksl by @tatsuhiro-t in #1853
  * Run cflite batch manually by @tatsuhiro-t in #1859
  * ngtcp2_map: Resize if PSL gets really large just in case by
    @tatsuhiro-t in #1861
  * Encode uint by @tatsuhiro-t in #1863
  * Rename ngtcp2_encode_hex to ngtcp2_encode_hex_cstr by @tatsuhiro-t
    in #1864
  * Encode hex by @tatsuhiro-t in #1869
  * ngtcp2_str: Add _cstr suffix to functions that return C string by
    @tatsuhiro-t in #1870
  * ngtcp2_str: Use char buffer for cstr functions by @tatsuhiro-t
    in #1871
  * Fix potential double free by @tatsuhiro-t in #1876
  * Delete unusable initial rx key on if tx key installation fails
    by @tatsuhiro-t in #1877
  * crypto: Allow an application to store opaque data to a regular
    token by @tatsuhiro-t in #1879
  * Remove unused ngtcp2_path_init by @tatsuhiro-t in #1881
  * crypto/ossl: Allow pre-fetch failure by @tatsuhiro-t in #1885
  * More initialization with compound literals by @tatsuhiro-t in #1886

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=37
2025-12-16 12:28:11 +00:00
fb96f9c9a5 Accepting request 1313210 from devel:libraries:c_c++
- Update to 1.17.0:
  * Remove redundant casts by @tatsuhiro-t in #1798
  * Revert #1798 partially by @tatsuhiro-t in #1799
  * examples: Use std::ranges::begin and std::ranges::end
    consistently by @tatsuhiro-t in #1800
  * Initial packets padding with no_tx_udp_payload_size_shaping by
    @tatsuhiro-t in #1801
  * Remove redundant semicolon by @tatsuhiro-t in #1802
  * Make ngtcp2_stream.fin of type int by @tatsuhiro-t in #1803
  * Fix typos in documentation and comments by @Copilot in #1804
  * Update bbr by @tatsuhiro-t in #1807
  * examples: Limit tx buffer for non-GSO case by @tatsuhiro-t in #1812
  * cubic: Compute remainder of "acked_bytes" without modulo by
    @tatsuhiro-t in #1813
  * Replace POPCNT-based ispow2 with portable bitwise implementation to
    prevent illegal instruction crashes by @mk185147 in #1811
  * Reduce NGTCP2_HARD_MAX_UDP_PAYLOAD_SIZE to 64k by @tatsuhiro-t in #1814
  * Bump openssl to v3.6.0 by @tatsuhiro-t in #1815
  * bbr: Avoid modifying ngtcp2_rs on packet loss by @tatsuhiro-t in #1816
  * Always call CC on_ack_recv by @tatsuhiro-t in #1817
  * Revert "examples: Limit tx buffer for non-GSO case" by @tatsuhiro-t in #1818
  * Make sure that CC on_ack_recv when ACK is received by @tatsuhiro-t in #1820
  * Use solely cc_ack.largest_pkt_sent_ts and remove largest_pkt_sent_ts by
    @tatsuhiro-t in #1821
  * Pass ngtcp2_cc_ack to CC on_congestion_event by @tatsuhiro-t in #1822
  * Remove unused ngtcp2_cc_ack.prior_bytes_in_flight by @tatsuhiro-t in #1823
  * Add ngtcp2_conn_write_aggregate_pkt2 by @tatsuhiro-t in #1824
  * examples: Add gso-burst option by @tatsuhiro-t in #1825
  * Add ngtcp2_conn_get_stream_user_data by @tatsuhiro-t in #1828
  * cc: Compute pacing interval and send_quantum by @tatsuhiro-t in #1829 (forwarded request 1313180 from pmonrealgonzalez)

OBS-URL: https://build.opensuse.org/request/show/1313210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=11
2025-10-24 15:23:03 +00:00
697f73e868 - Update to 1.17.0:
* Remove redundant casts by @tatsuhiro-t in #1798
  * Revert #1798 partially by @tatsuhiro-t in #1799
  * examples: Use std::ranges::begin and std::ranges::end
    consistently by @tatsuhiro-t in #1800
  * Initial packets padding with no_tx_udp_payload_size_shaping by
    @tatsuhiro-t in #1801
  * Remove redundant semicolon by @tatsuhiro-t in #1802
  * Make ngtcp2_stream.fin of type int by @tatsuhiro-t in #1803
  * Fix typos in documentation and comments by @Copilot in #1804
  * Update bbr by @tatsuhiro-t in #1807
  * examples: Limit tx buffer for non-GSO case by @tatsuhiro-t in #1812
  * cubic: Compute remainder of "acked_bytes" without modulo by
    @tatsuhiro-t in #1813
  * Replace POPCNT-based ispow2 with portable bitwise implementation to
    prevent illegal instruction crashes by @mk185147 in #1811
  * Reduce NGTCP2_HARD_MAX_UDP_PAYLOAD_SIZE to 64k by @tatsuhiro-t in #1814
  * Bump openssl to v3.6.0 by @tatsuhiro-t in #1815
  * bbr: Avoid modifying ngtcp2_rs on packet loss by @tatsuhiro-t in #1816
  * Always call CC on_ack_recv by @tatsuhiro-t in #1817
  * Revert "examples: Limit tx buffer for non-GSO case" by @tatsuhiro-t in #1818
  * Make sure that CC on_ack_recv when ACK is received by @tatsuhiro-t in #1820
  * Use solely cc_ack.largest_pkt_sent_ts and remove largest_pkt_sent_ts by
    @tatsuhiro-t in #1821
  * Pass ngtcp2_cc_ack to CC on_congestion_event by @tatsuhiro-t in #1822
  * Remove unused ngtcp2_cc_ack.prior_bytes_in_flight by @tatsuhiro-t in #1823
  * Add ngtcp2_conn_write_aggregate_pkt2 by @tatsuhiro-t in #1824
  * examples: Add gso-burst option by @tatsuhiro-t in #1825
  * Add ngtcp2_conn_get_stream_user_data by @tatsuhiro-t in #1828
  * cc: Compute pacing interval and send_quantum by @tatsuhiro-t in #1829

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=35
2025-10-23 12:11:17 +00:00
0c72514f98 Accepting request 1310714 from devel:libraries:c_c++
- Update to 1.16.0:

OBS-URL: https://build.opensuse.org/request/show/1310714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=10
2025-10-14 16:04:55 +00:00
f0854048cc Remove idempotent if..endif guards
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=33
2025-10-11 10:28:10 +00:00
d613f7f0bb needs the matching nghttp3 submission
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=32
2025-10-11 09:54:54 +00:00
0cb4dc0d7b Accepting request 1296602 from devel:libraries:c_c++
- Update to 1.14.0:

OBS-URL: https://build.opensuse.org/request/show/1296602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=9
2025-08-05 12:20:16 +00:00
e2b9084e3d Drop idempotent if..endif guards
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=30
2025-07-30 16:17:38 +00:00
2ac7afdaee - Split the devel package into the gnutls and openssl parts.
These packages are now called libngtcp2_crypto_gnutls-devel
  and libngtcp2_crypto_ossl-devel.

- Update to 1.14.0:
  * Add util::system_clock_now
  * Make read_pem return std::vector<uint8_t>
  * Refactor cubic
  * Add ngtcp2_begin_path_validation callback
  * ngtcp2_map: Hash key
  * Update BBR to the current draft and simplify code
  * Map seed
  * ngtcp2_map: Change load factor to 7/8
  * Fix pc files for static linkage
  * Build with the latest nghttp3
  * Assert that fin is set or datalen > 0
  * Return error if too many STREAM frames are accumulated for resend
  * Set minimum STREAM data size when serializing into a packet
  * Avoid memset for 1-RTT ngtcp2_pktns
  * lib: Compound Literals
  * Bump OpenSSL to v3.5.1
  * Run quic-interop-runner
  * quic-interop-runner: Enhance log reduction
  * quic-interop-runner: Add workflow_dispatch inputs
  * Require nghttp3 >= v1.11.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=29
2025-07-30 12:44:34 +00:00
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
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
f5554cdc0e Accepting request 1185323 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1185323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=5
2024-07-04 14:27:18 +00:00
6f0c3f5fbc - make devel package require also gnutls variant of the library
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=17
2024-07-04 07:36:53 +00:00
f4ba66ef37 Accepting request 1181358 from devel:libraries:c_c++
- update to 1.6.0:
  * examples: Print negotiated group if TLS stack gives that
    information
  * Remove ngtcp2_min and ngtcp2_max
  * Keep-alive packet should trigger PTO
  * Fix ngtcp2_conn_stat.max_tx_udp_payload_size update
  * Adjust memory pool allocation units to reduce allocation size
  * Adjust NGTCP2_ACKTR_MAX_ENT to match NGTCP2_MAX_ACK_RANGES +
    1
  * Allocate ngtcp2_acktr_entry at once not to waste memory
  * Fix memory leak when stream datacnt gets below allocation
    threshold
  * Refactor ngtcp2_frame_chain allocation for ngtcp2_stream
- update to 1.5.0:
  * Pack more QUIC packets on large PMTUD probes
  * Drop UDP datagram if it comes from a well-known port
  * Rework transmitting empty STREAM frame
  * Take into account SCID length when computing minimum packet
    size
  * More prohibited ports
  * client: Handle error from feed_data
  * server: Send stateless reset
  * crypto: Adjust token stack buffer sizes
  * crypto: Reduce NGTCP2_CRYPTO_TOKEN_RAND_DATALEN to 16
  * Adopt std::to_array
  * server: Use std::span for sized binary data
  * client: Use std::span for sized binary data
  * examples: More std::span
  * std::unordered_map lookup by std::string_view
  * Refactor format_hex

OBS-URL: https://build.opensuse.org/request/show/1181358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=4
2024-06-18 20:51:25 +00:00
98253c03f7 - update to 1.6.0:
* examples: Print negotiated group if TLS stack gives that
    information
  * Remove ngtcp2_min and ngtcp2_max
  * Keep-alive packet should trigger PTO
  * Fix ngtcp2_conn_stat.max_tx_udp_payload_size update
  * Adjust memory pool allocation units to reduce allocation size
  * Adjust NGTCP2_ACKTR_MAX_ENT to match NGTCP2_MAX_ACK_RANGES +
    1
  * Allocate ngtcp2_acktr_entry at once not to waste memory
  * Fix memory leak when stream datacnt gets below allocation
    threshold
  * Refactor ngtcp2_frame_chain allocation for ngtcp2_stream
- update to 1.5.0:
  * Pack more QUIC packets on large PMTUD probes
  * Drop UDP datagram if it comes from a well-known port
  * Rework transmitting empty STREAM frame
  * Take into account SCID length when computing minimum packet
    size
  * More prohibited ports
  * client: Handle error from feed_data
  * server: Send stateless reset
  * crypto: Adjust token stack buffer sizes
  * crypto: Reduce NGTCP2_CRYPTO_TOKEN_RAND_DATALEN to 16
  * Adopt std::to_array
  * server: Use std::span for sized binary data
  * client: Use std::span for sized binary data
  * examples: More std::span
  * std::unordered_map lookup by std::string_view
  * Refactor format_hex

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=15
2024-06-17 18:21:24 +00:00
1b26e03d2c Accepting request 1142109 from devel:libraries:c_c++
- update to 1.2.0:
  * Remove sample_offset field from ngtcp2_ppe
  * wolfssl: Just use QUIC v1 transport parameter codepoint
  * Do not send STOP_SENDING if RESET_STREAM has been
    received
  * Return early when STOP_SENDING is received more than once
  * Do not send STOP_SENDING if RESET_STREAM has been
    received
  * Fix persistent congestion
  * ngtcp2_pkt_adjust_pkt_num: Take bytes rather than bits
  * Remove use of SSL_set_quic_transport_version
  * Switch interop client/server to wolfssl because OpenSSL
    1.1.1 has been EOLed and OpenSSL 3.x has the various
    performance issues due to its design decision.
    wolfssl has been chosen because it has the ability
    to specify chacha cipher suite and it is also relatively
    easy to build compared to GnuTLS.
  * Avoid detecting OpenSSL 3.2 as quictls
  * cmake: Require nghttp3 >= v1.0.0

OBS-URL: https://build.opensuse.org/request/show/1142109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=3
2024-01-29 21:28:41 +00:00
eaf2aac8e3 - update to 1.2.0:
* Remove sample_offset field from ngtcp2_ppe
  * wolfssl: Just use QUIC v1 transport parameter codepoint
  * Do not send STOP_SENDING if RESET_STREAM has been
    received
  * Return early when STOP_SENDING is received more than once
  * Do not send STOP_SENDING if RESET_STREAM has been
    received
  * Fix persistent congestion
  * ngtcp2_pkt_adjust_pkt_num: Take bytes rather than bits
  * Remove use of SSL_set_quic_transport_version
  * Switch interop client/server to wolfssl because OpenSSL
    1.1.1 has been EOLed and OpenSSL 3.x has the various
    performance issues due to its design decision.
    wolfssl has been chosen because it has the ability
    to specify chacha cipher suite and it is also relatively
    easy to build compared to GnuTLS.
  * Avoid detecting OpenSSL 3.2 as quictls
  * cmake: Require nghttp3 >= v1.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=13
2024-01-28 17:16:47 +00:00
094ca6a144 Accepting request 1135547 from devel:libraries:c_c++
- update to 1.1.0:
  * Extract ngtcp2_frame_chain to its own file
  * Refactor ringbuf
  * Fix typo
  * Rename reset stream flags
  * Remove unused ngtcp2_conn_resched_frames
  * crypto: Fix bug that retry token AAD does not include QUIC version
  * cmake: re-add two missing includes
  * Bump clang to 15
  * quictls: Prefetch objects to workaround 3.x perf regression
  * Bump clang-format to 15
  * Bump quictls to 3.1.4+quic
  * Deprecate NGTCP2_PROTO_VER_MIN and NGTCP2_PROTO_VER_MAX
  * ngtcp2_conn_write_datagram conveniently accepts single buffer
  * windows: Fix warnings
  * ptlsclient, ptlsserver: Support hq
  * h09client: Use util::write_token
  * Cpp ext
  * Use __FILE_NAME__ instead of __FILE__
  * examples: Rename extend_max_streams_bidi to extend_max_local_streams_bidi
  * Define varint identifiers as macros
  * Limit the number of NEW_CONNECTION_ID frames that are in-flight
  * Make frame type of type uint64_t
  * Fix doc
  * Fix assertion failure
  * Eliminate floating point computations
  * Bump actions/github-script from 6 to 7
  * client: Optimize a bit
  * Revert ignoring loss signal during startup
  * Rework app_limited

OBS-URL: https://build.opensuse.org/request/show/1135547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=2
2024-01-03 11:23:08 +00:00
357b5532b5 - update to 1.1.0:
* Extract ngtcp2_frame_chain to its own file
  * Refactor ringbuf
  * Fix typo
  * Rename reset stream flags
  * Remove unused ngtcp2_conn_resched_frames
  * crypto: Fix bug that retry token AAD does not include QUIC version
  * cmake: re-add two missing includes
  * Bump clang to 15
  * quictls: Prefetch objects to workaround 3.x perf regression
  * Bump clang-format to 15
  * Bump quictls to 3.1.4+quic
  * Deprecate NGTCP2_PROTO_VER_MIN and NGTCP2_PROTO_VER_MAX
  * ngtcp2_conn_write_datagram conveniently accepts single buffer
  * windows: Fix warnings
  * ptlsclient, ptlsserver: Support hq
  * h09client: Use util::write_token
  * Cpp ext
  * Use __FILE_NAME__ instead of __FILE__
  * examples: Rename extend_max_streams_bidi to extend_max_local_streams_bidi
  * Define varint identifiers as macros
  * Limit the number of NEW_CONNECTION_ID frames that are in-flight
  * Make frame type of type uint64_t
  * Fix doc
  * Fix assertion failure
  * Eliminate floating point computations
  * Bump actions/github-script from 6 to 7
  * client: Optimize a bit
  * Revert ignoring loss signal during startup
  * Rework app_limited

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=11
2023-12-28 21:09:27 +00:00
b4e9b7e7b2 Accepting request 1127906 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1127906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ngtcp2?expand=0&rev=1
2023-11-21 20:31:41 +00:00
OBS User buildservice-autocommit
11fc584a1b baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=9
2023-11-21 20:31:41 +00:00
10 changed files with 287 additions and 67 deletions

View File

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

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUWtiKRjRXEeKseo6UzmivoLgfewFAmdkDC8ACgkQUzmivoLg
feyerQ/+O7BQRCKHEDNzMl5wJiWYTmCsNb+L+vXJecL4Ev361XjDsjvivweKc6Me
tR/ViH1+VmOmbZJQTtDCLz8vxH6fqtxNl8VH3rUZBPAJb8n7WEhXmdVD2364Mznj
yxacuSfeLZ2ZVxTrhEjJSD5EEbEW5JE4DIeKD0Q8/Q69lkQNtk9qTuYiAQVH4+bc
xCCB+2kSGHYUAcBnfeHNF8oAhf6+6SKsdJUXwkDnTQ7nXPWfoBx3z8yI3s/IFfAW
KG4CrgVcTpvXxipxzBiapvwiRGzYFgS49Cs5Nzjne18JluWKWOYBFFyBspa3kjGA
OF6hYOHzLufOQuMMGL6mCglpCtEt/4ygPeecnEB5qDDOaBv3x1MJ76yCRxzUnB2m
ZMlgq4Naa5RYOHatDt0Y2OwOa8SV9K+TU0QFoIRkC7O7xG3S76pC1+1Y+0yiykEQ
5WmJqS4CUXePM9pLJYVE7MnzJfZbI711XGf9YXKHjl5IzgX5ySsPMa1NUhiKjf8R
7AV7Xux6HcucMwGyQTQ3Kxg9cBKQKhGex2h43Hz3c5uD5RLB+uqmbm1SlM7+BSpu
/HlllXl7+ZsxOgBvIbuM/fFOvQH4iMVCH7Uy68+FEZg2hMltjh4jzKkRCENxmpTR
Wtnz00kEDs1ij7vt6goKMWWxWZhIidcKcoyCHrExlJhB6kDaVdE=
=n9XC
-----END PGP SIGNATURE-----

View File

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

View File

@@ -1,16 +0,0 @@
-----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-----

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

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

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

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUWtiKRjRXEeKseo6UzmivoLgfewFAmlKbS4ACgkQUzmivoLg
fezLAxAAv8SL5W5B74891GPK1M0ykGhshucboIE9ZiekxHjAIgHR+UBjr6eMWnrq
7vmrevqFBIkcqcBt8hPBwRBTCb7Ip/oLFlhPtDPbO/J/AFBy3WsIoaQB/LF6cDeD
2c2KHhCYljW9Z6VP6qZZB6jwe87GHR4LAGS0p2SfdL3vk9pUo0H3Tgr7cNRosPRh
pk4xELRK2RCzE+L7mfnq9xYDW2NNOkt2iIIxfxBcAx79cSwv7sx8oaoP7967BFXK
QyJBhB4Ib/CUr2yqpDMoJENkqMAv9kRa1EuC1O7Klbdlc2dAoZB+7qmRBNCHzZAa
pZymFTtsUP7Q+ELypYGzNbAngj1bZ6PwMuGK1BcYYugbiabhfP2qDvYU3dSbMIYz
XCEYdqUaAzHKI8mJtioIe6N/Mjl3N5nN9E3Nm8iMyoI3wJqn6p3LTczewo0y/rCz
ImuYzq773XXF6nzbnC+zu7vyrDqiVE/YwlAcWjXp4aD+6auxSj4Cdka82m7G45zi
CYp6GbTMhRdJVgePAqGlQ2EwzWyVPst5SYi26Trw1bgoXbWVrnzrrz3RCrjB5cMc
h3c5bpllIJy8IxIUG923EIhJhjzxR0N7U4f9T+cIjJheLLydv0Cx8iWcbB8IuPlJ
2R+r03GQoaRjYwgPM4PG3VxG8oHcWngB6f53leZUl9843AwIkjM=
=6D3w
-----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,230 @@
-------------------------------------------------------------------
Tue Jan 13 10:19:26 UTC 2026 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.19.0:
* ngtcp2_log: Add missing error codes
* ngtcp2_str: Remove redundant assignment
* Update RTT when the largest packet number is acked
* ngtcp2_qlog: Add const qualifier to vec_pkt_type*
* bbr: Remove CWND reduction on congestion event
* bbr: More backups for spurious losses
* Add ngtcp2_vec_drop
* Rewrite get_uvarint
* Rework ngtcp2_frame union to avoid potential UB
* ksl: Rework key storage to avoid struct hack
* acktr: Refactor ACK creation function
* ngtcp2_ksl: Remove alignment enforcement for keys
* Bump urlparse
* Refactor with compound literals
* Add libngtcp2 to pkg-config Requires.private
* Revise libngtcp2 include dir setup
* Export CMake target for ngtcp2_crypto_ossl(_static)
-------------------------------------------------------------------
Tue Dec 16 10:33:33 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.18.0:
* Assume payload is not empty when decoding a QUIC frame
* Fix a memory leak on Retry
* Rename ngtcp2_encode_hex to ngtcp2_encode_hex_cstr
* Fix a potential double free
* Delete unusable initial rx key on if tx key installation fails
* crypto: Allow an application to store opaque data for a regular
token
* crypto: Fix memcpy runtime error: null pointer passed as
argument 1
* Raise glitch counter initial limits
* Set ngtcp2_conn to NULL if its initialization fails
* Fix the bug that Initial packet is not padded
* Try padding even if the current packet size >= 1200
* Increase stream data fragmentation limit
-------------------------------------------------------------------
Thu Oct 23 09:39:52 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.17.0:
* Remove redundant casts by @tatsuhiro-t in #1798
* Revert #1798 partially by @tatsuhiro-t in #1799
* examples: Use std::ranges::begin and std::ranges::end
consistently by @tatsuhiro-t in #1800
* Initial packets padding with no_tx_udp_payload_size_shaping by
@tatsuhiro-t in #1801
* Remove redundant semicolon by @tatsuhiro-t in #1802
* Make ngtcp2_stream.fin of type int by @tatsuhiro-t in #1803
* Fix typos in documentation and comments by @Copilot in #1804
* Update bbr by @tatsuhiro-t in #1807
* examples: Limit tx buffer for non-GSO case by @tatsuhiro-t in #1812
* cubic: Compute remainder of "acked_bytes" without modulo by
@tatsuhiro-t in #1813
* Replace POPCNT-based ispow2 with portable bitwise implementation to
prevent illegal instruction crashes by @mk185147 in #1811
* Reduce NGTCP2_HARD_MAX_UDP_PAYLOAD_SIZE to 64k by @tatsuhiro-t in #1814
* Bump openssl to v3.6.0 by @tatsuhiro-t in #1815
* bbr: Avoid modifying ngtcp2_rs on packet loss by @tatsuhiro-t in #1816
* Always call CC on_ack_recv by @tatsuhiro-t in #1817
* Revert "examples: Limit tx buffer for non-GSO case" by @tatsuhiro-t in #1818
* Make sure that CC on_ack_recv when ACK is received by @tatsuhiro-t in #1820
* Use solely cc_ack.largest_pkt_sent_ts and remove largest_pkt_sent_ts by
@tatsuhiro-t in #1821
* Pass ngtcp2_cc_ack to CC on_congestion_event by @tatsuhiro-t in #1822
* Remove unused ngtcp2_cc_ack.prior_bytes_in_flight by @tatsuhiro-t in #1823
* Add ngtcp2_conn_write_aggregate_pkt2 by @tatsuhiro-t in #1824
* examples: Add gso-burst option by @tatsuhiro-t in #1825
* Add ngtcp2_conn_get_stream_user_data by @tatsuhiro-t in #1828
* cc: Compute pacing interval and send_quantum by @tatsuhiro-t in #1829
* bbr: Clamp initial pacing interval by @tatsuhiro-t in #1830
* More app controllable ngtcp2_conn_write_aggregate_pkt2 by @tatsuhiro-t in #1831
* Deprecate NGTCP2_MAX_PMTUD_UDP_PAYLOAD_SIZE by @tatsuhiro-t in #1832
* Add NGTCP2_MAX_TX_UDP_PAYLOAD_SIZE macro by @tatsuhiro-t in #1833
* Clarify NGTCP2_MAX_UDP_PAYLOAD_SIZE by @tatsuhiro-t in #1834
* cc: Increase minimum send_quantum to 10 by @tatsuhiro-t in #1835
* examples: Increase number of packets to read by @tatsuhiro-t in #1836
* build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #1837
* Server optimize write by @tatsuhiro-t in #1838
* Relax the timer handling by @tatsuhiro-t in #1840
* Bump LibreSSL to 4.2.0 by @nak3 in #1839
* Bump boringssl by @tatsuhiro-t in #1841
* Bump aws-lc to v1.62.0 by @tatsuhiro-t in #1842
* Relax the timer handling further by @tatsuhiro-t in #1843
-------------------------------------------------------------------
Sat Oct 11 00:48:35 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- configure looks for a std=20 compiler on 15.6. Force a newer GCC
to satisfy that requirement.
-------------------------------------------------------------------
Fri Oct 10 23:49:35 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to 1.16.0:
- build: install crypto header for libressl by @vszakats in #1752
- doc: Add "Aggregate packets for GSO" section by @tatsuhiro-t in
#1753
- examples: Adopt std::make_unique_for_overwrite by @tatsuhiro-t
in #1754
- GHA: Reduce distcheck tests to 1 by @tatsuhiro-t in #1755
- build(deps): bump actions/checkout from 4 to 5 by
@dependabot[bot] in #1756
- GHA: Set permissions for quic-interop-runner by @tatsuhiro-t in
#1757
- Add stats for sent, received, and lost QUIC packets and bytes
by @tatsuhiro-t in #1758
- Export packet stats to ngtcp2_conn_info by @tatsuhiro-t in
#1759
- ngtcp2_log: Do not format string by @tatsuhiro-t in #1760
- Fix format specifier by @tatsuhiro-t in #1761
- ngtcp2_log: Remove stray spaces by @tatsuhiro-t in #1762
- Remove unused NGTCP2_MAX_RETRIES macro by @tatsuhiro-t in #1764
- More use of designated initializers and compound literals by
@tatsuhiro-t in #1765
- ngtcp2_qlog: Pass an empty string by @tatsuhiro-t in #1766
- examples: constexpr fixup by @tatsuhiro-t in #1767
- ngtcp2_ratelim: Deal with overflow by @tatsuhiro-t in #1770
- build(deps): bump actions/setup-python from 5 to 6 by
@dependabot[bot] in #1771
- build(deps): bump actions/stale from 9 to 10 by
@dependabot[bot] in #1772
- build(deps): bump actions/github-script from 7 to 8 by
@dependabot[bot] in #1773
- examples: Simplify close callbacks by @tatsuhiro-t in #1776
- examples: Adopt std::unordered_map::contains by @tatsuhiro-t in
#1777
- Add ngtcp2_conn_get_timestamp by @tatsuhiro-t in #1778
- cmake: do not require C++ for lib-only builds by @vszakats in
#1779
- Add ngtcp2_conn_info.ping_recv by @tatsuhiro-t in #1781
- Add ngtcp2_conn_info.pkt_discarded by @tatsuhiro-t in #1782
- examples: Adopt nghttp3_conn_read_stream2 by @tatsuhiro-t in
#1783
- examples: Add --no-gso option by @tatsuhiro-t in #1784
- ngtcp2_conn_get_timestamp: Add const qualifier to conn by
@tatsuhiro-t in #1785
- Examples add show stat by @tatsuhiro-t in #1786
- examples: Fix help doc by @tatsuhiro-t in #1787
- configure.ac: allow picotls without ossl by @CL-Jeremy in #1789
- Bump OpenSSL to v3.5.3 by @tatsuhiro-t in #1790
- Bump boringssl by @tatsuhiro-t in #1791
- Bump aws-lc to v1.61.2 by @tatsuhiro-t in #1792
- Bump picotls by @tatsuhiro-t in #1793
- examples: Use nullptr in C++ code by @tatsuhiro-t in #1794
- Fix macro comment by @tatsuhiro-t in #1795
- changes from 1.15.1
- build: install crypto header for libressl by @vszakats in #1752
- changes from 1.15.0
- Use Requires.private because it is needed for static linking by
@tatsuhiro-t in #1721
- Use fallback_path consistently by @tatsuhiro-t in #1722
- examples: Share get_string for urlparse_url.field_data by
@tatsuhiro-t in #1723
- examples: Fix Connection ID validation by @tatsuhiro-t in #1724
- build: use distinct crypto library name for LibreSSL by
@vszakats in #1716
- Fix libressl doc and clarify its include file by @tatsuhiro-t
in #1726
- Aggregate pkts for gso by @tatsuhiro-t in #1727
- GHA: Exclude macos-15 cmake due to the include path issue by
@tatsuhiro-t in #1729
- Pcg by @tatsuhiro-t in #1730
- Chaos protection by @tatsuhiro-t in #1728
- Rename ngtcp2_conn_aggregate_pkts to
ngtcp2_conn_write_aggregate_pkt by @tatsuhiro-t in #1732
- ngtcp2_conn_write_aggregate_pkt: Remove max_num_pkts parameter
by @tatsuhiro-t in #1733
- build(deps): bump actions/download-artifact from 4 to 5 by
@dependabot[bot] in #1734
- Glitch by @tatsuhiro-t in #1735
- Apply glitch limits to RESET_STREAM, STOP_SENDING,
MAX_STREAM_DATA by @tatsuhiro-t in #1736
- Make glitch rate limiter configurable by @tatsuhiro-t in #1737
- doc: Fix field markup by @tatsuhiro-t in #1738
- Bump OpenSSL to v3.5.2 by @tatsuhiro-t in #1739
- Bump aws-lc to v1.58.1 by @tatsuhiro-t in #1740
- Bump boringssl by @tatsuhiro-t in #1741
- Bump clang to 19 by @tatsuhiro-t in #1742
- Fix skipping packet number by @tatsuhiro-t in #1743
- Fix libngtcp2_crypto_ossl.so versioning on CMake by @krant in
#1744
- doc: Clarify that dest, destlen, and ts should be passed too by
@tatsuhiro-t in #1745
- Fix initial CRYPTO crumbling by @tatsuhiro-t in #1746
- Break when buffer size is smaller than path max MTU by
@tatsuhiro-t in #1747
- tests: Add min buf test for ngtcp2_conn_write_aggregate_pkt by
@tatsuhiro-t in #1748
- Bump clang-format to 19 by @tatsuhiro-t
-------------------------------------------------------------------
Wed Jul 30 06:48:20 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
- Split the devel package into the gnutls and openssl parts.
These packages are now called libngtcp2_crypto_gnutls-devel
and libngtcp2_crypto_ossl-devel.
-------------------------------------------------------------------
Tue Jul 29 11:40:05 UTC 2025 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.14.0:
* Add util::system_clock_now
* Make read_pem return std::vector<uint8_t>
* Refactor cubic
* Add ngtcp2_begin_path_validation callback
* ngtcp2_map: Hash key
* Update BBR to the current draft and simplify code
* Map seed
* ngtcp2_map: Change load factor to 7/8
* Fix pc files for static linkage
* Build with the latest nghttp3
* Assert that fin is set or datalen > 0
* Return error if too many STREAM frames are accumulated for resend
* Set minimum STREAM data size when serializing into a packet
* Avoid memset for 1-RTT ngtcp2_pktns
* lib: Compound Literals
* Bump OpenSSL to v3.5.1
* Run quic-interop-runner
* quic-interop-runner: Enhance log reduction
* quic-interop-runner: Add workflow_dispatch inputs
* Require nghttp3 >= v1.11.0
-------------------------------------------------------------------
Mon Jun 23 05:53:05 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ngtcp2
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,10 @@
#
%if 0%{?suse_version} && 0%{?suse_version} < 1600
%global force_gcc_version 14
%endif
%global soname libngtcp2
%global sover 16
%global gnutls_soname %{soname}_crypto_gnutls
@@ -30,7 +34,7 @@
%endif
Name: ngtcp2
Version: 1.13.0
Version: 1.19.0
Release: 0
Summary: Implementation of the IETF QUIC protocol
License: MIT
@@ -40,11 +44,11 @@ Source0: https://github.com/ngtcp2/ngtcp2/releases/download/v%{version}/n
Source1: https://github.com/ngtcp2/ngtcp2/releases/download/v%{version}/ngtcp2-%{version}.tar.xz.asc
Source2: ngtcp2.keyring
Source3: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: gcc%{?force_gcc_version}-c++
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(gnutls) >= 3
BuildRequires: pkgconfig(libnghttp3) >= 1.0.0
BuildRequires: pkgconfig(libnghttp3) >= 1.12.0
%if %{with openssl}
BuildRequires: pkgconfig(openssl)
%endif
@@ -89,10 +93,6 @@ Python bindings for the ngtcp2 implementation of the QUIC protocol.
%package devel
Summary: Development files for ngtcp2
Group: Development/Languages/C and C++
Requires: %{gnutls_soname}%{gnutls_sover} = %{version}
%if %{with openssl}
Requires: %{openssl_soname}%{openssl_sover} = %{version}
%endif
Requires: %{soname}-%{sover} = %{version}
Provides: libngtcp2-devel = %{version}-%{release}
Obsoletes: libngtcp2-devel < %{version}-%{release}
@@ -101,10 +101,33 @@ Obsoletes: libngtcp2-devel < %{version}-%{release}
Development files for use with libngtcp2, which implements the
QUIC protocol.
%package -n libngtcp2_crypto_gnutls-devel
Summary: GnuTLS Development files for ngtcp2
Group: Development/Languages/C and C++
Requires: %{gnutls_soname}%{gnutls_sover} = %{version}
Requires: libngtcp2-devel = %{version}-%{release}
%description -n libngtcp2_crypto_gnutls-devel
GnuTLS as TLS backend development files for use with libngtcp2.
%package -n libngtcp2_crypto_ossl-devel
Summary: OpenSSL Development files for ngtcp2
Group: Development/Languages/C and C++
Requires: %{openssl_soname}%{openssl_sover} = %{version}
Requires: libngtcp2-devel = %{version}-%{release}
%description -n libngtcp2_crypto_ossl-devel
OpenSSL as TLS backend development files for use with libngtcp2.
QUIC protocol.
%prep
%autosetup -n ngtcp2-%{version} -p1
%build
%if 0%{?force_gcc_version}
export CC="gcc-%{?force_gcc_version}"
export CXX="g++-%{?force_gcc_version}"
%endif
%configure \
--disable-static \
--disable-silent-rules \
@@ -154,12 +177,20 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
%files devel
%dir %{_includedir}/%{name}/
%{_includedir}/%{name}/*.h
%{_includedir}/%{name}/ngtcp2.h
%{_includedir}/%{name}/ngtcp2_crypto.h
%{_includedir}/%{name}/version.h
%{_libdir}/%{soname}.so
%{_libdir}/%{gnutls_soname}.so
%{_libdir}/pkgconfig/%{soname}.pc
%files -n libngtcp2_crypto_gnutls-devel
%{_includedir}/%{name}/ngtcp2_crypto_gnutls.h
%{_libdir}/%{gnutls_soname}.so
%{_libdir}/pkgconfig/libngtcp2_crypto_gnutls.pc
%if %{with openssl}
%files -n libngtcp2_crypto_ossl-devel
%{_includedir}/%{name}/ngtcp2_crypto_ossl.h
%{_libdir}/%{openssl_soname}.so
%{_libdir}/pkgconfig/libngtcp2_crypto_ossl.pc
%endif