]> git.pld-linux.org Git - packages/nodejs.git/commitdiff
up to 14.15.4 (fixes CVE-2020-8265 CVE-2020-8287) auto/th/nodejs-14.15.4-1
authorJan Palus <atler@pld-linux.org>
Sat, 16 Jan 2021 16:47:48 +0000 (17:47 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 16 Jan 2021 17:05:30 +0000 (18:05 +0100)
0002-Install-both-binaries-and-use-libdir.patch
nodejs.spec

index cabec6eb5903264508dc9dbded648b535861e918..d5d690acebf6af3cb8fd3e1a62f13f2232873ad0 100644 (file)
@@ -41,7 +41,7 @@ diff --git a/tools/install.py b/tools/install.py
 index 655802980a6ea94d1d4ca1dc63c8c8e905fbb83a..fe4723bf15012c8aacacb0393dc8294c049b0503 100755
 --- a/tools/install.py
 +++ b/tools/install.py
-@@ -121,26 +121,23 @@ def subdir_files(path, dest, action):
+@@ -121,22 +121,19 @@ def subdir_files(path, dest, action):
  
  def files(action):
    is_windows = sys.platform == 'win32'
@@ -60,16 +60,8 @@ index 655802980a6ea94d1d4ca1dc63c8c8e905fbb83a..fe4723bf15012c8aacacb0393dc8294c
 -      output_file += '.dll'
 -    else:
 -      output_file = 'lib' + output_file + '.' + variables.get('shlib_suffix')
--      # GYP will output to lib.target except on OS X, this is hardcoded
--      # in its source - see the _InstallableTargetInstallPath function.
--      if sys.platform != 'darwin':
--        output_prefix += 'lib.target/'
 +    output_bin = 'node'
 +    output_lib = 'libnode.' + variables.get('shlib_suffix')
-+    # GYP will output to lib.target except on OS X, this is hardcoded
-+    # in its source - see the _InstallableTargetInstallPath function.
-+    if sys.platform != 'darwin':
-+      output_libprefix += 'lib.target/'
  
 -  if 'false' == variables.get('node_shared'):
 -    action([output_prefix + output_file], 'bin/' + output_file)
index 9f336476aa566df8be673ec83d40bdfb48539533..ab0a7e7f95503e306af8bd2dcae5093b1b549351 100644 (file)
@@ -25,12 +25,12 @@ Name:               nodejs
 # Active start: 2020-10-27
 # Maintenance start: October 2020
 # Maintenance end: April 2023
-Version:       14.15.0
+Version:       14.15.4
 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
-# Source0-md5: a5cf57a18833bd122eca200a7d5e22d9
+# Source0-md5: 7dbe444e794f9ab8180575889496a1b2
 
 # force node to use /usr/lib/node as the systemwide module directory
 Patch2:                %{name}-libpath.patch
This page took 0.129343 seconds and 4 git commands to generate.