2011-11-14 10:50:16 +00:00
|
|
|
#
|
|
|
|
# spec file for package erlang
|
|
|
|
#
|
2018-10-07 19:18:48 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-11-14 10:50:16 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-07 19:18:48 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-14 10:50:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-11-23 20:14:46 +00:00
|
|
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
|
|
%if ! %{defined _fillupdir}
|
|
|
|
%define _fillupdir /var/adm/fillup-templates
|
|
|
|
%endif
|
|
|
|
|
2015-07-28 12:26:13 +00:00
|
|
|
%if 0%{?rhel} >= 7
|
|
|
|
%undefine _missing_build_ids_terminate_build
|
|
|
|
%endif
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
Name: erlang
|
Accepting request 710208 from home:matwey:branches:devel:languages:erlang:Factory
- Version 22.0:
- Potential Incompatibilities:
* gen_* behaviours: If logging of the last N messages through
sys:log/2,3 is active for the server, this log is included in
the terminate report.
* reltool: A new element, Opts, can now be included in a rel
tuple in the reltool release specific configuration format:
{rel, Name, Vsn, RelApps, Opts}.
* All external pids/ports/refs created by erlang:list_to_pid and
similar functions now compare equal to any other pid/port/ref
with same number from that node.
* The old legacy erl_interface library is deprecated as of OTP
22, and will be removed in OTP 23. This does not apply to the
ei library.
* VxWorks is deprecated as of OTP 22 and will be removed in OTP
23.
- New Features:
* Support for Erlang Distribution protocol to split the payload
of large messages into several fragments.
* ETS option write_concurrency now also effects and improves
scalability of ordered_set tables.
* The length/1 BIF used to calculate the length of the list in
one go without yielding, even if the list was very long. Now it
yields when called with long lists.
* A new (still experimental) module socket is introduced. It is
implemented as a NIF and the idea is that it shall be as "close
as possible" to the OS level socket interface.
* Added the NIF function enif_term_type, which helps avoid long
sequences of enif_is_xyz by returning the type of the given
term. This is especially helpful for NIFs that serialize terms,
such as JSON encoders, where it can improve both performance
and readability.
* The compiler has been rewritten to internally use an
intermediate representation based on Static Single Assignment
(SSA). The new intermediate representation makes more
optimizations possible.
* All compiler options that can be given in the source file can
now be given in the option list on the command line for erlc.
* In OTP 22, HiPE (the native code compiler) is not fully
functional. The reasons for this are new BEAM instructions for
binary matching that the HiPE native code compiler does not
support. If erlc is invoked with the +native option, and if any
of the new binary matching instructions are used, the compiler
will issue a warning and produce a BEAM file without native
code.
* Cover now uses the counters module instead of ets for updating
counters. The new function cover:local_only/0 allows running
Cover in a restricted but faster local-only mode. The increase
in speed will vary depending on the type of code being
cover-compiled, as an example the compiler test suite runs more
than twice as fast with the new Cover.
* A simple socket API is provided through the socket module. This
is a low level API that does *not* replace gen_[tcp|udp|sctp].
It is intended to *eventually* replace the inet driver. It also
provides a basic API that facilitates the implementation of
other protocols than TCP, UDP and SCTP. Known issues are; No
support for the Windows OS (currently), a small term leakage.
This feature will be classed as experimental in OTP 22.
* SSL: now uses the new logger API, including log levels and
verbose debug logging.
* SSL: Basic support for TLS 1.3 Server for experimental use.
* crypto: The new hash_info/1 and cipher_info/1 functions returns
maps with information about the hash or cipher in the argument.
- The application otp_mibs has been removed from OTP.
OBS-URL: https://build.opensuse.org/request/show/710208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=84
2019-06-17 08:56:13 +00:00
|
|
|
Version: 22.0
|
2011-11-14 10:50:16 +00:00
|
|
|
Release: 0
|
2017-05-06 13:25:06 +00:00
|
|
|
# not set up to be built with position independend executable support
|
|
|
|
#!BuildIgnore: gcc-PIE
|
2011-11-14 10:50:16 +00:00
|
|
|
Summary: General-purpose programming language and runtime environment
|
2015-06-26 16:02:57 +00:00
|
|
|
License: Apache-2.0
|
2011-11-14 10:50:16 +00:00
|
|
|
Group: Development/Languages/Other
|
2012-06-29 12:12:52 +00:00
|
|
|
Url: http://www.erlang.org
|
2015-06-19 13:46:39 +00:00
|
|
|
Source0: https://github.com/erlang/otp/archive/OTP-%{version}.tar.gz
|
2011-11-14 10:50:16 +00:00
|
|
|
Source3: %{name}-rpmlintrc
|
2012-11-18 19:25:27 +00:00
|
|
|
Source4: epmd.init
|
|
|
|
Source5: erlang.sysconfig
|
2013-02-15 09:57:22 +00:00
|
|
|
Source6: macros.erlang
|
2013-10-27 20:19:02 +00:00
|
|
|
Source7: epmd.service
|
|
|
|
Source8: epmd.socket
|
2014-03-24 09:16:04 +00:00
|
|
|
Source9: README.SUSE
|
2011-11-14 10:50:16 +00:00
|
|
|
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
2013-02-28 01:02:23 +00:00
|
|
|
Patch0: otp-R16B-rpath.patch
|
2013-03-08 11:35:52 +00:00
|
|
|
# PATCH-FIX-OPENSUSE erlang-not-install-misc.patch - matwey.kornilov@gmail.com -- patch from Fedora, this removes unneeded magic
|
|
|
|
Patch4: erlang-not-install-misc.patch
|
2013-01-07 20:53:12 +00:00
|
|
|
BuildRequires: autoconf
|
2011-11-14 10:50:16 +00:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: openssh
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: tcl-devel
|
|
|
|
BuildRequires: tk-devel
|
|
|
|
BuildRequires: unixODBC-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-03-18 07:49:43 +00:00
|
|
|
BuildRequires: %fillup_prereq
|
|
|
|
BuildRequires: %insserv_prereq
|
2011-11-14 10:50:16 +00:00
|
|
|
BuildRequires: Mesa-devel
|
2014-03-31 07:34:00 +00:00
|
|
|
BuildRequires: fdupes
|
2015-06-19 13:46:39 +00:00
|
|
|
BuildRequires: fop
|
2019-02-12 07:10:06 +00:00
|
|
|
BuildRequires: dejavu-fonts
|
2012-06-29 12:12:52 +00:00
|
|
|
BuildRequires: java-devel >= 1.6.0
|
2011-11-14 10:50:16 +00:00
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: update-alternatives
|
2015-06-19 13:46:39 +00:00
|
|
|
%if 0%{?suse_version} >= 1220
|
|
|
|
BuildRequires: xsltproc
|
|
|
|
%else
|
|
|
|
BuildRequires: libxslt
|
|
|
|
%endif
|
2014-03-31 07:34:00 +00:00
|
|
|
Requires: erlang-epmd
|
2011-11-14 10:50:16 +00:00
|
|
|
|
2015-06-25 08:59:31 +00:00
|
|
|
%if 0%{?suse_version} >= 1320
|
2014-11-22 02:44:27 +00:00
|
|
|
BuildRequires: wxWidgets-devel >= 3
|
|
|
|
%else
|
2015-06-25 08:59:31 +00:00
|
|
|
%if 0%{?suse_version} >= 1315
|
2015-09-29 16:42:45 +00:00
|
|
|
BuildRequires: wxWidgets-devel >= 2.8
|
|
|
|
%define wx_requires_generator 1
|
2015-06-25 08:59:31 +00:00
|
|
|
%else
|
2015-09-29 16:42:45 +00:00
|
|
|
BuildRequires: wxWidgets >= 2.8
|
|
|
|
BuildRequires: wxWidgets-wxcontainer-devel >= 2.8
|
|
|
|
%define wx_requires_generator 1
|
2014-11-22 02:44:27 +00:00
|
|
|
%endif
|
2015-06-25 08:59:31 +00:00
|
|
|
%endif
|
2011-11-14 10:50:16 +00:00
|
|
|
|
2015-09-29 16:42:45 +00:00
|
|
|
%if 0%{?wx_requires_generator}
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
%define __find_requires %wx_requires
|
|
|
|
%endif
|
|
|
|
|
2013-10-27 20:19:02 +00:00
|
|
|
%if 0%{?suse_version} >=1230
|
2014-07-01 10:06:03 +00:00
|
|
|
BuildRequires: systemd-devel
|
2015-06-19 13:46:39 +00:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2018-10-07 19:18:48 +00:00
|
|
|
%define have_systemd 1
|
2013-10-27 20:19:02 +00:00
|
|
|
%endif
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
%define epmd_home %{_var}/lib/epmd
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%description
|
|
|
|
Erlang is a general-purpose programming language and runtime
|
|
|
|
environment. Erlang has built-in support for concurrency, distribution
|
|
|
|
and fault tolerance. Erlang is used in several large telecommunication
|
|
|
|
systems from Ericsson.
|
|
|
|
|
|
|
|
%package debugger
|
|
|
|
Summary: A debugger for debugging and testing of Erlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description debugger
|
|
|
|
A debugger for debugging and testing of Erlang programs.
|
|
|
|
|
|
|
|
%package dialyzer
|
|
|
|
Summary: A DIscrepany AnaLYZer for ERlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
2013-06-17 07:17:41 +00:00
|
|
|
Requires: graphviz
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%description dialyzer
|
|
|
|
A DIscrepany AnaLYZer for ERlang programs.
|
|
|
|
|
2016-06-14 12:05:24 +00:00
|
|
|
%package diameter
|
2016-06-26 08:53:32 +00:00
|
|
|
Summary: Main API of the Diameter application
|
2016-06-14 12:05:24 +00:00
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description diameter
|
|
|
|
This module provides the interface with which a user can implement a Diameter
|
|
|
|
node that sends and receives messages using the Diameter protocol as defined in
|
|
|
|
RFC 6733.
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Erlang documentation
|
|
|
|
Group: Development/Languages/Other
|
2015-07-28 12:26:13 +00:00
|
|
|
%if 0%{?suse_version}
|
2012-11-18 19:25:27 +00:00
|
|
|
Recommends: %{name} = %{version}
|
2015-07-28 12:26:13 +00:00
|
|
|
%endif
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for Erlang.
|
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%package epmd
|
|
|
|
Summary: Erlang Port Mapper daemon
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
2017-03-18 07:49:43 +00:00
|
|
|
Requires(postun): %insserv_prereq
|
|
|
|
Requires(post): %fillup_prereq
|
|
|
|
%if 0%{?have_systemd}
|
|
|
|
%{?systemd_requires}
|
|
|
|
%endif
|
2014-03-31 07:34:00 +00:00
|
|
|
|
|
|
|
%description epmd
|
|
|
|
The Erlang Port Mapper daemon acts as a name server on all hosts involved in distributed Erlang computations.
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%package et
|
|
|
|
Summary: An event tracer for Erlang programs
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description et
|
|
|
|
An event tracer for Erlang programs.
|
|
|
|
|
|
|
|
%package jinterface
|
|
|
|
Summary: Erlang Java Interface
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Requires: %{name} = %{version}
|
2017-09-22 07:28:50 +00:00
|
|
|
Requires: java >= 1.6.0
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%description jinterface
|
|
|
|
JInterface module for accessing erlang from Java
|
|
|
|
|
|
|
|
%package reltool
|
|
|
|
Summary: A release management tool
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description reltool
|
|
|
|
Reltool is a release management tool. It analyses a given
|
|
|
|
Erlang/OTP installation and determines various dependencies
|
|
|
|
between applications. The graphical frontend depicts the
|
|
|
|
dependencies and enables interactive customization of a
|
|
|
|
target system. The backend provides a batch interface
|
|
|
|
for generation of customized target systems.
|
|
|
|
|
2014-03-24 09:16:04 +00:00
|
|
|
%package observer
|
|
|
|
Summary: A GUI tool for observing an erlang system
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description observer
|
|
|
|
The observer is gui frontend containing various tools to inspect a system.
|
|
|
|
It displays system information, application structures, process information,
|
2018-10-07 19:18:48 +00:00
|
|
|
ets or mnesia tables and a frontend for tracing with ttb.
|
2014-03-24 09:16:04 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%package src
|
|
|
|
Summary: Erlang/OTP applications sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description src
|
|
|
|
Erlang sources for all the applications in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
2013-03-11 09:00:12 +00:00
|
|
|
%package debugger-src
|
|
|
|
Summary: Erlang/OTP debugger application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-debugger = %{version}
|
|
|
|
|
|
|
|
%description debugger-src
|
|
|
|
Erlang sources for the debugger application in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
|
|
|
%package dialyzer-src
|
|
|
|
Summary: Erlang/OTP dialyzer application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-dialyzer = %{version}
|
|
|
|
|
|
|
|
%description dialyzer-src
|
|
|
|
Erlang sources for the dialyzer application in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
2016-06-14 12:05:24 +00:00
|
|
|
%package diameter-src
|
2016-06-26 08:53:32 +00:00
|
|
|
Summary: Erlang/OTP Diameter application sources
|
2016-06-14 12:05:24 +00:00
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-diameter = %{version}
|
|
|
|
|
|
|
|
%description diameter-src
|
2016-06-26 08:53:32 +00:00
|
|
|
Erlang sources for the Diameter application in the Erlang/OTP system.
|
2016-06-14 12:05:24 +00:00
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
2013-03-11 09:00:12 +00:00
|
|
|
%package et-src
|
|
|
|
Summary: Erlang/OTP et application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-et = %{version}
|
|
|
|
|
|
|
|
%description et-src
|
|
|
|
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 jinterface-src
|
|
|
|
Summary: Erlang/OTP jinterface application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-jinterface = %{version}
|
|
|
|
|
|
|
|
%description jinterface-src
|
|
|
|
Erlang sources for the jinterface application in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
|
|
|
%package reltool-src
|
|
|
|
Summary: Erlang/OTP reltool application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-reltool = %{version}
|
|
|
|
|
|
|
|
%description reltool-src
|
|
|
|
Erlang sources for the reltool application in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
2014-03-24 09:16:04 +00:00
|
|
|
%package observer-src
|
|
|
|
Summary: Erlang/OTP observer application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-observer = %{version}
|
|
|
|
|
|
|
|
%description observer-src
|
|
|
|
Erlang sources for the observer application in the Erlang/OTP system.
|
2014-04-30 18:11:57 +00:00
|
|
|
They are useful for educational purpose and as a base for creating embedded systems.
|
2013-03-11 09:00:12 +00:00
|
|
|
|
|
|
|
%package wx-src
|
|
|
|
Summary: Erlang/OTP wx application sources
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name}-wx = %{version}
|
|
|
|
|
|
|
|
%description wx-src
|
|
|
|
Erlang sources for the wx application in the Erlang/OTP system.
|
|
|
|
They are useful for educational purpose and as a base for creating
|
|
|
|
embedded systems.
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%package wx
|
|
|
|
Summary: A library for wxWidgets support in Erlang
|
|
|
|
Group: Development/Languages/Other
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: wxWidgets >= 2.8
|
|
|
|
|
|
|
|
%description wx
|
|
|
|
A Graphics System used to write platform independent user interfaces.
|
|
|
|
|
|
|
|
%prep
|
2015-06-19 13:46:39 +00:00
|
|
|
%setup -q -n otp-OTP-%{version}
|
2011-11-14 10:50:16 +00:00
|
|
|
%patch0 -p1 -b .rpath
|
2013-03-08 11:35:52 +00:00
|
|
|
%patch4 -p1
|
2014-03-24 09:16:04 +00:00
|
|
|
cp %{S:9} .
|
2011-11-14 10:50:16 +00:00
|
|
|
|
2015-06-19 13:46:39 +00:00
|
|
|
./otp_build autoconf
|
2011-11-14 10:50:16 +00:00
|
|
|
# enable dynamic linking for ssl
|
|
|
|
sed -i 's|SSL_DYNAMIC_ONLY=no|SSL_DYNAMIC_ONLY=yes|' erts/configure
|
|
|
|
# Remove shipped zlib sources
|
|
|
|
#rm -f erts/emulator/zlib/*.[ch]
|
|
|
|
|
|
|
|
# fix for arch linux bug #17001 (wx not working)
|
|
|
|
sed -i 's|WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`|WX_LIBS="`$WX_CONFIG_WITH_ARGS --libs` -lGLU"|' lib/wx/configure || return 1
|
|
|
|
|
|
|
|
%build
|
2017-09-22 07:28:50 +00:00
|
|
|
# we need build only 1.6 target for java
|
2011-11-14 10:50:16 +00:00
|
|
|
# for SLE only
|
|
|
|
%if 0%{?sles_version} >= 10 || 0%{?suse_version} >= 1110
|
2017-09-22 07:28:50 +00:00
|
|
|
export JAVAC="javac -source 1.6 -target 1.6"
|
2011-11-14 10:50:16 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} == 1100 || 0%{?fedora_version} == 9
|
|
|
|
export CFLAGS="-fno-strict-aliasing"
|
|
|
|
%else
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
%endif
|
|
|
|
export CXXFLAGS=$CFLAGS
|
|
|
|
|
|
|
|
%configure \
|
2014-07-01 10:06:03 +00:00
|
|
|
%if 0%{?have_systemd}
|
|
|
|
--enable-systemd \
|
|
|
|
%endif
|
2011-11-14 10:50:16 +00:00
|
|
|
--with-ssl=%{_prefix} \
|
|
|
|
--enable-threads \
|
|
|
|
--enable-smp-support \
|
|
|
|
--enable-kernel-poll \
|
2016-01-27 12:56:36 +00:00
|
|
|
%ifnarch s390 s390x
|
2011-11-14 10:50:16 +00:00
|
|
|
--enable-hipe \
|
2016-01-27 12:56:36 +00:00
|
|
|
%endif
|
2011-11-14 10:50:16 +00:00
|
|
|
--enable-shared-zlib
|
2013-01-07 09:57:08 +00:00
|
|
|
# clean stalled files before rebuild them
|
|
|
|
make %{?_smp_mflags} clean
|
2012-11-18 19:25:27 +00:00
|
|
|
# should work up to at least -j8
|
|
|
|
make %{?_smp_mflags}
|
2015-06-19 13:46:39 +00:00
|
|
|
# to build the docs, just compiled erlang is required
|
|
|
|
PATH=$PWD/bin:$PATH make %{?_smp_mflags} docs
|
2012-10-13 17:52:38 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%install
|
|
|
|
%if 0%{?sles_version} >= 10
|
|
|
|
make DESTDIR=%{buildroot} install
|
2015-06-19 13:46:39 +00:00
|
|
|
make DESTDIR=%{buildroot} install-docs
|
2011-11-14 10:50:16 +00:00
|
|
|
%else
|
2015-06-19 13:46:39 +00:00
|
|
|
%make_install install-docs
|
2011-11-14 10:50:16 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
export TOOLS_VERSION=`ls %{buildroot}%{_libdir}/erlang/lib/ |grep ^tools- | sed "s|tools-||"`
|
|
|
|
|
|
|
|
# clean up
|
|
|
|
find %{buildroot}%{_libdir}/erlang -perm 0775 | xargs chmod -v 0755
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name Makefile | xargs chmod -v 0644
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name \*.bat | xargs rm -fv
|
|
|
|
find %{buildroot}%{_libdir}/erlang -name index.txt.old | xargs rm -fv
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
# doc
|
|
|
|
mv README.md README
|
|
|
|
mkdir -p erlang_doc
|
2015-06-19 13:46:39 +00:00
|
|
|
find %{buildroot}%{_libdir}/erlang -maxdepth 3 -type d -name doc -or -name info | while read S;do D=`echo $S | sed -e 's|%{buildroot}%{_libdir}/erlang|erlang_doc|'`; B=`dirname $D`; mkdir -p $B; mv $S $D; done
|
2012-11-18 19:25:27 +00:00
|
|
|
# compress man pages ...
|
|
|
|
find %{buildroot}%{_libdir}/erlang/man -type f -exec gzip {} +
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
#make link to OtpErlang-*.jar in %%{_javadir}
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
export JINTERFACE_VERSION=`ls %{buildroot}%{_libdir}/erlang/lib/ |grep ^jinterface- | sed "s|jinterface-||"`
|
|
|
|
ln -sf ../../%{_lib}/erlang/lib/jinterface-$JINTERFACE_VERSION/priv/OtpErlang.jar OtpErlang-$JINTERFACE_VERSION.jar
|
|
|
|
cd -
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
# The man-pages for binaries are safe to move to %{_mandir}, others may conflict with other packages
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
for link in $(ls %{buildroot}%{_libdir}/erlang/man/man1/); do
|
|
|
|
ln -s %{_libdir}/erlang/man/man1/$link %{buildroot}%{_mandir}/man1/$link
|
|
|
|
done
|
2012-10-13 17:52:38 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
# emacs: automatically load support for erlang
|
|
|
|
# http://lists.mandriva.com//bugs/2007-08/msg00930.php
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp
|
|
|
|
cat > %{buildroot}%{_datadir}/emacs/site-lisp/erlang.el << EOF
|
|
|
|
(setq load-path (cons "%{_libdir}/erlang/lib/tools-$TOOLS_VERSION/emacs" load-path))
|
|
|
|
(add-to-list 'load-path "%{_datadir}/emacs/site-lisp/ess")
|
|
|
|
(load-library "erlang-start")
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# hardlink duplicates:
|
2012-11-18 19:25:27 +00:00
|
|
|
find . -name "start_erl*" | xargs chmod 755
|
2011-11-14 10:50:16 +00:00
|
|
|
%fdupes %{buildroot}/%{_libdir}/erlang
|
|
|
|
# %%doc macro copies the files to the package doc dir, hardlinks thus don't work
|
|
|
|
%fdupes -s erlang_doc
|
|
|
|
|
2012-11-18 19:25:27 +00:00
|
|
|
install -d -m 0750 %{buildroot}%{epmd_home}
|
2013-10-27 20:19:02 +00:00
|
|
|
install -d -m 0755 %{buildroot}%{_sbindir}
|
2013-12-22 08:43:31 +00:00
|
|
|
%if 0%{?have_systemd}
|
2014-02-19 07:30:35 +00:00
|
|
|
install -D -m 0644 %{S:7} %{buildroot}%{_unitdir}/epmd.service
|
|
|
|
install -D -m 0644 %{S:8} %{buildroot}%{_unitdir}/epmd.socket
|
2013-12-22 08:43:31 +00:00
|
|
|
ln -s /sbin/service %{buildroot}%{_sbindir}/rcepmd
|
2013-10-27 20:19:02 +00:00
|
|
|
%else
|
|
|
|
ln -s /etc/init.d/epmd %{buildroot}%{_sbindir}/rcepmd
|
2013-12-22 08:43:31 +00:00
|
|
|
install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd
|
2017-11-23 20:14:46 +00:00
|
|
|
install -D -m 0644 %{S:5} %{buildroot}%{_fillupdir}/sysconfig.erlang
|
2018-11-30 08:15:32 +00:00
|
|
|
%endif
|
2013-02-15 09:57:22 +00:00
|
|
|
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
2012-11-18 19:25:27 +00:00
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%pre epmd
|
2016-06-26 08:53:32 +00:00
|
|
|
getent group epmd || /usr/sbin/groupadd -r epmd || :
|
|
|
|
getent passwd epmd || /usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd || :
|
2014-03-03 13:53:41 +00:00
|
|
|
%if 0%{?have_systemd}
|
|
|
|
%service_add_pre epmd.service epmd.socket
|
|
|
|
%endif
|
2012-11-18 19:25:27 +00:00
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%post epmd
|
2012-11-18 19:25:27 +00:00
|
|
|
%fillup_only erlang
|
2014-03-03 13:53:41 +00:00
|
|
|
%if 0%{?have_systemd}
|
|
|
|
%service_add_post epmd.service epmd.socket
|
|
|
|
%endif
|
2012-11-18 19:25:27 +00:00
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%preun epmd
|
2013-12-22 08:43:31 +00:00
|
|
|
%if 0%{?have_systemd}
|
2014-02-19 07:30:35 +00:00
|
|
|
%service_del_preun epmd.service epmd.socket
|
2013-10-27 20:19:02 +00:00
|
|
|
%endif
|
2013-12-22 08:43:31 +00:00
|
|
|
%stop_on_removal epmd
|
2012-11-18 19:25:27 +00:00
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%postun epmd
|
2013-12-22 08:43:31 +00:00
|
|
|
%if 0%{?have_systemd}
|
2014-02-19 07:30:35 +00:00
|
|
|
%service_del_postun epmd.service epmd.socket
|
2013-12-22 08:43:31 +00:00
|
|
|
%endif
|
2012-11-18 19:25:27 +00:00
|
|
|
%restart_on_update epmd
|
|
|
|
%{insserv_cleanup}
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-06-26 16:02:57 +00:00
|
|
|
%doc AUTHORS LICENSE.txt README
|
2014-03-24 09:16:04 +00:00
|
|
|
%if 0%{?have_systemd}
|
|
|
|
%doc README.SUSE
|
|
|
|
%endif
|
2012-11-18 19:25:27 +00:00
|
|
|
%doc %{_libdir}/erlang/PR.template
|
2016-09-30 11:57:47 +00:00
|
|
|
%doc %{_libdir}/erlang/README.md
|
2012-11-18 19:25:27 +00:00
|
|
|
%doc %{_libdir}/erlang/COPYRIGHT
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_bindir}/*
|
2013-06-17 07:17:41 +00:00
|
|
|
%exclude %{_bindir}/dialyzer
|
2014-03-31 07:34:00 +00:00
|
|
|
%exclude %{_bindir}/epmd
|
2011-11-14 10:50:16 +00:00
|
|
|
%dir %{_libdir}/erlang
|
|
|
|
%dir %{_libdir}/erlang/lib/
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/src
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/c_src
|
|
|
|
%exclude %{_libdir}/erlang/lib/*/java_src
|
|
|
|
%{_libdir}/erlang/bin/
|
2013-06-17 07:17:41 +00:00
|
|
|
%exclude %{_libdir}/erlang/bin/dialyzer
|
2014-03-31 07:34:00 +00:00
|
|
|
%exclude %{_libdir}/erlang/bin/epmd
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/erts-*/
|
2014-03-31 07:34:00 +00:00
|
|
|
%exclude %{_libdir}/erlang/erts-*/bin/dialyzer
|
|
|
|
%exclude %{_libdir}/erlang/erts-*/bin/epmd
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/lib/asn1-*/
|
|
|
|
%{_libdir}/erlang/lib/common_test-*/
|
|
|
|
%{_libdir}/erlang/lib/compiler-*/
|
|
|
|
%{_libdir}/erlang/lib/crypto-*/
|
|
|
|
%{_libdir}/erlang/lib/edoc-*/
|
2012-11-18 19:25:27 +00:00
|
|
|
%{_libdir}/erlang/lib/eldap-*/
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/lib/erl_docgen-*/
|
|
|
|
%{_libdir}/erlang/lib/erl_interface-*/
|
|
|
|
%{_libdir}/erlang/lib/erts-*/
|
|
|
|
%{_libdir}/erlang/lib/eunit-*/
|
|
|
|
%{_libdir}/erlang/lib/hipe-*/
|
Accepting request 646128 from home:gsantomaggio:branches:devel:languages:erlang:Factory
Update to 21.1.1
Add the dejavu-fonts dependecy because is needed by fop, else it raises an error for missing font.
Rebuild all the patch files
- update to 21.1.1:
- Changes for 21.1.1:
- http://erlang.org/download/OTP-21.1.1.README
* erts: Fixed a memory leak on errors when reading files.
* ssl: From ssl-9.0.2. CLOSE ALERTS could under some
circumstances be encoded using an incorrect cipher
state. This would cause the peer to regard them as
unknown messages.
* ssl: Correct handling of socket packet option with new TLS
sender process, from ssl-9.0.2. When changing the
socket option {packet, 1|2|3|4} with ssl:setopts/2 the
option must internally be propagated to the sender
process as well as the reader process as this
particular option also affects the data to be sent.
* eldap: A race condition at close could cause the eldap client
to exit with a badarg message as cause.
- Changes for 21.1:
- http://erlang.org/download/OTP-21.1.README
* ssh: The key exchange methods
'curve25519-sha256@libssh.org', 'curve25519-sha256' and
'curve448-sha512' are implemented. The last two are
defined in
https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves
They all depends on that OpenSSL 1.1.1 or higher is
used as cryptolib.
* crypto: The typing in the CRYPTO and PUBLIC_KEY applications
are reworked and a few mistakes are corrected.
The documentation is now generated from the typing and
some clarifications are made.
A new chapter on Algorithm Details such as key sizes
and availability is added to the CRYPTO User's Guide.
* erts: The socket options recvtos, recvttl, recvtclass and
pktoptions have been implemented in the socket modules.
See the documentation for the gen_tcp, gen_udp and inet
modules. Note that support for these in the runtime
system is platform dependent. Especially for pktoptions
which is very Linux specific and obsoleted by the RFCs
that defined it.
* ssh: The cipher 'chacha20-poly1305@openssh.com' is now
supported if OpenSSL 1.1.1 or higher is used as
cryptolib.
- Changes for 21.0.9:
- http://erlang.org/download/OTP-21.0.9.README
* compiler: Fix a regression in OTP-15204 that removed .beam file
metadata that some external build tools relied on.
* erts: As of ERTS version 10.0 (OTP 21.0) the erl_child_setup
program, which creates port programs, ignores TERM
signals. This setting was unintentionally inherited by
port programs. Handling of TERM signals in port
programs has now been restored to the default behavior.
That is, terminate the process.
* erts: The fix made for OTP-15279 in erts-10.07 (OTP-21.0.8)
was not complete. It could cause a new connection
attempt to be incorrectly aborted in certain cases.
This fix will amend that flaw.
- Changes for 21.0.8:
- http://erlang.org/download/OTP-21.0.8.
* erts: A process could get stuck in an infinite rescheduling
loop between normal and dirty schedulers. This bug was
introduced in ERTS version 10.0.
* erts: Garbage collection of a distribution entry could cause
an emulator crash if net_kernel had not brought
previous connection attempts on it down properly.
* kernel: Fixed bug in net_kernel that could cause an emulator
crash if certain connection attempts failed. Bug exists
since kernel-6.0 (OTP-21.0).
- Changes for 21.0.7:
- http://erlang.org/download/OTP-21.0.7.
* erts: A race between termination of a process and resume of
the same process via erlang:resume_process/1 could
cause the VM to crash. This bug was introduced in erts
version 10.0 (OTP 21.0).
* erts: When tracing on running, in trace events could be lost
when a process was rescheduled between a dirty and a
normal scheduler.
- Changes for 21.0.6:
- http://erlang.org/download/OTP-21.0.6.README
* crypto: Update the crypto engine functions to handle multiple
loads of an engine.
* inets: Change status code for no mod found to handle request
to 501
* ssl: Correct cipher suite handling for ECDHE_*, the
incorrect handling could cause an incorrrect suite to
be selected and most likly fail the handshake.
- Changes for 21.0.5:
- http://erlang.org/download/OTP-21.0.5.README
* POTENTIAL INCOMPATIBILITIES erts:
Fixed a bug causing some Erlang references to be
inconsistently ordered. This could for example cause
failure to look up certain elements with references as
keys in search data structures. This bug was introduced
in R13B02.
* compiler: Fixed an issue where files compiled with the
+deterministic option differed if they were compiled in
a different directory but were otherwise identical.
* crypto: Fixed a node crash in crypto:compute_key(ecdh, ...)
when passing a wrongly typed Others argument.
* erts: Fixed a bug which caused an emulator crash when
enif_send() was called by a NIF that executed on a
dirty scheduler. The bug was either triggered when the
NIF called enif_send() without a message environment,
or when the process executing the NIF was send traced.
- Changes for 21.0.4:
- http://erlang.org/download/OTP-21.0.4.README
* erts: Fixed a crash when matching directly against a literal
map using a single key that had been saved on the
stack.
* erts: Fix node crash when passing a bad time option to
file:read_file_info/2.
- Changes for 21.0.3:
- http://erlang.org/download/OTP-21.0.3.README
* otp: Build support for the erlang/corba repository.
* erts: Fixed a scheduler bug that caused normal schedulers to
run dirty code.
* erts: Fixed a bug in erlang:trace_info/2 which caused the
emulator to crash when a bad argument was passed. The
bug was introduced in ERTS version 10.0.
- Changes for 21.0.2:
- http://erlang.org/download/OTP-21.0.2.README
* compiler: In rare cases involving matching of binary literal
strings, the compiler could optimize away code that
should be executed.
* compiler:There could be an internal consistency check failure
when compiling code that called map_get(Key, Map) and
then updated the same map.
* compiler: In rare circumstances, the compiler could crash in
beam_jump when compiling a floating point operation.
* erts: Fixed a rare bug that could cause processes to be
scheduled after they had been freed
* erts: Fixed a race condition in the inet driver that could
cause receive to hang when the emulator was compiled
with gcc 8.
* public_key: Fix some of the keylengths in the newly generated moduli
file in public_key are not universally supported. This
could cause the SSH key exchange
diffie-hellman-group-exchange-sha* to fail.
Those keylengths are now removed.
* stdlib: Fix a bug that could cause a crash when formatting a
list of non-characters using the control sequences p or
P and limiting the output with the option chars_limit.
- Changes for 21.0.1:
- http://erlang.org/download/OTP-21.0.1.
* compiler:The compiler could crash when compiling a
complicated function that used the binary syntax.
- Changes for 21.0:
- http://erlang.org/download/otp_src_21.0.readme
* Erlang/OTP 21 is a new major release with new features, improvements as well as incompatibilities.
* Potential Incompatibilities:
- All Corba applications are now moved from the OTP repository
- A new Corba repository will be created https://github.com/erlang
- New applications ftp and tftp, moved from inets
- ssl no longer supports 3_DES cipher suites or RSA-key exchange cipher suites by default
- Erlang:monitor on a primitive node (erl_interface, jinterface, etc) will no longer fail with badarg exception.
Instead a monitor will be created, but it will only supervise the connection to the node.
* Highlights:
* Erts:
- Enhanced IO scalability
- Support for usage of distribution controller processes for alternative transports, routing etc
- compact instructions on 64bit systems for code below 4GB 20% less memory for loaded code
- Rewrite of the efile-driver with NIFs and "Dirty schedulers" resulting in faster file operations
non-smp VM removed
- link and monitor optimized for scalability
OBS-URL: https://build.opensuse.org/request/show/646128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=64
2018-11-03 07:26:43 +00:00
|
|
|
%{_libdir}/erlang/lib/ftp-*/
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/lib/inets-*/
|
|
|
|
%{_libdir}/erlang/lib/kernel-*/
|
|
|
|
%{_libdir}/erlang/lib/megaco-*/
|
|
|
|
%{_libdir}/erlang/lib/mnesia-*/
|
|
|
|
%{_libdir}/erlang/lib/odbc-*/
|
Accepting request 646128 from home:gsantomaggio:branches:devel:languages:erlang:Factory
Update to 21.1.1
Add the dejavu-fonts dependecy because is needed by fop, else it raises an error for missing font.
Rebuild all the patch files
- update to 21.1.1:
- Changes for 21.1.1:
- http://erlang.org/download/OTP-21.1.1.README
* erts: Fixed a memory leak on errors when reading files.
* ssl: From ssl-9.0.2. CLOSE ALERTS could under some
circumstances be encoded using an incorrect cipher
state. This would cause the peer to regard them as
unknown messages.
* ssl: Correct handling of socket packet option with new TLS
sender process, from ssl-9.0.2. When changing the
socket option {packet, 1|2|3|4} with ssl:setopts/2 the
option must internally be propagated to the sender
process as well as the reader process as this
particular option also affects the data to be sent.
* eldap: A race condition at close could cause the eldap client
to exit with a badarg message as cause.
- Changes for 21.1:
- http://erlang.org/download/OTP-21.1.README
* ssh: The key exchange methods
'curve25519-sha256@libssh.org', 'curve25519-sha256' and
'curve448-sha512' are implemented. The last two are
defined in
https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves
They all depends on that OpenSSL 1.1.1 or higher is
used as cryptolib.
* crypto: The typing in the CRYPTO and PUBLIC_KEY applications
are reworked and a few mistakes are corrected.
The documentation is now generated from the typing and
some clarifications are made.
A new chapter on Algorithm Details such as key sizes
and availability is added to the CRYPTO User's Guide.
* erts: The socket options recvtos, recvttl, recvtclass and
pktoptions have been implemented in the socket modules.
See the documentation for the gen_tcp, gen_udp and inet
modules. Note that support for these in the runtime
system is platform dependent. Especially for pktoptions
which is very Linux specific and obsoleted by the RFCs
that defined it.
* ssh: The cipher 'chacha20-poly1305@openssh.com' is now
supported if OpenSSL 1.1.1 or higher is used as
cryptolib.
- Changes for 21.0.9:
- http://erlang.org/download/OTP-21.0.9.README
* compiler: Fix a regression in OTP-15204 that removed .beam file
metadata that some external build tools relied on.
* erts: As of ERTS version 10.0 (OTP 21.0) the erl_child_setup
program, which creates port programs, ignores TERM
signals. This setting was unintentionally inherited by
port programs. Handling of TERM signals in port
programs has now been restored to the default behavior.
That is, terminate the process.
* erts: The fix made for OTP-15279 in erts-10.07 (OTP-21.0.8)
was not complete. It could cause a new connection
attempt to be incorrectly aborted in certain cases.
This fix will amend that flaw.
- Changes for 21.0.8:
- http://erlang.org/download/OTP-21.0.8.
* erts: A process could get stuck in an infinite rescheduling
loop between normal and dirty schedulers. This bug was
introduced in ERTS version 10.0.
* erts: Garbage collection of a distribution entry could cause
an emulator crash if net_kernel had not brought
previous connection attempts on it down properly.
* kernel: Fixed bug in net_kernel that could cause an emulator
crash if certain connection attempts failed. Bug exists
since kernel-6.0 (OTP-21.0).
- Changes for 21.0.7:
- http://erlang.org/download/OTP-21.0.7.
* erts: A race between termination of a process and resume of
the same process via erlang:resume_process/1 could
cause the VM to crash. This bug was introduced in erts
version 10.0 (OTP 21.0).
* erts: When tracing on running, in trace events could be lost
when a process was rescheduled between a dirty and a
normal scheduler.
- Changes for 21.0.6:
- http://erlang.org/download/OTP-21.0.6.README
* crypto: Update the crypto engine functions to handle multiple
loads of an engine.
* inets: Change status code for no mod found to handle request
to 501
* ssl: Correct cipher suite handling for ECDHE_*, the
incorrect handling could cause an incorrrect suite to
be selected and most likly fail the handshake.
- Changes for 21.0.5:
- http://erlang.org/download/OTP-21.0.5.README
* POTENTIAL INCOMPATIBILITIES erts:
Fixed a bug causing some Erlang references to be
inconsistently ordered. This could for example cause
failure to look up certain elements with references as
keys in search data structures. This bug was introduced
in R13B02.
* compiler: Fixed an issue where files compiled with the
+deterministic option differed if they were compiled in
a different directory but were otherwise identical.
* crypto: Fixed a node crash in crypto:compute_key(ecdh, ...)
when passing a wrongly typed Others argument.
* erts: Fixed a bug which caused an emulator crash when
enif_send() was called by a NIF that executed on a
dirty scheduler. The bug was either triggered when the
NIF called enif_send() without a message environment,
or when the process executing the NIF was send traced.
- Changes for 21.0.4:
- http://erlang.org/download/OTP-21.0.4.README
* erts: Fixed a crash when matching directly against a literal
map using a single key that had been saved on the
stack.
* erts: Fix node crash when passing a bad time option to
file:read_file_info/2.
- Changes for 21.0.3:
- http://erlang.org/download/OTP-21.0.3.README
* otp: Build support for the erlang/corba repository.
* erts: Fixed a scheduler bug that caused normal schedulers to
run dirty code.
* erts: Fixed a bug in erlang:trace_info/2 which caused the
emulator to crash when a bad argument was passed. The
bug was introduced in ERTS version 10.0.
- Changes for 21.0.2:
- http://erlang.org/download/OTP-21.0.2.README
* compiler: In rare cases involving matching of binary literal
strings, the compiler could optimize away code that
should be executed.
* compiler:There could be an internal consistency check failure
when compiling code that called map_get(Key, Map) and
then updated the same map.
* compiler: In rare circumstances, the compiler could crash in
beam_jump when compiling a floating point operation.
* erts: Fixed a rare bug that could cause processes to be
scheduled after they had been freed
* erts: Fixed a race condition in the inet driver that could
cause receive to hang when the emulator was compiled
with gcc 8.
* public_key: Fix some of the keylengths in the newly generated moduli
file in public_key are not universally supported. This
could cause the SSH key exchange
diffie-hellman-group-exchange-sha* to fail.
Those keylengths are now removed.
* stdlib: Fix a bug that could cause a crash when formatting a
list of non-characters using the control sequences p or
P and limiting the output with the option chars_limit.
- Changes for 21.0.1:
- http://erlang.org/download/OTP-21.0.1.
* compiler:The compiler could crash when compiling a
complicated function that used the binary syntax.
- Changes for 21.0:
- http://erlang.org/download/otp_src_21.0.readme
* Erlang/OTP 21 is a new major release with new features, improvements as well as incompatibilities.
* Potential Incompatibilities:
- All Corba applications are now moved from the OTP repository
- A new Corba repository will be created https://github.com/erlang
- New applications ftp and tftp, moved from inets
- ssl no longer supports 3_DES cipher suites or RSA-key exchange cipher suites by default
- Erlang:monitor on a primitive node (erl_interface, jinterface, etc) will no longer fail with badarg exception.
Instead a monitor will be created, but it will only supervise the connection to the node.
* Highlights:
* Erts:
- Enhanced IO scalability
- Support for usage of distribution controller processes for alternative transports, routing etc
- compact instructions on 64bit systems for code below 4GB 20% less memory for loaded code
- Rewrite of the efile-driver with NIFs and "Dirty schedulers" resulting in faster file operations
non-smp VM removed
- link and monitor optimized for scalability
OBS-URL: https://build.opensuse.org/request/show/646128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang:Factory/erlang?expand=0&rev=64
2018-11-03 07:26:43 +00:00
|
|
|
%{_libdir}/erlang/lib/tftp-*/
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/lib/os_mon-*/
|
|
|
|
%{_libdir}/erlang/lib/parsetools-*/
|
|
|
|
%{_libdir}/erlang/lib/public_key-*/
|
|
|
|
%{_libdir}/erlang/lib/runtime_tools-*/
|
|
|
|
%{_libdir}/erlang/lib/sasl-*/
|
|
|
|
%{_libdir}/erlang/lib/snmp-*/
|
|
|
|
%{_libdir}/erlang/lib/ssh-*/
|
|
|
|
%{_libdir}/erlang/lib/ssl-*/
|
|
|
|
%{_libdir}/erlang/lib/stdlib-*/
|
|
|
|
%{_libdir}/erlang/lib/syntax_tools-*/
|
|
|
|
%{_libdir}/erlang/lib/tools-*/
|
2012-10-09 11:48:41 +00:00
|
|
|
%{_libdir}/erlang/lib/xmerl-*/
|
2012-11-18 19:25:27 +00:00
|
|
|
%{_libdir}/erlang/man/
|
|
|
|
%{_mandir}/man1/*.1.gz
|
2011-11-14 10:50:16 +00:00
|
|
|
%{_libdir}/erlang/releases/
|
|
|
|
%{_libdir}/erlang/usr/
|
|
|
|
%{_libdir}/erlang/Install
|
|
|
|
%{_datadir}/emacs/site-lisp/erlang.el
|
2013-02-15 09:57:22 +00:00
|
|
|
%config %{_sysconfdir}/rpm/macros.erlang
|
2011-11-14 10:50:16 +00:00
|
|
|
|
|
|
|
%files debugger
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/debugger-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/debugger-*/src
|
|
|
|
|
|
|
|
%files dialyzer
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/dialyzer-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
|
2013-06-17 07:17:41 +00:00
|
|
|
%{_bindir}/dialyzer
|
|
|
|
%{_libdir}/erlang/bin/dialyzer
|
2014-03-31 07:34:00 +00:00
|
|
|
%{_libdir}/erlang/erts-*/bin/dialyzer
|
2011-11-14 10:50:16 +00:00
|
|
|
|
2016-06-14 12:05:24 +00:00
|
|
|
%files diameter
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/diameter-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/diameter-*/src
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%files doc
|
2012-11-19 07:55:56 +00:00
|
|
|
%defattr(0644,root,root,0755)
|
2011-11-14 10:50:16 +00:00
|
|
|
%doc erlang_doc/*
|
|
|
|
|
|
|
|
%files et
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/et-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/et-*/src
|
|
|
|
|
2014-03-31 07:34:00 +00:00
|
|
|
%files epmd
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/epmd
|
|
|
|
%{_libdir}/erlang/bin/epmd
|
|
|
|
%{_libdir}/erlang/erts-*/bin/epmd
|
|
|
|
%dir %attr(-,epmd,epmd) %{epmd_home}
|
|
|
|
%if 0%{?have_systemd}
|
|
|
|
%{_unitdir}/epmd.service
|
|
|
|
%{_unitdir}/epmd.socket
|
2018-11-30 08:15:32 +00:00
|
|
|
%else
|
2014-03-31 07:34:00 +00:00
|
|
|
/etc/init.d/epmd
|
2017-11-23 20:14:46 +00:00
|
|
|
%{_fillupdir}/sysconfig.erlang
|
2018-11-30 08:15:32 +00:00
|
|
|
%endif
|
|
|
|
%{_sbindir}/rcepmd
|
2014-03-31 07:34:00 +00:00
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%files jinterface
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/erlang/lib/jinterface-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/jinterface-*/java_src
|
|
|
|
%{_javadir}/*
|
|
|
|
|
|
|
|
%files reltool
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/reltool-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/reltool-*/src
|
|
|
|
|
2014-03-24 09:16:04 +00:00
|
|
|
%files observer
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/observer-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/observer-*/src
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%files wx
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/wx-*/
|
|
|
|
%exclude %{_libdir}/erlang/lib/wx-*/src
|
|
|
|
|
2013-03-11 09:00:12 +00:00
|
|
|
%files src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%exclude %{_libdir}/erlang/lib/erl_interface-*/src/INSTALL
|
|
|
|
%{_libdir}/erlang/lib/*/src
|
|
|
|
%{_libdir}/erlang/lib/*/c_src
|
|
|
|
%{_libdir}/erlang/lib/*/java_src
|
|
|
|
%exclude %{_libdir}/erlang/lib/debugger-*/src
|
|
|
|
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
|
2016-06-14 12:05:24 +00:00
|
|
|
%exclude %{_libdir}/erlang/lib/diameter-*/src
|
2013-03-11 09:00:12 +00:00
|
|
|
%exclude %{_libdir}/erlang/lib/et-*/src
|
|
|
|
%exclude %{_libdir}/erlang/lib/jinterface-*/java_src
|
|
|
|
%exclude %{_libdir}/erlang/lib/reltool-*/src
|
2014-03-24 09:16:04 +00:00
|
|
|
%exclude %{_libdir}/erlang/lib/observer-*/src
|
2013-03-11 09:00:12 +00:00
|
|
|
%exclude %{_libdir}/erlang/lib/wx-*/src
|
|
|
|
|
|
|
|
%files debugger-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/debugger-*/src
|
|
|
|
|
|
|
|
%files dialyzer-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/dialyzer-*/src
|
|
|
|
|
2016-06-14 12:05:24 +00:00
|
|
|
%files diameter-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/diameter-*/src
|
|
|
|
|
2013-03-11 09:00:12 +00:00
|
|
|
%files et-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/et-*/src
|
|
|
|
|
|
|
|
%files jinterface-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/jinterface-*/java_src
|
|
|
|
|
|
|
|
%files reltool-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/reltool-*/src
|
|
|
|
|
2014-03-24 09:16:04 +00:00
|
|
|
%files observer-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/observer-*/src
|
|
|
|
|
2013-03-11 09:00:12 +00:00
|
|
|
%files wx-src
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/erlang/lib/wx-*/src
|
|
|
|
|
2011-11-14 10:50:16 +00:00
|
|
|
%changelog
|