summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey V. Lobanov2022-02-01 16:26:38 +0000
committerSergey V. Lobanov2022-02-01 16:26:38 +0000
commit8a4daac339156695a32aa0207c154ed17fb2f811 (patch)
tree05bd05c28f7fdb7dfceca961cdd4c792908d1843
parent51e62de1821e28c574da3158c73d9e32596f5d4c (diff)
downloadtelephony-8a4daac339156695a32aa0207c154ed17fb2f811.tar.gz
coturn: improve reproducibility (Ubuntu build host fix)
coturn package is reproducible unless the build OS is Ubuntu coturn configure script detects Ubuntu build host([1]) and changes compilation flags so produced OpenWrt binaries are different on Ubuntu and any other build OS (e.g. Debian). It might be necessary for native build but this check is not valid for cross-compiling. This patch set LIBEV_OK=1 to generate the same binaries on Ubuntu and other build OS Refs: [1] https://github.com/coturn/coturn/blob/upstream/4.5.2/configure#L426-L435 Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
-rw-r--r--net/coturn/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/coturn/Makefile b/net/coturn/Makefile
index 9ecf4dd..f073692 100644
--- a/net/coturn/Makefile
+++ b/net/coturn/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=coturn
PKG_VERSION:=4.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/coturn/coturn/tar.gz/$(PKG_VERSION)?
@@ -129,6 +129,7 @@ CONFIGURE_ARGS+= \
--turndbdir=/etc/turnserver
CONFIGURE_VARS+= \
+ LIBEV_OK=1 \
TURN_NO_PROMETHEUS=1 \
TURN_NO_SCTP=1 \
TURN_NO_SYSTEMD=1 \