Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2018 14:29:11 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467826 - in head/net: . py-libfte
Message-ID:  <201804201429.w3KETBYu055754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Fri Apr 20 14:29:11 2018
New Revision: 467826
URL: https://svnweb.freebsd.org/changeset/ports/467826

Log:
  Add py-libfte 0.1.0, format-Transforming Encryption Library/Toolkit.
  
  PR:		227421
  Submitted by:	egypcio@googlemail.com
  Differential Revision:	https://reviews.freebsd.org/D15028

Added:
  head/net/py-libfte/
  head/net/py-libfte/Makefile   (contents, props changed)
  head/net/py-libfte/distinfo   (contents, props changed)
  head/net/py-libfte/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Fri Apr 20 14:21:25 2018	(r467825)
+++ head/net/Makefile	Fri Apr 20 14:29:11 2018	(r467826)
@@ -1051,6 +1051,7 @@
     SUBDIR += py-ldaptor
     SUBDIR += py-libcloud
     SUBDIR += py-libdnet
+    SUBDIR += py-libfte
     SUBDIR += py-libnet
     SUBDIR += py-libstorj
     SUBDIR += py-magic-wormhole

Added: head/net/py-libfte/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libfte/Makefile	Fri Apr 20 14:29:11 2018	(r467826)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	libfte
+DISTVERSION=	0.1.0
+CATEGORIES=	net security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	egypcio@googlemail.com
+COMMENT=	Format-Transforming Encryption Library/Toolkit
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	regex2dfa:textproc/regex2dfa \
+		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto@${FLAVOR}
+LIB_DEPENDS=	libgmp.so:math/gmp
+
+USES=		localbase python:2.7
+USE_PYTHON=	autoplist distutils
+USE_GITHUB=	yes
+GH_ACCOUNT=	kpdyer
+
+# setup.cfg enables inplace, copying extension to final place and breaking
+# autoplist
+post-extract:
+	${RM} ${WRKSRC}/setup.cfg
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fte/cDFA.so
+
+.include <bsd.port.mk>

Added: head/net/py-libfte/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libfte/distinfo	Fri Apr 20 14:29:11 2018	(r467826)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521120861
+SHA256 (kpdyer-libfte-0.1.0_GH0.tar.gz) = 167e5efbe79a344305759fcea7edea98f35085485d042e2e546ed71ce19a9ed5
+SIZE (kpdyer-libfte-0.1.0_GH0.tar.gz) = 31171

Added: head/net/py-libfte/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libfte/pkg-descr	Fri Apr 20 14:29:11 2018	(r467826)
@@ -0,0 +1,11 @@
+LibFTE is the first general-purpose library that introduces a unifying framework
+for general-purpose development and deployment of FPE or FTE schemes using 
+formats specified by regular expressions. LibFTE also overcomes some technical 
+limitations of the prior FTE software.
+
+Previously, ranking was performed using the Deterministic Finite Automata (DFA)
+representation of regular expressions, which means that format-abiding 
+encryption was feasible only for regular expressions for which the DFA 
+representation could be built.
+
+WWW: https://libfte.org/



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