Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2021 09:34:02 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b91f6147e417 - main - Remove net/coturn because it is a duplicate of net/turnserver
Message-ID:  <202104090934.1399Y270079108@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b91f6147e4171425696f74c1f26de83a6ea3593a

commit b91f6147e4171425696f74c1f26de83a6ea3593a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-09 09:30:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-09 09:30:44 +0000

    Remove net/coturn because it is a duplicate of net/turnserver
    
    Reported by:    crees
---
 MOVED                          |  1 +
 net/Makefile                   |  1 -
 net/coturn/Makefile            | 35 -----------------------------------
 net/coturn/distinfo            |  3 ---
 net/coturn/files/turnserver.in | 35 -----------------------------------
 net/coturn/pkg-descr           |  9 ---------
 net/coturn/pkg-plist           | 34 ----------------------------------
 7 files changed, 1 insertion(+), 117 deletions(-)

diff --git a/MOVED b/MOVED
index 759cf366fda1..937cc0f56e74 100644
--- a/MOVED
+++ b/MOVED
@@ -16275,3 +16275,4 @@ ftp/frox||2021-04-07|Has expired: Unmaintained and dead upstream, does not build
 databases/couchdb2|databases/couchdb3|2021-04-07|No longer supported upstream, uses spidermonkey68 & python2; move to databases/couchdb3
 security/pidentd||2021-04-07|Removed: Unmaintained, abandoned, does not build with recent OS versions.
 dns/dnsmasq-devel|dns/dnsmasq|2021-04-08|Has expired: use dns/dnsmasq instead, which is newer.
+net/coturn|net/turnserver|2021-04-09|Remove duplicate port: coturn is another name for turnserver
diff --git a/net/Makefile b/net/Makefile
index 5d17380acce9..96b9e9918a8b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -90,7 +90,6 @@
     SUBDIR += corkscrew
     SUBDIR += corosync2
     SUBDIR += corosync3
-    SUBDIR += coturn
     SUBDIR += courier-authlib-ldap
     SUBDIR += courier-sox
     SUBDIR += cppzmq
diff --git a/net/coturn/Makefile b/net/coturn/Makefile
deleted file mode 100644
index 5c5807ddda72..000000000000
--- a/net/coturn/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-PORTNAME=	coturn
-DISTVERSION=	4.5.2
-PORTREVISION=	2
-CATEGORIES=	net
-
-MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	TURN server
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-LIB_DEPENDS=	libevent_core.so:devel/libevent
-
-USES=		gettext-runtime gmake mysql pkgconfig shebangfix sqlite ssl
-USE_GITHUB=	yes
-
-SHEBANG_FILES=	examples/scripts/oauth.sh examples/scripts/restapi/shared_secret_maintainer.pl
-
-USE_RC_SUBR=	turnserver
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-static --enable-shared --turndbdir=/var/db/${PORTNAME}
-
-DOCSDIR=	${PREFIX}/share/doc/turnserver
-EXAMPLESDIR=	${PREFIX}/share/examples/turnserver
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-PORTDOCS=	*
-PORTEXAMPLES=	*
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
-
-.include <bsd.port.mk>
diff --git a/net/coturn/distinfo b/net/coturn/distinfo
deleted file mode 100644
index 8e0dcb0113ce..000000000000
--- a/net/coturn/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1610505917
-SHA256 (coturn-coturn-4.5.2_GH0.tar.gz) = 462f1aa5c2455f28c1c8df09510d9e88ab14a1159b5e33ea5be5095262e83745
-SIZE (coturn-coturn-4.5.2_GH0.tar.gz) = 442745
diff --git a/net/coturn/files/turnserver.in b/net/coturn/files/turnserver.in
deleted file mode 100644
index e8c9b05f576e..000000000000
--- a/net/coturn/files/turnserver.in
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: turnserver
-# REQUIRE: DAEMON
-# BEFORE: mail
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name=turnserver
-rcvar=turnserver_enable
-desc=TURN and STUN server
-
-load_rc_config ${name}
-
-: ${turnserver_enable:="NO"}
-: ${turnserver_configfile:=%%PREFIX%%/etc/$name.conf}
-
-command="%%PREFIX%%/bin/${name}"
-required_files="%%PREFIX%%/etc/${name}.conf"
-start_precmd=find_pidfile
-stop_precmd=find_pidfile
-status_precmd=find_pidfile
-command_args="-o -c ${turnserver_configfile}"
-
-find_pidfile()
-{
-        if get_pidfile_from_conf pidfile $turnserver_configfile; then
-                pidfile="$_pidfile_from_conf"
-        else
-                pidfile="/var/run/${name}.pid"
-        fi
-}
-
-run_rc_command "$1"
diff --git a/net/coturn/pkg-descr b/net/coturn/pkg-descr
deleted file mode 100644
index 50e4eb07c81c..000000000000
--- a/net/coturn/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can
-be used as a general-purpose network traffic TURN server and gateway, too.
-
-On-line management interface (over telnet or over HTTPS) for the TURN server is
-available.
-
-The implementation also includes some extra experimental features.
-
-WWW: https://github.com/coturn/coturn
diff --git a/net/coturn/pkg-plist b/net/coturn/pkg-plist
deleted file mode 100644
index a71ea9cdd5df..000000000000
--- a/net/coturn/pkg-plist
+++ /dev/null
@@ -1,34 +0,0 @@
-bin/turnadmin
-bin/turnserver
-bin/turnutils_natdiscovery
-bin/turnutils_oauth
-bin/turnutils_peer
-bin/turnutils_stunclient
-bin/turnutils_uclient
-@sample etc/turnserver.conf.default etc/turnserver.conf
-include/turn/client/TurnMsgLib.h
-include/turn/client/ns_turn_ioaddr.h
-include/turn/client/ns_turn_msg.h
-include/turn/client/ns_turn_msg_addr.h
-include/turn/client/ns_turn_msg_defs.h
-include/turn/client/ns_turn_msg_defs_experimental.h
-include/turn/ns_turn_defs.h
-lib/libturnclient.a
-man/man1/coturn.1.gz
-man/man1/turnadmin.1.gz
-man/man1/turnserver.1.gz
-man/man1/turnutils.1.gz
-man/man1/turnutils_natdiscovery.1.gz
-man/man1/turnutils_oauth.1.gz
-man/man1/turnutils_peer.1.gz
-man/man1/turnutils_stunclient.1.gz
-man/man1/turnutils_uclient.1.gz
-share/turnserver/schema.mongo.sh
-share/turnserver/schema.sql
-share/turnserver/schema.stats.redis
-share/turnserver/schema.userdb.redis
-share/turnserver/testmongosetup.sh
-share/turnserver/testredisdbsetup.sh
-share/turnserver/testsqldbsetup.sql
-/var/db/coturn/turndb
-@dir /var/db/coturn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104090934.1399Y270079108>