From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IDgzBiJkFV9NdQAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 09:30:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kP4ZAiJkFV+9LwAAB5/wlQ (envelope-from ) for ; Mon, 20 Jul 2020 09:30:10 +0000 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 9E83C94093C for ; Mon, 20 Jul 2020 09:30:09 +0000 (UTC) Received: from localhost ([::1]:42296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxS7c-0003gL-Fl for larch@yhetil.org; Mon, 20 Jul 2020 05:30:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxS7X-0003dt-0R for guix-patches@gnu.org; Mon, 20 Jul 2020 05:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxS7W-0002uO-Mj for guix-patches@gnu.org; Mon, 20 Jul 2020 05:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxS7W-0002yR-JT for guix-patches@gnu.org; Mon, 20 Jul 2020 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42404] [PATCH 1/2] gnu: Add libtmcg. Resent-From: Justus Winter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Jul 2020 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42404@debbugs.gnu.org Cc: Justus Winter Received: via spool by 42404-submit@debbugs.gnu.org id=B42404.159523735711340 (code B ref 42404); Mon, 20 Jul 2020 09:30:02 +0000 Received: (at 42404) by debbugs.gnu.org; 20 Jul 2020 09:29:17 +0000 Received: from localhost ([127.0.0.1]:33756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxS6i-0002wn-UW for submit@debbugs.gnu.org; Mon, 20 Jul 2020 05:29:16 -0400 Received: from avior.uberspace.de ([185.26.156.32]:44822 ident=q280ShlHllG) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxS6d-0002wM-5k for 42404@debbugs.gnu.org; Mon, 20 Jul 2020 05:29:11 -0400 Received: (qmail 10037 invoked from network); 20 Jul 2020 09:29:05 -0000 Received: from localhost (HELO europa) (127.0.0.1) by avior.uberspace.de with SMTP; 20 Jul 2020 09:29:05 -0000 Received: from teythoon by europa with local (Exim 4.92) (envelope-from ) id 1jxS6Z-0001tK-Kj; Mon, 20 Jul 2020 11:29:03 +0200 From: Justus Winter Date: Mon, 20 Jul 2020 11:28:44 +0200 Message-Id: <20200720092845.7213-1-justus@sequoia-pgp.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87mu3ufty4.fsf@europa.jade-hamburg.de> References: <87mu3ufty4.fsf@europa.jade-hamburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.49 X-TUID: UybTVPCGc9+x * gnu/packages/openpgp.scm: New file. --- gnu/local.mk | 1 + gnu/packages/openpgp.scm | 56 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 gnu/packages/openpgp.scm diff --git a/gnu/local.mk b/gnu/local.mk index f7c6036ee7..f8a8c16124 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -403,6 +403,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/openbox.scm \ %D%/packages/opencog.scm \ %D%/packages/openldap.scm \ + %D%/packages/openpgp.scm \ %D%/packages/openstack.scm \ %D%/packages/orpheus.scm \ %D%/packages/ots.scm \ diff --git a/gnu/packages/openpgp.scm b/gnu/packages/openpgp.scm new file mode 100644 index 0000000000..b806ab78cc --- /dev/null +++ b/gnu/packages/openpgp.scm @@ -0,0 +1,56 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Justus Winter +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages openpgp) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages gnupg) + #:use-module (gnu packages multiprecision)) + +(define-public libtmcg + (package + (name "libtmcg") + (version "1.3.18") + (source (origin + (method url-fetch) + (uri (string-append "mirror://savannah/libtmcg/libTMCG-" version + ".tar.gz")) + (sha256 + (base32 + "179b5jx3mqs9hgsj8cfwk6x8qib60kw9szk9fkz6s1gl3v83mnyx")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--enable-silent-rules"))) + (inputs `(("gmp" ,gmp) + ("libgcrypt" ,libgcrypt))) + (synopsis + "C++ library for creating secure and fair online card games") + (description + "The library provides a sort of useful classes, algorithms, and +high-level protocols to support an application programmer in writing such +software. The most remarkable feature is the absence of a trusted third +party (TTP), i.e. neither a central game server nor trusted hardware +components are necessary. + +The corresponding cryptographic problem, actually called Mental Poker, has +been studied since 1979 (Shamir, Rivest, and Adleman) by many authors (see the +first section of [St05] for a short survey). LibTMCG provides the first +practical implementation of such protocols.") + (home-page "https://www.nongnu.org/libtmcg/") + (license license:gpl2+))) -- 2.20.1