diff --git a/nghttp2-1.49.0.tar.xz b/nghttp2-1.49.0.tar.xz deleted file mode 100644 index b4cf569..0000000 --- a/nghttp2-1.49.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b0cfd492bbf0b131c472e8f6501c9f4ee82b51b68130f47b278c0b7c9848a66e -size 4112260 diff --git a/nghttp2-1.50.0.tar.xz b/nghttp2-1.50.0.tar.xz new file mode 100644 index 0000000..bfaf24e --- /dev/null +++ b/nghttp2-1.50.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af24007e34c18c782393a1dc3685f8fd5b50283e90a9191d25488eb50aa2c825 +size 4110336 diff --git a/nghttp2.changes b/nghttp2.changes index 104f908..6b57624 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Sep 24 11:21:43 UTC 2022 - Dirk Müller + +- update to 1.50.0: + * https://nghttp2.org/blog/2022/09/21/nghttp2-v1-50-0/ + This release adds + nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation which disables + checking leading and trailing white spaces against HTTP field value. + +------------------------------------------------------------------- +Fri Sep 23 15:38:24 UTC 2022 - Dirk Müller + +- disable asio by default as it is deprecated by upstream and + will be removed in the next release + ------------------------------------------------------------------- Mon Aug 22 21:23:42 UTC 2022 - Dirk Müller diff --git a/nghttp2.spec b/nghttp2.spec index cc31f93..716d6e8 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -1,7 +1,7 @@ # # spec file for package nghttp2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,8 +28,11 @@ %define psuffix %{nil} %bcond_with python %endif +# libnghttp2_asio has been deprecated in this repository due to maintenance +# issue and will be removed at the end of 2022 +%bcond_with asio Name: nghttp2%{psuffix} -Version: 1.49.0 +Version: 1.50.0 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT @@ -147,7 +150,7 @@ autoreconf -fiv %configure \ --disable-static \ --disable-silent-rules \ - --enable-asio-lib \ + %{?with_asio:--enable-asio-lib} %{!?with_asio: --disable-asio-lib} \ --enable-app \ %if %{with python} --enable-python-bindings \ @@ -186,10 +189,12 @@ rm -rf %{buildroot}%{_mandir}/man1/* \ %if !%{with python} %post -n %{soname}-%{sover} -p /sbin/ldconfig -%post -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig %postun -n %{soname}-%{sover} -p /sbin/ldconfig +%if %{with asio} +%post -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig %postun -n %{soname_asio}%{sover_asio} -p /sbin/ldconfig %endif +%endif %if %{with python} %files -n python3-nghttp2 @@ -209,21 +214,23 @@ rm -rf %{buildroot}%{_mandir}/man1/* \ %license COPYING %{_libdir}/%{soname}.so.%{sover}* -%files -n %{soname_asio}%{sover_asio} -%license COPYING -%{_libdir}/%{soname_asio}.so.%{sover_asio}* - %files -n %{soname}-devel %dir %{_includedir}/%{name}/ %{_includedir}/%{name}/%{name}*.h %{_libdir}/%{soname}.so %{_libdir}/pkgconfig/%{soname}.pc +%if %{with asio} +%files -n %{soname_asio}%{sover_asio} +%license COPYING +%{_libdir}/%{soname_asio}.so.%{sover_asio}* + %files -n %{soname_asio}-devel %dir %{_includedir}/%{name}/ %{_includedir}/%{name}/asio_http2*.h %{_libdir}/%{soname_asio}.so %{_libdir}/pkgconfig/%{soname_asio}.pc %endif +%endif %changelog