1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Objecthash provides a way to cryptographically hash objects (in the

JSON-ish sense) that works cross-language and therefore cross-encoding.

WWW: https://github.com/benlaurie/objecthash

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2016-02-28 09:40:42 +00:00
parent 78b97f0b61
commit bfc64ba9b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409732
4 changed files with 38 additions and 0 deletions

View File

@ -1538,6 +1538,7 @@
SUBDIR += nxt-python
SUBDIR += obby
SUBDIR += obfuscatejs
SUBDIR += objecthash
SUBDIR += ocaml-annexlib
SUBDIR += ocaml-calendar
SUBDIR += ocaml-camljava

31
devel/objecthash/Makefile Normal file
View File

@ -0,0 +1,31 @@
# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
# $FreeBSD$
PORTNAME= objecthash
PORTVERSION= 20160121
CATEGORIES= devel
MAINTAINER= trasz@FreeBSD.org
COMMENT= Cross-language way to cryptographically hash JSON objects
LICENSE= APACHE20
LIB_DEPENDS= libicudata.so:${PORTSDIR}/devel/icu \
libjson-c.so:${PORTSDIR}/devel/json-c
USES= pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= benlaurie
GH_PROJECT= objecthash
GH_TAGNAME= 2024cf8
ALL_TARGET= libobjecthash.so
PLIST_FILES= include/objecthash.h lib/libobjecthash.so
do-install:
${INSTALL_LIB} ${WRKSRC}/libobjecthash.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/objecthash.h ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (benlaurie-objecthash-20160121-2024cf8_GH0.tar.gz) = 036c5bb3e3d053d0297607618b7bf0c115efe43de09eb42adc207c399d203045
SIZE (benlaurie-objecthash-20160121-2024cf8_GH0.tar.gz) = 19034

View File

@ -0,0 +1,4 @@
Objecthash provides a way to cryptographically hash objects (in the
JSON-ish sense) that works cross-language and therefore cross-encoding.
WWW: https://github.com/benlaurie/objecthash