Accepting request 518523 from devel:languages:erlang:Factory
1 OBS-URL: https://build.opensuse.org/request/show/518523 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=56
This commit is contained in:
commit
c77d8a6889
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d58b672fce9780ea9b5cd8929a978eaa79730e65bf3d11fc814e2f759ffbd04
|
||||
size 33988728
|
3
OTP-20.0.2.tar.gz
Normal file
3
OTP-20.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a6020138eeecc015ac5d12ccb2b2c543e975559e669c376702723a2a67dc105
|
||||
size 52809801
|
@ -1,7 +1,7 @@
|
||||
<constraints>
|
||||
<hardware>
|
||||
<memory>
|
||||
<size unit="M">4000</size>
|
||||
<size unit="M">6000</size>
|
||||
</memory>
|
||||
</hardware>
|
||||
</constraints>
|
||||
|
10
crypto.patch
10
crypto.patch
@ -5,12 +5,12 @@ Date: Sat Dec 21 00:13:35 2013 +0400
|
||||
In openssl 1.0.1e EC_GROUP_new_curve_GF2m function is wrapped by #ifndef OPENSSL_NO_EC2M.
|
||||
We have to check whether OPENSSL_NO_EC2M is set, and if it is, then we do not have EC_GROUP_new_curve_GF2m function and do not HAVE_EC.
|
||||
|
||||
Index: otp-OTP-19.3.1/lib/crypto/c_src/crypto.c
|
||||
Index: otp-OTP-20.0.1/lib/crypto/c_src/crypto.c
|
||||
===================================================================
|
||||
--- otp-OTP-19.3.1.orig/lib/crypto/c_src/crypto.c
|
||||
+++ otp-OTP-19.3.1/lib/crypto/c_src/crypto.c
|
||||
@@ -102,7 +102,8 @@
|
||||
#if OPENSSL_VERSION_NUMBER >= OpenSSL_version(0,9,8,'o') \
|
||||
--- otp-OTP-20.0.1.orig/lib/crypto/c_src/crypto.c
|
||||
+++ otp-OTP-20.0.1/lib/crypto/c_src/crypto.c
|
||||
@@ -142,7 +142,8 @@
|
||||
#if OPENSSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION(0,9,8,'o') \
|
||||
&& !defined(OPENSSL_NO_EC) \
|
||||
&& !defined(OPENSSL_NO_ECDH) \
|
||||
- && !defined(OPENSSL_NO_ECDSA)
|
||||
|
125
erlang.changes
125
erlang.changes
@ -1,3 +1,128 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 20 06:28:17 UTC 2017 - matwey.kornilov@gmail.com
|
||||
|
||||
- Update to 20.0.2:
|
||||
* asn: Fixed compilation error of generated code caused by a
|
||||
missing quotation of function names as part of an external call for
|
||||
encoding.
|
||||
* erts: Added missing release notes for OTP-14491 ("performance
|
||||
bug in pre-allocators") which was included in erts-9.0.1 (OTP-20.0.1).
|
||||
* erts: Fixed a bug that prevented TCP sockets from being
|
||||
closed properly on send timeouts.
|
||||
* erts: Fixed bug in operator bxor causing erroneuos result
|
||||
when one operand is a big *negative* integer with the lowest N*W bits as
|
||||
zero and the other operand not larger than N*W bits. N is an integer of 1
|
||||
or larger and W is 32 or 64 depending on word size.
|
||||
* kernel: The documentation for the 'quiet' option in
|
||||
disk_log:open/1 had an incorrect default value.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 31 17:02:58 UTC 2017 - matwey.kornilov@gmail.com
|
||||
|
||||
- erlang-gs application has been depricated
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 14:24:49 UTC 2017 - matwey.kornilov@gmail.com
|
||||
|
||||
- Update to 20.0.1:
|
||||
* erts: Fixed a bug in gen_tcp:send where it never returned when
|
||||
repeatedly called on a remotely closed TCP socket.
|
||||
* erts: Fixed segfault that could happen during cleanup of aborted
|
||||
erlang:port_command/3 calls. A port_command is aborted if the
|
||||
port is closed at the same time as the port_command was issued.
|
||||
This bug was introduced in erts-8.0.
|
||||
* erts: Fixed implementation of statistics(wall_clock) and
|
||||
statistics(runtime) so that values do not unnecessarily wrap due
|
||||
to the emulator. Note that the values returned by
|
||||
statistics(runtime) may still wrap due to limitations in the
|
||||
underlying functionality provided by the operating system.
|
||||
* erts: Fix performance bug in pre-allocators that could cause
|
||||
them to permanently fall back on normal more expensive memory
|
||||
allocation. Pre-allocators are used for quick allocation of
|
||||
short lived meta data used by messages and other scheduled
|
||||
tasks. Bug exists since OTP_R15B02.
|
||||
* runtime_tools: A faulty encoding comment was added when saving
|
||||
trace patterns to file. This is now corrected.
|
||||
* stdlib: A bug in proc_lib:format() introduced in Erlang/OTP 20.0
|
||||
is corrected.
|
||||
* stdlib: Fix string:len/1 to be compatible with previous
|
||||
versions.
|
||||
* stdlib: In OTP-20.0, the behavior of c, make, and ct_make was
|
||||
changed so that in some cases the beam files by default would be
|
||||
written to the directory where the source files were found. This
|
||||
is now changed back to the old behavior so beam files are by
|
||||
default written to current directory.
|
||||
|
||||
- Update to 20.0.0:
|
||||
* Potential Incompatibilities
|
||||
* ERTS:
|
||||
* The non SMP Erlang VM is deprecated and not built by default
|
||||
* Remove deprecated erlang:hash/2
|
||||
* erlang:statistics/1 with scheduler_wall_time now also
|
||||
includes info about dirty CPU schedulers.
|
||||
* The new purge strategy introduced in OTP 19.1 is mandatory
|
||||
and slightly incompatible for processes holding funs
|
||||
* see erlang:check_process_code/3.
|
||||
* The NIF library reload is not supported anymore.
|
||||
* Atoms can now contain arbitrary unicode characters which
|
||||
means that the DFLAG_UTF8_ATOMS capability in the
|
||||
distribution protocol must be supported if an OTP 20 node
|
||||
should accept the connection with another node or library.
|
||||
Third party libraries which uses the distribution protocol
|
||||
need to be updated with this.
|
||||
* Asn1: Deprecated module and functions removed (asn1rt,
|
||||
asn1ct:encode/3 and decode/3)
|
||||
* Ssh: client only option in a call to start a daemon will now fail
|
||||
* Highlights
|
||||
* Erts:
|
||||
* Dirty schedulers enabled and supported on VM with SMP support.
|
||||
* support for “dirty” BIFs and “dirty” GC.
|
||||
* erlang:garbage_collect/2 for control of minor or major GC
|
||||
* Erlang literals are no longer copied when sending messages.
|
||||
* Improved performance for large ETS tables, >256 entries
|
||||
(except ordered_set)
|
||||
* erlang:system_info/1 atom_count and atom_limit
|
||||
* Reduced memory pressure by converting sub-binaries to
|
||||
heap-binaries during GC
|
||||
* enif_select, map an external event to message
|
||||
* Improvements of timers internally in the VM resulting in
|
||||
reduced memory consumption and more efficient administration
|
||||
for timers
|
||||
* Compiler:
|
||||
* Code generation for complicated guards is improved.
|
||||
* Warnings for repeated identical map keys. #{'a'=>1, 'b'=>2,
|
||||
'a'=>3} will warn for the repeated key a.
|
||||
* By default there is now a warning when export_all is used.
|
||||
Can be disabled
|
||||
* Pattern matching for maps is optimized
|
||||
* New option deterministic to omit path to source + options
|
||||
info the BEAM file.
|
||||
* Atoms may now contain arbitrary unicode characters.
|
||||
* compile:file/2 has an option to include extra chunks in the
|
||||
BEAM file.
|
||||
* Misc other applications:
|
||||
* Significantly updated string module with unicode support and
|
||||
many new functions
|
||||
* crypto now supports OpenSSL 1.1
|
||||
* Unnamed ets tables optimized
|
||||
* gen_fsm is deprecated and replaced by gen_statem
|
||||
* A new event manager to handle a subset of OS signals in
|
||||
Erlang
|
||||
* Optimized sets add_element, del_element and union
|
||||
* Added rand:jump/0-1
|
||||
* When a gen_server crashes, the stacktrace for the client
|
||||
will be printed to facilitate debugging.
|
||||
* take/2 has been added to dict, orddict, and gb_trees.
|
||||
* take_any/2 has been added to gb_trees
|
||||
* erl_tar support for long path names and new file formats
|
||||
* asn1: the new maps option changes the representation of
|
||||
SEQUENCE to be maps instead of records
|
||||
* A TLS client will by default call
|
||||
public_key:pkix_verify_hostname/2 to verify the hostname
|
||||
* ssl: DTLS documented in the API, experimental
|
||||
* ssh: improving security, removing and adding algorithms
|
||||
* New math:fmod/2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 6 11:26:42 UTC 2017 - meissner@suse.com
|
||||
|
||||
|
36
erlang.spec
36
erlang.spec
@ -21,7 +21,7 @@
|
||||
%endif
|
||||
|
||||
Name: erlang
|
||||
Version: 19.3.2
|
||||
Version: 20.0.2
|
||||
Release: 0
|
||||
# not set up to be built with position independend executable support
|
||||
#!BuildIgnore: gcc-PIE
|
||||
@ -107,7 +107,6 @@ systems from Ericsson.
|
||||
Summary: A debugger for debugging and testing of Erlang programs
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-gs = %{version}
|
||||
Requires: %{name}-wx = %{version}
|
||||
|
||||
%description debugger
|
||||
@ -117,7 +116,6 @@ A debugger for debugging and testing of Erlang programs.
|
||||
Summary: A DIscrepany AnaLYZer for ERlang programs
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-gs = %{version}
|
||||
Requires: %{name}-wx = %{version}
|
||||
Requires: graphviz
|
||||
|
||||
@ -161,7 +159,6 @@ The Erlang Port Mapper daemon acts as a name server on all hosts involved in dis
|
||||
Summary: An event tracer for Erlang programs
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-gs = %{version}
|
||||
Requires: %{name}-wx = %{version}
|
||||
|
||||
%description et
|
||||
@ -176,20 +173,10 @@ Requires: java >= 1.5.0
|
||||
%description jinterface
|
||||
JInterface module for accessing erlang from Java
|
||||
|
||||
%package gs
|
||||
Summary: A library for Tcl/Tk support in Erlang
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
Requires: tk
|
||||
|
||||
%description gs
|
||||
A Graphics System used to write platform independent user interfaces.
|
||||
|
||||
%package reltool
|
||||
Summary: A release management tool
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-gs = %{version}
|
||||
Requires: %{name}-wx = %{version}
|
||||
|
||||
%description reltool
|
||||
@ -261,16 +248,6 @@ Erlang sources for the et application in the Erlang/OTP system.
|
||||
They are useful for educational purpose and as a base for creating
|
||||
embedded systems.
|
||||
|
||||
%package gs-src
|
||||
Summary: Erlang/OTP gs application sources
|
||||
Group: Development/Languages/Other
|
||||
Requires: %{name}-gs = %{version}
|
||||
|
||||
%description gs-src
|
||||
Erlang sources for the gs application in the Erlang/OTP system.
|
||||
They are useful for educational purpose and as a base for creating
|
||||
embedded systems.
|
||||
|
||||
%package jinterface-src
|
||||
Summary: Erlang/OTP jinterface application sources
|
||||
Group: Development/Languages/Other
|
||||
@ -516,7 +493,6 @@ getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port
|
||||
%{_libdir}/erlang/lib/os_mon-*/
|
||||
%{_libdir}/erlang/lib/otp_mibs-*/
|
||||
%{_libdir}/erlang/lib/parsetools-*/
|
||||
%{_libdir}/erlang/lib/percept-*/
|
||||
%{_libdir}/erlang/lib/public_key-*/
|
||||
%{_libdir}/erlang/lib/runtime_tools-*/
|
||||
%{_libdir}/erlang/lib/sasl-*/
|
||||
@ -526,7 +502,6 @@ getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port
|
||||
%{_libdir}/erlang/lib/stdlib-*/
|
||||
%{_libdir}/erlang/lib/syntax_tools-*/
|
||||
%{_libdir}/erlang/lib/tools-*/
|
||||
%{_libdir}/erlang/lib/typer-*/
|
||||
%{_libdir}/erlang/lib/xmerl-*/
|
||||
%{_libdir}/erlang/man/
|
||||
%{_mandir}/man1/*.1.gz
|
||||
@ -577,11 +552,6 @@ getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port
|
||||
%{_sbindir}/rcepmd
|
||||
/var/adm/fillup-templates/sysconfig.erlang
|
||||
|
||||
%files gs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/erlang/lib/gs-*/
|
||||
%exclude %{_libdir}/erlang/lib/gs-*/src
|
||||
|
||||
%files jinterface
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/erlang/lib/jinterface-*/
|
||||
@ -635,10 +605,6 @@ getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/erlang/lib/et-*/src
|
||||
|
||||
%files gs-src
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/erlang/lib/gs-*/src
|
||||
|
||||
%files jinterface-src
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/erlang/lib/jinterface-*/java_src
|
||||
|
@ -1,8 +1,8 @@
|
||||
Index: otp-OTP-18.1.3/lib/crypto/c_src/Makefile.in
|
||||
Index: otp-OTP-20.0.1/lib/crypto/c_src/Makefile.in
|
||||
===================================================================
|
||||
--- otp-OTP-18.1.3.orig/lib/crypto/c_src/Makefile.in
|
||||
+++ otp-OTP-18.1.3/lib/crypto/c_src/Makefile.in
|
||||
@@ -90,7 +90,7 @@ endif
|
||||
--- otp-OTP-20.0.1.orig/lib/crypto/c_src/Makefile.in
|
||||
+++ otp-OTP-20.0.1/lib/crypto/c_src/Makefile.in
|
||||
@@ -92,7 +92,7 @@ endif
|
||||
DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
|
||||
|
||||
ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
|
||||
@ -11,10 +11,10 @@ Index: otp-OTP-18.1.3/lib/crypto/c_src/Makefile.in
|
||||
CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME)
|
||||
EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB
|
||||
else
|
||||
Index: otp-OTP-18.1.3/lib/crypto/priv/Makefile
|
||||
Index: otp-OTP-20.0.1/lib/crypto/priv/Makefile
|
||||
===================================================================
|
||||
--- otp-OTP-18.1.3.orig/lib/crypto/priv/Makefile
|
||||
+++ otp-OTP-18.1.3/lib/crypto/priv/Makefile
|
||||
--- otp-OTP-20.0.1.orig/lib/crypto/priv/Makefile
|
||||
+++ otp-OTP-20.0.1/lib/crypto/priv/Makefile
|
||||
@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o
|
||||
# ----------------------------------------------------
|
||||
|
||||
@ -24,10 +24,10 @@ Index: otp-OTP-18.1.3/lib/crypto/priv/Makefile
|
||||
-o $@ $^ -lcrypto
|
||||
|
||||
$(DLL_NIFLIB): $(OBJS)
|
||||
Index: otp-OTP-18.1.3/lib/odbc/c_src/odbcserver.c
|
||||
Index: otp-OTP-20.0.1/lib/odbc/c_src/odbcserver.c
|
||||
===================================================================
|
||||
--- otp-OTP-18.1.3.orig/lib/odbc/c_src/odbcserver.c
|
||||
+++ otp-OTP-18.1.3/lib/odbc/c_src/odbcserver.c
|
||||
--- otp-OTP-20.0.1.orig/lib/odbc/c_src/odbcserver.c
|
||||
+++ otp-OTP-20.0.1/lib/odbc/c_src/odbcserver.c
|
||||
@@ -107,6 +107,8 @@
|
||||
#ifdef UNIX
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user