From ca36ce42c19f4a0ef2d96959b8a16846fe43ca13 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 23 2022 17:28:48 +0000 Subject: import nspr-4.34.0-3.el8_6 --- diff --git a/SOURCES/nspr-4.34-server-passive.patch b/SOURCES/nspr-4.34-server-passive.patch new file mode 100644 index 0000000..ed8d713 --- /dev/null +++ b/SOURCES/nspr-4.34-server-passive.patch @@ -0,0 +1,12 @@ +diff -r c75b4e36b7e8 pr/src/misc/prnetdb.c +--- a/pr/src/misc/prnetdb.c Wed May 25 23:39:48 2022 +0200 ++++ b/pr/src/misc/prnetdb.c Tue Jun 14 18:48:03 2022 -0400 +@@ -2204,6 +2204,7 @@ + + memset(&hints, 0, sizeof(hints)); + ++ hints.ai_flags = AI_PASSIVE; + rv = GETADDRINFO(NULL, tmpBuf, &hints, &res); + if (rv == 0) { + PRBool result_still_empty = PR_TRUE; + diff --git a/SPECS/nspr.spec b/SPECS/nspr.spec index 800d8b7..caf5eb9 100644 --- a/SPECS/nspr.spec +++ b/SPECS/nspr.spec @@ -11,7 +11,7 @@ rpm.define(string.format("nspr_archive_version %s", Summary: Netscape Portable Runtime Name: nspr Version: %{nspr_version} -Release: 2%{?dist} +Release: 3%{?dist} License: MPLv2.0 URL: http://ftp.mozilla.org/pub/nspr/releases/v${nspr_archive_version}/src Group: System Environment/Libraries @@ -28,6 +28,7 @@ Patch1: nspr-config-pc.patch Patch2: nspr-gcc-atomics.patch Patch10: nspr-4.34-fix-coverity-loop-issue.patch +Patch11: nspr-4.34-server-passive.patch %description NSPR provides platform independence for non-GUI operating system @@ -62,6 +63,7 @@ cp ./nspr/config/nspr-config.in ./nspr/config/nspr-config-pc.in pushd nspr %patch2 -p1 -b .gcc-atomics %patch10 -p1 -b .coverity +%patch11 -p1 -b .passive popd %build @@ -155,6 +157,9 @@ done %{_mandir}/man*/* %changelog +* Wed Jun 15 2022 Bob Relyea - 4.34.0-3 +- Coverity fix changed selfserv from passive to active, change it back + * Mon Jun 6 2022 Bob Relyea - 4.34.0-2 - Fix coverify issue in NSPR 4.34