import nspr-4.34.0-3.el8_6
This commit is contained in:
parent
29bf8d0928
commit
bb4d2e5d06
12
SOURCES/nspr-4.34-server-passive.patch
Normal file
12
SOURCES/nspr-4.34-server-passive.patch
Normal file
@ -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;
|
||||
|
@ -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 <rrelyea@redhat.com> - 4.34.0-3
|
||||
- Coverity fix changed selfserv from passive to active, change it back
|
||||
|
||||
* Mon Jun 6 2022 Bob Relyea <rrelyea@redhat.com> - 4.34.0-2
|
||||
- Fix coverify issue in NSPR 4.34
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user