[packages/nodejs] Use OpenSSL supplied CA store instead of compiled-in Mozilla CA copy.

glen glen at pld-linux.org
Thu Nov 2 16:08:22 CET 2017


commit e2a62df7476baa3057a5502450a6e33fe6eb196a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Nov 2 16:48:07 2017 +0200

    Use OpenSSL supplied CA store instead of compiled-in Mozilla CA copy.
    
    https://github.com/nodejs/node/issues/3159
    https://github.com/nodejs/node/pull/8334
    https://github.com/nodejs/node/commit/3aa17e4e513f0bf281ee754eb58a33b737be2867

 nodejs.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index db65ba5..9c6abad 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -23,7 +23,7 @@ Name:		nodejs
 # Maintenance start: April 2018
 # Maintenance end: April 2019
 Version:	6.11.5
-Release:	0.1
+Release:	1
 License:	BSD and MIT and Apache v2.0 and GPL v3
 Group:		Development/Languages
 Source0:	https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
@@ -33,7 +33,6 @@ Patch1:		%{name}-shared.patch
 Patch2:		%{name}-libpath.patch
 # use /usr/lib64/node as an arch-specific module dir when appropriate
 Patch3:		%{name}-lib64path.patch
-Patch4:		%{name}-use-system-certs.patch
 Patch5:		uv-fpic.patch
 URL:		https://nodejs.org/
 BuildRequires:	gcc >= 6:4.8
@@ -140,8 +139,6 @@ Sondy systemtap/dtrace dla Node.js.
 %else
 %patch2 -p1
 %endif
-#%patch4 -p1
-#%{__rm} src/node_root_certs.h
 #%{?with_system_uv:%patch5 -p1}
 
 grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python,#!%{__python},'
@@ -161,6 +158,7 @@ CC="%{__cc}" \
 CXX="%{__cxx}" \
 GYP_DEFINES="soname_version=%{sover}" \
 ./configure \
+	--openssl-use-def-ca-store \
 	%{?0:--shared-cares} \
 	--shared-openssl \
 	--shared-http-parser \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/e2a62df7476baa3057a5502450a6e33fe6eb196a



More information about the pld-cvs-commit mailing list