Erlang ver. 19.3.6.10

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
This commit is contained in:
Peter Lemenkov 2018-08-15 13:23:16 +03:00
parent 83e14c3847
commit 9d7448041f
3 changed files with 37 additions and 2 deletions

View File

@ -65,7 +65,7 @@
Name: erlang
Version: 19.3.6.9
Version: 19.3.6.10
Release: 1%{?dist}
Summary: General-purpose programming language and runtime environment
@ -107,6 +107,7 @@ Patch6: otp-0006-Do-not-install-erlang-sources.patch
Patch7: otp-0007-Fix-CVE-2016-10253.patch
Patch8: otp-0008-Fix-erl_epmd-port_please-when-using-IPv6.patch
Patch9: otp-0009-Add-extra-search-directory.patch
Patch10: otp-0010-Avoid-forking-sed-to-get-basename.patch
# end of autogenerated patch tag list
BuildRequires: flex
@ -2306,6 +2307,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
%changelog
* Wed Aug 15 2018 Peter Lemenkov <lemenkov@gmail.com> - 19.3.6.10
- Ver. 19.3.6.10
* Tue May 15 2018 Peter Lemenkov <lemenkov@gmail.com> - 19.3.6.9
- Ver. 19.3.6.9

View File

@ -0,0 +1,31 @@
From: Jan Pazdziora <jpazdziora@redhat.com>
Date: Thu, 10 May 2018 18:35:02 +0200
Subject: [PATCH] Avoid forking sed to get basename.
diff --git a/erts/etc/unix/erl.src.src b/erts/etc/unix/erl.src.src
index 959c099e8f..861b8bcbf1 100644
--- a/erts/etc/unix/erl.src.src
+++ b/erts/etc/unix/erl.src.src
@@ -21,7 +21,7 @@
ROOTDIR="%FINAL_ROOTDIR%"
BINDIR=$ROOTDIR/erts-%VSN%/bin
EMU=%EMULATOR%%EMULATOR_NUMBER%
-PROGNAME=`echo $0 | sed 's/.*\///'`
+PROGNAME=${0##*/}
export EMU
export ROOTDIR
export BINDIR
diff --git a/erts/etc/unix/start_erl.src b/erts/etc/unix/start_erl.src
index 34e0369710..62e613bba1 100644
--- a/erts/etc/unix/start_erl.src
+++ b/erts/etc/unix/start_erl.src
@@ -37,7 +37,7 @@ VSN=`awk '{print $2}' $DataFile`
BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin
EMU=beam
-PROGNAME=`echo $0 | sed 's/.*\///'`
+PROGNAME=${0##*/}
export EMU
export ROOTDIR
export BINDIR

View File

@ -1 +1 @@
SHA512 (otp-OTP-19.3.6.9.tar.gz) = 89c1316a19601e08a057d49c42a3203c26935d71cb3c8511ba647e34e5b567462479af3e5e78ecdc602adb2343601b9346378e0db6e42a7b0836e9ad8ca92a56
SHA512 (otp-OTP-19.3.6.10.tar.gz) = 3a45865b69d9fb0d857c30d2ee05ce12b2fefe98e2d317a5f3fa69d261323cd21051801a4678f73bf0fc54ca5dc0117f11683bd91c33c1608e25b1b02259e225