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 4OEHJ758GV9WOQAA0tVLHw (envelope-from ) for ; Thu, 23 Jul 2020 12:04:14 +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 UMDqIr58GV9WGgAAB5/wlQ (envelope-from ) for ; Thu, 23 Jul 2020 12:04:14 +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 9A5DE940669 for ; Thu, 23 Jul 2020 12:04:13 +0000 (UTC) Received: from localhost ([::1]:36988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyZxM-00058i-IB for larch@yhetil.org; Thu, 23 Jul 2020 08:04:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyZxD-00057E-S9 for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyZxD-00073G-J1 for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyZxD-00059C-Fp for guix-patches@gnu.org; Thu, 23 Jul 2020 08:04:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42404] [PATCH 1/5] gnu: Add libtmcg. References: <20200717093609.9507-1-justus@sequoia-pgp.org> In-Reply-To: <20200717093609.9507-1-justus@sequoia-pgp.org> Resent-From: Justus Winter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jul 2020 12:04:03 +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.159550581919727 (code B ref 42404); Thu, 23 Jul 2020 12:04:03 +0000 Received: (at 42404) by debbugs.gnu.org; 23 Jul 2020 12:03:39 +0000 Received: from localhost ([127.0.0.1]:44273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwl-000583-If for submit@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:39 -0400 Received: from avior.uberspace.de ([185.26.156.32]:50366 ident=9hT13iSFBfA) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyZwe-000572-HU for 42404@debbugs.gnu.org; Thu, 23 Jul 2020 08:03:33 -0400 Received: (qmail 10756 invoked from network); 23 Jul 2020 12:03:26 -0000 Received: from localhost (HELO europa) (127.0.0.1) by avior.uberspace.de with SMTP; 23 Jul 2020 12:03:26 -0000 Received: from teythoon by europa with local (Exim 4.92) (envelope-from ) id 1jyZwb-0002C4-DV; Thu, 23 Jul 2020 14:03:25 +0200 From: Justus Winter Date: Thu, 23 Jul 2020 14:03:18 +0200 Message-Id: <20200723120322.8385-1-justus@sequoia-pgp.org> X-Mailer: git-send-email 2.20.1 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: -0.01 X-TUID: ML8IDfECKKAc * gnu/packages/openpgp.scm: New file. --- gnu/local.mk | 1 + gnu/packages/openpgp.scm | 55 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 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..d3cb9027f7 --- /dev/null +++ b/gnu/packages/openpgp.scm @@ -0,0 +1,55 @@ +;;; 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. +LibTMCG provides the first practical implementation of such protocols.") + (home-page "https://www.nongnu.org/libtmcg/") + (license license:gpl2+))) -- 2.20.1