diff --git a/erlang.spec b/erlang.spec index 2759a20..737691f 100644 --- a/erlang.spec +++ b/erlang.spec @@ -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 - 19.3.6.10 +- Ver. 19.3.6.10 + * Tue May 15 2018 Peter Lemenkov - 19.3.6.9 - Ver. 19.3.6.9 diff --git a/otp-0010-Avoid-forking-sed-to-get-basename.patch b/otp-0010-Avoid-forking-sed-to-get-basename.patch new file mode 100644 index 0000000..f98699a --- /dev/null +++ b/otp-0010-Avoid-forking-sed-to-get-basename.patch @@ -0,0 +1,31 @@ +From: Jan Pazdziora +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 diff --git a/sources b/sources index 09c3aa4..92785d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (otp-OTP-19.3.6.9.tar.gz) = 89c1316a19601e08a057d49c42a3203c26935d71cb3c8511ba647e34e5b567462479af3e5e78ecdc602adb2343601b9346378e0db6e42a7b0836e9ad8ca92a56 +SHA512 (otp-OTP-19.3.6.10.tar.gz) = 3a45865b69d9fb0d857c30d2ee05ce12b2fefe98e2d317a5f3fa69d261323cd21051801a4678f73bf0fc54ca5dc0117f11683bd91c33c1608e25b1b02259e225