- update to 1.4.5

- Changed
    - Don't include timestamp when logging to the systemd journal.
  - Fixed
    - Let eturnalctl sessions cope with non-latin characters in
      user names.
    - Binary release: Let eturnalctl remote_console actually
      connect to the running eturnal instance.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/eturnal?expand=0&rev=13
This commit is contained in:
2021-01-28 20:58:59 +00:00
committed by Git OBS Bridge
parent 7795fc655b
commit 634536e8be
7 changed files with 19 additions and 91 deletions

View File

@@ -1,47 +0,0 @@
diff --git a/doc/overview.edoc b/doc/overview.edoc
index 40f1a37..296732e 100644
--- a/doc/overview.edoc
+++ b/doc/overview.edoc
@@ -111,7 +111,7 @@ The eturnal server recognizes the following global configuration options.
=== blacklist ===
<div class="spec">Type: `list of IP addresses/CIDRs'<br/>
-Default: Loopback, Toredo, and 6to4 addresses</div>
+Default: Loopback addresses</div>
The `blacklist' option specifies a list of one or more IPv4 and/or IPv6
addresses and/or CIDR blocks. TURN relaying from or to any of the listed
diff --git a/rebar.config b/rebar.config
index d9e872c..ce1eb26 100644
--- a/rebar.config
+++ b/rebar.config
@@ -101,15 +101,10 @@
% Distribution packaging:
{distro,
[{relx,
- [{mode, minimal},
- {system_libs, false},
- {exclude_apps,
- [sasl,
- runtime_tools,
- recon,
- influx_udp,
- poolboy,
- ulitos]}]},
+ [{release, {eturnal, {cmd, "scripts/get-version"}},
+ [eturnal]},
+ {mode, minimal},
+ {system_libs, false}]},
{erl_opts,
[no_debug_info,
deterministic]}]},
@@ -127,9 +122,6 @@
[{release, "chmod o-rw config/eturnal.yml"},
{tar, "chmod o-rw config/eturnal.yml"}]}.
-{plugins,
- [rebar3_run]}.
-
{alias,
[{check,
[xref,

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24ff64b509452c0a4e2177fc3e697dda37d65f8e5468a13488e8b65f51040399
size 973647

3
eturnal-1.4.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1825b72e9f36098721c70daa59af7ddb4aedf7d255789d020067d2fc691110f5
size 975067

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 28 20:49:02 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>
- update to 1.4.5
- Changed
- Don't include timestamp when logging to the systemd journal.
- Fixed
- Let eturnalctl sessions cope with non-latin characters in
user names.
- Binary release: Let eturnalctl remote_console actually
connect to the running eturnal instance.
-------------------------------------------------------------------
Mon Jan 25 20:14:35 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@@ -21,7 +21,7 @@
%define homedir /var/lib/eturnal
Name: eturnal
Version: 1.4.4
Version: 1.4.5
Release: 1
Summary: A modern, straightforward STUN and TURN server
Group: Productivity/Networking/Talk/Servers
@@ -29,11 +29,7 @@ License: GPL-2.0
URL: https://eturnal.net/
Source0: https://eturnal.net/download/eturnal-%{version}.tar.gz
Source99: eturnal.sysusers
%if %{without influxdb}
Patch0: noinflux.patch
%endif
Patch1: use_distro_path.patch
Patch2: HEAD.patch
Patch0: use_distro_path.patch
BuildArch: noarch
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
@@ -49,10 +45,10 @@ BuildRequires: erlang >= 21
BuildRequires: erlang-rebar3
%requires_eq erlang
# from rebar.config
BuildRequires: erlang-stun-devel >= 1.0.41
BuildRequires: erlang-stun-devel >= 1.0.42
%requires_eq erlang-stun
#
BuildRequires: erlang-conf-devel >= 0.0.1
BuildRequires: erlang-conf-devel >= 0.2.1
%requires_eq erlang-conf
#
BuildRequires: erlang-recon-devel >= 2.5.1

View File

@@ -1,15 +0,0 @@
diff --git a/rebar.config b/rebar.config
index ce1eb26..da5df52 100644
--- a/rebar.config
+++ b/rebar.config
@@ -3,8 +3,8 @@
{deps,
[{stun, {git, "https://github.com/processone/stun.git", {tag, "1.0.41"}}},
{conf, {git, "https://github.com/processone/conf.git", {tag, "0.1.1"}}},
- {recon, {git, "https://github.com/ferd/recon.git", {tag, "2.5.1"}}},
- {influx_udp, {git, "https://github.com/palkan/influx_udp.git", {tag, "v1.1.0"}}}]}.
+ {recon, {git, "https://github.com/ferd/recon.git", {tag, "2.5.1"}}}
+ ]}.
{relx,
[{release, {eturnal, {cmd, "scripts/get-version"}},

View File

@@ -1,18 +0,0 @@
Index: eturnal-1.4.3/config/eturnal.service
===================================================================
--- eturnal-1.4.3.orig/config/eturnal.service
+++ eturnal-1.4.3/config/eturnal.service
@@ -9,9 +9,10 @@ Documentation=https://github.com/process
[Service]
Type=notify
User={{eturnal_user}}
-ExecStart={{eturnal_bin_prefix}}/bin/eturnalctl foreground
-ExecReload={{eturnal_bin_prefix}}/bin/eturnalctl reload
-ExecStop={{eturnal_bin_prefix}}/bin/eturnalctl stop
+ExecStart=/usr/bin/erl -noinput -pa {{eturnal_bin_prefix}}/ebin -conf file '"/etc/eturnal.yml"' -s eturnal
+# ExecStart={{eturnal_bin_prefix}}/bin/eturnalctl foreground
+# ExecReload={{eturnal_bin_prefix}}/bin/eturnalctl reload
+# ExecStop={{eturnal_bin_prefix}}/bin/eturnalctl stop
Restart=on-failure
RestartSec=3
WatchdogSec=30