From 407c8a259647f703d5a97479af2382c136907f59 Mon Sep 17 00:00:00 2001 From: Frank Steinborn Date: Tue, 29 Nov 2022 16:26:51 +0100 Subject: [PATCH] coturn: allow to bind to ports below 1024 In some cases (corporate firewalls, hospitals) it may be desirable to have a TURN service on 443 because this is open in every case. To allow that, allow the turnserver to bind to ports below 1024. --- srcpkgs/coturn/INSTALL | 5 +++++ srcpkgs/coturn/template | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/coturn/INSTALL diff --git a/srcpkgs/coturn/INSTALL b/srcpkgs/coturn/INSTALL new file mode 100644 index 000000000000..3ee6f34d2ae3 --- /dev/null +++ b/srcpkgs/coturn/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + setcap CAP_NET_BIND_SERVICE=+ep usr/bin/turnserver + ;; +esac diff --git a/srcpkgs/coturn/template b/srcpkgs/coturn/template index 613195194083..7ab9f7296df7 100644 --- a/srcpkgs/coturn/template +++ b/srcpkgs/coturn/template @@ -1,7 +1,7 @@ # Template file for 'coturn' pkgname=coturn version=4.6.0 -revision=1 +revision=2 build_style=configure configure_args=" --prefix=/usr