Re: NEW: telephony/coturn
On 2017/12/22 13:26, Ingo Feinerer wrote: > Ping (updated to newest release 4.5.0.7). > > Running for me since a few months now. > Hoping for OKs to import ... diff on top: - no need to create ${PREFIX}/share/examples/turnserver/var and ${PREFIX}/share/examples/turnserver/var/db, just put turndb sample straight in examples/turnserver - use LOCALSTATEDIR With those it's OK with me. diff --git Makefile Makefile index 9ffe4a0..d6595bb 100644 --- Makefile +++ Makefile @@ -34,7 +34,7 @@ CONFIGURE_ENV = TURN_NO_MONGO=1 post-install: rm -rf ${PREFIX}/etc - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/turnserver/var/db - mv ${WRKINST}/var/db/turndb ${PREFIX}/share/examples/turnserver/var/db + mv ${WRKINST}${LOCALSTATEDIR}/db/turndb \ + ${PREFIX}/share/examples/turnserver .include diff --git pkg/PLIST pkg/PLIST index 3f46f25..e326b88 100644 --- pkg/PLIST +++ pkg/PLIST @@ -106,13 +106,11 @@ share/examples/turnserver/scripts/restapi/shared_secret_maintainer.pl share/examples/turnserver/scripts/selfloadbalance/ share/examples/turnserver/scripts/selfloadbalance/secure_dos_attack.sh share/examples/turnserver/scripts/selfloadbalance/secure_relay.sh -share/examples/turnserver/var/ -share/examples/turnserver/var/db/ -share/examples/turnserver/var/db/turndb +share/examples/turnserver/turndb @mode 0640 @owner _turnserver @group _turnserver -@sample /var/db/turndb +@sample ${LOCALSTATEDIR}/db/turndb @mode @owner @group
Re: NEW: telephony/coturn
Ping (updated to newest release 4.5.0.7). Running for me since a few months now. Hoping for OKs to import ... Best regards, Ingo On Tue, Oct 31, 2017 at 12:23:35PM +0100, Ingo Feinerer wrote: > please find attached a port for coturn > (https://github.com/coturn/coturn), a VoIP media traffic NAT traversal > server and gateway (similar to e.g. the existing baresip/restund port). > Contrary to other STUN servers it works also behind NAT (useful for > Amazon EC2 users). > > As the port uses a unique user > > 795 _turnserver _turnserver telephony/coturn > > would need to be added to /usr/ports/infrastructure/db/user.list as > well. > > Minimal test possible (on the same machine) with > > # rcctl start turnserver > $ turnutils_stunclient localhost > > (although not very realistic). > > Works fine for me on amd64 since a few weeks. > > OK to import? coturn.tar.gz Description: application/tar-gz
Re: NEW: telephony/coturn
I could not get a clean build when I was looking for help. I am using it on my system without problems but would like to see a proper port added. -Original Message- From: Stuart Henderson [mailto:s...@spacehopper.org] Sent: Saturday, November 11, 2017 2:21 AM To: Ingo Feinerer <feine...@logic.at> Cc: Dmitrij D. Czarkoff <czark...@openbsd.org>; Stephen Graf <s_g...@telus.net> Subject: Re: NEW: telephony/coturn On 2017/11/11 10:13, Ingo Feinerer wrote: > As you showed some interest in coturn/turnserver in the past (sthen@: > https://marc.info/?l=openbsd-ports=147316976418748=2 , czarkoff@: > private mail two weeks ago) I am contacting you directly for OKs. Oh, that wasn't intereat in turnserver, I was just doing a quick review of the port submission.. I'll have a look when I have free time if nobody beats me to it, but unlikely to be for a couple of days at least.
NEW: telephony/coturn
Hi, please find attached a port for coturn (https://github.com/coturn/coturn), a VoIP media traffic NAT traversal server and gateway (similar to e.g. the existing baresip/restund port). Contrary to other STUN servers it works also behind NAT (useful for Amazon EC2 users). As the port uses a unique user 794 _turnserver _turnserver telephony/coturn would need to be added to /usr/ports/infrastructure/db/user.list as well. Minimal test possible (on the same machine) with # rcctl start turnserver $ turnutils_stunclient localhost (although not very realistic). Works fine for me on amd64 since a few weeks. OK to import? Best regards, Ingo coturn.tar.gz Description: application/tar-gz