pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add ocaml-sha 1.12



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Sat Nov 2 17:07:16 2019 +0200
Changeset:	ea65d2e18d1839e185c79267888a65b50f73d075

Added Files:
	ocaml-sha/DESCR
	ocaml-sha/Makefile
	ocaml-sha/PLIST
	ocaml-sha/buildlink3.mk
	ocaml-sha/distinfo

Log Message:
Add ocaml-sha 1.12

OCaml bindings for SHA interface code in OCaml. Offering the same
interface than the MD5 digest included in ocaml standard library.
It currently provides SHA1, SHA256 and SHA512 hash functions.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ea65d2e18d1839e185c79267888a65b50f73d075

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ocaml-sha/DESCR         |  3 +++
 ocaml-sha/Makefile      | 18 ++++++++++++++++++
 ocaml-sha/PLIST         | 31 +++++++++++++++++++++++++++++++
 ocaml-sha/buildlink3.mk | 12 ++++++++++++
 ocaml-sha/distinfo      |  6 ++++++
 5 files changed, 70 insertions(+)

diffs:
diff --git a/ocaml-sha/DESCR b/ocaml-sha/DESCR
new file mode 100644
index 0000000000..a69c95849e
--- /dev/null
+++ b/ocaml-sha/DESCR
@@ -0,0 +1,3 @@
+OCaml bindings for SHA interface code in OCaml. Offering the same
+interface than the MD5 digest included in ocaml standard library.
+It currently provides SHA1, SHA256 and SHA512 hash functions.
diff --git a/ocaml-sha/Makefile b/ocaml-sha/Makefile
new file mode 100644
index 0000000000..1fcead7067
--- /dev/null
+++ b/ocaml-sha/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.20 2019/08/27 19:56:03 schmonz Exp $
+
+GITHUB_PROJECT=	ocaml-sha
+DISTNAME=	sha-1.12
+PKGNAME=	ocaml-${DISTNAME}
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=djs55/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/ocaml-community/sedlex
+COMMENT=	Ocaml SHA 1 and 2 family implementation
+LICENSE=	isc
+
+OCAML_USE_DUNE=	yes
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ocaml-sha/PLIST b/ocaml-sha/PLIST
new file mode 100644
index 0000000000..b96a868963
--- /dev/null
+++ b/ocaml-sha/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD$
+${OCAML_SITELIB}/sha/META
+${OCAML_SITELIB}/sha/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/libsha_stubs.a
+${OCAML_SITELIB}/sha/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha.a
+${OCAML_SITELIB}/sha/sha.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha.cmxs
+${OCAML_SITELIB}/sha/sha1.cmi
+${OCAML_SITELIB}/sha/sha1.cmt
+${OCAML_SITELIB}/sha/sha1.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha1.cmx
+${OCAML_SITELIB}/sha/sha1.ml
+${OCAML_SITELIB}/sha/sha1.mli
+${OCAML_SITELIB}/sha/sha256.cmi
+${OCAML_SITELIB}/sha/sha256.cmt
+${OCAML_SITELIB}/sha/sha256.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha256.cmx
+${OCAML_SITELIB}/sha/sha256.ml
+${OCAML_SITELIB}/sha/sha256.mli
+${OCAML_SITELIB}/sha/sha512.cmi
+${OCAML_SITELIB}/sha/sha512.cmt
+${OCAML_SITELIB}/sha/sha512.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sha/sha512.cmx
+${OCAML_SITELIB}/sha/sha512.ml
+${OCAML_SITELIB}/sha/sha512.mli
+${OCAML_SITELIB}/stublibs/dllsha_stubs.so
+share/doc/sha/CHANGES.md
+share/doc/sha/LICENSE.md
+share/doc/sha/README
diff --git a/ocaml-sha/buildlink3.mk b/ocaml-sha/buildlink3.mk
new file mode 100644
index 0000000000..fde9be9151
--- /dev/null
+++ b/ocaml-sha/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	ocaml-sha
+
+.if !defined(OCAML_SHA_BUILDLINK3_MK)
+OCAML_SHA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-sha+=	ocaml-sha>=1.12
+BUILDLINK_PKGSRCDIR.ocaml-sha?=		../../wip/ocaml-sha
+.endif	# OCAML_SHA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-ocaml-sha
diff --git a/ocaml-sha/distinfo b/ocaml-sha/distinfo
new file mode 100644
index 0000000000..5395e22d6c
--- /dev/null
+++ b/ocaml-sha/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.8 2019/05/15 09:01:03 jaapb Exp $
+
+SHA1 (sha-1.12.tar.gz) = d8c6e9bd83fecb26f46377761791bd7b20527eb3
+RMD160 (sha-1.12.tar.gz) = d8405f2398d2410765448980040e1e6175af1727
+SHA512 (sha-1.12.tar.gz) = e6cdbc66202281a72ccc3592d6efba0448fe28dba7a23f8079d3a3cee12c03d01338191da88e4e4834f5ee19321ffed1c950e7a5babc73479221d8da3fe372d3
+Size (sha-1.12.tar.gz) = 13575 bytes


Home | Main Index | Thread Index | Old Index