From owner-svn-ports-head@freebsd.org Mon Jun 3 05:01:38 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 945E315C8BB0; Mon, 3 Jun 2019 05:01:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C6028E1AC; Mon, 3 Jun 2019 05:01:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A420163A; Mon, 3 Jun 2019 05:01:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5351b9f042067; Mon, 3 Jun 2019 05:01:37 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5351b9Y042062; Mon, 3 Jun 2019 05:01:37 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201906030501.x5351b9Y042062@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 3 Jun 2019 05:01:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503348 - in head/games: . libtmcg X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/games: . libtmcg X-SVN-Commit-Revision: 503348 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2C6028E1AC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2019 05:01:38 -0000 Author: yuri Date: Mon Jun 3 05:01:36 2019 New Revision: 503348 URL: https://svnweb.freebsd.org/changeset/ports/503348 Log: New port: games/libtmcg: C++ library for creating secure and fair online card games Added: head/games/libtmcg/ head/games/libtmcg/Makefile (contents, props changed) head/games/libtmcg/distinfo (contents, props changed) head/games/libtmcg/pkg-descr (contents, props changed) head/games/libtmcg/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Jun 3 04:38:52 2019 (r503347) +++ head/games/Makefile Mon Jun 3 05:01:36 2019 (r503348) @@ -513,6 +513,7 @@ SUBDIR += libmaitretarot SUBDIR += libmt_client SUBDIR += libshhcards + SUBDIR += libtmcg SUBDIR += lightsoff SUBDIR += lightyears SUBDIR += lincity Added: head/games/libtmcg/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libtmcg/Makefile Mon Jun 3 05:01:36 2019 (r503348) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= libtmcg +DISTVERSION= 1.3.18 +CATEGORIES= games security +MASTER_SITES= SAVANNAH +DISTNAME= libTMCG-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library for creating secure and fair online card games + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ + libgmp.so:math/gmp + +USES= gmake libtool localbase:ldflags +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-static +INSTALL_TARGET= install-strip + +INFO= libTMCG + +.include Added: head/games/libtmcg/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libtmcg/distinfo Mon Jun 3 05:01:36 2019 (r503348) @@ -0,0 +1,3 @@ +TIMESTAMP = 1559536683 +SHA256 (libTMCG-1.3.18.tar.gz) = dddb3ad01ef4056dfe74697e9df80466458cba99dc3124f58349e33aba2c2b9d +SIZE (libTMCG-1.3.18.tar.gz) = 1175591 Added: head/games/libtmcg/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libtmcg/pkg-descr Mon Jun 3 05:01:36 2019 (r503348) @@ -0,0 +1,19 @@ +LibTMCG is a C++ library for creating secure and fair online card games. 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. Thus, with +the present library there is no need for an independent referee, because the +applied protocols provide a basic level of confidentiality and fairness by +itself. Consequently, the library is well-suited for peer-to-peer (P2P) +environments where no TTP is available. Of course, we cannot avoid that +malicious players share information about their private cards, but the protocols +ensure that the shuffle of the deck is performed randomly (presumed that at +least one player is honest) and thus the cards will be distributed uniformly +among the players. Further, no coalition can learn the private cards of a player +against his will (except for trivial conclusions). 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. + +WWW: https://www.nongnu.org/libtmcg/ Added: head/games/libtmcg/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/libtmcg/pkg-plist Mon Jun 3 05:01:36 2019 (r503348) @@ -0,0 +1,40 @@ +bin/libTMCG-config +include/BarnettSmartVTMF_dlog.hh +include/BarnettSmartVTMF_dlog_GroupQR.hh +include/CachinKursawePetzoldShoupSEABP.hh +include/CallasDonnerhackeFinneyShawThayerRFC4880.hh +include/CanettiGennaroJareckiKrawczykRabinASTC.hh +include/GennaroJareckiKrawczykRabinDKG.hh +include/GolleDCPG_elgamal.hh +include/GrothVSSHE.hh +include/HooghSchoenmakersSkoricVillegasVRHE.hh +include/JareckiLysyanskayaASTC.hh +include/NaorPinkasEOTP.hh +include/PedersenCOM.hh +include/PedersenVSS.hh +include/SchindelhauerTMCG.hh +include/TMCG_Card.hh +include/TMCG_CardSecret.hh +include/TMCG_OpenStack.hh +include/TMCG_PublicKey.hh +include/TMCG_PublicKeyRing.hh +include/TMCG_SecretKey.hh +include/TMCG_Stack.hh +include/TMCG_StackSecret.hh +include/VTMF_Card.hh +include/VTMF_CardSecret.hh +include/aiounicast.hh +include/aiounicast_nonblock.hh +include/aiounicast_select.hh +include/libTMCG.hh +include/mpz_helper.hh +include/mpz_shash.hh +include/mpz_spowm.hh +include/mpz_sprime.hh +include/mpz_sqrtm.hh +include/mpz_srandom.hh +include/parse_helper.hh +lib/libTMCG.so +lib/libTMCG.so.18 +lib/libTMCG.so.18.0.0 +share/aclocal/libTMCG.m4