Accepting request 228262 from devel:languages:erlang:Factory
(forwarded request 228204 from matwey) OBS-URL: https://build.opensuse.org/request/show/228262 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/erlang?expand=0&rev=28
This commit is contained in:
commit
34433df703
@ -10,11 +10,11 @@ Subject: [PATCH 1/2] Add -systemd option to empd. Check for include
|
|||||||
erts/epmd/src/epmd_int.h | 3 +++
|
erts/epmd/src/epmd_int.h | 3 +++
|
||||||
3 files changed, 19 insertions(+), 2 deletions(-)
|
3 files changed, 19 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/erts/configure.in b/erts/configure.in
|
Index: otp_src_R16B03/erts/configure.in
|
||||||
index bad748d..6ba4c91 100644
|
===================================================================
|
||||||
--- a/erts/configure.in
|
--- otp_src_R16B03.orig/erts/configure.in
|
||||||
+++ b/erts/configure.in
|
+++ otp_src_R16B03/erts/configure.in
|
||||||
@@ -1563,6 +1563,8 @@ AC_CHECK_MEMBERS([struct ifreq.ifr_enaddr], [], [],
|
@@ -1565,6 +1565,8 @@ AC_CHECK_MEMBERS([struct ifreq.ifr_enadd
|
||||||
#endif
|
#endif
|
||||||
])
|
])
|
||||||
|
|
||||||
@ -23,10 +23,10 @@ index bad748d..6ba4c91 100644
|
|||||||
dnl ----------------------------------------------------------------------
|
dnl ----------------------------------------------------------------------
|
||||||
dnl Check the availability for libdlpi
|
dnl Check the availability for libdlpi
|
||||||
dnl ----------------------------------------------------------------------
|
dnl ----------------------------------------------------------------------
|
||||||
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
|
Index: otp_src_R16B03/erts/epmd/src/epmd.c
|
||||||
index 2d55b37..fc58882 100644
|
===================================================================
|
||||||
--- a/erts/epmd/src/epmd.c
|
--- otp_src_R16B03.orig/erts/epmd/src/epmd.c
|
||||||
+++ b/erts/epmd/src/epmd.c
|
+++ otp_src_R16B03/erts/epmd/src/epmd.c
|
||||||
@@ -175,6 +175,9 @@ int main(int argc, char** argv)
|
@@ -175,6 +175,9 @@ int main(int argc, char** argv)
|
||||||
g->nodes.reg = g->nodes.unreg = g->nodes.unreg_tail = NULL;
|
g->nodes.reg = g->nodes.unreg = g->nodes.unreg_tail = NULL;
|
||||||
g->nodes.unreg_count = 0;
|
g->nodes.unreg_count = 0;
|
||||||
@ -64,10 +64,10 @@ index 2d55b37..fc58882 100644
|
|||||||
epmd_cleanup_exit(g,1);
|
epmd_cleanup_exit(g,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h
|
Index: otp_src_R16B03/erts/epmd/src/epmd_int.h
|
||||||
index 656dbd1..bf1ddd8 100644
|
===================================================================
|
||||||
--- a/erts/epmd/src/epmd_int.h
|
--- otp_src_R16B03.orig/erts/epmd/src/epmd_int.h
|
||||||
+++ b/erts/epmd/src/epmd_int.h
|
+++ otp_src_R16B03/erts/epmd/src/epmd_int.h
|
||||||
@@ -321,6 +321,9 @@ typedef struct {
|
@@ -321,6 +321,9 @@ typedef struct {
|
||||||
int listenfd[MAX_LISTEN_SOCKETS];
|
int listenfd[MAX_LISTEN_SOCKETS];
|
||||||
char *addresses;
|
char *addresses;
|
||||||
@ -78,6 +78,3 @@ index 656dbd1..bf1ddd8 100644
|
|||||||
} EpmdVars;
|
} EpmdVars;
|
||||||
|
|
||||||
void dbg_printf(EpmdVars*,int,const char*,...);
|
void dbg_printf(EpmdVars*,int,const char*,...);
|
||||||
--
|
|
||||||
1.8.1.4
|
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@ Subject: [PATCH 2/2] Add systemd support to epmd
|
|||||||
erts/epmd/src/epmd_srv.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
|
erts/epmd/src/epmd_srv.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
3 files changed, 52 insertions(+)
|
3 files changed, 52 insertions(+)
|
||||||
|
|
||||||
diff --git a/erts/configure.in b/erts/configure.in
|
Index: otp_src_R16B03/erts/configure.in
|
||||||
index 6ba4c91..3ed1238 100644
|
===================================================================
|
||||||
--- a/erts/configure.in
|
--- otp_src_R16B03.orig/erts/configure.in
|
||||||
+++ b/erts/configure.in
|
+++ otp_src_R16B03/erts/configure.in
|
||||||
@@ -967,6 +967,8 @@ AC_CHECK_LIB(dl, dlopen)
|
@@ -969,6 +969,8 @@ AC_CHECK_LIB(dl, dlopen)
|
||||||
AC_CHECK_LIB(inet, main)
|
AC_CHECK_LIB(inet, main)
|
||||||
AC_CHECK_LIB(util, openpty)
|
AC_CHECK_LIB(util, openpty)
|
||||||
|
|
||||||
@ -22,10 +22,10 @@ index 6ba4c91..3ed1238 100644
|
|||||||
dnl Try to find a thread library.
|
dnl Try to find a thread library.
|
||||||
dnl
|
dnl
|
||||||
dnl ETHR_LIB_NAME, ETHR_LIBS, ETHR_X_LIBS, ETHR_THR_LIB_BASE and ETHR_DEFS
|
dnl ETHR_LIB_NAME, ETHR_LIBS, ETHR_X_LIBS, ETHR_THR_LIB_BASE and ETHR_DEFS
|
||||||
diff --git a/erts/epmd/src/epmd_int.h b/erts/epmd/src/epmd_int.h
|
Index: otp_src_R16B03/erts/epmd/src/epmd_int.h
|
||||||
index bf1ddd8..363923e 100644
|
===================================================================
|
||||||
--- a/erts/epmd/src/epmd_int.h
|
--- otp_src_R16B03.orig/erts/epmd/src/epmd_int.h
|
||||||
+++ b/erts/epmd/src/epmd_int.h
|
+++ otp_src_R16B03/erts/epmd/src/epmd_int.h
|
||||||
@@ -110,6 +110,10 @@
|
@@ -110,6 +110,10 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@ -37,10 +37,10 @@ index bf1ddd8..363923e 100644
|
|||||||
/* ************************************************************************ */
|
/* ************************************************************************ */
|
||||||
/* Replace some functions by others by making the function name a macro */
|
/* Replace some functions by others by making the function name a macro */
|
||||||
|
|
||||||
diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
|
Index: otp_src_R16B03/erts/epmd/src/epmd_srv.c
|
||||||
index 90df7cc..cb8ca96 100644
|
===================================================================
|
||||||
--- a/erts/epmd/src/epmd_srv.c
|
--- otp_src_R16B03.orig/erts/epmd/src/epmd_srv.c
|
||||||
+++ b/erts/epmd/src/epmd_srv.c
|
+++ otp_src_R16B03/erts/epmd/src/epmd_srv.c
|
||||||
@@ -208,6 +208,39 @@ void run(EpmdVars *g)
|
@@ -208,6 +208,39 @@ void run(EpmdVars *g)
|
||||||
node_init(g);
|
node_init(g);
|
||||||
g->conn = conn_init(g);
|
g->conn = conn_init(g);
|
||||||
@ -115,6 +115,3 @@ index 90df7cc..cb8ca96 100644
|
|||||||
|
|
||||||
dbg_tty_printf(g,2,"entering the main select() loop");
|
dbg_tty_printf(g,2,"entering the main select() loop");
|
||||||
|
|
||||||
--
|
|
||||||
1.8.1.4
|
|
||||||
|
|
||||||
|
15
README.SUSE
15
README.SUSE
@ -8,3 +8,18 @@ For clustering, please, use ```/etc/systemd/system/epmd.socket.d/``` to configur
|
|||||||
### Upgrading from sysvinit
|
### Upgrading from sysvinit
|
||||||
```/etc/sysconfig/erlang``` has no effect now, to configure EPMd use systemd capabilities instead.
|
```/etc/sysconfig/erlang``` has no effect now, to configure EPMd use systemd capabilities instead.
|
||||||
|
|
||||||
|
### Example 1: change port
|
||||||
|
Create ```/etc/systemd/system/epmd.socket.d/port.conf``` with following content:
|
||||||
|
```
|
||||||
|
[Socket]
|
||||||
|
ListenStream=
|
||||||
|
ListenStream=127.0.0.1:4444
|
||||||
|
```
|
||||||
|
The first line is to discard vendor configuration. The second line will change the port number to listen on to 4444.
|
||||||
|
|
||||||
|
### Example 2: enable external interface
|
||||||
|
To enable accepting external connections to EPMd, create ```/etc/systemd/system/epmd.socket.d/port.conf``` with following content:
|
||||||
|
```
|
||||||
|
[Socket]
|
||||||
|
ListenStream=0.0.0.0:4369
|
||||||
|
```
|
||||||
|
@ -5,10 +5,10 @@ Date: Sat Dec 21 00:13:35 2013 +0400
|
|||||||
In openssl 1.0.1e EC_GROUP_new_curve_GF2m function is wrapped by #ifndef OPENSSL_NO_EC2M.
|
In openssl 1.0.1e EC_GROUP_new_curve_GF2m function is wrapped by #ifndef OPENSSL_NO_EC2M.
|
||||||
We have to check whether OPENSSL_NO_EC2M is set, and if it is, then we do not have EC_GROUP_new_curve_GF2m function and do not HAVE_EC.
|
We have to check whether OPENSSL_NO_EC2M is set, and if it is, then we do not have EC_GROUP_new_curve_GF2m function and do not HAVE_EC.
|
||||||
|
|
||||||
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
|
Index: otp_src_R16B03/lib/crypto/c_src/crypto.c
|
||||||
index 42fb172..421d643 100644
|
===================================================================
|
||||||
--- a/lib/crypto/c_src/crypto.c
|
--- otp_src_R16B03.orig/lib/crypto/c_src/crypto.c
|
||||||
+++ b/lib/crypto/c_src/crypto.c
|
+++ otp_src_R16B03/lib/crypto/c_src/crypto.c
|
||||||
@@ -77,7 +77,8 @@
|
@@ -77,7 +77,8 @@
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x009080ffL \
|
#if OPENSSL_VERSION_NUMBER >= 0x009080ffL \
|
||||||
&& !defined(OPENSSL_NO_EC) \
|
&& !defined(OPENSSL_NO_EC) \
|
||||||
|
@ -9,10 +9,10 @@ Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|||||||
erts/etc/unix/Install.src | 10 ----------
|
erts/etc/unix/Install.src | 10 ----------
|
||||||
2 files changed, 14 deletions(-)
|
2 files changed, 14 deletions(-)
|
||||||
|
|
||||||
Index: otp_src_R16B02/erts/etc/common/Makefile.in
|
Index: otp_src_R16B03/erts/etc/common/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- otp_src_R16B02.orig/erts/etc/common/Makefile.in
|
--- otp_src_R16B03.orig/erts/etc/common/Makefile.in
|
||||||
+++ otp_src_R16B02/erts/etc/common/Makefile.in
|
+++ otp_src_R16B03/erts/etc/common/Makefile.in
|
||||||
@@ -474,10 +474,6 @@ endif
|
@@ -474,10 +474,6 @@ endif
|
||||||
ifneq ($(INSTALL_TOP_BIN),)
|
ifneq ($(INSTALL_TOP_BIN),)
|
||||||
$(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)"
|
$(INSTALL_PROGRAM) $(INSTALL_TOP_BIN) "$(RELEASE_PATH)"
|
||||||
@ -24,10 +24,10 @@ Index: otp_src_R16B02/erts/etc/common/Makefile.in
|
|||||||
ifneq ($(INSTALL_ERL_OSE),)
|
ifneq ($(INSTALL_ERL_OSE),)
|
||||||
$(INSTALL_DIR) "$(RELEASE_PATH)/build_erl_ose"
|
$(INSTALL_DIR) "$(RELEASE_PATH)/build_erl_ose"
|
||||||
cd $(OSEETC) && $(TAR) erl_ose_$(SYSTEM_VSN).tar $(INSTALL_ERL_OSE)
|
cd $(OSEETC) && $(TAR) erl_ose_$(SYSTEM_VSN).tar $(INSTALL_ERL_OSE)
|
||||||
Index: otp_src_R16B02/erts/etc/unix/Install.src
|
Index: otp_src_R16B03/erts/etc/unix/Install.src
|
||||||
===================================================================
|
===================================================================
|
||||||
--- otp_src_R16B02.orig/erts/etc/unix/Install.src
|
--- otp_src_R16B03.orig/erts/etc/unix/Install.src
|
||||||
+++ otp_src_R16B02/erts/etc/unix/Install.src
|
+++ otp_src_R16B03/erts/etc/unix/Install.src
|
||||||
@@ -140,14 +140,4 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*
|
@@ -140,14 +140,4 @@ cp -p ../releases/%I_SYSTEM_VSN%/start_*
|
||||||
cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot .
|
cp -p ../releases/%I_SYSTEM_VSN%/no_dot_erlang.boot .
|
||||||
cp -p $Name.boot start.boot
|
cp -p $Name.boot start.boot
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 27 18:09:29 UTC 2014 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- Invoking ./Install is not required.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 27 17:17:49 UTC 2014 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
- Split EPMd to separate package in order to make it possible to
|
||||||
|
use alternative implementations of EPMd.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 23 07:51:54 UTC 2014 - matwey.kornilov@gmail.com
|
Sun Mar 23 07:51:54 UTC 2014 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
|
49
erlang.spec
49
erlang.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package erlang
|
# spec file for package erlang
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -61,10 +61,11 @@ BuildRequires: tk-devel
|
|||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.6.0
|
BuildRequires: java-devel >= 1.6.0
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
BuildRequires: fdupes
|
Requires: erlang-epmd
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?suse_version} >= 1140
|
||||||
BuildRequires: wxWidgets
|
BuildRequires: wxWidgets
|
||||||
@ -118,6 +119,14 @@ Recommends: %{name} = %{version}
|
|||||||
%description doc
|
%description doc
|
||||||
Documentation for Erlang.
|
Documentation for Erlang.
|
||||||
|
|
||||||
|
%package epmd
|
||||||
|
Summary: Erlang Port Mapper daemon
|
||||||
|
Group: Development/Languages/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description epmd
|
||||||
|
The Erlang Port Mapper daemon acts as a name server on all hosts involved in distributed Erlang computations.
|
||||||
|
|
||||||
%package et
|
%package et
|
||||||
Summary: An event tracer for Erlang programs
|
Summary: An event tracer for Erlang programs
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
@ -431,27 +440,26 @@ install -D -m 0755 %{S:4} %{buildroot}/etc/init.d/epmd
|
|||||||
install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
|
install -D -m 0644 %{S:5} %{buildroot}/var/adm/fillup-templates/sysconfig.erlang
|
||||||
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
||||||
|
|
||||||
%pre
|
%pre epmd
|
||||||
/usr/sbin/groupadd -r epmd &>/dev/null || :
|
/usr/sbin/groupadd -r epmd &>/dev/null || :
|
||||||
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || :
|
/usr/sbin/useradd -g epmd -s /bin/false -r -c "Erlang Port Mapper Daemon" -d %{epmd_home} epmd &>/dev/null || :
|
||||||
%if 0%{?have_systemd}
|
%if 0%{?have_systemd}
|
||||||
%service_add_pre epmd.service epmd.socket
|
%service_add_pre epmd.service epmd.socket
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%post epmd
|
||||||
%{_libdir}/erlang/Install -minimal %{_libdir}/erlang >/dev/null 2>/dev/null
|
|
||||||
%fillup_only erlang
|
%fillup_only erlang
|
||||||
%if 0%{?have_systemd}
|
%if 0%{?have_systemd}
|
||||||
%service_add_post epmd.service epmd.socket
|
%service_add_post epmd.service epmd.socket
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun epmd
|
||||||
%if 0%{?have_systemd}
|
%if 0%{?have_systemd}
|
||||||
%service_del_preun epmd.service epmd.socket
|
%service_del_preun epmd.service epmd.socket
|
||||||
%endif
|
%endif
|
||||||
%stop_on_removal epmd
|
%stop_on_removal epmd
|
||||||
|
|
||||||
%postun
|
%postun epmd
|
||||||
%if 0%{?have_systemd}
|
%if 0%{?have_systemd}
|
||||||
%service_del_postun epmd.service epmd.socket
|
%service_del_postun epmd.service epmd.socket
|
||||||
%endif
|
%endif
|
||||||
@ -469,6 +477,7 @@ install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
|||||||
%doc %{_libdir}/erlang/COPYRIGHT
|
%doc %{_libdir}/erlang/COPYRIGHT
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%exclude %{_bindir}/dialyzer
|
%exclude %{_bindir}/dialyzer
|
||||||
|
%exclude %{_bindir}/epmd
|
||||||
%dir %{_libdir}/erlang
|
%dir %{_libdir}/erlang
|
||||||
%dir %{_libdir}/erlang/lib/
|
%dir %{_libdir}/erlang/lib/
|
||||||
%exclude %{_libdir}/erlang/lib/*/src
|
%exclude %{_libdir}/erlang/lib/*/src
|
||||||
@ -476,7 +485,10 @@ install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
|||||||
%exclude %{_libdir}/erlang/lib/*/java_src
|
%exclude %{_libdir}/erlang/lib/*/java_src
|
||||||
%{_libdir}/erlang/bin/
|
%{_libdir}/erlang/bin/
|
||||||
%exclude %{_libdir}/erlang/bin/dialyzer
|
%exclude %{_libdir}/erlang/bin/dialyzer
|
||||||
|
%exclude %{_libdir}/erlang/bin/epmd
|
||||||
%{_libdir}/erlang/erts-*/
|
%{_libdir}/erlang/erts-*/
|
||||||
|
%exclude %{_libdir}/erlang/erts-*/bin/dialyzer
|
||||||
|
%exclude %{_libdir}/erlang/erts-*/bin/epmd
|
||||||
%{_libdir}/erlang/lib/appmon-*/
|
%{_libdir}/erlang/lib/appmon-*/
|
||||||
%{_libdir}/erlang/lib/asn1-*/
|
%{_libdir}/erlang/lib/asn1-*/
|
||||||
%{_libdir}/erlang/lib/common_test-*/
|
%{_libdir}/erlang/lib/common_test-*/
|
||||||
@ -527,14 +539,6 @@ install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
|||||||
%{_libdir}/erlang/usr/
|
%{_libdir}/erlang/usr/
|
||||||
%{_libdir}/erlang/Install
|
%{_libdir}/erlang/Install
|
||||||
%{_datadir}/emacs/site-lisp/erlang.el
|
%{_datadir}/emacs/site-lisp/erlang.el
|
||||||
%dir %attr(-,epmd,epmd) %{epmd_home}
|
|
||||||
%if 0%{?have_systemd}
|
|
||||||
%{_unitdir}/epmd.service
|
|
||||||
%{_unitdir}/epmd.socket
|
|
||||||
%endif
|
|
||||||
/etc/init.d/epmd
|
|
||||||
%{_sbindir}/rcepmd
|
|
||||||
/var/adm/fillup-templates/sysconfig.erlang
|
|
||||||
%config %{_sysconfdir}/rpm/macros.erlang
|
%config %{_sysconfdir}/rpm/macros.erlang
|
||||||
|
|
||||||
%files debugger
|
%files debugger
|
||||||
@ -548,6 +552,7 @@ install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
|||||||
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
|
%exclude %{_libdir}/erlang/lib/dialyzer-*/src
|
||||||
%{_bindir}/dialyzer
|
%{_bindir}/dialyzer
|
||||||
%{_libdir}/erlang/bin/dialyzer
|
%{_libdir}/erlang/bin/dialyzer
|
||||||
|
%{_libdir}/erlang/erts-*/bin/dialyzer
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -558,6 +563,20 @@ install -D -m 0644 %{S:6} %{buildroot}%{_sysconfdir}/rpm/macros.erlang
|
|||||||
%{_libdir}/erlang/lib/et-*/
|
%{_libdir}/erlang/lib/et-*/
|
||||||
%exclude %{_libdir}/erlang/lib/et-*/src
|
%exclude %{_libdir}/erlang/lib/et-*/src
|
||||||
|
|
||||||
|
%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
|
||||||
|
%endif
|
||||||
|
/etc/init.d/epmd
|
||||||
|
%{_sbindir}/rcepmd
|
||||||
|
/var/adm/fillup-templates/sysconfig.erlang
|
||||||
|
|
||||||
%files gs
|
%files gs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/erlang/lib/gs-*/
|
%{_libdir}/erlang/lib/gs-*/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Index: otp_src_R16B02/lib/crypto/c_src/Makefile.in
|
Index: otp_src_R16B03/lib/crypto/c_src/Makefile.in
|
||||||
===================================================================
|
===================================================================
|
||||||
--- otp_src_R16B02.orig/lib/crypto/c_src/Makefile.in
|
--- otp_src_R16B03.orig/lib/crypto/c_src/Makefile.in
|
||||||
+++ otp_src_R16B02/lib/crypto/c_src/Makefile.in
|
+++ otp_src_R16B03/lib/crypto/c_src/Makefile.in
|
||||||
@@ -85,7 +85,7 @@ endif
|
@@ -85,7 +85,7 @@ endif
|
||||||
DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
|
DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@
|
||||||
|
|
||||||
@ -11,10 +11,10 @@ Index: otp_src_R16B02/lib/crypto/c_src/Makefile.in
|
|||||||
CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME)
|
CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME)
|
||||||
EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB
|
EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB
|
||||||
else
|
else
|
||||||
Index: otp_src_R16B02/lib/crypto/priv/Makefile
|
Index: otp_src_R16B03/lib/crypto/priv/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- otp_src_R16B02.orig/lib/crypto/priv/Makefile
|
--- otp_src_R16B03.orig/lib/crypto/priv/Makefile
|
||||||
+++ otp_src_R16B02/lib/crypto/priv/Makefile
|
+++ otp_src_R16B03/lib/crypto/priv/Makefile
|
||||||
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o
|
@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o
|
||||||
# ----------------------------------------------------
|
# ----------------------------------------------------
|
||||||
|
|
||||||
@ -24,10 +24,10 @@ Index: otp_src_R16B02/lib/crypto/priv/Makefile
|
|||||||
-o $@ $^ -lcrypto
|
-o $@ $^ -lcrypto
|
||||||
|
|
||||||
$(DLL_NIFLIB): $(OBJS)
|
$(DLL_NIFLIB): $(OBJS)
|
||||||
Index: otp_src_R16B02/lib/odbc/c_src/odbcserver.c
|
Index: otp_src_R16B03/lib/odbc/c_src/odbcserver.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- otp_src_R16B02.orig/lib/odbc/c_src/odbcserver.c
|
--- otp_src_R16B03.orig/lib/odbc/c_src/odbcserver.c
|
||||||
+++ otp_src_R16B02/lib/odbc/c_src/odbcserver.c
|
+++ otp_src_R16B03/lib/odbc/c_src/odbcserver.c
|
||||||
@@ -105,6 +105,8 @@
|
@@ -105,6 +105,8 @@
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user