pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/ocaml-cryptokit Updated package to latest ver...
details: https://anonhg.NetBSD.org/pkgsrc/rev/33c5f8801c60
branches: trunk
changeset: 365197:33c5f8801c60
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Tue Jul 11 12:34:22 2017 +0000
description:
Updated package to latest version, 1.11 (plus distribution change). Changes
include:
Release 1.11:
- Adapt to "safe string" mode (OCaml 4.02 and later required).
The API should remain backward-compatible for clients compiled
in "unsafe string" mode.
- Update SHA-3 to the official NIST standard (different padding than
in the Keccak submission). (Closes: #1528)
- Fixed bounds checking in "add_substring" methods of hash functions
and other functions that operate on a substring of a string.
(Closes: #1480)
- Use hardware implementation of AES when available on x86 processors.
(Faster than the software implementation and less sensitive to
side channel attacks.)
- Use the Zarith library to implement RSA.
(Faster than the previous implementation and less sensitive to
side channel attacks.)
- Support the hardware random number generator present in recent
x86 processors.
- Rebuilt generated files with Oasis 0.4.6 for OCaml 4.03 compatibility.
diffstat:
security/ocaml-cryptokit/Makefile | 13 ++++++++-----
security/ocaml-cryptokit/PLIST | 31 ++++++++++++++++++++-----------
security/ocaml-cryptokit/buildlink3.mk | 5 +++--
security/ocaml-cryptokit/distinfo | 10 +++++-----
4 files changed, 36 insertions(+), 23 deletions(-)
diffs (102 lines):
diff -r 2e7c1eec626a -r 33c5f8801c60 security/ocaml-cryptokit/Makefile
--- a/security/ocaml-cryptokit/Makefile Tue Jul 11 12:31:49 2017 +0000
+++ b/security/ocaml-cryptokit/Makefile Tue Jul 11 12:34:22 2017 +0000
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.15 2016/12/30 11:16:57 jaapb Exp $
+# $NetBSD: Makefile,v 1.16 2017/07/11 12:34:22 jaapb Exp $
#
-DISTNAME= cryptokit-1.10
+VERSION= 1.11
+GITHUB_PROJECT= cryptokit
+GITHUB_TAG= release${VERSION:S/.//}
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
-PKGREVISION= 3
CATEGORIES= security
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1493/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=xavierleroy/}
MAINTAINER= jaapb%NetBSD.org@localhost
-HOMEPAGE= http://forge.ocamlcore.org/projects/cryptokit/
+HOMEPAGE= http://github.com/xavierleroy/cryptokit
COMMENT= Cryptographic primitives library for Objective Caml
LICENSE= gnu-lgpl-v2 # with static compilation exception
@@ -19,4 +21,5 @@
USE_TOOLS+= gmake
.include "../../devel/zlib/buildlink3.mk"
+.include "../../math/ocaml-zarith/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2e7c1eec626a -r 33c5f8801c60 security/ocaml-cryptokit/PLIST
--- a/security/ocaml-cryptokit/PLIST Tue Jul 11 12:31:49 2017 +0000
+++ b/security/ocaml-cryptokit/PLIST Tue Jul 11 12:34:22 2017 +0000
@@ -1,11 +1,20 @@
-@comment $NetBSD: PLIST,v 1.4 2016/06/25 14:31:35 jaapb Exp $
-lib/ocaml/site-lib/cryptokit/META
-lib/ocaml/site-lib/cryptokit/dllcryptokit_stubs.so
-lib/ocaml/site-lib/cryptokit/libcryptokit_stubs.a
-${PLIST.ocaml-opt}lib/ocaml/site-lib/cryptokit/cryptokit.a
-lib/ocaml/site-lib/cryptokit/cryptokit.cma
-lib/ocaml/site-lib/cryptokit/cryptokit.cmi
-${PLIST.ocaml-opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmx
-${PLIST.ocaml-opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmxa
-${PLIST.ocaml-opt}lib/ocaml/site-lib/cryptokit/cryptokit.cmxs
-lib/ocaml/site-lib/cryptokit/cryptokit.mli
+@comment $NetBSD: PLIST,v 1.5 2017/07/11 12:34:22 jaapb Exp $
+${OCAML_SITELIB}/cryptokit/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/cryptokit.a
+${OCAML_SITELIB}/cryptokit/cryptokit.annot
+${OCAML_SITELIB}/cryptokit/cryptokit.cma
+${OCAML_SITELIB}/cryptokit/cryptokit.cmi
+${OCAML_SITELIB}/cryptokit/cryptokit.cmt
+${OCAML_SITELIB}/cryptokit/cryptokit.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/cryptokit.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/cryptokit.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/cryptokit.cmxs
+${OCAML_SITELIB}/cryptokit/cryptokit.mli
+${OCAML_SITELIB}/cryptokit/cryptokitBignum.annot
+${OCAML_SITELIB}/cryptokit/cryptokitBignum.cmi
+${OCAML_SITELIB}/cryptokit/cryptokitBignum.cmt
+${OCAML_SITELIB}/cryptokit/cryptokitBignum.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/cryptokitBignum.cmx
+${OCAML_SITELIB}/cryptokit/cryptokitBignum.mli
+${OCAML_SITELIB}/cryptokit/dllcryptokit_stubs.so
+${PLIST.ocaml-opt}${OCAML_SITELIB}/cryptokit/libcryptokit_stubs.a
diff -r 2e7c1eec626a -r 33c5f8801c60 security/ocaml-cryptokit/buildlink3.mk
--- a/security/ocaml-cryptokit/buildlink3.mk Tue Jul 11 12:31:49 2017 +0000
+++ b/security/ocaml-cryptokit/buildlink3.mk Tue Jul 11 12:34:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2016/12/30 11:16:57 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2017/07/11 12:34:22 jaapb Exp $
BUILDLINK_TREE+= ocaml-cryptokit
@@ -6,9 +6,10 @@
OCAML_CRYPTOKIT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-cryptokit+= ocaml-cryptokit>=1.5
-BUILDLINK_ABI_DEPENDS.ocaml-cryptokit?= ocaml-cryptokit>=1.10nb3
+BUILDLINK_ABI_DEPENDS.ocaml-cryptokit?= ocaml-cryptokit>=1.11
BUILDLINK_PKGSRCDIR.ocaml-cryptokit?= ../../security/ocaml-cryptokit
+.include "../../math/ocaml-zarith/buildlink3.mk"
.include "../../lang/ocaml/buildlink3.mk"
.endif # OCAML_CRYPTOKIT_BUILDLINK3_MK
diff -r 2e7c1eec626a -r 33c5f8801c60 security/ocaml-cryptokit/distinfo
--- a/security/ocaml-cryptokit/distinfo Tue Jul 11 12:31:49 2017 +0000
+++ b/security/ocaml-cryptokit/distinfo Tue Jul 11 12:34:22 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2016/05/06 14:14:28 jaapb Exp $
+$NetBSD: distinfo,v 1.6 2017/07/11 12:34:22 jaapb Exp $
-SHA1 (cryptokit-1.10.tar.gz) = 73d9c450fd9f3c38089381673fdda6c8b46740b6
-RMD160 (cryptokit-1.10.tar.gz) = 2d49ef1fd230bac8d27a075166693ff70e73b613
-SHA512 (cryptokit-1.10.tar.gz) = 22564e0151c492963d75fb81780b3a884a0bf613ad09380d9b5365740fd9c4bbdaa1c21fed50a1a4934dce920d90f5c86dc014f90e52677544789311f7bded4f
-Size (cryptokit-1.10.tar.gz) = 152525 bytes
+SHA1 (cryptokit-1.11.tar.gz) = 5f709dcbb5086b724bd96e2ca5339dd56233d683
+RMD160 (cryptokit-1.11.tar.gz) = da1edb465d7addbb2d3a620c56b82432e4f87ba4
+SHA512 (cryptokit-1.11.tar.gz) = b6e399333497bac8ec41003da7f148f8f362f63ab1013356d55e8967284b4d50e5c3e397e65658227f5a41ca93d8b1aee8861a2dda759bafcdfb3efa0c73c2fc
+Size (cryptokit-1.11.tar.gz) = 150687 bytes
Home |
Main Index |
Thread Index |
Old Index