coturn: improve reproducibility (Ubuntu build host fix)
authorSergey V. Lobanov <sergey@lobanov.in>
Tue, 1 Feb 2022 16:26:38 +0000 (19:26 +0300)
committerSergey V. Lobanov <sergey@lobanov.in>
Tue, 1 Feb 2022 16:26:38 +0000 (19:26 +0300)
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>
net/coturn/Makefile

index 9ecf4ddd3bdd293c6a6556e48580a5c49eaf0190..f073692022d1aae2042f42e20168e70b4ed92bc3 100644 (file)
@@ -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 \