Update to 6.3.0

This commit is contained in:
Zuzana Svetlikova 2016-07-10 20:03:45 +02:00
parent a51d9b439e
commit 1bf1b27726
4 changed files with 29 additions and 23 deletions

1
.gitignore vendored
View File

@ -49,3 +49,4 @@
/node-v6.2.0-stripped.tar.gz
/node-v6.2.1-stripped.tar.gz
/node-v6.2.2-stripped.tar.gz
/node-v6.3.0-stripped.tar.gz

View File

@ -1,4 +1,4 @@
From e0aac817a87c927f70a6f8edb63a4103a4109dfc Mon Sep 17 00:00:00 2001
From e51cf2ad2627af02e88df48287fe510e885ba1dc Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Tue, 1 Dec 2015 16:29:07 -0500
Subject: [PATCH 2/2] Do not bundle CA Certificates
@ -9,7 +9,7 @@ Content-Transfer-Encoding: 8bit
CA Certificates are provided by Fedora.
Forwarded: need some feedback before submitting the matter upstream
Author: Jérémy Lal <kapouer@melix.org>
Author: J?r?my Lal <kapouer@melix.org>
Last-Update: 2014-03-02
Modified 2014-05-02 by T.C. Hollingsworth <tchollingsworth@gmail.com> with the
@ -23,21 +23,22 @@ Node.js 5.7.1
Modified 2016-04-25 by Joseph Wang <joequant@gmail.com> to update for
Node.js 5.11.0
---
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
index 989110c..a55b69d 100644
--- a/src/node_crypto.cc
+++ b/src/node_crypto.cc
@@ -121,7 +121,7 @@ static X509_NAME *cnnic_ev_name =
static uv_mutex_t* locks;
Modified 2016-07-10 by Zuzana Svetlikova <zsvetlik@redhat.com> to update for
Node.js 6.3.0
--- node/src/node_crypto.cc 2016-07-10 19:03:17.184502913 +0200
+++ node_crypto.cc 2016-07-10 18:56:28.956440528 +0200
@@ -118,7 +118,7 @@
static Mutex* mutexes;
const char* const root_certs[] = {
-#include "node_root_certs.h" // NOLINT(build/include_order)
+ NULL
+ NULL
};
X509_STORE* root_cert_store;
@@ -750,29 +750,17 @@ void SecureContext::AddRootCerts(const FunctionCallbackInfo<Value>& args) {
@@ -752,29 +752,17 @@
CHECK_EQ(sc->ca_store_, nullptr);
if (!root_cert_store) {
@ -74,7 +75,3 @@ index 989110c..a55b69d 100644
}
--
2.7.2

View File

@ -12,8 +12,8 @@
# feature releases that are only supported for nine months, which is shorter
# than a Fedora release lifecycle.
%global nodejs_major 6
%global nodejs_minor 2
%global nodejs_patch 2
%global nodejs_minor 3
%global nodejs_patch 0
%global nodejs_abi %{nodejs_major}.%{nodejs_minor}
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
@ -41,15 +41,15 @@
# punycode - from lib/punycode.js
# Note: this was merged into the mainline since 0.6.x
%global punycode_major 1
%global punycode_minor 3
%global punycode_patch 2
%global punycode_major 2
%global punycode_minor 0
%global punycode_patch 0
%global punycode_version %{punycode_major}.%{punycode_minor}.%{punycode_patch}
# npm - from deps/npm/package.json
%global npm_major 3
%global npm_minor 9
%global npm_patch 5
%global npm_minor 10
%global npm_patch 3
%global npm_version %{npm_major}.%{npm_minor}.%{npm_patch}
# Filter out the NPM bundled dependencies so we aren't providing them
@ -91,6 +91,8 @@ BuildRequires: python-devel
BuildRequires: libuv-devel >= 1.9.0
Requires: libuv >= 1.9.0
BuildRequires: zlib-devel
BuildRequires: gcc >= 4.8.0
BuildRequires: gcc-c++ >= 4.8.0
# Node.js requires some features from openssl 1.0.1 for SPDY support
BuildRequires: openssl-devel >= 1:1.0.2
@ -338,6 +340,12 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules %{buildroot}/%{_bindir}/node -
%{_pkgdocdir}/npm/doc
%changelog
* Sun Jul 10 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1:6.3.0-1
- Update node to 6.3.0
- update punycode to 2.0.0
- add gcc and gcc-c++ as build dependencies
- modified system-certs patch
* Sat Jun 18 2016 Tom Hughes <tom@compton.nu> - 1:6.2.2-1
- Update to latest stable release 6.2.2
- Add check on npm version

View File

@ -1 +1 @@
c1821b44925235698f2f61607c945895 node-v6.2.2-stripped.tar.gz
581470dcb25b5b5a689ddc76055eeabd node-v6.3.0-stripped.tar.gz