svn commit: r378199 - in head/security: . hpenc
Vsevolod Stakhov
vsevolod at FreeBSD.org
Sat Jan 31 10:25:38 UTC 2015
Author: vsevolod
Date: Sat Jan 31 10:25:36 2015
New Revision: 378199
URL: https://svnweb.freebsd.org/changeset/ports/378199
QAT: https://qat.redports.org/buildarchive/r378199/
Log:
Add hpenc utility port.
https://github.com/vstakhov/hpenc
Added:
head/security/hpenc/
head/security/hpenc/Makefile (contents, props changed)
head/security/hpenc/distinfo (contents, props changed)
head/security/hpenc/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Sat Jan 31 10:02:41 2015 (r378198)
+++ head/security/Makefile Sat Jan 31 10:25:36 2015 (r378199)
@@ -177,6 +177,7 @@
SUBDIR += hmap
SUBDIR += honggfuzz
SUBDIR += hotssh
+ SUBDIR += hpenc
SUBDIR += hs-Crypto
SUBDIR += hs-DRBG
SUBDIR += hs-HsOpenSSL
Added: head/security/hpenc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/hpenc/Makefile Sat Jan 31 10:25:36 2015 (r378199)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= hpenc
+PORTVERSION= 1.0
+CATEGORIES= security
+MASTER_SITES= http://highsecure.ru/distfiles/
+
+MAINTAINER= vsevolod at FreeBSD.org
+COMMENT= Fast authenticated encryption CLI tool
+
+LICENSE= BSD2CLAUSE
+
+USES= tar:xz compiler:c++11-lib gmake
+USE_OPENSSL= yes
+PLIST_FILES= bin/hpenc
+
+MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}"
+CXXFLAGS+= -std=c++11 \
+ -I${WRKSRC}/chacha-opt/app/include \
+ -I${WRKSRC}/poly1305-opt/app/include
+LDFLAGS+= -pthread -lcrypto
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hpenc
+
+.include <bsd.port.mk>
Added: head/security/hpenc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/hpenc/distinfo Sat Jan 31 10:25:36 2015 (r378199)
@@ -0,0 +1,2 @@
+SHA256 (hpenc-1.0.tar.xz) = 81a87c05b693285c26585053d34c49cda158f2f07f64b71202bf48ef48a5ea4d
+SIZE (hpenc-1.0.tar.xz) = 612044
Added: head/security/hpenc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/hpenc/pkg-descr Sat Jan 31 10:25:36 2015 (r378199)
@@ -0,0 +1,19 @@
+Hpenc is a fast encryption command line tool with the following features:
+
+* Authenticated encryption - your data cannot be forged or corrupted without
+detection.
+* Parallel processing - hpenc uses block IO and you can process multiple blocks
+simultaneously, which is extremely useful if you have multi-core environment.
+* Strong ciphers - hpenc uses the state-of-art aes-gcm and chacha20 ciphers
+* Easy interface
+* Hardware acceleration - hpenc can utilize all its
+advanced cryptography functions defined for AES-NI and PCLMULQDQ instructions
+(that must be supported by openssl). For those with old or embedded CPU (such
+as ARM), hpenc provides portable and fast chacha20 cipher.
+* Simple key management
+* Secure random numbers generator - hpenc can work as pseudo-random numbers
+generator. In a set of standard tests (diehard) on the generated sequences
+hpenc generates secure sequences of pseudo-random numbers on a very high
+speed (gigabytes per second).
+
+WWW: https://github.com/vstakhov/hpenc/
More information about the svn-ports-all
mailing list