New port: security/picosha2: C++ header-only SHA256 hash generator
This commit is contained in:
parent
2a0731944a
commit
246d03cb9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502846
@ -802,6 +802,7 @@
|
||||
SUBDIR += php73-openssl
|
||||
SUBDIR += php73-sodium
|
||||
SUBDIR += phpsecinfo
|
||||
SUBDIR += picosha2
|
||||
SUBDIR += pidentd
|
||||
SUBDIR += pidgin-encryption
|
||||
SUBDIR += pidgin-otr
|
||||
|
33
security/picosha2/Makefile
Normal file
33
security/picosha2/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= picosha2
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.0-23
|
||||
DISTVERSIONSUFFIX= -gb699e6c
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= yuri@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>
|
3
security/picosha2/distinfo
Normal file
3
security/picosha2/distinfo
Normal file
@ -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
|
7
security/picosha2/pkg-descr
Normal file
7
security/picosha2/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user