From 0ec003439d2d91e843af3a896038f5a34e4140b4094ab18d2ce57f77a2c3e09a Mon Sep 17 00:00:00 2001 From: Matwey Kornilov Date: Fri, 22 Sep 2017 07:28:50 +0000 Subject: [PATCH] Accepting request 527005 from home:matwey:branches:devel:languages:erlang:Factory - Only Java 1.6 is supported by Erlang since 18.0 release - Update to 20.0.5: * erts: Fixed bug in binary_to_term and binary_to_atom that could cause VM crash. Typically happens when the last character of an UTF8 string is in the range 128 to 255, but truncated to only one byte. Bug exists in binary_to_term since ERTS version 5.10.2 (OTP_R16B01) and binary_to_atom since ERTS version 9.0 (OTP-20.0). * inets: http_uri aligned to follow RFC 3986 and not convert "+" to space when decoding URIs. * inets: Added new option max_client_body_chunk to httpd server to allow chunked delivery of PUT and POST data to mod_esi callback. Note, new mod_esi callback implementation is required. Also correct value provided by server_name environment variable. OBS-URL: https://build.opensuse.org/request/show/527005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=56 --- OTP-20.0.4.tar.gz | 3 --- OTP-20.0.5.tar.gz | 3 +++ erlang.changes | 23 +++++++++++++++++++++++ erlang.spec | 8 ++++---- 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 OTP-20.0.4.tar.gz create mode 100644 OTP-20.0.5.tar.gz diff --git a/OTP-20.0.4.tar.gz b/OTP-20.0.4.tar.gz deleted file mode 100644 index 4673500..0000000 --- a/OTP-20.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fb811b1811561f78a128c67e40b1b774354b358a4b61a9b641f0ecb06002f66 -size 52809104 diff --git a/OTP-20.0.5.tar.gz b/OTP-20.0.5.tar.gz new file mode 100644 index 0000000..20de1ab --- /dev/null +++ b/OTP-20.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45b6966362c3a4da292d470ef25af9f91b851d4e96d3736abdabbba0556acf6c +size 52811979 diff --git a/erlang.changes b/erlang.changes index 0cab399..026bb87 100644 --- a/erlang.changes +++ b/erlang.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Thu Sep 14 20:36:14 UTC 2017 - matwey.kornilov@gmail.com + +- Only Java 1.6 is supported by Erlang since 18.0 release + +------------------------------------------------------------------- +Thu Sep 14 20:05:23 UTC 2017 - matwey.kornilov@gmail.com + +- Update to 20.0.5: + * erts: Fixed bug in binary_to_term and binary_to_atom that could + cause VM crash. Typically happens when the last character of an + UTF8 string is in the range 128 to 255, but truncated to only + one byte. Bug exists in binary_to_term since ERTS version + 5.10.2 (OTP_R16B01) and binary_to_atom since ERTS version 9.0 + (OTP-20.0). + * inets: http_uri aligned to follow RFC 3986 and not convert "+" + to space when decoding URIs. + * inets: Added new option max_client_body_chunk to httpd server + to allow chunked delivery of PUT and POST data to mod_esi + callback. Note, new mod_esi callback implementation is + required. Also correct value provided by server_name + environment variable. + ------------------------------------------------------------------- Sun Aug 27 14:19:49 UTC 2017 - matwey.kornilov@gmail.com diff --git a/erlang.spec b/erlang.spec index 0665690..cc657ee 100644 --- a/erlang.spec +++ b/erlang.spec @@ -21,7 +21,7 @@ %endif Name: erlang -Version: 20.0.4 +Version: 20.0.5 Release: 0 # not set up to be built with position independend executable support #!BuildIgnore: gcc-PIE @@ -168,7 +168,7 @@ An event tracer for Erlang programs. Summary: Erlang Java Interface Group: Development/Libraries/Java Requires: %{name} = %{version} -Requires: java >= 1.5.0 +Requires: java >= 1.6.0 %description jinterface JInterface module for accessing erlang from Java @@ -317,10 +317,10 @@ sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1 %build -# we need build only 1.5 target for java +# we need build only 1.6 target for java # for SLE only %if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110 - export JAVAC="javac -source 1.5 -target 1.5" + export JAVAC="javac -source 1.6 -target 1.6" %endif %if 0%{?suse_version} == 1100 || 0%{?fedora_version} == 9 export CFLAGS="-fno-strict-aliasing"