Accepting request 793234 from home:jengelh:branches:network:telephony

- Shorten description by stripping the long list of all RFCs.
- Drop %defattr; use %autosetup.

OBS-URL: https://build.opensuse.org/request/show/793234
OBS-URL: https://build.opensuse.org/package/show/network:telephony/coturn?expand=0&rev=3
This commit is contained in:
Johannes Weberhofer 2020-04-12 15:17:22 +00:00 committed by Git OBS Bridge
parent ab5075b12c
commit de4232263d
2 changed files with 10 additions and 50 deletions

View File

@ -3,6 +3,12 @@ Sun Apr 12 05:47:04 UTC 2020 - Johannes Weberhofer <jweberhofer@weberhofer.at>
- Use pkgconfig(systemd) for packaging - Use pkgconfig(systemd) for packaging
-------------------------------------------------------------------
Sat Apr 11 20:17:07 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Shorten description by stripping the long list of all RFCs.
- Drop %defattr; use %autosetup.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 9 10:57:37 UTC 2020 - Johannes Weberhofer <jweberhofer@weberhofer.at> Thu Apr 9 10:57:37 UTC 2020 - Johannes Weberhofer <jweberhofer@weberhofer.at>

View File

@ -65,51 +65,10 @@ and WebRTC.
It can be used as a general-purpose network traffic TURN server and gateway, It can be used as a general-purpose network traffic TURN server and gateway,
too. On-line management interface (over telnet or over HTTPS) for the TURN too. On-line management interface (over telnet or over HTTPS) for the TURN
server is available. server is available.
This implementation also includes some extra features. Supported RFCs:
TURN specs:
- RFC 5766 - base TURN specs
- RFC 6062 - TCP relaying TURN extension
- RFC 6156 - IPv6 extension for TURN
- Experimental DTLS support as client protocol.
STUN specs:
- RFC 3489 - "classic" STUN
- RFC 5389 - base "new" STUN specs
- RFC 5769 - test vectors for STUN protocol testing
- RFC 5780 - NAT behavior discovery support
The implementation fully supports the following client-to-TURN-server protocols:
- UDP (per RFC 5766)
- TCP (per RFC 5766 and RFC 6062)
- TLS (per RFC 5766 and RFC 6062); TLS1.0/TLS1.1/TLS1.2
- DTLS (experimental non-standard feature)
Supported relay protocols:
- UDP (per RFC 5766)
- TCP (per RFC 6062)
Supported user databases (for user repository, with passwords or keys, if
authentication is required):
- SQLite
- MySQL
- PostgreSQL
- Redis
Redis can also be used for status and statistics storage and notification.
Supported TURN authentication mechanisms:
- long-term
- TURN REST API (a modification of the long-term mechanism, for time-limited
secret-based authentication, for WebRTC applications)
The load balancing can be implemented with the following tools (either one or a
combination of them):
- network load-balancer server
- DNS-based load balancing
- built-in ALTERNATE-SERVER mechanism.
%package utils %package utils
Summary: Coturn utils Summary: Coturn utils
Group: Productivity/Networking/Talk/Servers
%description utils %description utils
This package contains the TURN client utils. This package contains the TURN client utils.
@ -123,11 +82,7 @@ Requires: %{name} = %{version}
This package contains the TURN development headers. This package contains the TURN development headers.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build %build
%sysusers_generate_pre %{SOURCE4} %{name} %sysusers_generate_pre %{SOURCE4} %{name}
@ -170,7 +125,7 @@ mv %{buildroot}%{_sysconfdir}/%{name}/turnserver.conf.default %{buildroot}%{_sys
rm %{buildroot}%{_docdir}/%{name}%{_sysconfdir}/*.pem rm %{buildroot}%{_docdir}/%{name}%{_sysconfdir}/*.pem
# fix permissions # fix permissions
find %{buildroot}%{_docdir} -type f -exec chmod 0664 {} \; find %{buildroot}/%{_docdir} -type f -exec chmod 0644 {} +
chmod 0644 %{buildroot}%{_mandir}/man1/* chmod 0644 %{buildroot}%{_mandir}/man1/*
chmod 0644 %{buildroot}%{_datadir}/%{name}/* chmod 0644 %{buildroot}%{_datadir}/%{name}/*
@ -182,7 +137,7 @@ rm %{buildroot}%{_mandir}/man1/{turnutils_*,coturn.1}
gzip %{buildroot}%{_mandir}/man1/*.1 gzip %{buildroot}%{_mandir}/man1/*.1
ln -s turnserver.1.gz %{buildroot}%{_mandir}/man1/coturn.1.gz ln -s turnserver.1.gz %{buildroot}%{_mandir}/man1/coturn.1.gz
for PKG in natdiscovery oauth peer stunclient uclient ; do for PKG in natdiscovery oauth peer stunclient uclient ; do
ln -s turnutils.1.gz %{buildroot}%{_mandir}/man1/turnutils_$PKG.1.gz ln -s turnutils.1.gz %{buildroot}%{_mandir}/man1/turnutils_$PKG.1.gz
done done
%pre -f %{name}.pre %pre -f %{name}.pre
@ -260,7 +215,6 @@ systemd-tmpfiles --create %{_prefix}/lib/tmpfiles.d/%{name}.conf
%{_mandir}/man1/turnutils_*.1%{?ext_man} %{_mandir}/man1/turnutils_*.1%{?ext_man}
%files devel %files devel
%defattr(0644,root,root,0755)
%license LICENSE %license LICENSE
%{_includedir}/turn %{_includedir}/turn
%{_libdir}/libturnclient.a %{_libdir}/libturnclient.a