From: Sergey V. Lobanov Date: Tue, 1 Feb 2022 16:26:38 +0000 (+0300) Subject: coturn: improve reproducibility (Ubuntu build host fix) X-Git-Url: http://git.openwrt.org/?p=feed%2Ftelephony.git;a=commitdiff_plain;h=8a4daac339156695a32aa0207c154ed17fb2f811 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 --- 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 \