From e2a62df7476baa3057a5502450a6e33fe6eb196a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 2 Nov 2017 16:48:07 +0200 Subject: [PATCH 1/1] 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 \ -- 2.44.0