pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/ocaml-safepass Updated security/ocaml-safepas...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b602b6002c67
branches:  trunk
changeset: 386342:b602b6002c67
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Oct 15 11:26:59 2018 +0000

description:
Updated security/ocaml-safepass to version 3.0.

Changes include:
- use jbuilder for building
- allow picking different versions of Bcrypt hashes
- use unbuffered IO to read only required number of bytes from /dev/urandom

diffstat:

 security/ocaml-safepass/Makefile      |   9 +++------
 security/ocaml-safepass/PLIST         |  11 ++++++++---
 security/ocaml-safepass/buildlink3.mk |   4 ++--
 security/ocaml-safepass/distinfo      |  10 +++++-----
 4 files changed, 18 insertions(+), 16 deletions(-)

diffs (85 lines):

diff -r 0c3d41fc2244 -r b602b6002c67 security/ocaml-safepass/Makefile
--- a/security/ocaml-safepass/Makefile  Mon Oct 15 11:25:45 2018 +0000
+++ b/security/ocaml-safepass/Makefile  Mon Oct 15 11:26:59 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2018/07/19 15:15:28 jaapb Exp $
+# $NetBSD: Makefile,v 1.3 2018/10/15 11:26:59 jaapb Exp $
 
 GITHUB_PROJECT=        ocaml-safepass
 GITHUB_TAG=    v${PKGVERSION_NOREV}
-DISTNAME=      ${GITHUB_PROJECT}-2.0
-PKGREVISION=   1
+DISTNAME=      ${GITHUB_PROJECT}-3.0
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=darioteixeira/}
 
@@ -12,9 +11,7 @@
 COMMENT=       Safe storage library for user passwords in web applications
 LICENSE=       gnu-lgpl-v2.1
 
-HAS_CONFIGURE= yes
-OCAML_USE_FINDLIB=     yes
-OCAML_USE_OASIS=       yes
+OCAML_USE_JBUILDER=    yes
 
 .include "../../mk/ocaml.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0c3d41fc2244 -r b602b6002c67 security/ocaml-safepass/PLIST
--- a/security/ocaml-safepass/PLIST     Mon Oct 15 11:25:45 2018 +0000
+++ b/security/ocaml-safepass/PLIST     Mon Oct 15 11:26:59 2018 +0000
@@ -1,14 +1,19 @@
-@comment $NetBSD: PLIST,v 1.1 2018/06/05 15:53:14 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/10/15 11:26:59 jaapb Exp $
 ${OCAML_SITELIB}/safepass/META
-${OCAML_SITELIB}/safepass/bcrypt.annot
 ${OCAML_SITELIB}/safepass/bcrypt.cmi
 ${OCAML_SITELIB}/safepass/bcrypt.cmt
 ${OCAML_SITELIB}/safepass/bcrypt.cmti
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/safepass/bcrypt.cmx
+${OCAML_SITELIB}/safepass/bcrypt.ml
 ${OCAML_SITELIB}/safepass/bcrypt.mli
-${OCAML_SITELIB}/safepass/dllsafepass_stubs.so
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/safepass/libsafepass_stubs.a
+${OCAML_SITELIB}/safepass/opam
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/safepass/safepass.a
 ${OCAML_SITELIB}/safepass/safepass.cma
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/safepass/safepass.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/safepass/safepass.cmxs
+${OCAML_SITELIB}/safepass/safepass.dune
+${OCAML_SITELIB}/stublibs/dllsafepass_stubs.so
+share/doc/safepass/CHANGES.md
+share/doc/safepass/LICENSE
+share/doc/safepass/README.md
diff -r 0c3d41fc2244 -r b602b6002c67 security/ocaml-safepass/buildlink3.mk
--- a/security/ocaml-safepass/buildlink3.mk     Mon Oct 15 11:25:45 2018 +0000
+++ b/security/ocaml-safepass/buildlink3.mk     Mon Oct 15 11:26:59 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2018/07/19 15:15:28 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2018/10/15 11:26:59 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml-safepass
 
@@ -6,7 +6,7 @@
 OCAML_SAFEPASS_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-safepass+= ocaml-safepass>=2.0
-BUILDLINK_ABI_DEPENDS.ocaml-safepass+= ocaml-safepass>=2.0nb1
+BUILDLINK_ABI_DEPENDS.ocaml-safepass+= ocaml-safepass>=3.0
 BUILDLINK_PKGSRCDIR.ocaml-safepass?=   ../../security/ocaml-safepass
 .endif # OCAML_SAFEPASS_BUILDLINK3_MK
 
diff -r 0c3d41fc2244 -r b602b6002c67 security/ocaml-safepass/distinfo
--- a/security/ocaml-safepass/distinfo  Mon Oct 15 11:25:45 2018 +0000
+++ b/security/ocaml-safepass/distinfo  Mon Oct 15 11:26:59 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/06/05 15:53:14 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2018/10/15 11:26:59 jaapb Exp $
 
-SHA1 (ocaml-safepass-2.0.tar.gz) = 7b493833ff160e256188e8c0905aad5e9c2efba0
-RMD160 (ocaml-safepass-2.0.tar.gz) = 8b975a91a1f6e02a5eca243ef02f723fd8e8ed90
-SHA512 (ocaml-safepass-2.0.tar.gz) = a5475b9e1f7233393fc255ae52c44d4f4373fcddf99764bb17dafb86dfbd3b3c5fa01f74254e10fe9a9889e3e5d2ee8d190ed728aad0ed5f0fdfb71856c5754d
-Size (ocaml-safepass-2.0.tar.gz) = 72314 bytes
+SHA1 (ocaml-safepass-3.0.tar.gz) = 04a5eca46b0804db54e656af1f59867d95632dbf
+RMD160 (ocaml-safepass-3.0.tar.gz) = f3dd3f91cfc1dbc6a34222960bb146a77809bd4d
+SHA512 (ocaml-safepass-3.0.tar.gz) = 075e66dd6cd55855e1d54fbbfc332a659928c5afa1dd54be61f338973ba596883184b8fbd68f121e66b0240f1077a91b4017fa79238bce4d7055306eee96ab03
+Size (ocaml-safepass-3.0.tar.gz) = 28460 bytes



Home | Main Index | Thread Index | Old Index