pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-eqaf Added devel/ocaml-eqaf, constant-time...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c638e9fb11be
branches:  trunk
changeset: 331793:c638e9fb11be
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Mar 25 09:30:27 2019 +0000

description:
Added devel/ocaml-eqaf, constant-time string comparison

diffstat:

 devel/ocaml-eqaf/DESCR         |   2 ++
 devel/ocaml-eqaf/Makefile      |  20 ++++++++++++++++++++
 devel/ocaml-eqaf/PLIST         |  17 +++++++++++++++++
 devel/ocaml-eqaf/buildlink3.mk |  13 +++++++++++++
 devel/ocaml-eqaf/distinfo      |   6 ++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r e16de95122fa -r c638e9fb11be devel/ocaml-eqaf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-eqaf/DESCR    Mon Mar 25 09:30:27 2019 +0000
@@ -0,0 +1,2 @@
+This little package provides a constant-time equality function on strings,
+needed to avoid timing attacks.
diff -r e16de95122fa -r c638e9fb11be devel/ocaml-eqaf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-eqaf/Makefile Mon Mar 25 09:30:27 2019 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/03/25 09:30:27 jaapb Exp $
+
+GITHUB_PROJECT=        eqaf
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.2
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mirage/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mirage/eqaf/
+COMMENT=       Constant time equal function to avoid timing attacks
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-fmt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e16de95122fa -r c638e9fb11be devel/ocaml-eqaf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-eqaf/PLIST    Mon Mar 25 09:30:27 2019 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/25 09:30:27 jaapb Exp $
+${OCAML_SITELIB}/eqaf/META
+${OCAML_SITELIB}/eqaf/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/eqaf/eqaf.a
+${OCAML_SITELIB}/eqaf/eqaf.cma
+${OCAML_SITELIB}/eqaf/eqaf.cmi
+${OCAML_SITELIB}/eqaf/eqaf.cmt
+${OCAML_SITELIB}/eqaf/eqaf.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/eqaf/eqaf.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/eqaf/eqaf.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/eqaf/eqaf.cmxs
+${OCAML_SITELIB}/eqaf/eqaf.ml
+${OCAML_SITELIB}/eqaf/eqaf.mli
+${OCAML_SITELIB}/eqaf/opam
+share/doc/eqaf/CHANGES.md
+share/doc/eqaf/LICENSE.md
+share/doc/eqaf/README.md
diff -r e16de95122fa -r c638e9fb11be devel/ocaml-eqaf/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-eqaf/buildlink3.mk    Mon Mar 25 09:30:27 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/25 09:30:27 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-eqaf
+
+.if !defined(OCAML_EQAF_BUILDLINK3_MK)
+OCAML_EQAF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-eqaf+=     ocaml-eqaf>=0.2
+BUILDLINK_PKGSRCDIR.ocaml-eqaf?=       ../../devel/ocaml-eqaf
+
+.endif # OCAML_EQAF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-eqaf
diff -r e16de95122fa -r c638e9fb11be devel/ocaml-eqaf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-eqaf/distinfo Mon Mar 25 09:30:27 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/25 09:30:27 jaapb Exp $
+
+SHA1 (eqaf-0.2.tar.gz) = 23466af0c6c8b420cfeffad27d9fca981d9fac43
+RMD160 (eqaf-0.2.tar.gz) = 4a873e9de826946d55497461f49bae3837e022ad
+SHA512 (eqaf-0.2.tar.gz) = 601e3a75f9aa651916531caec19d1c9e4e15bb4530fc9ded4123dd02a2852b9d7a6f1126823204500e643867ce931b61f8df5fc9ff918468353becf3fbe3fed1
+Size (eqaf-0.2.tar.gz) = 12123 bytes



Home | Main Index | Thread Index | Old Index