From patchwork Thu Oct 13 15:43:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 43378 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B5F0627BBED; Thu, 13 Oct 2022 16:44:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4B0A027BBEA for ; Thu, 13 Oct 2022 16:44:33 +0100 (BST) Received: from localhost ([::1]:49854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0Ns-0003Nq-CO for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 11:44:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oj0NO-0003F0-HX for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oj0NO-00064z-9a for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oj0NO-0005DE-4A for guix-patches@gnu.org; Thu, 13 Oct 2022 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58496] [PATCH 1/2] gnu: Add libevent-with-openssl References: <87v8on20jf.fsf@alpha.mail-host-address-is-not-set> In-Reply-To: <87v8on20jf.fsf@alpha.mail-host-address-is-not-set> 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.166567582319985 (code B ref 58496); Thu, 13 Oct 2022 15:44:02 +0000 Received: (at 58496) by debbugs.gnu.org; 13 Oct 2022 15:43:43 +0000 Received: from localhost ([127.0.0.1]:34609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0N5-0005CG-94 for submit@debbugs.gnu.org; Thu, 13 Oct 2022 11:43:43 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:41000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oj0N3-0005C2-G7 for 58496@debbugs.gnu.org; Thu, 13 Oct 2022 11:43:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1665675819; bh=UYszKT1h7xRoMu7OE+c8dq0p+7gS+pxmq3jZQDwsNZo=; h=date:subject:cc:to: from; d=thomaslabs.org; b=dIpS6IWZpBPDVXQTV03zg9fnY9OZXOq9Szd7NG40uJhD PdSkC3ApJlVFeXjwohqGEloqc8CMdQZTMORJdDRzghRwodKLjV1xv71ElAX5EeP9lp6zBk hEzG/QJkD3E9tVHUOl4hrDyzmG0h3k5D7pPtB1fXsrR3n59TDniK87Cl3+qktE8SoHxn36 XQGV3P7zNAejB/5KB+hym9ldZeyuOQ3HpsJAQZQjHI7Jomsl1HyXTBKzznSMJ0tHKlGV1s j34kfdfkKyX//GOpv6MdRMNV5q+TEWFum/kpi3EvmtAPmwJ7dLUQHXz6BoDONWsmmapbu/ yqzX4byUvR+0arKZgQ== Received: from localhost ( [77.23.98.2]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 20195df6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 13 Oct 2022 15:43:39 +0000 (UTC) Date: Thu, 13 Oct 2022 17:43:33 +0200 Message-Id: <20221013154334.19906-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches * gnu/packages/libevent.scm (libevent-with-openssl): New variable. --- gnu/packages/libevent.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm index d807315906..e0ba2b3d5b 100644 --- a/gnu/packages/libevent.scm +++ b/gnu/packages/libevent.scm @@ -76,6 +76,17 @@ (define-public libevent loop.") (license bsd-3))) +(define-public libevent-with-openssl + (package + (inherit libevent) + (name "libevent-with-openssl") + (inputs + `(("openssl" ,openssl) + ,@(package-inputs libevent))) + (arguments + ;; This skips some of the tests which fail on armhf and aarch64. + '(#:configure-flags '("--disable-libevent-regress"))))) + (define-public libev (package (name "libev") From patchwork Thu Oct 13 15:43:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 43379 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E01A927BBEA; Thu, 13 Oct 2022 16:44:33 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 483A327BBE9 for ; Thu, 13 Oct 2022 16:44:33 +0100 (BST) Received: from localhost ([::1]:49838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oj0Ns-0003Md-AO for patchwork@mira.cbaines.net; Thu, 13 Oct 2022 11:44:32 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches * 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)))