svn commit: r502846 - in head/security: . picosha2
Yuri Victorovich
yuri at FreeBSD.org
Tue May 28 02:49:51 UTC 2019
Author: yuri
Date: Tue May 28 02:49:49 2019
New Revision: 502846
URL: https://svnweb.freebsd.org/changeset/ports/502846
Log:
New port: security/picosha2: C++ header-only SHA256 hash generator
Added:
head/security/picosha2/
head/security/picosha2/Makefile (contents, props changed)
head/security/picosha2/distinfo (contents, props changed)
head/security/picosha2/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Tue May 28 02:35:40 2019 (r502845)
+++ head/security/Makefile Tue May 28 02:49:49 2019 (r502846)
@@ -802,6 +802,7 @@
SUBDIR += php73-openssl
SUBDIR += php73-sodium
SUBDIR += phpsecinfo
+ SUBDIR += picosha2
SUBDIR += pidentd
SUBDIR += pidgin-encryption
SUBDIR += pidgin-otr
Added: head/security/picosha2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/picosha2/Makefile Tue May 28 02:49:49 2019 (r502846)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= picosha2
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0.0-23
+DISTVERSIONSUFFIX= -gb699e6c
+CATEGORIES= security
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= C++ header-only SHA256 hash generator
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= okdshin
+GH_PROJECT= PicoSHA2
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= include/picosha2.h
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/picosha2.h ${STAGEDIR}${PREFIX}/include
+
+do-test:
+ @cd ${WRKSRC}/test && \
+ ${CXX} -o test test.cpp -I.. && \
+ ./test && \
+ ${ECHO} "Tests succeeded"
+
+.include <bsd.port.mk>
Added: head/security/picosha2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/picosha2/distinfo Tue May 28 02:49:49 2019 (r502846)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1559011289
+SHA256 (okdshin-PicoSHA2-v1.0.0-23-gb699e6c_GH0.tar.gz) = 4d5b17c33d3da4663838ec9ba987dc4c1f2fac4ac7d5c4690fae3a968ef95fa2
+SIZE (okdshin-PicoSHA2-v1.0.0-23-gb699e6c_GH0.tar.gz) = 7204
Added: head/security/picosha2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/picosha2/pkg-descr Tue May 28 02:49:49 2019 (r502846)
@@ -0,0 +1,7 @@
+PicoSHA2 is a tiny SHA256 hash generator for C++ with following properties:
+
+* header-file only
+* no external dependencies (only uses standard C++ libraries)
+* STL-friendly
+
+WWW: https://github.com/okdshin/PicoSHA2
More information about the svn-ports-head
mailing list