pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/ocaml-cryptokit



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jul 11 12:34:22 UTC 2017

Modified Files:
        pkgsrc/security/ocaml-cryptokit: Makefile PLIST buildlink3.mk distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/security/ocaml-cryptokit/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/ocaml-cryptokit/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/ocaml-cryptokit/buildlink3.mk
cvs rdiff -u -r1.5 -r1.6 pkgsrc/security/ocaml-cryptokit/distinfo

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

Modified files:

Index: pkgsrc/security/ocaml-cryptokit/Makefile
diff -u pkgsrc/security/ocaml-cryptokit/Makefile:1.15 pkgsrc/security/ocaml-cryptokit/Makefile:1.16
--- pkgsrc/security/ocaml-cryptokit/Makefile:1.15       Fri Dec 30 11:16:57 2016
+++ pkgsrc/security/ocaml-cryptokit/Makefile    Tue Jul 11 12:34:22 2017
@@ -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 @@ OCAML_USE_OASIS=      yes
 USE_TOOLS+=    gmake
 
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../math/ocaml-zarith/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/ocaml-cryptokit/PLIST
diff -u pkgsrc/security/ocaml-cryptokit/PLIST:1.4 pkgsrc/security/ocaml-cryptokit/PLIST:1.5
--- pkgsrc/security/ocaml-cryptokit/PLIST:1.4   Sat Jun 25 14:31:35 2016
+++ pkgsrc/security/ocaml-cryptokit/PLIST       Tue Jul 11 12:34:22 2017
@@ -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

Index: pkgsrc/security/ocaml-cryptokit/buildlink3.mk
diff -u pkgsrc/security/ocaml-cryptokit/buildlink3.mk:1.9 pkgsrc/security/ocaml-cryptokit/buildlink3.mk:1.10
--- pkgsrc/security/ocaml-cryptokit/buildlink3.mk:1.9   Fri Dec 30 11:16:57 2016
+++ pkgsrc/security/ocaml-cryptokit/buildlink3.mk       Tue Jul 11 12:34:22 2017
@@ -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 @@ BUILDLINK_TREE+=       ocaml-cryptokit
 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
 

Index: pkgsrc/security/ocaml-cryptokit/distinfo
diff -u pkgsrc/security/ocaml-cryptokit/distinfo:1.5 pkgsrc/security/ocaml-cryptokit/distinfo:1.6
--- pkgsrc/security/ocaml-cryptokit/distinfo:1.5        Fri May  6 14:14:28 2016
+++ pkgsrc/security/ocaml-cryptokit/distinfo    Tue Jul 11 12:34:22 2017
@@ -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