coturn: update to 4.5.0.7.

This commit is contained in:
Toyam Cox 2017-12-13 14:25:32 -05:00
parent ddacb53aba
commit 8b25df976e
3 changed files with 29 additions and 3 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec chpst -u _coturn:_coturn turnserver -c /etc/turnserver.conf

View File

@ -0,0 +1,20 @@
--- Makefile.in.bck 2017-10-24 23:56:45.227539877 -0400
+++ Makefile.in 2017-10-24 23:57:02.000103162 -0400
@@ -165,7 +165,7 @@
${INSTALL_DATA} turndb/schema.stats.redis ${DESTDIR}${DOCSDIR}
${INSTALL_DATA} turndb/schema.stats.redis ${DESTDIR}${SCHEMADIR}
if [ -f sqlite/turndb ] ; then ${INSTALL_DATA} sqlite/turndb ${DESTDIR}${TURNDBDIR}/turndb; fi
- ${INSTALL_DATA} examples/etc/turnserver.conf ${DESTDIR}${CONFDIR}/turnserver.conf.default
+ ${INSTALL_DATA} examples/etc/turnserver.conf ${DESTDIR}${CONFDIR}/turnserver.conf
${INSTALL_DIR} examples/etc ${DESTDIR}${EXAMPLESDIR}
${INSTALL_DIR} examples/scripts ${DESTDIR}${EXAMPLESDIR}
${RMCMD} ${DESTDIR}${EXAMPLESDIR}/scripts/rfc5769.sh
@@ -196,7 +196,7 @@
${RMCMD} ${DESTDIR}${MANPREFIX}/man/man1/coturn.1
${RMCMD} ${DESTDIR}${LIBDIR}/libturnclient.a
${RMCMD} ${DESTDIR}${EXAMPLESDIR}
- ${RMCMD} ${DESTDIR}${CONFDIR}/turnserver.conf.default
+ ${RMCMD} ${DESTDIR}${CONFDIR}/turnserver.conf
${RMCMD} ${DESTDIR}${TURNINCLUDEDIR}
uninstall: deinstall

View File

@ -1,9 +1,9 @@
# Template file for 'coturn'
pkgname=coturn
version=4.5.0.6
version=4.5.0.7
revision=1
build_style=gnu-configure
# no need for conf_files, /etc/turnserver.conf.default is an example
conf_files="/etc/turnserver.conf"
makedepends="libressl-devel libevent-devel hiredis-devel sqlite-devel
postgresql-libs-devel libmariadbclient-devel"
short_desc="Server Implementation of TURN and STUN"
@ -11,11 +11,15 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://github.com/coturn/coturn"
distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz"
checksum=5ad976e142daf392351f86623b217be7ca91322105e0500c379a9dcdbbc466e8
checksum=6a4e802e4e7a8b7aeb76f0c4a4153da64615eac9db7c320b599fae86c46183ae
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/282547640"
system_accounts="_coturn"
post_install() {
vlicense LICENSE
vsv coturnserver
vsconf examples/etc/turnserver.conf
}
coturn-devel_package() {