diff --git a/OTP-21.1.4.tar.gz b/OTP-21.1.4.tar.gz deleted file mode 100644 index ef0bacf..0000000 --- a/OTP-21.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95a97851d4af2d894fe981caa81d077b0d2c01f3bdf6cdf83309baa9678617f9 -size 53854748 diff --git a/OTP-21.2.5.tar.gz b/OTP-21.2.5.tar.gz new file mode 100644 index 0000000..6a103ba --- /dev/null +++ b/OTP-21.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ff578ab020a714be25d6787b81938df016db375692d4126a28f1303e6e9c165 +size 53957249 diff --git a/erlang.changes b/erlang.changes index aa64f2a..f43f70c 100644 --- a/erlang.changes +++ b/erlang.changes @@ -1,4 +1,142 @@ ------------------------------------------------------------------- +Thu Feb 7 18:20:58 UTC 2019 - matwey.kornilov@gmail.com + +- Drop unsupported openSUSE versions + +------------------------------------------------------------------- +Tue Feb 5 10:43:37 UTC 2019 - Gabriele Santomaggio + +- Update to 21.2.5: +- Changes for 21.2.5: + * http://erlang.org/download/OTP-21.2.5.README + * inets: Fixed bug that causes a crash in http client when using + hostnames (e.g. localhost) with the the option + ipv6_host_with_brackets set to true. + This change also fixes a regression: httpc:request + fails with connection error (nxdomain) if option + ipv6_host_with_brackets set to true and host component + of the URI is an IPv6 address. + +------------------------------------------------------------------- +Fri Jan 25 15:26:37 UTC 2019 - Gabriele Santomaggio + +- update to 21.2.4: +- Changes for 21.2.4: + * http://erlang.org/download/OTP-21.2.4.README + * erts: Fix bug where doing a gen_tcp:send on a socket with + delay_send set to true could cause a segfault if the + other side closes the connection. + Bug was introduced in erts-10.2 (OTP-21.2). + * erts: Fix a race condition when a port program closes that + could result in the next started port to hang during + startup. + Bug was introduced in erts-10.0 (OTP-21.0). + * erts: Fix a bug where polling for external events could be + delayed for a very long time if all active schedulers + were 100% loaded. + Bug was introduced in erts-10.2 (OTP-21.2). + * inets: Make sure ipv6 addresses with brackets in URIs are + converted correctly before passing to lower level + functions like gen_tcp and ssl functions. Could cause + connection to fail. +- update to 21.2.3: +- Changes for 21.2.3: + * http://erlang.org/download/OTP-21.2.3.README + * compiler: An optimization that avoided allocation of a stack + frame for some case expressions was introduced in OTP + 21. (ERL-504/OTP-14808) It turns out that in rare + circumstances, this optimization is not safe. + Therefore, this optimization has been disabled. + * erts: Fixed a crash when dangling files were closed after + init:restart/0. + * erts: A bug that could cause dirty schedulers to become + unresponsive has been fixed. + * ssl: Fix encoding of the SRP extension length field in ssl. + The old encoding of the SRP extension length could + cause interoperability problems with third party SSL + implementations when SRP was used. + * ssl: Guarantee active once data delivery, handling TCP + stream properly. + Correct gen_statem returns for some error cases + * xmerl: The charset detection parsing crash in some cases when + the XML directive is not syntactic correct. + +------------------------------------------------------------------- +Mon Dec 31 17:59:37 UTC 2018 - Gabriele Santomaggio + +- update to 21.2.2: +- Changes for 21.2.2: + * http://erlang.org/download/OTP-21.2.2.README + * ssh: Fixed port leakage if a ssh:daemon call failed. +- update to 21.2.1: +- Changes for 21.2.1: + * http://erlang.org/download/OTP-21.2.1.README + * erts: Fixed bug on big endian architectures when changing + file permissions or ownership with file:change_mode, + change_owner, change_group or write_file_info. Bug + exists since OTP-21.0. + * erts: Fixed bug in operator band of two negative operands + causing erroneous result if the absolute value of one + of the operands have the lowest N*W bits as zero and + the other absolute value is not larger than N*W bits. N + is an integer of 1 or larger and W is 32 or 64 + depending on word size. + * ssl: Fixed renegotiation bug. Client did not handle server + initiated renegotiation correctly after rewrite to two + connection processes, due to ERL-622 commit + d87ac1c55188f5ba5cdf72384125d94d42118c18. This could + manifest it self as a " bad_record_mac" alert. + Also included are some optimizations +- update to 21.2: +- Changes for 21.2: + * http://erlang.org/download/OTP-21.2.README + * HIGHLIGHTS + * erts, sasl: New counters and atomics modules supplies access to + highly efficient operations on mutable fixed word sized + variables. + * erts: There is a new module persistent_term that implements a + term storage suitable for terms that are frequently + used but never or infrequently updated. Lookups are + done in constant time without copying the terms. + * ssh: Requires OpenSSL 1.1.1 or higher as cryptolib under the + OTP application crypto. + * ssl: *** POTENTIAL INCOMPATIBILITY *** + ssl now uses active n internally to boost performance. + Old active once behavior can be restored by setting + application variable see manual page for ssl + application (man 6). + * erts: Add a new pollset that is made to handle sockets that + use {active, true} or {active, N}. The new pollset will + not be polled by a pollthread, but instead polled by a + normal scheduler. + This change was made because of the overhead associated + with constantly having to re-apply the ONESHOT + mechanism on fds that all input events were + interesting. + The new pollset is only active on platforms that + support concurrent kernel poll updates, i.e. Linux and + BSD. + * POTENTIAL INCOMPATIBILITIES: + kernel: A new function, logger:update_handler_config/3 is + added, and the handler callback changing_config now has + a new argument, SetOrUpdate, which indicates if the + configuration change comes from set_handler_config/2,3 + or update_handler_config/2,3. + This allows the handler to consistently merge the new + configuration with the old (if the change comes from + update_handler_config/2,3) or with the default (if the + change comes from set_handler_config/2,3). + The built-in handlers logger_std_h and + logger_disk_log_h are updated accordingly. A bug which + could cause inconsistency between the handlers' + internal state and the stored configuration is also + corrected. + * ssl: ssl now uses active n internally to boost performance. + Old active once behavior can be restored by setting + application variable see manual page for ssl + application (man 6). + * full relase notes here: http://erlang.org/download/OTP-21.2.README +------------------------------------------------------------------- Wed Dec 12 19:11:37 UTC 2018 - matwey.kornilov@gmail.com - Drop crypto.patch: isn't required anymore diff --git a/erlang.spec b/erlang.spec index ce4bd25..3eefbbb 100644 --- a/erlang.spec +++ b/erlang.spec @@ -26,7 +26,7 @@ %endif Name: erlang -Version: 21.1.4 +Version: 21.2.5 Release: 0 # not set up to be built with position independend executable support #!BuildIgnore: gcc-PIE @@ -78,13 +78,9 @@ BuildRequires: wxWidgets-devel >= 3 BuildRequires: wxWidgets-devel >= 2.8 %define wx_requires_generator 1 %else -%if 0%{?suse_version} >= 1140 BuildRequires: wxWidgets >= 2.8 BuildRequires: wxWidgets-wxcontainer-devel >= 2.8 %define wx_requires_generator 1 -%else -BuildRequires: wxGTK-devel >= 2.8 -%endif %endif %endif @@ -295,11 +291,7 @@ embedded systems. Summary: A library for wxWidgets support in Erlang Group: Development/Languages/Other Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1140 Requires: wxWidgets >= 2.8 -%else -Requires: wxGTK >= 2.8 -%endif %description wx A Graphics System used to write platform independent user interfaces. @@ -396,13 +388,11 @@ cat > %{buildroot}%{_datadir}/emacs/site-lisp/erlang.el << EOF (load-library "erlang-start") EOF -%if 0%{?suse_version} > 1020 # hardlink duplicates: find . -name "start_erl*" | xargs chmod 755 %fdupes %{buildroot}/%{_libdir}/erlang # %%doc macro copies the files to the package doc dir, hardlinks thus don't work %fdupes -s erlang_doc -%endif install -d -m 0750 %{buildroot}%{epmd_home} install -d -m 0755 %{buildroot}%{_sbindir} diff --git a/otp-R16B-rpath.patch b/otp-R16B-rpath.patch index d52b8fe..d96138d 100644 --- a/otp-R16B-rpath.patch +++ b/otp-R16B-rpath.patch @@ -1,7 +1,7 @@ Index: otp-OTP-20.1.1/lib/crypto/c_src/Makefile.in =================================================================== ---- otp-OTP-21.1.1.orig/lib/crypto/c_src/Makefile.in 2018-10-12 17:12:11.000000000 +0200 -+++ otp-OTP-21.1.1/lib/crypto/c_src/Makefile.in 2018-11-02 16:59:43.766304768 +0100 +--- otp-OTP-21.2.2.origin/lib/crypto/c_src/Makefile.in 2018-12-27 10:45:56.000000000 +0100 ++++ otp-OTP-21.2.2/lib/crypto/c_src/Makefile.in 2018-12-31 16:40:36.912387487 +0100 @@ -96,7 +96,7 @@ DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ @@ -13,8 +13,8 @@ Index: otp-OTP-20.1.1/lib/crypto/c_src/Makefile.in else Index: otp-OTP-20.1.1/lib/crypto/priv/Makefile =================================================================== ---- otp-OTP-21.1.1.orig/lib/crypto/priv/Makefile 2018-10-12 17:12:11.000000000 +0200 -+++ otp-OTP-21.1.1/lib/crypto/priv/Makefile 2018-11-02 17:01:23.294304768 +0100 +--- otp-OTP-21.2.2.origin/lib/crypto/priv/Makefile 2018-12-27 10:45:56.000000000 +0100 ++++ otp-OTP-21.2.2/lib/crypto/priv/Makefile 2018-12-31 16:41:16.992449143 +0100 @@ -61,7 +61,7 @@ # ----------------------------------------------------