Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2019 05:01:37 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503348 - in head/games: . libtmcg
Message-ID:  <201906030501.x5351b9Y042062@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906030501.x5351b9Y042062>