From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WFreN2UySGNGVgEAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 17:44:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qOfnN2UySGPfSgAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 17:44:37 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B879FB2AA for ; Thu, 13 Oct 2022 17:44:37 +0200 (CEST) Received: from localhost ([::1]:49838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0Nw-0003Md-OQ for larch@yhetil.org; Thu, 13 Oct 2022 11:44:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0NP-0003FB-Gw for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj0NO-000658-NH for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj0NO-0005DM-IQ for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58496] [PATCH 2/2] gnu: Add coturn Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58496 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58496@debbugs.gnu.org Cc: Thomas Albers Received: via spool by 58496-submit@debbugs.gnu.org id=B58496.166567582720001 (code B ref 58496); Thu, 13 Oct 2022 15:44:02 +0000 Received: (at 58496) by debbugs.gnu.org; 13 Oct 2022 15:43:47 +0000 Received: from localhost ([127.0.0.1]:34612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0N8-0005CW-I7 for submit@debbugs.gnu.org; Thu, 13 Oct 2022 11:43:46 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:41000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0N6-0005C2-AG for 58496@debbugs.gnu.org; Thu, 13 Oct 2022 11:43:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1665675823; bh=3/Uwuhi0kPAR3AVISIfaF0GC5Qh/JF3hsAh8zpUDz3g=; h=references: in-reply-to:date:subject:cc:to:from; d=thomaslabs.org; b=T94xmgjwh8DBJ ln+P7Mr/fixI22DE0F1G2F4lr7+sIoS5XYPRO84olRBAxyBz5B/o5Xhi/bwZ/5PK47h/mH YRx6sg9P4bxqSEh8fhB4lEi32t1Vjnael8OAmsz8s73UfxmwaqvL4ZQeQ6fZ0TbGkBVl80 BdCJt20n5keM3x9vZVScEPT1YBG3jcm6yeJW48ip5dJrKRwX/CeKENCoU4H/IPUG9tSUVF wzVpci7fK5PFYtJ+c/0zPKXoCXwAw9ehzqUawIAS0JKCnNWMsV0Oeg7bkZjCq4LrtOgcFF D7MNTHEmwZhDs1q5hmOKxGP2DnWy+zNz4Ef703cwr3G6yc54A== Received: from localhost ( [77.23.98.2]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 47f80de6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 13 Oct 2022 15:43:43 +0000 (UTC) Date: Thu, 13 Oct 2022 17:43:34 +0200 Message-Id: <20221013154334.19906-2-thomas@thomaslabs.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221013154334.19906-1-thomas@thomaslabs.org> References: <20221013154334.19906-1-thomas@thomaslabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches From: Thomas Albers via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665675877; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=fPswt6K1hnWUkLCRPDiWk/+bgfxz5yszIBU9oZS4YlU=; b=VLpeehNdCJ+uEG46eKmeEYDDKo6MQ4JHQO653ts/+m0KE15O+obt4eRAohjFLrXNkQZul4 2hFrmDrtbGHEObW4yOWc9e32q7eO7qOLS0h9ibGVgEh3walog60wT8a9WtlPsIgkuTEHmF ThzBfE9j7KQ9Fl07t9ylWilmTc5uDp1WiBENskgzMthpZT2pR7TaVbNNVjUcoBl1ptSALM rKAFwsDZbWhVODvdbcHQs5fO0G1XruKH65oQXgOk0+9rLuGo/D8XZX/y46WKWo9KS+YxJT ydxh+hAwjpZ3UDJ2GZPPqqU5I0nw8kA3BnutFG6NyJ2hreACxl17NNyxoxa5oQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665675877; a=rsa-sha256; cv=none; b=Sap164j1PNByndc20FCcjUCjbtFx5zY9X99pOGWIoCLyTDFmDpri8LnCc/bg9J7Y7i32cl dhhbZ4g2VENtIquxY0MyhkfUHH7U1mdW2jydWnAKk40CxFgnCMdJusT71GjgqSZoVSTRRL KW4MxRB9v7QC1EsKd47T/Jj8vPchNjNNcMqtciKAVz3/GarctSfvLYGcdMtUh0VFNnVPSW LroF7h+rPi8juPYt3Nx/TqI2Y5D+owuywmbVI4td+hS9tzhUx1t1cl5/5UA4mnm7BFJy1t t0QP1p3juHl5q4zd3dYwjN+6FlOrTbVrnUSUttYxGW1/vzOV8lXimhPGe9br9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=T94xmgjw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=thomaslabs.org header.s=default header.b=T94xmgjw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B879FB2AA X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: PhRPBOZG7j8J * gnu/packages/telephony.scm (coturn): New variable. --- gnu/packages/telephony.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 5a7c3821ad..13feedbb2e 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2021 LibreMiami ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2021 Demis Balbach +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages databases) + #:use-module (gnu packages sqlite) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages file) @@ -89,6 +91,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages readline) #:use-module (gnu packages bison) #:use-module (gnu packages flex) + #:use-module (gnu packages libevent) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #:use-module (guix packages) @@ -894,3 +897,32 @@ (define-public libtgvoip telephony functionality into custom Telegram clients.") (home-page "https://github.com/zevlg/libtgvoip") (license license:unlicense))) + +(define-public coturn + (package + (name "coturn") + (version "4.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/coturn/coturn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "152v2lnjj9b3w61d8aak7hmi9riw9cjs5g54g1gfpzlyk4c2jw21")))) + (inputs + (list openssl + sqlite + libevent-with-openssl + hiredis)) + (native-inputs + (list pkg-config)) + (build-system gnu-build-system) + (synopsis "Implementation of a TURN and STUN server for VoIP") + (description + "This package provides a VoIP media traffic NAT traversal server and +gateway. It implements the STUN (Session Traversal Utilities for NAT) and +TURN (Traversal Using Relays around NAT) server protocols.") + (home-page "https://github.com/coturn/coturn") + (license license:bsd-3))) -- 2.38.0