pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
coturn: Remove, with all improvements merged into net/coturn
Module Name: pkgsrc-wip
Committed By: Greg Troxel <gdt%lexort.com@localhost>
Pushed By: gdt
Date: Thu Jan 23 12:34:43 2025 -0500
Changeset: 32d15fa5aa82c9a2171fe2d88354942a4cf24155
Modified Files:
Makefile
Removed Files:
coturn/COMMIT_MSG
coturn/DESCR
coturn/Makefile
coturn/PLIST
coturn/TODO
coturn/distinfo
coturn/files/turnserver.sh
coturn/options.mk
Log Message:
coturn: Remove, with all improvements merged into net/coturn
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=32d15fa5aa82c9a2171fe2d88354942a4cf24155
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 -
coturn/COMMIT_MSG | 5 ---
coturn/DESCR | 3 --
coturn/Makefile | 75 -----------------------------------
coturn/PLIST | 98 ----------------------------------------------
coturn/TODO | 6 ---
coturn/distinfo | 5 ---
coturn/files/turnserver.sh | 54 -------------------------
coturn/options.mk | 31 ---------------
9 files changed, 278 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 8307fd721e..a4b54c1b92 100644
--- a/Makefile
+++ b/Makefile
@@ -578,7 +578,6 @@ SUBDIR+= corert-git
SUBDIR+= cortex-var
SUBDIR+= cortextool
SUBDIR+= cosmo-engine
-SUBDIR+= coturn
SUBDIR+= courier-imap
SUBDIR+= courierpassd
SUBDIR+= cowpatty
diff --git a/coturn/COMMIT_MSG b/coturn/COMMIT_MSG
deleted file mode 100644
index 216bac7830..0000000000
--- a/coturn/COMMIT_MSG
+++ /dev/null
@@ -1,5 +0,0 @@
-net/coturn: Add version 4.6.3
-
-coturn is a free open source implementation of TURN and STUN
-Server. The TURN Server is a VoIP media traffic NAT traversal server
-and gateway.
diff --git a/coturn/DESCR b/coturn/DESCR
deleted file mode 100644
index ab9d8eef22..0000000000
--- a/coturn/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-coturn is a free open source implementation of TURN and STUN
-Server. The TURN Server is a VoIP media traffic NAT traversal server
-and gateway.
diff --git a/coturn/Makefile b/coturn/Makefile
deleted file mode 100644
index af8e34108e..0000000000
--- a/coturn/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-# $NetBSD$
-
-DISTNAME= coturn-4.6.3
-PKGREVISION= 6
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_GITHUB:=coturn/}
-
-MAINTAINER= kethzer.dr%gmail.com@localhost
-#MAINTAINER+= gdt%NetBSD.org@localhost
-HOMEPAGE= https://github.com/coturn/coturn
-COMMENT= TURN and STUN server (for VoIP/webrtc)
-LICENSE= modified-bsd
-
-USE_LANGUAGES= c c++
-USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-rpath
-CONFIGURE_ARGS+= --localstatedir ${VARBASE}/turnserver
-CONFIGURE_ARGS+= --prefix ${PREFIX}
-
-# Pass cflags/libs
-CONFIGURE_ENV+= LIBEVENT_OPENSSL_CFLAGS="-I${BUILDLINK_PREFIX.libevent}/include"
-CONFIGURE_ENV+= LIBEVENT_OPENSSL_LIBS="-L${BUILDLINK_PREFIX.libevent}/lib -levent_openssl -levent"
-
-# \todo File a bug upstream, or explain why the warning is wrong.
-CFLAGS+= -Wno-stringop-truncation
-
-COTURN_CONFIG= ${PKG_SYSCONFDIR}/turnserver.conf
-COTURN_EGDIR= ${PREFIX}/share/examples/coturn
-CONF_FILES= ${COTURN_EGDIR}/etc/turnserver.conf ${COTURN_CONFIG}
-
-BUILD_DEFS+= VARBASE
-RCD_SCRIPTS= turnserver
-
-COTURN_USER?= coturn
-COTURN_GROUP?= ${COTURN_USER}
-COTURN_DATA?= ${VARBASE}/db/coturn
-BUILD_DEFS+= COTURN_USER COTURN_GROUP COTURN_DATA
-
-OWN_DIRS_PERMS+= ${COTURN_DATA} ${COTURN_USER} ${COTURN_GROUP} 0770
-
-PKG_USERS_VARS= COTURN_USER
-PKG_GROUPS_VARS= COTURN_GROUP
-PKG_GROUPS= ${COTURN_GROUP}
-PKG_USERS= ${COTURN_USER}:${COTURN_GROUP}
-PKG_GECOS.${COTURN_USER}= coturn daemon user
-PKG_HOME.${COTURN_USER}= ${COTURN_DATA}
-PKG_SHELL.${COTURN_USER}= ${NOLOGIN}
-
-FILES_SUBST+= COTURN_USER=${COTURN_USER:Q}
-FILES_SUBST+= COTURN_GROUP=${COTURN_GROUP:Q}
-FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
-
-# Use coturn as docs/examples subdir name. \todo No command-line argument?
-CONFIGURE_ENV+= PORTNAME=coturn
-# Defaults to ${PREFIX}/etc; respect pkgsrc tunable.
-CONFIGURE_ARGS+= --confdir=${PKG_SYSCONFDIR}
-# Defaults to ${PREFIX}/var; give it a subdirectory.
-CONFIGURE_ARGS+= --localstatedir=${COTURN_DATA}
-
-# \todo Why is there a db installed in /var? If not within PREFIX we don't pick it up,
-# but it seems like a bug.
-
-.include "options.mk"
-
-# upstream installs both a .conf.default in etcdir, and the
-# pkgsrc-right-way .conf in egdir.
-post-install:
- ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/turnserver.conf.default
-
-
-.include "../../devel/libevent/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/coturn/PLIST b/coturn/PLIST
deleted file mode 100644
index dcb2be41c5..0000000000
--- a/coturn/PLIST
+++ /dev/null
@@ -1,98 +0,0 @@
-@comment $NetBSD$
-bin/turnadmin
-bin/turnserver
-bin/turnutils_natdiscovery
-bin/turnutils_oauth
-bin/turnutils_peer
-bin/turnutils_stunclient
-bin/turnutils_uclient
-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
-man/man1/turnadmin.1
-man/man1/turnserver.1
-man/man1/turnutils.1
-man/man1/turnutils_natdiscovery.1
-man/man1/turnutils_oauth.1
-man/man1/turnutils_peer.1
-man/man1/turnutils_stunclient.1
-man/man1/turnutils_uclient.1
-share/coturn/schema.mongo.sh
-share/coturn/schema.sql
-share/coturn/schema.stats.redis
-share/coturn/schema.userdb.redis
-share/coturn/testmongosetup.sh
-share/coturn/testredisdbsetup.sh
-share/coturn/testsqldbsetup.sql
-share/doc/coturn/INSTALL
-share/doc/coturn/LICENSE
-share/doc/coturn/README.turnadmin
-share/doc/coturn/README.turnserver
-share/doc/coturn/README.turnutils
-share/doc/coturn/postinstall.txt
-share/doc/coturn/schema.mongo.sh
-share/doc/coturn/schema.sql
-share/doc/coturn/schema.stats.redis
-share/doc/coturn/schema.userdb.redis
-share/examples/coturn/etc/cacert.pem
-share/examples/coturn/etc/coturn.service
-share/examples/coturn/etc/turn_client_cert.pem
-share/examples/coturn/etc/turn_client_pkey.pem
-share/examples/coturn/etc/turn_server_cert.pem
-share/examples/coturn/etc/turn_server_pkey.pem
-share/examples/coturn/etc/turnserver.conf
-share/examples/coturn/scripts/basic/dos_attack.sh
-share/examples/coturn/scripts/basic/relay.sh
-share/examples/coturn/scripts/basic/tcp_client.sh
-share/examples/coturn/scripts/basic/tcp_client_c2c_tcp_relay.sh
-share/examples/coturn/scripts/basic/udp_c2c_client.sh
-share/examples/coturn/scripts/basic/udp_client.sh
-share/examples/coturn/scripts/loadbalance/master_relay.sh
-share/examples/coturn/scripts/loadbalance/slave_relay_1.sh
-share/examples/coturn/scripts/loadbalance/slave_relay_2.sh
-share/examples/coturn/scripts/loadbalance/tcp_c2c_tcp_relay.sh
-share/examples/coturn/scripts/loadbalance/udp_c2c.sh
-share/examples/coturn/scripts/longtermsecure/secure_dos_attack.sh
-share/examples/coturn/scripts/longtermsecure/secure_dtls_client.sh
-share/examples/coturn/scripts/longtermsecure/secure_dtls_client_cert.sh
-share/examples/coturn/scripts/longtermsecure/secure_relay.sh
-share/examples/coturn/scripts/longtermsecure/secure_relay_cert.sh
-share/examples/coturn/scripts/longtermsecure/secure_sctp_client.sh
-share/examples/coturn/scripts/longtermsecure/secure_tcp_client.sh
-share/examples/coturn/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh
-share/examples/coturn/scripts/longtermsecure/secure_tls_client.sh
-share/examples/coturn/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh
-share/examples/coturn/scripts/longtermsecure/secure_tls_client_cert.sh
-share/examples/coturn/scripts/longtermsecure/secure_udp_c2c.sh
-share/examples/coturn/scripts/longtermsecure/secure_udp_client.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_mongo.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_mysql_ssl.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_psql.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_redis.sh
-share/examples/coturn/scripts/longtermsecuredb/secure_relay_with_db_sqlite.sh
-share/examples/coturn/scripts/mobile/mobile_dtls_client.sh
-share/examples/coturn/scripts/mobile/mobile_relay.sh
-share/examples/coturn/scripts/mobile/mobile_tcp_client.sh
-share/examples/coturn/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh
-share/examples/coturn/scripts/mobile/mobile_udp_client.sh
-share/examples/coturn/scripts/oauth.sh
-share/examples/coturn/scripts/pack.sh
-share/examples/coturn/scripts/peer.sh
-share/examples/coturn/scripts/readme.txt
-share/examples/coturn/scripts/restapi/secure_relay_secret.sh
-share/examples/coturn/scripts/restapi/secure_relay_secret_with_db_mongo.sh
-share/examples/coturn/scripts/restapi/secure_relay_secret_with_db_mysql.sh
-share/examples/coturn/scripts/restapi/secure_relay_secret_with_db_psql.sh
-share/examples/coturn/scripts/restapi/secure_relay_secret_with_db_redis.sh
-share/examples/coturn/scripts/restapi/secure_relay_secret_with_db_sqlite.sh
-share/examples/coturn/scripts/restapi/secure_udp_client_with_secret.sh
-share/examples/coturn/scripts/restapi/shared_secret_maintainer.pl
-share/examples/coturn/scripts/selfloadbalance/secure_dos_attack.sh
-share/examples/coturn/scripts/selfloadbalance/secure_relay.sh
diff --git a/coturn/TODO b/coturn/TODO
deleted file mode 100644
index fd5e9a8145..0000000000
--- a/coturn/TODO
+++ /dev/null
@@ -1,6 +0,0 @@
-This wip package has some changes that should be merged into
-net/coturn.
-
-Check if ccache is being avoided, which implies perhaps avoiding
-compilers wrappers.
-
diff --git a/coturn/distinfo b/coturn/distinfo
deleted file mode 100644
index 759bae90c9..0000000000
--- a/coturn/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD$
-
-BLAKE2s (coturn-4.6.3.tar.gz) = a0fc17a5306e458a0576342bdb92637586db33e38502d64168f6c8437c8012da
-SHA512 (coturn-4.6.3.tar.gz) = 5e5f4a1713847e25396a88f64234ac9bcbbb29f9069d8c3a52c91d28a43bd4c666eeb9877d88a6d48bb1cfca136d8252d1e9e91bb7415ab29b0ba5cfcac0724d
-Size (coturn-4.6.3.tar.gz) = 535778 bytes
diff --git a/coturn/files/turnserver.sh b/coturn/files/turnserver.sh
deleted file mode 100644
index b427ca168f..0000000000
--- a/coturn/files/turnserver.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: head/net/coturn/files/turnserver.sh
-#
-# PROVIDE: turnserver
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# turnserver (bool): Set to NO by default.
-# Set it to YES to enable turnserver.
-# turnserver_config (path): Set to @PREFIX@/etc/turnserver.conf
-# by default.
-
-if [ -f @SYSCONFBASE@/rc.subr ]; then
- . @SYSCONFBASE@/rc.subr
-fi
-
-name="turnserver"
-rcvar=${name}
-
-if [ -f @SYSCONFBASE@/rc.subr -a -d @SYSCONFBASE@/rc.d -a -f @SYSCONFBASE@/rc.d/DAEMON ]; then
- load_rc_config $name
-elif [ -f @SYSCONFBASE@/rc.conf ]; then
- . @SYSCONFBASE@/rc.conf
-fi
-
-: ${turnserver:=no}
-: ${turnserver_config=@PKG_SYSCONFDIR@/turnserver.conf}
-: ${coturn_user:=@COTURN_USER@}
-: ${coturn_group:=@COTURN_GROUP@}
-
-pidfile="@VARBASE@/run/${name}.pid"
-command="@PREFIX@/bin/${name}"
-command_args="--daemon --proc-user ${coturn_user} --proc-group ${coturn_user} -c ${turnserver_config}"
-required_files=${turnserver_config}
-
-if [ -f @SYSCONFBASE@/rc.subr -a -d @SYSCONFBASE@/rc.d -a -f @SYSCONFBASE@/rc.d/DAEMON ]; then
- run_rc_command "$1"
-else
- case "$1" in
- stop)
- if [ -r "${pidfile}" ]; then
- @ECHO@ "Stopping ${name}."
- kill `@CAT@ ${pidfile}`
- fi
- ;;
- *)
- ${command} ${command_args}
- ;;
- esac
-fi
diff --git a/coturn/options.mk b/coturn/options.mk
deleted file mode 100644
index f8e20f7454..0000000000
--- a/coturn/options.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2025/01/23 16:24:02 adam Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.coturn
-PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite redis
-PKG_SUGGESTED_OPTIONS= sqlite
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mredis)
-.include "../../databases/hiredis/buildlink3.mk"
-.else
-CONFIGURE_ENV+= TURN_NO_HIREDIS=1
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql)
-.include "../../mk/mysql.buildlink3.mk"
-.else
-CONFIGURE_ENV+= TURN_NO_MYSQL=1
-.endif
-
-.if !empty(PKG_OPTIONS:Mpgsql)
-.include "../../mk/pgsql.buildlink3.mk"
-.else
-CONFIGURE_ENV+= TURN_NO_PQ=1
-.endif
-
-.if !empty(PKG_OPTIONS:Msqlite)
-.include "../../databases/sqlite3/buildlink3.mk"
-.else
-CONFIGURE_ENV+= TURN_NO_SQLITE=1
-.endif
Home |
Main Index |
Thread Index |
Old Index