Accepting request 1123980 from devel:libraries:c_c++

- add keyring for gpg validation
- spec file cleanups

    For example, if GOAWAY frame has been received, a
  * https://nghttp2.org/blog/2023/05/10/nghttp2-v1-53-0/
  checking leading and trailing white spaces against HTTP field value.
  * https://nghttp2.org/blog/2022/08/22/nghttp2-v1-49-0/
  * third-party: Bump neverbleed based on the latest head (GH-1708)
  * see https://nghttp2.org/blog/2022/02/23/nghttp2-v1-47-0/
  * see https://nghttp2.org/blog/2021/10/19/nghttp2-v1-46-0/
  * nghttpx: Fix logging integer
- Conditionally remove dependecy on jemalloc for SLE-12
    if table size is changed from default
  * Add nghttp2_option_set_max_send_header_block_length API
  * Fix warning: declaration of 'free' shadows a global declaration
  * nghttpx: Add healthmon parameter to -f option to enable health
  * nghttpx: Add --api-max-request-body option to set maximum API
  * nghttpx: Add api parameter to --frontend option to mark API
  * h2load: Add content-length header field for HTTP/2 and SPDY as
  * Run error callback when peer does not send initial SETTINGS
  * nghttpx: Fix bug that server push from mruby script did not
  * nghttpx: Try next HTTP/1 backend address when connection
  * nghttpx: Retry next HTTP/2 backend address when connection
  * nghttpx: Enable link header field based push for non-final
  * nghttpx: Fix bug that logger wrote string which was not
  * nghttpx: Fix bug that backend tls keyword did not work with -s
  * lib: Add nghttp2_error_callback to tell application human
  * lib: Add nghttp2_http2_strerror() to return HTTP/2 error code
  * integration: Disable tests that sometimes break randomly on
  * h2load: Fix bug that initial max concurrent streams was too

OBS-URL: https://build.opensuse.org/request/show/1123980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nghttp2?expand=0&rev=76
This commit is contained in:
Ana Guerrero 2023-11-08 21:16:44 +00:00 committed by Git OBS Bridge
commit 8d5957f23f
4 changed files with 230 additions and 184 deletions

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQT087kUdNHrKYib0O9+hAPV1nPDZgUCZSVZWQAKCRB+hAPV1nPD
ZhCKAKCDL9HwzcBy0plBKJk5UQoAncJYzwCeIl6zgdXvRDt0JNVSJmrM3Ts7E58=
=HpSZ
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 7 12:54:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add keyring for gpg validation
- spec file cleanups
-------------------------------------------------------------------
Mon Oct 16 10:24:50 UTC 2023 - pgajdos@suse.com

39
nghttp2.keyring Normal file
View File

@ -0,0 +1,39 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBEmgJCARBACDsyRcJt0cPqS5I3nooSD4ETmsqXSGoA1QP0NcD3mMDIxfwOk3
ZgaLAhQTpylqzYu4uQ5lDcvkpZtN8cA+R+9Bxq1VcY5Jra4t93Eyxd/14oufgg8w
GLZ8q2otuUliL+RWPEuuBLNJFrdHeLfITBX88ZyHz8tu0kpWBBVBLb5yYwCg3OmH
L59aPl0TIoKGIL/xYs80ixcD/3PA9z6SbChDHRKA647Smrw6QuQHl7Uubg6LYYxz
FoxeN3F/grZHNJyUzlkdraIcWWYi1Dr0D28TnuQUbPoj7ju248iPRv2ZEr7OpV9j
RksxJIBqzC698XwPuq2Jo8iBNgE2t25aY9UHXxehqg6zkyR1bdhFzDV1cEKGkU62
TAnvA/9tB77GiQ9H02oybfqYrdxrWCou3kRa7owd/tBqRMkzH4Vt86VIXwVdsMn1
sGeF4YGUqwY7GCT+jviFCdvGTRqeCJgaLJAYE8hSFIxpDTdUNxaPxwuOd3Jq5BKC
U7boXpLlAcdh47CMk4qvIDZfBb2iVjZCN1yFI9R/TCH7JCT9NLQrVGF0c3VoaXJv
IFRzdWppa2F3YSA8dGF0c3VoaXJvLnRAZ21haWwuY29tPohgBBMRAgAgBQJJoCQg
AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQfoQD1dZzw2YoTgCgmzKU0uK/
fr2nVqYondsxppQS83wAoIPlXaxcUV39DvA7/Rui6+rBNljmuQQNBEmgJCAQEADi
J5vXLb+y5g2kQApYk/iPqlJV02jHX7VJnW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aGhlFF2H85EEmq73Ex5ncLPT4BW2rHrkwdUOOXCN8riUZr42E3K+GTyfGyRbU9Ar
MBP62ytvamwBO9O+E6sJCVraoho4a2ERORh5PQzEot1Tmyf4u6AQf1+JVMn2yThc
ilRKWD1Q/AfEAibVbPANkXXjX5pZkIRc1Eunq5afYf2ixyS96RSjc6EZ+euaaaFC
96+MdDtlycafZIXYNgiNkrrm8mzPCb2i8tmF9aPnGYBknsnFLlda3Zz4afFDKyLN
LYRvqAujonL+HBOLW2InmeD5p6SISQQYEQIACQUCSaAkIAIbDAAKCRB+hAPV1nPD
ZqpZAJ9Kw73IdA3hw+wQEen991bFlMzHfQCgtG/GMjXB246Qt9XPVvToTSFJQPo=
=2agh
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -18,8 +18,6 @@
%global soname libnghttp2
%global sover 14
%global soname_asio libnghttp2_asio
%global sover_asio 1
%global flavor @BUILD_FLAVOR@%{nil}
Name: nghttp2
Version: 1.57.0
@ -28,14 +26,13 @@ Summary: Implementation of Hypertext Transfer Protocol version 2 in C
License: MIT
Group: Development/Libraries/C and C++
URL: https://nghttp2.org/
Source: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
Source0: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz
Source1: https://github.com/nghttp2/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz.asc
Source2: nghttp2.keyring
Source3: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: libboost_system-devel
BuildRequires: libboost_thread-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(cunit)
@ -100,7 +97,6 @@ HTTP/2 client, server and proxy.
sed -i -e 's:#!%{_bindir}/env python:#!%{_bindir}/python3:g' script/fetch-ocsp-response
%build
autoreconf -fiv
%configure \
--disable-static \
--disable-silent-rules \
@ -112,7 +108,7 @@ autoreconf -fiv
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# Do not ship theis
# Do not ship this
rm -rf %{buildroot}%{_datadir}/doc/nghttp2
# None of applications using these man pages are built.
@ -120,8 +116,7 @@ rm -rf %{buildroot}%{_mandir}/man1/* \
doc/manual/html/.buildinfo
%check
# One test fails if python-sphinx is not present
%make_build check ||:
%make_build check
%ldconfig_scriptlets -n %{soname}-%{sover}