We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Changes of Revision 10
erlang.spec
Changed
x
1
2
-%if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7
3
-%global with_systemd 0
4
-%else
5
-%global with_systemd 1
6
-%endif
7
-
8
-%global need_bootstrap_set 0
9
+%global need_bootstrap_set 1
10
11
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
12
13
-%ifarch %{arm}
14
+%ifarch %{arm} %{mips} riscv64 %{ix86}
15
+# MIPS and RISC-V does not have all dependencies for fop yet.
16
# For some reason, fop hangs on arm, so for now don't generate docs by
17
# default
18
%bcond_with doc
19
%else
20
+# RHEL8 doesn't have fop
21
+%if 0%{?rhel} > 7
22
+%bcond_with doc
23
+%else
24
%bcond_without doc
25
%endif
26
-
27
-%ifarch %{arm} %{ix86} x86_64 ppc %{power64}
28
-%global __with_hipe 1
29
%endif
30
31
+# Compile with FIPS support by default
32
+%bcond_without fips
33
+
34
##
35
## Optional components
36
##
37
38
%global __with_emacs 1
39
%global __with_examples 1
40
+%ifarch %{java_arches}
41
%global __with_java 1
42
-%global __with_tcltk 1
43
+%else
44
+%global __with_java 0
45
+%endif
46
#
47
# wxWidgets plugin blocks the following ones:
48
#
49
50
# * common_test
51
# * megaco
52
#
53
-# dialyzer blocks:
54
-#
55
-# * typer
56
-#
57
# et blocks:
58
#
59
# * megaco
60
61
# observer blocks:
62
#
63
# * common_test
64
-# * test_server
65
-# * webtool
66
#
67
# So finally we have to disable the following plugins:
68
#
69
70
# megaco
71
# observer
72
# reltool (*)
73
-# test_server
74
-# typer
75
-# webtool
76
# wx
77
#
78
%global __with_wxwidgets 1
79
80
81
Name: erlang
82
-Version: 18.3.4.11
83
-Release: 2.5%{?dist}
84
+Version: 25.1.2
85
+Release: 1%{?dist}
86
Summary: General-purpose programming language and runtime environment
87
88
-Group: Development/Languages
89
License: ASL 2.0
90
-URL: http://www.erlang.org
91
-%if 0%{?el7}%{?fedora}
92
+URL: https://www.erlang.org
93
+%if ! (0%{?rhel} && 0%{?rhel} <= 6)
94
VCS: scm:git:https://github.com/erlang/otp
95
%endif
96
Source0: https://github.com/erlang/otp/archive/OTP-%{version}/otp-OTP-%{version}.tar.gz
97
98
# for some semi-automatic patch update assistance.
99
#
100
# start of autogenerated patch tag list
101
-# Fedora specific patch
102
-# Do not format man-pages and do not install miscellaneous
103
Patch1: otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch
104
-# Fedora specific patch
105
-# Remove rpath
106
Patch2: otp-0002-Remove-rpath.patch
107
-# Fedora specific patch
108
-# Do not install C sources
109
Patch3: otp-0003-Do-not-install-C-sources.patch
110
-# Fedora specific patch
111
-# Do not install Java sources
112
Patch4: otp-0004-Do-not-install-Java-sources.patch
113
-# Fedora specific patch
114
-# Do not install nteventlog and related doc-files on non-win32
115
Patch5: otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
116
-# Fedora specific patch
117
-# Do not install erlang sources
118
Patch6: otp-0006-Do-not-install-erlang-sources.patch
119
-# Fedora specific patch
120
-# Split off webtool dependency from tools
121
-Patch7: otp-0007-Split-off-webtool-dependency-from-tools.patch
122
-# Fedora specific patch
123
-# Add patch to crash dump on large distribution
124
-Patch8: otp-0008-Add-patch-to-crash-dump-on-large-distribution.patch
125
-# Fedora specific patch
126
-# Don't send unasked for systemd notifications
127
-Patch9: otp-0009-Don-t-send-unasked-for-systemd-notifications.patch
128
-# Fedora specific patch
129
-# Fix decoding of LLONG_MIN in erl_decode
130
-Patch10: otp-0010-Fix-decoding-of-LLONG_MIN-in-erl_decode.patch
131
-# Fedora specific patch
132
-# Respect -proto_dist switch while connection to EPMD
133
-Patch11: otp-0011-Respect-proto_dist-switch-while-connection-to-EPMD.patch
134
+Patch7: otp-0007-Add-extra-search-directory.patch
135
+Patch8: otp-0008-Avoid-forking-sed-to-get-basename.patch
136
+Patch9: otp-0009-Load-man-pages-from-system-wide-directory.patch
137
# end of autogenerated patch tag list
138
139
+BuildRequires: gcc
140
+BuildRequires: gcc-c++
141
BuildRequires: flex
142
+BuildRequires: make
143
144
%if %{with doc}
145
%if 0%{?need_bootstrap} < 1
146
147
%endif
148
%endif
149
150
-%if 0%{?with_systemd}
151
-%if 0%{?suse_version}
152
-Requires(post): systemd
153
-Requires(postun): systemd
154
-Requires(preun): systemd
155
-%else
156
-BuildRequires: systemd-devel
157
-Requires(post): systemd-units
158
-Requires(postun): systemd-units
159
-Requires(preun): coreutils
160
-Requires(preun): systemd-units
161
+%if ! (0%{?rhel} && 0%{?rhel} <= 6)
162
+# for <systemd/sd-daemon.h>
163
+BuildRequires: systemd-devel
164
+BuildRequires: systemd
165
+%{?systemd_requires}
166
+Requires: systemd
167
%endif
168
-%else
169
-Requires(post): chkconfig
170
-Requires(post): initscripts
171
-Requires(postun): initscripts
172
-Requires(preun): chkconfig
173
-Requires(preun): initscripts
174
-%endif
175
-
176
BuildRequires: autoconf
177
BuildRequires: automake
178
#BuildRequires: erlang-rpm-macros
179
180
Requires: %{name}-asn1%{?_isa} = %{version}-%{release}
181
%if %{__with_wxwidgets}
182
Requires: %{name}-common_test%{?_isa} = %{version}-%{release}
183
-%endif %{__with_wxwidgets}
184
+%endif # __with_wxwidgets
185
Requires: %{name}-compiler%{?_isa} = %{version}-%{release}
186
-Requires: %{name}-cosEvent%{?_isa} = %{version}-%{release}
187
-Requires: %{name}-cosEventDomain%{?_isa} = %{version}-%{release}
188
-Requires: %{name}-cosFileTransfer%{?_isa} = %{version}-%{release}
189
-Requires: %{name}-cosNotification%{?_isa} = %{version}-%{release}
190
-Requires: %{name}-cosProperty%{?_isa} = %{version}-%{release}
191
-Requires: %{name}-cosTime%{?_isa} = %{version}-%{release}
192
-Requires: %{name}-cosTransactions%{?_isa} = %{version}-%{release}
193
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
194
%if %{__with_wxwidgets}
195
Requires: %{name}-debugger%{?_isa} = %{version}-%{release}
196
-%endif %{__with_wxwidgets}
197
+%endif # __with_wxwidgets
198
%if %{__with_wxwidgets}
199
Requires: %{name}-dialyzer%{?_isa} = %{version}-%{release}
200
-%endif %{__with_wxwidgets}
201
otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch
Changed
27
1
2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
3
4
diff --git a/erts/etc/common/Makefile.in b/erts/etc/common/Makefile.in
5
-index 8e55fa7..9512faa 100644
6
+index 42d4395eb2..307ef11828 100644
7
--- a/erts/etc/common/Makefile.in
8
+++ b/erts/etc/common/Makefile.in
9
-@@ -551,10 +551,6 @@ endif
10
+@@ -552,10 +552,6 @@ endif
11
ifneq ($(INSTALL_TOP_BIN),)
12
$(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)"
13
endif
14
15
$(INSTALL_DIR) "$(RELEASE_PATH)/erts-$(VSN)/src"
16
$(INSTALL_DATA) $(INSTALL_SRC) "$(RELEASE_PATH)/erts-$(VSN)/src"
17
diff --git a/erts/etc/unix/Install.src b/erts/etc/unix/Install.src
18
-index 6634ae3..fa18956 100644
19
+index b00dd09f1a..2147774f50 100644
20
--- a/erts/etc/unix/Install.src
21
+++ b/erts/etc/unix/Install.src
22
-@@ -141,14 +141,5 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*.boot .
23
+@@ -143,14 +143,5 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*.boot .
24
cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot .
25
cp -p $Name.boot start.boot
26
cp -p ../releases/%I_SYSTEM_VSN%/$Name.script start.script
27
otp-0002-Remove-rpath.patch
Changed
34
1
2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
3
4
diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
5
-index e66c0ca..574cdf5 100644
6
+index 25167a8a3a..2345970fa9 100644
7
--- a/lib/crypto/c_src/Makefile.in
8
+++ b/lib/crypto/c_src/Makefile.in
9
-@@ -90,7 +90,7 @@ endif
10
- DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
11
+@@ -147,7 +147,7 @@ endif
12
+ endif
13
14
- ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
15
+ ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes)
16
-SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@
17
+SSL_DED_LD_RUNTIME_LIBRARY_PATH =
18
CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME)
19
EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB
20
else
21
-diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile
22
-index ff9d3e1..d3aba77 100644
23
---- a/lib/crypto/priv/Makefile
24
-+++ b/lib/crypto/priv/Makefile
25
-@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o
26
- # ----------------------------------------------------
27
-
28
- $(SO_NIFLIB): $(OBJS)
29
-- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
30
-+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
31
- -o $@ $^ -lcrypto
32
-
33
- $(DLL_NIFLIB): $(OBJS)
34
otp-0003-Do-not-install-C-sources.patch
Changed
148
1
2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
3
4
diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile
5
-index 2b72e1a..0522562 100644
6
+index 82a6b6e87a..5f2fe8ba7d 100644
7
--- a/lib/asn1/c_src/Makefile
8
+++ b/lib/asn1/c_src/Makefile
9
-@@ -143,8 +143,6 @@ release_spec: opt
10
- ifneq ($(findstring ose,$(TARGET)),ose)
11
+@@ -137,8 +137,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk
12
+ release_spec: opt
13
+ $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib"
14
$(INSTALL_PROGRAM) $(NIF_SHARED_OBJ_FILE) "$(RELSYSDIR)/priv/lib"
15
- endif
16
- $(INSTALL_DIR) "$(RELSYSDIR)/c_src"
17
- $(INSTALL_DATA) *.c "$(RELSYSDIR)/c_src"
18
19
release_docs_spec:
20
21
-diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in
22
-index 574cdf5..428c316 100644
23
---- a/lib/crypto/c_src/Makefile.in
24
-+++ b/lib/crypto/c_src/Makefile.in
25
-@@ -200,14 +200,10 @@ docs:
26
- include $(ERL_TOP)/make/otp_release_targets.mk
27
-
28
- release_spec: opt
29
-- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj"
30
- $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib"
31
-- $(INSTALL_DATA) $(NIF_MAKEFILE) "$(RELSYSDIR)/priv/obj"
32
- ifneq ($(findstring ose,$(TARGET)),ose)
33
-- $(INSTALL_PROGRAM) $(CRYPTO_OBJS) "$(RELSYSDIR)/priv/obj"
34
- $(INSTALL_PROGRAM) $(NIF_LIB) "$(RELSYSDIR)/priv/lib"
35
- ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
36
-- $(INSTALL_PROGRAM) $(CALLBACK_OBJS) "$(RELSYSDIR)/priv/obj"
37
- $(INSTALL_PROGRAM) $(CALLBACK_LIB) "$(RELSYSDIR)/priv/lib"
38
- endif
39
- endif
40
diff --git a/lib/erl_interface/src/Makefile.in b/lib/erl_interface/src/Makefile.in
41
-index 777d709..57917ae 100644
42
+index 0a5ae800be..2cc354c43e 100644
43
--- a/lib/erl_interface/src/Makefile.in
44
+++ b/lib/erl_interface/src/Makefile.in
45
-@@ -905,14 +905,14 @@ ifneq ($(EXE_TARGETS),)
46
- $(INSTALL_PROGRAM) $(EXE_TARGETS) "$(RELSYSDIR)/bin"
47
+@@ -712,13 +712,11 @@ ifeq (@DYNAMIC_LIB@, yes)
48
endif
49
+ $(INSTALL_PROGRAM) $(EXE_TARGETS) "$(RELSYSDIR)/bin"
50
$(INSTALL_DATA) $(EXTRA) "$(RELSYSDIR)/src"
51
- $(INSTALL_DATA) connect/*.ch "$(RELSYSDIR)/src/connect"
52
- $(INSTALL_DATA) decode/*.ch "$(RELSYSDIR)/src/decode"
53
- $(INSTALL_DATA) encode/*.ch "$(RELSYSDIR)/src/encode"
54
- $(INSTALL_DATA) epmd/*.ch "$(RELSYSDIR)/src/epmd"
55
- $(INSTALL_DATA) misc/*.ch "$(RELSYSDIR)/src/misc"
56
-- $(INSTALL_DATA) registry/*.ch "$(RELSYSDIR)/src/registry"
57
-- $(INSTALL_DATA) legacy/*.ch "$(RELSYSDIR)/src/legacy"
58
+- $(INSTALL_DATA) global/*.ch "$(RELSYSDIR)/src/global"
59
- $(INSTALL_DATA) prog/*.ch "$(RELSYSDIR)/src/prog"
60
+ $(INSTALL_DATA) connect/*.h "$(RELSYSDIR)/src/connect"
61
+ $(INSTALL_DATA) decode/*.h "$(RELSYSDIR)/src/decode"
62
+ $(INSTALL_DATA) encode/*.h "$(RELSYSDIR)/src/encode"
63
+ $(INSTALL_DATA) epmd/*.h "$(RELSYSDIR)/src/epmd"
64
+ $(INSTALL_DATA) misc/*.h "$(RELSYSDIR)/src/misc"
65
-+ $(INSTALL_DATA) registry/*.h "$(RELSYSDIR)/src/registry"
66
-+ $(INSTALL_DATA) legacy/*.h "$(RELSYSDIR)/src/legacy"
67
-+ $(INSTALL_DATA) prog/*.h "$(RELSYSDIR)/src/prog"
68
69
release_docs:
70
71
-diff --git a/lib/ic/c_src/Makefile.in b/lib/ic/c_src/Makefile.in
72
-index b9f92a0..9612f24 100644
73
---- a/lib/ic/c_src/Makefile.in
74
-+++ b/lib/ic/c_src/Makefile.in
75
-@@ -145,12 +145,10 @@ $(OBJDIR)/%.o: %.c
76
- include $(ERL_TOP)/make/otp_release_targets.mk
77
-
78
- release_spec: opt
79
-- $(INSTALL_DIR) "$(RELSYSDIR)/c_src"
80
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
81
- $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib"
82
- $(INSTALL_DIR) "$(RELEASE_PATH)/usr/include"
83
- $(INSTALL_DIR) "$(RELEASE_PATH)/usr/lib"
84
-- $(INSTALL_DATA) ic.c ic_tmo.c "$(RELSYSDIR)/c_src"
85
- $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) "$(RELSYSDIR)/include"
86
- $(INSTALL_DATA) $(LIBRARY) "$(RELSYSDIR)/priv/lib"
87
- $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) "$(RELEASE_PATH)/usr/include"
88
diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in
89
-index 045b6d8..39be02a 100644
90
+index 3649e2c392..d8c5c68b99 100644
91
--- a/lib/megaco/src/flex/Makefile.in
92
+++ b/lib/megaco/src/flex/Makefile.in
93
-@@ -271,7 +271,7 @@ release_spec: opt
94
+@@ -251,7 +251,7 @@ release_spec: opt
95
$(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/flex"
96
$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
97
ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true)
98
99
endif
100
101
diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in
102
-index 685eb5d..6c8a432 100644
103
+index d1b26743a6..cf8faae1f5 100644
104
--- a/lib/odbc/c_src/Makefile.in
105
+++ b/lib/odbc/c_src/Makefile.in
106
@@ -129,11 +129,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
107
108
endif
109
110
diff --git a/lib/os_mon/c_src/Makefile.in b/lib/os_mon/c_src/Makefile.in
111
-index e9fc5f4..ac9fb73 100644
112
+index 27b156a2c9..f11ff303b6 100644
113
--- a/lib/os_mon/c_src/Makefile.in
114
+++ b/lib/os_mon/c_src/Makefile.in
115
@@ -126,8 +126,6 @@ $(OBJDIR)/memsup.o: memsup.h
116
117
$(INSTALL_DIR) "$(RELSYSDIR)/priv/bin"
118
$(INSTALL_PROGRAM) $(TARGET_FILES) "$(RELSYSDIR)/priv/bin"
119
120
-diff --git a/lib/runtime_tools/c_src/Makefile.in b/lib/runtime_tools/c_src/Makefile.in
121
-index 448b8c6..860d504 100644
122
---- a/lib/runtime_tools/c_src/Makefile.in
123
-+++ b/lib/runtime_tools/c_src/Makefile.in
124
-@@ -157,10 +157,8 @@ docs:
125
- include $(ERL_TOP)/make/otp_release_targets.mk
126
-
127
- release_spec: opt
128
-- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj"
129
- $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib"
130
- ifneq ($(findstring ose,$(TARGET)),ose)
131
-- $(INSTALL_PROGRAM) $(DYNTRACE_OBJS) "$(RELSYSDIR)/priv/obj"
132
- $(INSTALL_PROGRAM) $(NIF_LIB) $(SOLIBS) "$(RELSYSDIR)/priv/lib"
133
- endif
134
-
135
-diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in
136
-index 66bba22..eea37fc 100644
137
---- a/lib/tools/c_src/Makefile.in
138
-+++ b/lib/tools/c_src/Makefile.in
139
-@@ -198,8 +198,6 @@ include ../vsn.mk
140
- RELSYSDIR = $(RELEASE_PATH)/lib/tools-$(TOOLS_VSN)
141
-
142
- release_spec: all
143
-- $(INSTALL_DIR) "$(RELSYSDIR)/c_src"
144
-- $(INSTALL_DATA) $(EMEM_SRCS) $(EMEM_HEADERS) "$(RELSYSDIR)/c_src"
145
- ifneq ($(PROGS),)
146
- $(INSTALL_DIR) "$(RELSYSDIR)/bin"
147
- $(INSTALL_PROGRAM) $(PROGS) "$(RELSYSDIR)/bin"
148
otp-0004-Do-not-install-Java-sources.patch
Changed
28
1
2
3
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
4
5
-diff --git a/lib/ic/java_src/com/ericsson/otp/ic/Makefile b/lib/ic/java_src/com/ericsson/otp/ic/Makefile
6
-index d9100cf..6886c71 100644
7
---- a/lib/ic/java_src/com/ericsson/otp/ic/Makefile
8
-+++ b/lib/ic/java_src/com/ericsson/otp/ic/Makefile
9
-@@ -113,8 +113,6 @@ docs:
10
- include $(ERL_TOP)/make/otp_release_targets.mk
11
-
12
- release_spec: opt
13
-- $(INSTALL_DIR) "$(RELSYSDIR)/java_src/com/ericsson/otp/ic"
14
-- $(INSTALL_DATA) $(JAVA_FILES) "$(RELSYSDIR)/java_src/com/ericsson/otp/ic"
15
- $(INSTALL_DIR) "$(RELSYSDIR)/priv"
16
- $(INSTALL_DATA) $(JAVA_DEST_ROOT)$(JARFILE) "$(RELSYSDIR)/priv"
17
-
18
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
19
-index 1c8364e..34b64a8 100644
20
+index 089cf4ab1a..404654a437 100644
21
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
22
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile
23
-@@ -120,8 +120,6 @@ release release_docs release_tests release_html:
24
+@@ -123,8 +123,6 @@ release release_docs release_tests release_html:
25
$(V_at)$(MAKE) $(MFLAGS) RELEASE_PATH="$(RELEASE_PATH)" $(TARGET_MAKEFILE) $@_spec
26
27
release_spec: opt
28
otp-0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch
Changed
54
1
2
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
3
4
diff --git a/lib/os_mon/doc/src/Makefile b/lib/os_mon/doc/src/Makefile
5
-index 0c5acd9..5f8f1e3 100644
6
+index 8e3882bfdc..ea999cf9c7 100644
7
--- a/lib/os_mon/doc/src/Makefile
8
+++ b/lib/os_mon/doc/src/Makefile
9
-@@ -36,12 +36,17 @@ RELSYSDIR = $(RELEASE_PATH)/lib/$(APPLICATION)-$(VSN)
10
+@@ -31,11 +31,16 @@ APPLICATION=os_mon
11
# Target Specs
12
# ----------------------------------------------------
13
XML_APPLICATION_FILES = ref_man.xml
14
15
XML_REF3_FILES = cpu_sup.xml \
16
disksup.xml \
17
memsup.xml \
18
- os_mon_mib.xml \
19
os_sup.xml \
20
- nteventlog.xml
21
+ $(NTEVENTLOG_DOCFILE)
22
23
- XML_REF6_FILES = os_mon_app.xml
24
+ XML_REF6_FILES = os_mon_app.xml
25
26
diff --git a/lib/os_mon/src/Makefile b/lib/os_mon/src/Makefile
27
-index 9aa068c..1003d24 100644
28
+index e28fb12548..ee32f3946f 100644
29
--- a/lib/os_mon/src/Makefile
30
+++ b/lib/os_mon/src/Makefile
31
-@@ -34,8 +34,13 @@ RELSYSDIR = $(RELEASE_PATH)/lib/os_mon-$(VSN)
32
+@@ -34,7 +34,13 @@ RELSYSDIR = $(RELEASE_PATH)/lib/os_mon-$(VSN)
33
# ----------------------------------------------------
34
# Target Specs
35
# ----------------------------------------------------
36
+-MODULES= disksup memsup cpu_sup os_mon os_mon_mib os_sup os_mon_sysinfo nteventlog
37
+ifeq ($(findstring win32,$(TARGET)),win32)
38
+NTEVENTLOG=nteventlog
39
+else
40
+NTEVENTLOG=
41
+endif
42
- MODULES= disksup memsup cpu_sup os_mon os_mon_mib os_sup os_mon_sysinfo \
43
-- nteventlog
44
++MODULES= disksup memsup cpu_sup os_mon os_mon_mib os_sup os_mon_sysinfo \
45
+ $(NTEVENTLOG)
46
47
INCLUDE=../include
48
CSRC=../c_src
49
-@@ -79,7 +84,11 @@ docs:
50
+@@ -78,7 +84,11 @@ docs:
51
# ----------------------------------------------------
52
53
$(APP_TARGET): $(APP_SRC) ../vsn.mk
54
otp-0006-Do-not-install-erlang-sources.patch
Changed
201
1
2
Signed-off-by: Hans Ulrich Niedermann <hun@n-dimensional.de>
3
4
diff --git a/erts/preloaded/src/Makefile b/erts/preloaded/src/Makefile
5
-index 52034a0..56d91b9 100644
6
+index 1994aa1302..007b7d44bd 100644
7
--- a/erts/preloaded/src/Makefile
8
+++ b/erts/preloaded/src/Makefile
9
-@@ -86,8 +86,6 @@ $(APP_TARGET): $(APP_SRC) $(ERL_TOP)/erts/vsn.mk
10
+@@ -117,8 +117,6 @@ $(APP_TARGET): $(APP_SRC) $(ERL_TOP)/erts/vsn.mk
11
include $(ERL_TOP)/make/otp_release_targets.mk
12
13
release_spec: $(APP_TARGET)
14
15
$(INSTALL_DATA) $(STATIC_TARGET_FILES) $(APP_TARGET) "$(RELSYSDIR)/ebin"
16
17
diff --git a/lib/asn1/src/Makefile b/lib/asn1/src/Makefile
18
-index 5b34017..d4677d6 100644
19
+index 9e13d02c8a..77ba98c2f8 100644
20
--- a/lib/asn1/src/Makefile
21
+++ b/lib/asn1/src/Makefile
22
-@@ -155,7 +155,7 @@ release_spec: opt
23
+@@ -157,7 +157,7 @@ release_spec: opt
24
$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
25
$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
26
$(INSTALL_DIR) "$(RELSYSDIR)/src"
27
28
$(INSTALL_DATA) $(EXAMPLES) "$(RELSYSDIR)/examples"
29
30
diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile
31
-index 987345c..f53546a 100644
32
+index 00f13589f3..5bf4e50f14 100644
33
--- a/lib/common_test/src/Makefile
34
+++ b/lib/common_test/src/Makefile
35
-@@ -144,7 +144,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
36
+@@ -157,7 +157,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
37
38
release_spec: opt
39
$(INSTALL_DIR) "$(RELSYSDIR)/src"
40
41
$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
42
$(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin"
43
$(INSTALL_DIR) "$(RELSYSDIR)/include"
44
+diff --git a/lib/common_test/test_server/Makefile b/lib/common_test/test_server/Makefile
45
+index 4ff5e678ee..4e3fa5c60f 100644
46
+--- a/lib/common_test/test_server/Makefile
47
++++ b/lib/common_test/test_server/Makefile
48
+@@ -83,9 +83,9 @@ include $(ERL_TOP)/make/otp_release_targets.mk
49
+
50
+ release_tests_spec: opt
51
+ $(INSTALL_DIR) "$(RELEASE_PATH)/test_server"
52
+- $(INSTALL_DATA) $(TS_ERL_FILES) $(TS_HRL_FILES) \
53
++ $(INSTALL_DATA) $(TS_HRL_FILES) \
54
+ $(TS_TARGET_FILES) \
55
+- $(AUTOCONF_FILES) $(CONFIG) \
56
++ $(CONFIG) \
57
+ "$(RELEASE_PATH)/test_server"
58
+ $(INSTALL_SCRIPT) $(PROGRAMS) "$(RELEASE_PATH)/test_server"
59
+
60
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
61
-index 299b289..36a048b 100644
62
+index d801d6baa0..4eed19b516 100644
63
--- a/lib/compiler/src/Makefile
64
+++ b/lib/compiler/src/Makefile
65
-@@ -172,8 +172,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
66
+@@ -188,8 +188,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk
67
68
release_spec: opt
69
$(INSTALL_DIR) "$(RELSYSDIR)/src"
70
71
$(INSTALL_DIR) "$(RELSYSDIR)/ebin"
72
$(INSTALL_DATA) $(INSTALL_FILES) "$(RELSYSDIR)/ebin"
73
74
-diff --git a/lib/cosEvent/src/Makefile b/lib/cosEvent/src/Makefile
75
-index b79f0ec..30d1a1d 100644
76
---- a/lib/cosEvent/src/Makefile
77
-+++ b/lib/cosEvent/src/Makefile
78
-@@ -203,7 +203,7 @@ release_spec: opt
79
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
80
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
81
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
82
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
83
-+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
84
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
85
- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
86
-
87
-diff --git a/lib/cosEventDomain/src/Makefile b/lib/cosEventDomain/src/Makefile
88
-index da8dcf0..88b3993 100644
89
---- a/lib/cosEventDomain/src/Makefile
90
-+++ b/lib/cosEventDomain/src/Makefile
91
-@@ -172,7 +172,7 @@ release_spec: opt
92
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
93
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
94
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
95
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
96
-+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
97
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
98
- $(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) "$(RELSYSDIR)/include"
99
-
100
-diff --git a/lib/cosFileTransfer/src/Makefile b/lib/cosFileTransfer/src/Makefile
101
-index f9107ff..74d337d 100644
102
---- a/lib/cosFileTransfer/src/Makefile
103
-+++ b/lib/cosFileTransfer/src/Makefile
104
-@@ -180,9 +180,7 @@ release_spec: opt
105
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
106
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
107
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
108
-- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
109
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
110
-+ $(INSTALL_DATA) $(HRL_FILES) $(GEN_HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
111
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
112
-- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
113
-
114
- release_docs_spec:
115
-diff --git a/lib/cosNotification/src/Makefile b/lib/cosNotification/src/Makefile
116
-index 72b063f..0fdb82e 100644
117
---- a/lib/cosNotification/src/Makefile
118
-+++ b/lib/cosNotification/src/Makefile
119
-@@ -371,8 +371,7 @@ release_spec: opt
120
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
121
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
122
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
123
-- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src"
124
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(IDL_FILES) $(YECC_FILES) "$(RELSYSDIR)/src"
125
-+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
126
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
127
- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
128
-
129
-diff --git a/lib/cosProperty/src/Makefile b/lib/cosProperty/src/Makefile
130
-index cd559e1..bdf035e 100644
131
---- a/lib/cosProperty/src/Makefile
132
-+++ b/lib/cosProperty/src/Makefile
133
-@@ -180,8 +180,7 @@ release_spec: opt
134
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
135
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
136
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
137
-- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
138
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
139
-+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
140
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
141
- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
142
-
143
-diff --git a/lib/cosTime/src/Makefile b/lib/cosTime/src/Makefile
144
-index 7a14db6..4b55398 100644
145
---- a/lib/cosTime/src/Makefile
146
-+++ b/lib/cosTime/src/Makefile
147
-@@ -199,8 +199,7 @@ release_spec: opt
148
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
149
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
150
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
151
-- $(INSTALL_DATA) $(GEN_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
152
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
153
-+ $(INSTALL_DATA) $(GEN_HRL_FILES) $(HRL_FILES) $(IDL_FILES) "$(RELSYSDIR)/src"
154
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
155
- $(INSTALL_DATA) $(GEN_HRL_FILES) "$(RELSYSDIR)/include"
156
-
157
-diff --git a/lib/cosTransactions/src/Makefile b/lib/cosTransactions/src/Makefile
158
-index 90e1e51..05826e0 100644
159
---- a/lib/cosTransactions/src/Makefile
160
-+++ b/lib/cosTransactions/src/Makefile
161
-@@ -174,7 +174,7 @@ release_spec: opt
162
- $(INSTALL_DIR) "$(RELSYSDIR)/ebin"
163
- $(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) "$(RELSYSDIR)/ebin"
164
- $(INSTALL_DIR) "$(RELSYSDIR)/src"
165
-- $(INSTALL_DATA) $(ERL_FILES) $(HRL_FILES) $(GEN_ERL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src"
166
-+ $(INSTALL_DATA) $(HRL_FILES) $(IDL_FILE) "$(RELSYSDIR)/src"
167
- $(INSTALL_DIR) "$(RELSYSDIR)/include"
168
- $(INSTALL_DATA) $(EXTERNAL_GEN_HRL_FILES) "$(RELSYSDIR)/include"
169
-
170
diff --git a/lib/crypto/src/Makefile b/lib/crypto/src/Makefile
171
-index 6e4008e..c2d00fc 100644
172
+index 893f679390..6f8a329421 100644
173
--- a/lib/crypto/src/Makefile
174
+++ b/lib/crypto/src/Makefile
175
-@@ -82,8 +82,6 @@ docs:
176
+@@ -81,8 +81,6 @@ docs:
177
include $(ERL_TOP)/make/otp_release_targets.mk
178
179
release_spec: opt
180
181
$(INSTALL_DATA) $(TARGET_FILES) $(APP_TARGET) \
182
$(APPUP_TARGET) "$(RELSYSDIR)/ebin"
183
diff --git a/lib/debugger/src/Makefile b/lib/debugger/src/Makefile
184
-index f115f49..e7dc360 100644
185
+index 2fb955b2e3..6ddce27ec1 100644
186
--- a/lib/debugger/src/Makefile
187
+++ b/lib/debugger/src/Makefile
188
@@ -117,7 +117,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
189
190
$(INSTALL_DATA) $(TARGET_FILES) $(TARGET_TOOLBOX_FILES) "$(RELSYSDIR)/ebin"
191
192
diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile
193
-index 770af21..4f8a6d8 100644
194
+index c934ecdc2b..cc266f48e2 100644
195
--- a/lib/dialyzer/src/Makefile
196
+++ b/lib/dialyzer/src/Makefile
197
-@@ -152,7 +152,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
198
+@@ -162,7 +162,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
199
200
release_spec: opt
201
otp-0007-Add-extra-search-directory.patch
Added
34
1
2
+From: Peter Lemenkov <lemenkov@gmail.com>
3
+Date: Wed, 2 Aug 2017 16:12:19 +0300
4
+Subject: PATCH Add extra search directory
5
+
6
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
7
+
8
+diff --git a/lib/kernel/src/code_server.erl b/lib/kernel/src/code_server.erl
9
+index af8531271f..66050d6cdb 100644
10
+--- a/lib/kernel/src/code_server.erl
11
++++ b/lib/kernel/src/code_server.erl
12
+@@ -79,11 +79,17 @@ init(Ref, Parent, Root,Mode) ->
13
+ IPath =
14
+ case Mode of
15
+ interactive ->
16
+- LibDir = filename:append(Root, "lib"),
17
+- {ok,Dirs} = erl_prim_loader:list_dir(LibDir),
18
+- Paths = make_path(LibDir, Dirs),
19
++ F = fun(R) ->
20
++ LD = filename:append(R, "lib"),
21
++ case erl_prim_loader:list_dir(LD) of
22
++ error -> ;
23
++ {ok, D} -> make_path(LD, D)
24
++ end
25
++ end,
26
++ Paths = F(Root),
27
++ SharedPaths = F("/usr/share/erlang"),
28
+ UserLibPaths = get_user_lib_dirs(),
29
+- "." ++ UserLibPaths ++ Paths;
30
++ "." ++ UserLibPaths ++ Paths ++ SharedPaths;
31
+ _ ->
32
+
33
+ end,
34
otp-0007-Split-off-webtool-dependency-from-tools.patch
Deleted
42
1
2
-From: Peter Lemenkov <lemenkov@gmail.com>
3
-Date: Sat, 8 Nov 2014 22:54:57 +0300
4
-Subject: PATCH Split off webtool dependency from tools
5
-
6
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
7
-
8
-diff --git a/lib/tools/src/cover_web.erl b/lib/tools/src/cover_web.erl
9
-index ae8b3f2..539ca96 100644
10
---- a/lib/tools/src/cover_web.erl
11
-+++ b/lib/tools/src/cover_web.erl
12
-@@ -51,14 +51,25 @@
13
- %%%----------------------------------------------------------------------
14
- %% Start webtool and webcover from erlang shell
15
- start() ->
16
-- webtool:start(),
17
-- webtool:start_tools(,"app=webcover"),
18
-+ try
19
-+ % Disable automatic dependency picking up
20
-+ erlang:apply(webtool, start, ),
21
-+ erlang:apply(webtool, start_tools, ,"app=webcover")
22
-+ catch
23
-+ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n")
24
-+ end,
25
- ok.
26
-
27
- %% Stop webtool and webcover from erlang shell
28
- stop() ->
29
-- webtool:stop_tools(,"app=webcover"),
30
-- webtool:stop().
31
-+ try
32
-+ % Disable automatic dependency picking up
33
-+ erlang:apply(webtool, stop_tools, ,"app=webcover"),
34
-+ erlang:apply(webtool, stop, )
35
-+ catch
36
-+ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n")
37
-+ end,
38
-+ ok.
39
-
40
-
41
-
42
otp-0008-Add-patch-to-crash-dump-on-large-distribution.patch
Deleted
33
1
2
-From: John Eckersberg <jeckersb@redhat.com>
3
-Date: Wed, 16 Dec 2015 11:03:42 -0500
4
-Subject: PATCH Add patch to crash dump on large distribution
5
-
6
-https://bugzilla.redhat.com/show_bug.cgi?id=1291822
7
-https://bugzilla.redhat.com/show_bug.cgi?id=1291855
8
-https://bugzilla.redhat.com/show_bug.cgi?id=1291856
9
-https://bugzilla.redhat.com/show_bug.cgi?id=1291857
10
-
11
-diff --git a/erts/emulator/beam/dist.c b/erts/emulator/beam/dist.c
12
-index 787241b..069d80a 100644
13
---- a/erts/emulator/beam/dist.c
14
-+++ b/erts/emulator/beam/dist.c
15
-@@ -1980,7 +1980,7 @@ dist_port_command(Port *prt, ErtsDistOutputBuf *obuf)
16
- ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
17
-
18
- if (size > (Uint) INT_MAX)
19
-- erts_exit(ERTS_ABORT_EXIT,
20
-+ erts_exit(ERTS_DUMP_EXIT,
21
- "Absurdly large distribution output data buffer "
22
- "(%beu bytes) passed.\n",
23
- size);
24
-@@ -2020,7 +2020,7 @@ dist_port_commandv(Port *prt, ErtsDistOutputBuf *obuf)
25
- ERTS_SMP_LC_ASSERT(erts_lc_is_port_locked(prt));
26
-
27
- if (size > (Uint) INT_MAX)
28
-- erts_exit(ERTS_ABORT_EXIT,
29
-+ erts_exit(ERTS_DUMP_EXIT,
30
- "Absurdly large distribution output data buffer "
31
- "(%beu bytes) passed.\n",
32
- size);
33
otp-0008-Avoid-forking-sed-to-get-basename.patch
Added
33
1
2
+From: Jan Pazdziora <jpazdziora@redhat.com>
3
+Date: Thu, 10 May 2018 18:35:02 +0200
4
+Subject: PATCH Avoid forking sed to get basename.
5
+
6
+
7
+diff --git a/erts/etc/unix/erl.src.src b/erts/etc/unix/erl.src.src
8
+index 536fa139d9..4dcffbc4c8 100644
9
+--- a/erts/etc/unix/erl.src.src
10
++++ b/erts/etc/unix/erl.src.src
11
+@@ -49,7 +49,7 @@ else
12
+ fi
13
+ BINDIR="$ROOTDIR/erts-%VSN%/bin"
14
+ EMU=%EMULATOR%%EMULATOR_NUMBER%
15
+-PROGNAME=`basename "$0"`
16
++PROGNAME=${0##*/}
17
+ export EMU
18
+ export ROOTDIR
19
+ export BINDIR
20
+diff --git a/erts/etc/unix/start_erl.src b/erts/etc/unix/start_erl.src
21
+index 34e0369710..62e613bba1 100644
22
+--- a/erts/etc/unix/start_erl.src
23
++++ b/erts/etc/unix/start_erl.src
24
+@@ -37,7 +37,7 @@ VSN=`awk '{print $2}' $DataFile`
25
+
26
+ BINDIR=$ROOTDIR/erts-$ERTS_VSN/bin
27
+ EMU=beam
28
+-PROGNAME=`echo $0 | sed 's/.*\///'`
29
++PROGNAME=${0##*/}
30
+ export EMU
31
+ export ROOTDIR
32
+ export BINDIR
33
otp-0009-Don-t-send-unasked-for-systemd-notifications.patch
Deleted
58
1
2
-From: Alexey Lebedeff <alebedev@mirantis.com>
3
-Date: Tue, 29 Mar 2016 20:30:22 +0300
4
-Subject: PATCH Don't send unasked for systemd notifications
5
-
6
-Suppose we have some erlang system that uses systemd unit with
7
-Type=notify - so this should send startup confirmation itself. But if
8
-systemd-enabled epmd will be started as a first step of that system
9
-startup, empd startup confirmation will be misinterpeted by systemd. And
10
-our erlang service will be considered 'ready' to early. Also this will
11
-interefere with systemd MAINPID detection: systemd will be monitoring
12
-`epmd` process instead of `beam` one.
13
-
14
-For example, rabbitmq works around this issue by starting epmd using
15
-separate short-lived beam process, with NOTIFY_SOCKET environment
16
-variable reset - only in this way we could be sure that epmd will not
17
-interfere with rabbit startup sequence.
18
-
19
-This patch disables indiscriminate confirmation sending, and does it
20
-only when it was explicitly asked to do so.
21
-
22
-diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
23
-index 5513cb2..4740ce8 100644
24
---- a/erts/epmd/src/epmd.c
25
-+++ b/erts/epmd/src/epmd.c
26
-@@ -592,8 +592,10 @@ void epmd_cleanup_exit(EpmdVars *g, int exitval)
27
- free(g->argv);
28
- }
29
- #ifdef HAVE_SYSTEMD_DAEMON
30
-- sd_notifyf(0, "STATUS=Exited.\n"
31
-- "ERRNO=%i", exitval);
32
-+ if (g->is_systemd){
33
-+ sd_notifyf(0, "STATUS=Exited.\n"
34
-+ "ERRNO=%i", exitval);
35
-+ }
36
- #endif /* HAVE_SYSTEMD_DAEMON */
37
- exit(exitval);
38
- }
39
-diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
40
-index e1bac99..59d59ad 100644
41
---- a/erts/epmd/src/epmd_srv.c
42
-+++ b/erts/epmd/src/epmd_srv.c
43
-@@ -452,9 +452,11 @@ void run(EpmdVars *g)
44
- num_sockets = bound;
45
- #ifdef HAVE_SYSTEMD_DAEMON
46
- }
47
-- sd_notifyf(0, "READY=1\n"
48
-- "STATUS=Processing port mapping requests...\n"
49
-- "MAINPID=%lu", (unsigned long) getpid());
50
-+ if (g->is_systemd) {
51
-+ sd_notifyf(0, "READY=1\n"
52
-+ "STATUS=Processing port mapping requests...\n"
53
-+ "MAINPID=%lu", (unsigned long) getpid());
54
-+ }
55
- #endif /* HAVE_SYSTEMD_DAEMON */
56
-
57
- dbg_tty_printf(g,2,"entering the main select() loop");
58
otp-0009-Load-man-pages-from-system-wide-directory.patch
Added
27
1
2
+From: Francois-Denis Gonthier <neumann@lostwebsite.net>
3
+Date: Thu, 20 Sep 2018 15:01:18 +0300
4
+Subject: PATCH Load man-pages from system-wide directory
5
+
6
+Patch allows one to use standard man path with erl -man command.
7
+(Erlang manual pages are placed to /usr/share/man/ hierarchy
8
+as required by Debian policy.)
9
+
10
+diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
11
+index 3e44ad2b77..d92bf75be0 100644
12
+--- a/erts/etc/common/erlexec.c
13
++++ b/erts/etc/common/erlexec.c
14
+@@ -709,8 +709,10 @@ int main(int argc, char **argv)
15
+ error("-man not supported on Windows");
16
+ #else
17
+ argvi = "man";
18
+- erts_snprintf(tmpStr, sizeof(tmpStr), "%s/man", rootdir);
19
+- set_env("MANPATH", tmpStr);
20
++ /*
21
++ * Conform to erlang-manpages content.
22
++ */
23
++ putenv(strsave("MANSECT=3erl:1:5:7"));
24
+ execvp("man", argv+i);
25
+ error("Could not execute the 'man' command.");
26
+ #endif
27
otp-0010-Fix-decoding-of-LLONG_MIN-in-erl_decode.patch
Deleted
71
1
2
-From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= <egil@erlang.org>
3
-Date: Fri, 10 Jun 2016 16:40:38 +0200
4
-Subject: PATCH Fix decoding of LLONG_MIN in erl_decode
5
-
6
-Reported-by: Peter Lemenkov
7
-
8
-diff --git a/lib/erl_interface/src/legacy/erl_marshal.c b/lib/erl_interface/src/legacy/erl_marshal.c
9
-index a4216c9..6a1b573 100644
10
---- a/lib/erl_interface/src/legacy/erl_marshal.c
11
-+++ b/lib/erl_interface/src/legacy/erl_marshal.c
12
-@@ -727,6 +727,13 @@ static ETERM *erl_decode_it(unsigned char **ext)
13
- ((*ext)2) << 8 |((*ext)3);
14
- *ext += 4;
15
- big_cont:
16
-+
17
-+#ifdef _MSC_VER
18
-+#define MAX_TO_NEGATE 0x8000000000000000Ui64
19
-+#else
20
-+#define MAX_TO_NEGATE 0x8000000000000000ULL
21
-+#endif
22
-+
23
- sign = *(*ext)++;
24
- if (arity > 8)
25
- goto big_truncate;
26
-@@ -763,23 +770,28 @@ static ETERM *erl_decode_it(unsigned char **ext)
27
- *ext += arity;
28
- return ep;
29
- } else {
30
-- /* Fits in a long long */
31
-- int x;
32
-- long long l = 0LL;
33
--
34
-- for(x = 0 ; x < arity ; x++) {
35
-- l |= ((long long)(*ext)x) << ((long long)(8*x));
36
-- }
37
-- if (sign) {
38
-- l = -l;
39
-- if (l > 0) goto big_truncate;
40
-- }
41
--
42
-- ERL_TYPE(ep) = ERL_LONGLONG;
43
-- ep->uval.llval.i = l;
44
-- *ext += arity;
45
-- return ep;
46
-+ /* Fits in a signed long long */
47
-+ int x;
48
-+ unsigned long long l = 0LL;
49
-+ long long sl;
50
-+
51
-+ for(x = 0 ; x < arity ; x++) {
52
-+ l |= ((unsigned long long)(*ext)x) << ((unsigned long long)(8*x));
53
-+ }
54
-+
55
-+ sl = (long long)l;
56
-+
57
-+ if (sign && l != MAX_TO_NEGATE) {
58
-+ sl = -sl;
59
-+ if (sl > 0) goto big_truncate;
60
-+ }
61
-+
62
-+ ERL_TYPE(ep) = ERL_LONGLONG;
63
-+ ep->uval.llval.i = sl;
64
-+ *ext += arity;
65
-+ return ep;
66
- }
67
-+#undef MAX_TO_NEGATE
68
- big_truncate:
69
- /* truncate to: (+/-) 1 */
70
- #ifdef DEBUG
71
otp-0011-Respect-proto_dist-switch-while-connection-to-EPMD.patch
Deleted
49
1
2
-From: Peter Lemenkov <lemenkov@gmail.com>
3
-Date: Thu, 14 Jul 2016 17:51:16 +0300
4
-Subject: PATCH Respect -proto_dist switch while connection to EPMD
5
-
6
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
7
-
8
-diff --git a/lib/kernel/src/erl_epmd.erl b/lib/kernel/src/erl_epmd.erl
9
-index c6202dd..ec2e330 100644
10
---- a/lib/kernel/src/erl_epmd.erl
11
-+++ b/lib/kernel/src/erl_epmd.erl
12
-@@ -103,6 +103,10 @@ names(EpmdAddr) ->
13
-
14
- register_node(Name, PortNo) ->
15
- register_node(Name, PortNo, inet).
16
-+register_node(Name, PortNo, inet_tcp) ->
17
-+ register_node(Name, PortNo, inet);
18
-+register_node(Name, PortNo, inet6_tcp) ->
19
-+ register_node(Name, PortNo, inet6);
20
- register_node(Name, PortNo, Family) ->
21
- gen_server:call(erl_epmd, {register, Name, PortNo, Family}, infinity).
22
-
23
-diff --git a/lib/kernel/src/inet_tcp_dist.erl b/lib/kernel/src/inet_tcp_dist.erl
24
-index 64b28bb..ffbd5d5 100644
25
---- a/lib/kernel/src/inet_tcp_dist.erl
26
-+++ b/lib/kernel/src/inet_tcp_dist.erl
27
-@@ -73,7 +73,7 @@ gen_listen(Driver, Name) ->
28
- {ok, Socket} ->
29
- TcpAddress = get_tcp_address(Driver, Socket),
30
- {_,Port} = TcpAddress#net_address.address,
31
-- case erl_epmd:register_node(Name, Port) of
32
-+ case erl_epmd:register_node(Name, Port, Driver) of
33
- {ok, Creation} ->
34
- {ok, {Socket, TcpAddress, Creation}};
35
- Error ->
36
-diff --git a/lib/ssl/src/ssl_tls_dist_proxy.erl b/lib/ssl/src/ssl_tls_dist_proxy.erl
37
-index 4c78979..7c6b14f 100644
38
---- a/lib/ssl/src/ssl_tls_dist_proxy.erl
39
-+++ b/lib/ssl/src/ssl_tls_dist_proxy.erl
40
-@@ -116,7 +116,7 @@ handle_call({listen, Driver, Name}, _From, State) ->
41
- {ok, TcpAddress} = get_tcp_address(Socket),
42
- {ok, WorldTcpAddress} = get_tcp_address(World),
43
- {_,Port} = WorldTcpAddress#net_address.address,
44
-- case erl_epmd:register_node(Name, Port) of
45
-+ case erl_epmd:register_node(Name, Port, Driver) of
46
- {ok, Creation} ->
47
- {reply, {ok, {Socket, TcpAddress, Creation}},
48
- State#state{listen={Socket, World}}};
49
otp-get-patches.sh
Changed
66
1
2
#
3
# # start of autogenerated patch tag list
4
# # end of autogenerated patch tag list
5
-# # start of autogenerated prep patch list
6
-# # end of autogenerated prep patch list
7
-#
8
-# The following special comment lines in the git commit messages
9
-# will be interpreted:
10
-#
11
-# Fedora-Spec-Comment: This patch only applies to EL6 builds
12
-# Fedora-Spec-Before: %if 0%?el6}
13
-# Fedora-Spec-After: %endif
14
-#
15
-# If there is no "Fedora-Spec-Comment:" line, we will use
16
-# "Fedora specific patch".
17
18
# Command line parsing
19
otp_dir="${1:?'Fatal: otp git repo dir required'}"
20
21
22
# Process patch files
23
echo "# start of autogenerated patch tag list" > "$tmpdir/patch-list-tags.txt"
24
-echo "# start of autogenerated prep patch list" > "$tmpdir/patch-list-prep.txt"
25
n=1
26
while read patch
27
do
28
otppatch="$(dirname "$patch")/otp-$(basename "$patch")"
29
${SED-sed} -e '1d' -e '/^-- $/,$d' "$patch" > "$otppatch"
30
rm -f "$patch"
31
- comment="$(sed -n 's/^Fedora-Spec-Comment:\s*//p' "$otppatch")"
32
- if test "x$comment" = "x"; then comment="Fedora specific patch"; fi
33
- echo "# ${comment}" >> "$tmpdir/patch-list-tags.txt"
34
- echo "# $(sed -n 's/^Subject: \PATCH\ //p' "$otppatch")" >> "$tmpdir/patch-list-tags.txt"
35
echo "Patch$n: $(basename "$otppatch")" >> "$tmpdir/patch-list-tags.txt"
36
- base="$(basename "$patch" ".patch" | sed 's/^000-90-9-//')"
37
- backupext=".$(echo -n "$base" | tr -c -s ':alnum:' '_')"
38
- sed -n 's/^Fedora-Spec-Before:\s*//p' "$otppatch" >> "$tmpdir/patch-list-prep.txt"
39
- echo "%patch$n -p1 -b ${backupext}" >> "$tmpdir/patch-list-prep.txt"
40
- sed -n 's/^Fedora-Spec-After:\s*//p' "$otppatch" >> "$tmpdir/patch-list-prep.txt"
41
n=$(($n + 1))
42
done < "$tmpdir/patch-list.txt"
43
echo "# end of autogenerated patch tag list" >> "$tmpdir/patch-list-tags.txt"
44
-echo "# end of autogenerated prep patch list" >> "$tmpdir/patch-list-prep.txt"
45
46
# Create updated spec file
47
specfile="erlang.spec"
48
newspec1="${tmpdir}/${specfile}.new1"
49
-newspec2="${tmpdir}/${specfile}.new2"
50
sed '/^# start of autogenerated patch tag list$/,$d' "$specfile" > "$newspec1"
51
cat "$tmpdir/patch-list-tags.txt" >> "$newspec1"
52
sed '1,/^# end of autogenerated patch tag list/d' "$specfile" >> "$newspec1"
53
-sed '/^# start of autogenerated prep patch list$/,$d' "$newspec1" > "$newspec2"
54
-cat "$tmpdir/patch-list-prep.txt" >> "$newspec2"
55
-sed '1,/^# end of autogenerated prep patch list/d' "$newspec1" >> "$newspec2"
56
57
# Actually put all changes into git index
58
git rm -f otp-00*.patch
59
mv "$tmpdir/otp-00"*.patch .
60
git add otp-00*.patch
61
-mv -f "$newspec2" "$specfile"
62
+mv -f "$newspec1" "$specfile"
63
git add "$specfile"
64
65
rm -rf "$tmpdir"
66
debian.changelog
Deleted
201
1
2
-erlang (1:18.3.4.11+dfsg-1) unstable; urgency=medium
3
-
4
- * New upstream minor release.
5
-
6
- -- Chrstian Mollekopf <mollekopf@apheleia-it.ch> Mon, 04 Jul 2022 11:22:08 +0300
7
-
8
-erlang (1:18.3.4.4+dfsg-1~bpo8+1) jessie-backports; urgency=medium
9
-
10
- * Backport for jessie.
11
-
12
- -- Sergei Golovan <sgolovan@debian.org> Sat, 20 Aug 2016 10:04:46 +0300
13
-
14
-erlang (1:18.3.4.4+dfsg-1) unstable; urgency=medium
15
-
16
- * New upstream minor release.
17
-
18
- -- Sergei Golovan <sgolovan@debian.org> Sat, 13 Aug 2016 11:22:08 +0300
19
-
20
-erlang (1:18.3.4.2+dfsg-1) unstable; urgency=medium
21
-
22
- * New upstream minor release.
23
-
24
- -- Sergei Golovan <sgolovan@debian.org> Mon, 25 Jul 2016 11:57:21 +0300
25
-
26
-erlang (1:18.3.4.1+dfsg-1) unstable; urgency=medium
27
-
28
- * New upstream minor release.
29
- * Enabled HiPE for the ppc64 and ppc64el architectures (closes: #827447).
30
- * Bumped Java bytecode compatibility level to 1.7.
31
-
32
- -- Sergei Golovan <sgolovan@debian.org> Wed, 29 Jun 2016 10:35:57 +0300
33
-
34
-erlang (1:18.3.4+dfsg-1) unstable; urgency=medium
35
-
36
- * New upstream minor release (closes: #827363).
37
- * Switched to Github for downloading the code because the minor updates
38
- haven't been released as tarballs on erlang.org.
39
- * Added libxml2-utils to the build dependencies because of xmllint (it
40
- is required for building docs).
41
- * Bumped standards version to 3.9.8.
42
-
43
- -- Sergei Golovan <sgolovan@debian.org> Wed, 15 Jun 2016 15:19:45 +0300
44
-
45
-erlang (1:18.3-dfsg-1) unstable; urgency=medium
46
-
47
- * New upstream release.
48
- * Removed patch which fixed FTBFS for GNU/kFreeBSD and GNU/Hurd introduced
49
- in 1:18.2-dfsg-2 because the bug is fixed upstream.
50
- * Bumped standards version to 3.9.7.
51
-
52
- -- Sergei Golovan <sgolovan@debian.org> Thu, 17 Mar 2016 21:22:08 +0300
53
-
54
-erlang (1:18.2-dfsg-2) unstable; urgency=medium
55
-
56
- * Fixed FTBFS for GNU/kFreeBSD and GNU/Hurd due to incorrectly checked
57
- presence of gethostname_r() function.
58
- * Fixed FTBFS for X32 architecture due to incorrectly used inline assembly.
59
-
60
- -- Sergei Golovan <sgolovan@debian.org> Sun, 27 Dec 2015 12:40:53 +0300
61
-
62
-erlang (1:18.2-dfsg-1) unstable; urgency=medium
63
-
64
- * New upstream release.
65
-
66
- -- Sergei Golovan <sgolovan@debian.org> Sun, 20 Dec 2015 21:11:53 +0300
67
-
68
-erlang (1:18.1-dfsg-1) unstable; urgency=medium
69
-
70
- * New upstream release.
71
-
72
- -- Sergei Golovan <sgolovan@debian.org> Sat, 07 Nov 2015 10:33:50 +0300
73
-
74
-erlang (1:18.0-dfsg-2) unstable; urgency=medium
75
-
76
- * Added a patch from Chris Lamb which allows Erlang compiler to put
77
- a specified timestamp into the compiled binaries instead of the
78
- current time. This helps with reproducibility of Erlang binaries
79
- (closes: #795834).
80
-
81
- -- Sergei Golovan <sgolovan@debian.org> Mon, 17 Aug 2015 15:14:59 +0300
82
-
83
-erlang (1:18.0-dfsg-1) unstable; urgency=medium
84
-
85
- * New upstream release.
86
- * Refreshed patches, removed patch which disables SSLv3 protocol in
87
- the ssl application because this protocol has been disabled upstream.
88
- * Changed the license in debian/copyright because upstream relicensed
89
- Erlang/OTP from Erlang public license to Apache 2.0 license.
90
-
91
- -- Sergei Golovan <sgolovan@debian.org> Sat, 27 Jun 2015 14:29:01 +0300
92
-
93
-erlang (1:17.5-dfsg-2) unstable; urgency=medium
94
-
95
- * Upload into unstable.
96
- * Removed the patch which fixes TLS POODLE vulnerability in the Erlang
97
- SSL application (CVE-2015-2774) because it has been applied upstream.
98
-
99
- -- Sergei Golovan <sgolovan@debian.org> Wed, 27 May 2015 08:18:40 +0300
100
-
101
-erlang (1:17.5-dfsg-1) experimental; urgency=medium
102
-
103
- * New upstream release.
104
- * Put erl_interface.app and erl_interface.appup into the erlang-dev package.
105
-
106
- -- Sergei Golovan <sgolovan@debian.org> Wed, 01 Apr 2015 12:04:55 +0300
107
-
108
-erlang (1:17.4-dfsg-1) experimental; urgency=medium
109
-
110
- * New upstream release.
111
- * Removed a patch which fixed empty SNI extension processing in the
112
- ssl application because it has been applied upstream.
113
- * Removed a patch which removes rpath from the crypto application binary
114
- and use the new --with-ssl-rpath=no configure option instead.
115
- * Search for an Erlang module manual page in section 3erl only in
116
- Emacs Erlang mode (closes: #772876).
117
-
118
- -- Sergei Golovan <sgolovan@debian.org> Sun, 14 Dec 2014 09:07:42 +0300
119
-
120
-erlang (1:17.3-dfsg-4) unstable; urgency=medium
121
-
122
- * Added a patch from upstream which fixes TLS POODLE vulnerability in
123
- the Erlang SSL application (CVE-2015-2774) (closes: #781839).
124
- * Fixed erts_gzinflate_buffer() declaration to prevent possible buffer
125
- overflow (closes: #747593).
126
- * Replaced libsystemd-daemon-dev by libsystemd-dev in build dependencies
127
- (closes: #779750).
128
-
129
- -- Sergei Golovan <sgolovan@debian.org> Sat, 04 Apr 2015 17:00:55 +0300
130
-
131
-erlang (1:17.3-dfsg-3) unstable; urgency=medium
132
-
133
- * Added a patch by Olly Betts which updates hard-coded wx constant values
134
- for wx3.0 (closes: #766790).
135
- * Disabled SSLv3 protocol in the ssl application (closes: #771359).
136
-
137
- -- Sergei Golovan <sgolovan@debian.org> Sun, 30 Nov 2014 22:39:28 +0300
138
-
139
-erlang (1:17.3-dfsg-2) unstable; urgency=medium
140
-
141
- * Removed erlang-pman, erlang-toolbar, erlang-tv packages because the
142
- corresponding applications were removed from the upstream distribution.
143
- * Fixed the packages dependencies (mostly removed obsolete dependencies
144
- on erlang-gs).
145
- * Bumped standards version to 3.9.6.
146
-
147
- -- Sergei Golovan <sgolovan@debian.org> Sun, 05 Oct 2014 13:13:55 +0400
148
-
149
-erlang (1:17.3-dfsg-1) unstable; urgency=medium
150
-
151
- * New upstream release.
152
- * Refreshed patches. Removed patch which fixed some functions not
153
- following symlinks since it has been included into the upstream release.
154
- * Added a patch from upstream which fixes empty SNI-extension processing.
155
-
156
- -- Sergei Golovan <sgolovan@debian.org> Sat, 27 Sep 2014 19:05:53 +0400
157
-
158
-erlang (1:17.1-dfsg-7) unstable; urgency=medium
159
-
160
- * Don't use /home/epmd as epmd home directory.
161
-
162
- -- Sergei Golovan <sgolovan@debian.org> Mon, 18 Aug 2014 08:21:59 +0400
163
-
164
-erlang (1:17.1-dfsg-6) unstable; urgency=medium
165
-
166
- * Added missing dependency on adduser.
167
- * Switched to the new release versioning in debian/watch uscan control file.
168
-
169
- -- Sergei Golovan <sgolovan@debian.org> Sun, 17 Aug 2014 14:51:11 +0400
170
-
171
-erlang (1:17.1-dfsg-5) unstable; urgency=medium
172
-
173
- * Enabled systemd support in epmd. The epmd unit is not enabled by default
174
- though.
175
- * Fixed SVN URL in the source package debian/control Vcs field.
176
-
177
- -- Sergei Golovan <sgolovan@debian.org> Thu, 14 Aug 2014 13:44:54 +0400
178
-
179
-erlang (1:17.1-dfsg-4) unstable; urgency=medium
180
-
181
- * Created new file erlang-mode.emacsen-compat with zero value to comply
182
- with emacsen-common policy.
183
-
184
- -- Sergei Golovan <sgolovan@debian.org> Mon, 14 Jul 2014 13:34:09 +0400
185
-
186
-erlang (1:17.1-dfsg-3) unstable; urgency=medium
187
-
188
- * Added patch by upstream which fixes regression in 17.1 (a few functions
189
- in the filelib module do not follow symlinks, closes: #754083).
190
-
191
- -- Sergei Golovan <sgolovan@debian.org> Mon, 07 Jul 2014 18:53:29 +0400
192
-
193
-erlang (1:17.1-dfsg-2) unstable; urgency=medium
194
-
195
- * Fixed stopping and starting Erlang based services on upgrading the
196
- erlang-base and erlang-base-hipe packages.
197
-
198
- -- Sergei Golovan <sgolovan@debian.org> Mon, 07 Jul 2014 08:22:41 +0400
199
-
200
-erlang (1:17.1-dfsg-1) unstable; urgency=low
201
debian.control
Deleted
201
1
2
-Source: erlang
3
-Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
4
-Uploaders: Sergei Golovan <sgolovan@debian.org>
5
-Section: interpreters
6
-Priority: optional
7
-Standards-Version: 3.9.8
8
-Build-Depends: debhelper (>= 8.0.0), autoconf (>= 2.50), ca-certificates-java, openssl, libssl-dev, m4,
9
- libncurses5-dev, autotools-dev, unixodbc-dev, bison, flex, ed,
10
- libwxgtk3.0-dev, dctrl-tools, xsltproc,
11
- libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev,
12
- libsctp-dev linux-any, libsystemd-dev linux-any, dh-systemd
13
-Build-Depends-Indep: libxml2-utils, fop, default-jdk | sun-java6-jdk
14
-Build-Conflicts: autoconf2.13, libwxgtk2.4-dev, libwxgtk2.6-dev, libwxgtk2.8-dev
15
-Homepage: http://www.erlang.org/
16
-Vcs-Svn: svn://anonscm.debian.org/pkg-erlang/erlang/trunk/
17
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-erlang/erlang/trunk/
18
-
19
-Package: erlang-base
20
-Architecture: any
21
-Depends: procps, adduser, ${shlibs:Depends}, ${misc:Depends}
22
-Recommends: ${libsctp:Version}, erlang-crypto (= ${binary:Version}), erlang-syntax-tools (= ${binary:Version})
23
-Suggests: erlang-tools (= ${binary:Version}), erlang, erlang-manpages, erlang-doc
24
-Conflicts: erlang (<< ${source:Version}), erlang-base-hipe, erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4)
25
-Replaces: erlang (<< ${source:Version}), erlang-base-hipe, erlang-nox (<< ${source:Version}), erlang-x11 (<< ${source:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4)
26
-Provides: erlang-abi-17.0, erlang-abi-15.b
27
-Description: Erlang/OTP virtual machine and base applications
28
- This package contains the Erlang/OTP runtime implementation, which is
29
- configured and built without HiPE support (compiles to byte-code only),
30
- and minimal set of Erlang applications:
31
- compiler - compiles Erlang code to byte-code;
32
- erts - the Erlang runtime system application;
33
- kernel - code necessary to run the Erlang runtime system itself;
34
- ose - code for Enea OSE operating system;
35
- sasl - the system architecture support libraries application;
36
- stdlib - modules for manipulating lists, strings, files etc.
37
-
38
-
39
-Package: erlang-base-hipe
40
-Architecture: amd64 i386 powerpc ppc64 ppc64el sparc solaris-i386
41
-Priority: extra
42
-Depends: procps, adduser, ${shlibs:Depends}, ${misc:Depends}
43
-Recommends: ${libsctp:Version}, erlang-crypto (= ${binary:Version}), erlang-syntax-tools (= ${binary:Version})
44
-Suggests: erlang-edoc (= ${binary:Version}), erlang-gs (= ${binary:Version}), erlang-tools (= ${binary:Version}), erlang, erlang-manpages, erlang-doc
45
-Conflicts: erlang (<< ${source:Version}), erlang-base, erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4)
46
-Replaces: erlang (<< ${source:Version}), erlang-base, erlang-nox (<< ${source:Version}), erlang-x11 (<< ${source:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2), erlang-doc-html (<< 1:13.b.4)
47
-Provides: erlang-abi-17.0, erlang-abi-15.b
48
-Description: Erlang/OTP HiPE enabled virtual machine and base applications
49
- This package contains the Erlang/OTP runtime implementation, which is
50
- configured and built with HiPE support (allows compiling to native code),
51
- and minimal set of Erlang applications:
52
- compiler - compiles Erlang code to byte-code;
53
- erts - the Erlang runtime system application;
54
- kernel - code necessary to run the Erlang runtime system itself;
55
- ose - code for Enea OSE operating system;
56
- sasl - the system architecture support libraries application;
57
- stdlib - modules for manipulating lists, strings, files etc.
58
-
59
-
60
-Package: erlang-asn1
61
-Architecture: any
62
-Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends}
63
-Suggests: erlang, erlang-manpages, erlang-doc
64
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
65
-Description: Erlang/OTP modules for ASN.1 support
66
- The Asn1 application contains modules with compile-time and run-time
67
- support for ASN.1 in Erlang/OTP.
68
-
69
-
70
-Package: erlang-common-test
71
-Architecture: any
72
-Depends: ${erlang-base}, erlang-crypto (= ${binary:Version}), erlang-debugger (= ${binary:Version}), erlang-inets (= ${binary:Version}), erlang-runtime-tools (= ${binary:Version}), erlang-snmp (= ${binary:Version}), erlang-ssh (= ${binary:Version}), erlang-test-server (= ${binary:Version}), erlang-tools (= ${binary:Version}), erlang-webtool (= ${binary:Version}), erlang-xmerl (= ${binary:Version}), libjs-jquery, libjs-jquery-tablesorter, ${shlibs:Depends}, ${misc:Depends}
73
-Suggests: erlang, erlang-manpages, erlang-doc
74
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
75
-Description: Erlang/OTP application for automated testing
76
- Common Test is a portable application for automated testing. It is
77
- suitable for black-box testing of target systems of any type (i.e.
78
- not necessarily implemented in Erlang), as well as for white-box
79
- testing of Erlang/OTP programs. Black-box testing is performed via
80
- standard interfaces (such as SNMP, HTTP, Corba, Telnet, etc) and,
81
- if required, via user specific interfaces (often called test ports).
82
- White-box testing of Erlang/OTP programs is easily accomplished by
83
- calling the target API functions directly from the test case functions.
84
- Common Test also integrates usage of the OTP cover tool for code
85
- coverage analysis of Erlang/OTP programs.
86
-
87
-
88
-Package: erlang-corba
89
-Architecture: any
90
-Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-mnesia (= ${binary:Version}), erlang-ssl (= ${binary:Version}), ${misc:Depends}
91
-Suggests: erlang, erlang-manpages, erlang-doc
92
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
93
-Description: Erlang/OTP applications for CORBA support
94
- The Orber application is an Erlang implementation of a CORBA
95
- Object Request Broker.
96
- .
97
- The cosEvent application is an Erlang implementation of a CORBA
98
- Service CosEvent.
99
- .
100
- The cosEventDomain application is an Erlang implementation of a
101
- CORBA Service CosEventDomainAdmin.
102
- .
103
- The cosFileTransfer Application is an Erlang implementation of
104
- the OMG CORBA File Transfer Service.
105
- .
106
- The cosNotification application is an Erlang implementation of
107
- the OMG CORBA Notification Service.
108
- .
109
- The cosProperty Application is an Erlang implementation of the
110
- OMG CORBA Property Service.
111
- .
112
- The cosTime application is an Erlang implementation of the OMG
113
- CORBA Time and TimerEvent Services.
114
- .
115
- The cosTransactions application is an Erlang implementation of
116
- the OMG CORBA Transaction Service.
117
-
118
-
119
-Package: erlang-crypto
120
-Architecture: any
121
-Depends: ${erlang-base}, ${shlibs:Depends}, ${misc:Depends}
122
-Suggests: erlang, erlang-manpages, erlang-doc
123
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
124
-Description: Erlang/OTP cryptographic modules
125
- The Crypto Application provides functions for computation of message
126
- digests, encryption and decryption functions. It uses OpenSSL for
127
- actual calculations.
128
-
129
-
130
-Package: erlang-debugger
131
-Architecture: any
132
-Depends: ${erlang-base}, erlang-wx (= ${binary:Version}), ${misc:Depends}
133
-Suggests: erlang, erlang-manpages, erlang-doc
134
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
135
-Description: Erlang/OTP application for debugging and testing
136
- Debugger is a graphical tool which can be used for debugging and
137
- testing of Erlang programs. For example, breakpoints can be set,
138
- code can be single stepped and variable values can be inspected
139
- and modified.
140
-
141
-
142
-Package: erlang-dialyzer
143
-Architecture: any
144
-Depends: ${erlang-base}, erlang-syntax-tools (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
145
-Suggests: erlang-wx (= ${binary:Version}), erlang, erlang-manpages, erlang-doc
146
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
147
-Description: Erlang/OTP discrepancy analyzer application
148
- Dialyzer is a static analysis tool that identifies software
149
- discrepancies such as type errors, unreachable code, unnecessary
150
- tests etc. in single Erlang modules or entire (sets of) applications.
151
-
152
-
153
-Package: erlang-diameter
154
-Architecture: any
155
-Depends: ${erlang-base}, erlang-runtime-tools (= ${binary:Version}), erlang-ssl (= ${binary:Version}), erlang-syntax-tools (=${binary:Version}), ${misc:Depends}
156
-Suggests: erlang, erlang-manpages, erlang-doc
157
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
158
-Description: Erlang/OTP implementation of RFC 6733 protocol
159
- Interface with which a user creates a service that sends and receives
160
- messages using the Diameter protocol as defined in RFC 6733.
161
-
162
-
163
-Package: erlang-doc
164
-Section: doc
165
-Architecture: all
166
-Depends: ${misc:Depends}
167
-Suggests: erlang
168
-Conflicts: erlang-doc-html, erlang-base (<< 1:13.b.4), erlang-base-hipe (<< 1:13.b.4)
169
-Replaces: erlang-doc-html
170
-Provides: erlang-doc-html
171
-Description: Erlang/OTP HTML/PDF documentation
172
- Documentation for the Erlang programming language and OTP
173
- library in HTML and PDF formats.
174
-
175
-
176
-Package: erlang-edoc
177
-Architecture: any
178
-Depends: ${erlang-base}, erlang-inets (= ${binary:Version}), erlang-syntax-tools (=${binary:Version}), erlang-xmerl (= ${binary:Version}), ${misc:Depends}
179
-Suggests: erlang, erlang-manpages, erlang-doc
180
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
181
-Description: Erlang/OTP module for generating documentation
182
- EDoc is the Erlang program documentation generator. Inspired by the
183
- Javadoc tool for the Java programming language, EDoc is adapted to
184
- the conventions of the Erlang world.
185
-
186
-
187
-Package: erlang-eldap
188
-Architecture: any
189
-Depends: ${erlang-base}, erlang-asn1 (= ${binary:Version}), erlang-ssl (=${binary:Version}), ${misc:Depends}
190
-Suggests: erlang, erlang-manpages, erlang-doc
191
-Replaces: erlang (<< ${source:Version}), erlang-base (<< ${binary:Version}), erlang-base-hipe (<< ${binary:Version}), erlang-nox (<< ${source:Version}), erlang-x11 (<< ${binary:Version}), erlang-src (<< ${source:Version}), erlang-dev (<< ${binary:Version}), erlang-examples (<< ${source:Version}), erlang-mode (<< 1:12.b.1-dfsg-2), erlang-doc (<< ${source:Upstream-Version}), erlang-doc (>> ${source:Upstream-Version}-999), erlang-manpages (<= 1:11.b.1-2)
192
-Description: Erlang/OTP LDAP library
193
- Eldap is a module which provides a client API to the Lightweight
194
- Directory Access Protocol (LDAP).
195
-
196
-
197
-Package: erlang-erl-docgen
198
-Architecture: any
199
-Depends: ${erlang-base}, erlang-edoc (= ${binary:Version}), erlang-xmerl (= ${binary:Version}), ${misc:Depends}
200
-Suggests: xsltproc, fop, erlang, erlang-manpages, erlang-doc
201
debian.rules
Deleted
201
1
2
-#!/usr/bin/make -f
3
-
4
-#export DH_VERBOSE=1
5
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
6
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7
-DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8
-
9
-ROOT_DIR=$(shell pwd)
10
-MAN_DIR = $(ROOT_DIR)/debian/erlang-docs/usr/lib/erlang/man
11
-
12
-export HOME := $(ROOT_DIR)/debian
13
-
14
--include ${ROOT_DIR}/erts/vsn.mk
15
--include ${ROOT_DIR}/lib/diameter/vsn.mk
16
--include ${ROOT_DIR}/lib/erl_interface/vsn.mk
17
--include ${ROOT_DIR}/lib/jinterface/vsn.mk
18
--include ${ROOT_DIR}/lib/ic/vsn.mk
19
--include ${ROOT_DIR}/lib/tools/vsn.mk
20
--include ${ROOT_DIR}/lib/webtool/vsn.mk
21
--include ${ROOT_DIR}/lib/common_test/vsn.mk
22
--include ${ROOT_DIR}/lib/snmp/vsn.mk
23
--include ${ROOT_DIR}/lib/hipe/vsn.mk
24
-SOURCE_VERSION=$(shell dpkg-parsechangelog | sed -ne's!^Version: \(.*\)-.*!\1!p')
25
-ABI_VERSION=$(shell cat debian/control | sed -ne's!^Provides: erlang-abi-\(^ ,*\).*!\1!p' | head -1)
26
-HIPE_ARCHES=$(shell cat debian/control | grep '^Architecture:' | egrep -v '(all|any)' | sed -e 's/^Architecture: *//')
27
-
28
-ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug)
29
-BUILD_HIPE := no
30
-else
31
-BUILD_HIPE := $(shell echo ' $(HIPE_ARCHES) ' | grep -c ' ${DEB_HOST_ARCH} ' | sed -es/1/yes/ -es/0/no/)
32
-endif
33
-ifeq ($(BUILD_HIPE), no)
34
-BINARY_TARGETS=binary-erlang-base
35
-INSTALL_RULE=install-stnd-stamp
36
-TMPINSTALL_DIR=debian/erlang-stnd
37
-ERLANGBASE=erlang-base (= $${binary:Version})
38
-else
39
-BINARY_TARGETS=binary-erlang-base binary-erlang-base-hipe
40
-INSTALL_RULE=install-stnd-stamp install-hipe-stamp
41
-TMPINSTALL_DIR=debian/erlang-hipe
42
-ERLANGBASE=erlang-base (= $${binary:Version}) | erlang-base-hipe (= $${binary:Version})
43
-endif
44
-
45
-USE_KERNEL_POLL := $(shell echo ${DEB_HOST_ARCH} | egrep -c "hurd" | sed -es/1/no/ -es/0/yes/)
46
-ifeq ($(USE_KERNEL_POLL), no)
47
-KERNEL_POLL_OPT=--disable-kernel-poll
48
-else
49
-KERNEL_POLL_OPT=--enable-kernel-poll
50
-endif
51
-
52
-USE_CLOCK_GETTIME := $(shell echo ${DEB_HOST_ARCH} | egrep -c "bsd|hurd" | sed -es/1/no/ -es/0/yes/)
53
-ifeq ($(USE_CLOCK_GETTIME), no)
54
-CLOCK_GETTIME_OPT=
55
-SYSTEMD_OPT=
56
-else
57
-CLOCK_GETTIME_OPT=--enable-clock-gettime
58
-SYSTEMD_OPT=--enable-systemd
59
-endif
60
-
61
-# Temporary (until #475459 is fixed) disabling threads for sparc architecture
62
-ifeq ($(DEB_HOST_ARCH), sparc)
63
-THREAD_OPTS=--disable-threads --disable-smp-support
64
-else
65
-THREAD_OPTS=--enable-threads --enable-smp-support
66
-endif
67
-
68
-LIBSCTP=$(shell grep-status -s Depends -PX libsctp-dev |sed -e 's!.*\(libsctp0-9*\).*!\1!')
69
-LIBSCTPDEP=$(shell grep-status -s Version -PX $(LIBSCTP) | sed -e's!^Version: \(.*\)-^-*!$(LIBSCTP) (>= \1)!')
70
-
71
-ifeq ($(findstring debug,$(DEB_BUILD_OPTIONS)),debug)
72
-CFLAGS=-g -O2 -fno-strict-aliasing
73
-GEN_OPT_FLGS=-O2 -fno-strict-aliasing
74
-TYPE=debug
75
-else
76
-CFLAGS=-g -O2 -fno-strict-aliasing
77
-GEN_OPT_FLGS=-O2 -fno-strict-aliasing
78
-TYPE=
79
-endif
80
-
81
-JAVA_OPTIONS=-source 1.7 -target 1.7
82
-
83
-JOBS=4
84
-
85
-clean:
86
- dh_testdir
87
- dh_testroot
88
- #
89
- ! -f Makefile || ${MAKE} -j ${JOBS} clean
90
- rm -f lib/dialyzer/SKIP
91
- #
92
- # Remove installed erlang from debian/
93
- rm -rf debian/erlang-docs
94
- rm -rf debian/erlang-stnd
95
- rm -rf debian/erlang-hipe
96
- #
97
- # Restore replaced configure, config.guess, and config.sub files
98
- for i in `find ${ROOT_DIR} -name 'configure.backup'` ; do \
99
- mv $$i $${i%%.backup} ; \
100
- done
101
- for i in `find ${ROOT_DIR} -name 'config.guess~'` ; do \
102
- mv $$i $${i%%\~} ; \
103
- done
104
- for i in `find ${ROOT_DIR} -name 'config.sub~'` ; do \
105
- mv $$i $${i%%\~} ; \
106
- done
107
- rm -f lib/configure.in
108
- #
109
- # Remove files, which were generated from templates
110
- for i in debian/*.in debian/scripts/*.in ; do \
111
- rm -f $${i%%.in} ; \
112
- done
113
- #
114
- # *.install were also generated on-the-fly
115
- rm -f debian/*.install
116
- rm -f debian/erlang-doc.links
117
- rm -f debian/erlang-doc.doc-base.erlang-erts
118
- #
119
- rm -f debian/AUTHORS
120
- #
121
- # Remove touched stamp files
122
- rm -f *-stamp
123
- #
124
- dh_clean -Xtest.erl.orig
125
-
126
-automake: automake-stamp
127
-automake-stamp:
128
- dh_testdir
129
- #
130
- # Return error if there are known nonfree docs in upstream tarball
131
- # Return error if there are prebuilt binaries in upstream tarball
132
- err=0 ; \
133
- for fn in `find lib/*/doc -name standard -or -name archive` ; do \
134
- err=1 ; \
135
- echo Found directory $$fn with non-free docs in upstream. Please remove it. ; \
136
- rm -rvf $$fn ; \
137
- done ; \
138
- if -f prebuilt.files ; then \
139
- err=1 ; \
140
- echo Found prebuilt binaries in upstream. Please remove them. ; \
141
- rm -rvf prebuilt.files ; \
142
- fi ; \
143
- if $$err = 1 ; then \
144
- echo ; \
145
- echo Use get-orig-source target to get upstream tarball. ; \
146
- echo ; \
147
- fi
148
-
149
- #
150
- # Preserve configure scripts
151
- for i in `find ${ROOT_DIR} -not \( -wholename '*/.pc' -prune \) \
152
- -a -name 'configure'` ; do \
153
- cp -f $$i $$i.backup ; \
154
- done
155
- #
156
- # Replace config.guess and config.sub by installed in /usr/share/misc.
157
- # Also add suffix -gnu to ibm-linux in config.guess to fix FTBFS
158
- # on s390 architecture
159
- for i in `find ${ROOT_DIR} -not \( -wholename '*/.pc' -prune \) \
160
- -a -name 'config.guess'` ; do \
161
- cp -fb /usr/share/misc/config.guess $$i ; \
162
- sed -i 's/-ibm-linux$$/-ibm-linux-gnu/g' $$i ; \
163
- done
164
- for i in `find ${ROOT_DIR} -not \( -wholename '*/.pc' -prune \) \
165
- -a -name 'config.sub'` ; do \
166
- cp -fb /usr/share/misc/config.sub $$i ; \
167
- done
168
- #
169
- # Regenerate configure scripts using autoconf
170
- ./otp_build autoconf
171
- #
172
- touch automake-stamp
173
-
174
-configure-hipe: configure-hipe-stamp
175
-configure-hipe-stamp: automake-stamp
176
- dh_testdir
177
- #
178
- echo "BUILDING HIPE VERSION (BUILD_HIPE: $(BUILD_HIPE))"
179
- #
180
- ! -f Makefile || ${MAKE} -j ${JOBS} clean
181
- rm -f lib/dialyzer/SKIP
182
- #
183
- CFLAGS="$(CFLAGS)" \
184
- ./configure --host=$(DEB_HOST_GNU_TYPE) \
185
- --build=$(DEB_BUILD_GNU_TYPE) \
186
- --prefix=/usr \
187
- --libexecdir=/usr/bin \
188
- --infodir=/usr/share/info \
189
- --mandir=/usr/share/man \
190
- --enable-hybrid-heap \
191
- $(THREAD_OPTS) \
192
- --enable-hipe \
193
- $(KERNEL_POLL_OPT) \
194
- $(SYSTEMD_OPT) \
195
- --enable-sctp \
196
- $(CLOCK_GETTIME_OPT) \
197
- --enable-dynamic-ssl-lib \
198
- --with-ssl-rpath=no \
199
- --enable-ethread-pre-pentium4-compatibility \
200
- --enable-shared-zlib \
201
debian.tar.gz
Deleted
epmd.socket
Changed
10
1
2
Description=Erlang Port Mapper Daemon Activation Socket
3
4
Socket
5
-ListenStream=127.0.0.1:4369
6
+ListenStream=4369
7
Accept=false
8
9
Install
10
epmd@.socket
Changed
10
1
2
Description=Erlang Port Mapper Daemon Activation Socket
3
4
Socket
5
-ListenStream=%i:4369
6
+ListenStream=%I
7
Accept=false
8
9
Install
10
erlang.dsc
Deleted
67
1
2
-Format: 1.0
3
-Source: erlang
4
-Binary: erlang-base, erlang-base-hipe, erlang-asn1, erlang-common-test, erlang-corba, erlang-crypto, erlang-debugger, erlang-dialyzer, erlang-diameter, erlang-doc, erlang-edoc, erlang-eldap, erlang-erl-docgen, erlang-et, erlang-eunit, erlang-gs, erlang-ic, erlang-ic-java, erlang-inets, erlang-manpages, erlang-megaco, erlang-mnesia, erlang-observer, erlang-odbc, erlang-os-mon, erlang-parsetools, erlang-percept, erlang-public-key, erlang-reltool, erlang-runtime-tools, erlang-snmp, erlang-ssh, erlang-ssl, erlang-syntax-tools, erlang-tools, erlang-typer, erlang-wx, erlang-xmerl, erlang-dev, erlang-dbg, erlang-src, erlang-examples, erlang-jinterface, erlang-mode, erlang-nox, erlang-x11, erlang
5
-Architecture: any all
6
-Version: 1:18.3.4.11+dfsg-1~bpo8+1
7
-Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
8
-Uploaders: Sergei Golovan <sgolovan@debian.org>
9
-Homepage: http://www.erlang.org/
10
-Standards-Version: 3.9.8
11
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-erlang/erlang/trunk/
12
-Vcs-Svn: svn://anonscm.debian.org/pkg-erlang/erlang/trunk/
13
-Build-Depends: debhelper (>= 8.0.0), autoconf (>= 2.50), ca-certificates-java, openssl, libssl-dev, m4, libncurses5-dev, autotools-dev, unixodbc-dev, bison, flex, ed, libwxgtk3.0-dev, dctrl-tools, xsltproc, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libsctp-dev linux-any, libsystemd-dev linux-any, dh-systemd
14
-Build-Depends-Indep: libxml2-utils, fop, default-jdk | sun-java6-jdk
15
-Build-Conflicts: autoconf2.13, libwxgtk2.4-dev, libwxgtk2.6-dev, libwxgtk2.8-dev
16
-Package-List:
17
- erlang deb interpreters optional arch=all
18
- erlang-asn1 deb interpreters optional arch=any
19
- erlang-base deb interpreters optional arch=any
20
- erlang-base-hipe deb interpreters extra arch=amd64,i386,powerpc,ppc64,ppc64el,sparc,solaris-i386
21
- erlang-common-test deb interpreters optional arch=any
22
- erlang-corba deb interpreters optional arch=any
23
- erlang-crypto deb interpreters optional arch=any
24
- erlang-dbg deb debug extra arch=any
25
- erlang-debugger deb interpreters optional arch=any
26
- erlang-dev deb interpreters optional arch=any
27
- erlang-dialyzer deb interpreters optional arch=any
28
- erlang-diameter deb interpreters optional arch=any
29
- erlang-doc deb doc optional arch=all
30
- erlang-edoc deb interpreters optional arch=any
31
- erlang-eldap deb interpreters optional arch=any
32
- erlang-erl-docgen deb interpreters optional arch=any
33
- erlang-et deb interpreters optional arch=any
34
- erlang-eunit deb interpreters optional arch=any
35
- erlang-examples deb interpreters optional arch=all
36
- erlang-gs deb interpreters optional arch=any
37
- erlang-ic deb interpreters optional arch=any
38
- erlang-ic-java deb interpreters optional arch=all
39
- erlang-inets deb interpreters optional arch=any
40
- erlang-jinterface deb interpreters optional arch=all
41
- erlang-manpages deb doc optional arch=all
42
- erlang-megaco deb interpreters optional arch=any
43
- erlang-mnesia deb interpreters optional arch=any
44
- erlang-mode deb interpreters optional arch=all
45
- erlang-nox deb interpreters optional arch=all
46
- erlang-observer deb interpreters optional arch=any
47
- erlang-odbc deb interpreters optional arch=any
48
- erlang-os-mon deb interpreters optional arch=any
49
- erlang-parsetools deb interpreters optional arch=any
50
- erlang-percept deb interpreters optional arch=any
51
- erlang-public-key deb interpreters optional arch=any
52
- erlang-reltool deb interpreters optional arch=any
53
- erlang-runtime-tools deb interpreters optional arch=any
54
- erlang-snmp deb interpreters optional arch=any
55
- erlang-src deb interpreters optional arch=all
56
- erlang-ssh deb interpreters optional arch=any
57
- erlang-ssl deb interpreters optional arch=any
58
- erlang-syntax-tools deb interpreters optional arch=any
59
- erlang-tools deb interpreters optional arch=any
60
- erlang-typer deb interpreters optional arch=any
61
- erlang-wx deb interpreters optional arch=any
62
- erlang-x11 deb interpreters optional arch=all
63
- erlang-xmerl deb interpreters optional arch=any
64
-Files:
65
- 00000000000000000000000000000000 0 otp-OTP-18.3.4.11.tar.gz
66
- 00000000000000000000000000000000 0 debian.tar.gz
67
otp-OTP-18.3.4.11.tar.gz -> otp-OTP-25.1.2.tar.gz
Changed
otp-make-subpackages.py
Changed
30
1
2
package_noarch =
3
"emacs-erlang",
4
"emacs-erlang-el",
5
- "erlang-doc",
6
- "xemacs-erlang",
7
- "xemacs-erlang-el"
8
+ "erlang-doc"
9
10
# These are additional Requires which cannot be picked up automatically (yet).
11
# TODO these should be added automatically
12
13
# Stores files/links in /usr/share/java so has to depend on jpackage-utils
14
"erlang-jinterface": "%{name}-erts%{?_isa} = %{version}-%{release}", "jpackage-utils",
15
"erlang-wx": "mesa-libGL", "mesa-libGLU",
16
- "xemacs-erlang": "emacs-common-erlang = %{version}-%{release}", "xemacs(bin) >= %{_xemacs_version}",
17
- "xemacs-erlang-el": "xemacs-erlang = %{version}-%{release}"
18
}
19
20
package_additional_buildrequires = {
21
22
"erlang-jinterface": "java-devel",
23
24
"erlang-odbc": "unixODBC-devel",
25
- "erlang-wx": "wxGTK-devel",
26
- "xemacs-erlang": "xemacs", "xemacs-packages-extra-el",
27
}
28
29
package_additional_obsoletes = {
30