svn commit: r409732 - in head/devel: . objecthash

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Feb 28 09:40:44 UTC 2016


Author: trasz
Date: Sun Feb 28 09:40:42 2016
New Revision: 409732
URL: https://svnweb.freebsd.org/changeset/ports/409732

Log:
  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

Added:
  head/devel/objecthash/
  head/devel/objecthash/Makefile   (contents, props changed)
  head/devel/objecthash/distinfo   (contents, props changed)
  head/devel/objecthash/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Feb 28 09:32:43 2016	(r409731)
+++ head/devel/Makefile	Sun Feb 28 09:40:42 2016	(r409732)
@@ -1538,6 +1538,7 @@
     SUBDIR += nxt-python
     SUBDIR += obby
     SUBDIR += obfuscatejs
+    SUBDIR += objecthash
     SUBDIR += ocaml-annexlib
     SUBDIR += ocaml-calendar
     SUBDIR += ocaml-camljava

Added: head/devel/objecthash/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objecthash/Makefile	Sun Feb 28 09:40:42 2016	(r409732)
@@ -0,0 +1,31 @@
+# Created by: Edward Tomasz Napierala <trasz at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	objecthash
+PORTVERSION=	20160121
+CATEGORIES=	devel
+
+MAINTAINER=	trasz at 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>

Added: head/devel/objecthash/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objecthash/distinfo	Sun Feb 28 09:40:42 2016	(r409732)
@@ -0,0 +1,2 @@
+SHA256 (benlaurie-objecthash-20160121-2024cf8_GH0.tar.gz) = 036c5bb3e3d053d0297607618b7bf0c115efe43de09eb42adc207c399d203045
+SIZE (benlaurie-objecthash-20160121-2024cf8_GH0.tar.gz) = 19034

Added: head/devel/objecthash/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/objecthash/pkg-descr	Sun Feb 28 09:40:42 2016	(r409732)
@@ -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


More information about the svn-ports-all mailing list