Accepting request 455065 from devel:languages:erlang

- IMPORTANT CHANGE
  Require the epmd service instead of running our own version as
  rabbitmq user.
  This requires that you configure epmd to listen on more
  interfaces than just 127.0.0.1.
  For non systemd based distributions you can set EPMD_ADDRESSES in
  /etc/sysconfing/erlang.
  For systemd based distributions please follow
  /usr/share/doc/packages/erlang/README.SUSE
  IMPORTANT CHANGE
  This change is also documented in
  /usr/share/doc/packages/rabbitmq-server/README.SUSE

OBS-URL: https://build.opensuse.org/request/show/455065
OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=71
This commit is contained in:
Marcus Rückert 2017-02-06 16:06:05 +00:00 committed by Git OBS Bridge
parent f044086eac
commit 5843c59cf0
5 changed files with 41 additions and 3 deletions

12
README.SUSE Normal file
View File

@ -0,0 +1,12 @@
RabbitMQ and EPMD
===================
RabbitMQ requires epmd to listen on more interfaces than just localhost.
The easiest solution is to set the listening address to "0.0.0.0". But
you can also limit it to certain interfaces/IPs.
For non systemd based distributions you can set EPMD_ADDRESSES in
/etc/sysconfing/erlang.
For systemd based distributions please follow
/usr/share/doc/packages/erlang/README.SUSE

View File

@ -3,6 +3,28 @@ Mon Feb 6 15:43:18 UTC 2017 - mrueckert@suse.de
- fix source url
-------------------------------------------------------------------
Mon Feb 6 15:32:24 UTC 2017 - mrueckert@suse.de
- IMPORTANT CHANGE
Require the epmd service instead of running our own version as
rabbitmq user.
This requires that you configure epmd to listen on more
interfaces than just 127.0.0.1.
For non systemd based distributions you can set EPMD_ADDRESSES in
/etc/sysconfing/erlang.
For systemd based distributions please follow
/usr/share/doc/packages/erlang/README.SUSE
IMPORTANT CHANGE
This change is also documented in
/usr/share/doc/packages/rabbitmq-server/README.SUSE
-------------------------------------------------------------------
Tue Jan 17 19:04:59 UTC 2017 - chris@intrbiz.com

View File

@ -8,8 +8,8 @@
### BEGIN INIT INFO
# Provides: rabbitmq-server
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Required-Start: $local_fs $network $remote_fs epmd
# Required-Stop: $local_fs $network $remote_fs epmd
# Default-Start: 3 5
# Default-Stop: 0 1 2 4 6
# Description: RabbitMQ broker

View File

@ -1,6 +1,7 @@
[Unit]
Description=RabbitMQ broker
After=syslog.target network.target
Requires=epmd.service
[Service]
Type=notify

View File

@ -39,6 +39,7 @@ Source4: rabbitmq-server.ocf
Source5: rabbitmq-server.sysconfig
Source6: rabbitmq-server.service
Source7: rabbitmq-server.tmpfiles.d.conf
Source8: README.SUSE
Patch0: no-nmap.patch
Patch1: no-remove-common.patch
BuildRequires: erlang
@ -52,6 +53,7 @@ BuildRequires: unzip
BuildRequires: xmlto
BuildRequires: zip
Requires: erlang
Requires: erlang-epmd
Requires: logrotate
Provides: AMQP-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -106,6 +108,7 @@ This package includes the RabbitMQ AMQP language bindings for Erlang.
%patch1
%define _rabbit_server_ocf `basename %{SOURCE4}`
cp %{SOURCE4} %{_rabbit_server_ocf}
cp %{SOURCE8} .
#patch10 -p1
%build
@ -230,7 +233,7 @@ systemd-tmpfiles --create --clean /usr/lib/tmpfiles.d/rabbitmq-server.conf
%dir /usr/lib/ocf/resource.d/rabbitmq
%config(noreplace) %{_sysconfdir}/logrotate.d/rabbitmq-server
%config(noreplace) %{_sysconfdir}/rabbitmq/rabbitmq.config
%doc LICENSE* README
%doc LICENSE* README README.SUSE
%dir %{_rabbit_erllibdir}/plugins
%exclude %{_rabbit_erllibdir}/plugins/*
%exclude %{_libdir}/erlang/lib/amqp_client*/*