Coturn 4.5.2-r9

Someone was asking about building coturn so I tossed together a Makefile for it. I can tell you it compiles under master branch, but as I had never heard of it, I can't test it. I figured someone might have a use for it, and if they want to test and then PR it, they are welcome to it.

include $(TOPDIR)/rules.mk

PKG_NAME:=coturn
PKG_VERSION:=4.5.2-r9
PKG_RELEASE:=1

PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2022-03-25
PKG_SOURCE_VERSION:=94322e0d57c5914b25f41b8498a27095cf01a377
PKG_SOURCE_URL:=https://github.com/coturn/coturn.git
PKG_MIRROR_HASH:=skip

PKG_FIXUP:=autoreconf
#PKG_FIXUP:=patch-libtool

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

define Package/coturn
    SECTION:=testing
    CATEGORY:=Testing
    TITLE:=coturn
    DEPENDS:=+libevent2 +libevent2-extra +libevent2-openssl +libevent2-pthreads \
             +prometheus
    URL:=https://github.com/coturn/coturn
endef

define Package/coturn/description
  coturn TURN server project
endef

define Package/coturn/install
        $(INSTALL_DIR) $(1)/usr
        $(CP) -r $(PKG_INSTALL_DIR)/usr/* $(1)/usr/
endef

$(eval $(call BuildPackage,coturn))

Hi @Grommish

coturn was added to telephony repo in December, to replace restund. Link

Kind regards,
Seb

1 Like

Thanks for pointing that out! Someone was asking about it and I was bored enough to turn out the Makefile :slight_smile: this is even better since they can use it without a custom feed..

Much Appreciated!

@tmomas Can this be closed as @micmac1 correctly pointed out it isn't needed (and I can't find a way to close it).