pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/hs-cryptohash-sha256 Update to cryptohash-sha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5bc1cede2a36
branches:  trunk
changeset: 451114:5bc1cede2a36
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Apr 24 13:25:14 2021 +0000

description:
Update to cryptohash-sha-256-0.11.102.0

* Add Eq instance for Ctx
* Add start and startlazy producing Ctx
* Introduce new use-cbits cabal flag in order to add support for
  FFI-less cryptohash-sha256-pure pass-thru

diffstat:

 security/hs-cryptohash-sha256/Makefile                              |   5 +-
 security/hs-cryptohash-sha256/PLIST                                 |  45 +++++----
 security/hs-cryptohash-sha256/buildlink3.mk                         |   6 +-
 security/hs-cryptohash-sha256/distinfo                              |  12 +-
 security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal |  20 ++--
 5 files changed, 45 insertions(+), 43 deletions(-)

diffs (133 lines):

diff -r 5f156d72bf60 -r 5bc1cede2a36 security/hs-cryptohash-sha256/Makefile
--- a/security/hs-cryptohash-sha256/Makefile    Sat Apr 24 13:21:53 2021 +0000
+++ b/security/hs-cryptohash-sha256/Makefile    Sat Apr 24 13:25:14 2021 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2021/02/18 15:07:27 mef Exp $
+# $NetBSD: Makefile,v 1.4 2021/04/24 13:25:14 pho Exp $
 
-DISTNAME=      cryptohash-sha256-0.11.101.0
+DISTNAME=      cryptohash-sha256-0.11.102.0
 CATEGORIES=    security
 
 MAINTAINER=    pho%cielonegro.org@localhost
 COMMENT=       Fast, pure and practical SHA-256 implementation
 LICENSE=       modified-bsd
 
-BUILDLINK_API_DEPENDS.ghc+=    ghc<8.10
 .include "../../mk/haskell.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5f156d72bf60 -r 5bc1cede2a36 security/hs-cryptohash-sha256/PLIST
--- a/security/hs-cryptohash-sha256/PLIST       Sat Apr 24 13:21:53 2021 +0000
+++ b/security/hs-cryptohash-sha256/PLIST       Sat Apr 24 13:25:14 2021 +0000
@@ -1,22 +1,25 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:12 rillig Exp $
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Crypto/Hash/SHA256.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA256.hi
-${HS_IMPL}/Crypto/Hash/SHA256.p_hi
-${HS_IMPL}/Crypto/Hash/SHA256/FFI.dyn_hi
-${HS_IMPL}/Crypto/Hash/SHA256/FFI.hi
-${HS_IMPL}/Crypto/Hash/SHA256/FFI.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+@comment $NetBSD: PLIST,v 1.2 2021/04/24 13:25:14 pho Exp $
+lib/cryptohash-sha256-${PKGVERSION}/${HS_VERSION}/package-description
+lib/cryptohash-sha256-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Compat.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256/FFI.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256/FFI.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256/FFI.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/Crypto-Hash-SHA256.html
-${HS_DOCS}/html/cryptohash-sha256.haddock
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/Crypto-Hash-SHA256.html
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/cryptohash-sha256.haddock
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/synopsis.png
diff -r 5f156d72bf60 -r 5bc1cede2a36 security/hs-cryptohash-sha256/buildlink3.mk
--- a/security/hs-cryptohash-sha256/buildlink3.mk       Sat Apr 24 13:21:53 2021 +0000
+++ b/security/hs-cryptohash-sha256/buildlink3.mk       Sat Apr 24 13:25:14 2021 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 15:25:43 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/24 13:25:14 pho Exp $
 
 BUILDLINK_TREE+=       hs-cryptohash-sha256
 
 .if !defined(HS_CRYPTOHASH_SHA256_BUILDLINK3_MK)
 HS_CRYPTOHASH_SHA256_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-cryptohash-sha256+=   hs-cryptohash-sha256>=0.11.101
-BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha256+=   hs-cryptohash-sha256>=0.11.101.0
+BUILDLINK_API_DEPENDS.hs-cryptohash-sha256+=   hs-cryptohash-sha256>=0.11.102
+BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha256+=   hs-cryptohash-sha256>=0.11.102.0
 BUILDLINK_PKGSRCDIR.hs-cryptohash-sha256?=     ../../security/hs-cryptohash-sha256
 .endif # HS_CRYPTOHASH_SHA256_BUILDLINK3_MK
 
diff -r 5f156d72bf60 -r 5bc1cede2a36 security/hs-cryptohash-sha256/distinfo
--- a/security/hs-cryptohash-sha256/distinfo    Sat Apr 24 13:21:53 2021 +0000
+++ b/security/hs-cryptohash-sha256/distinfo    Sat Apr 24 13:25:14 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/01/18 15:25:43 pho Exp $
+$NetBSD: distinfo,v 1.2 2021/04/24 13:25:14 pho Exp $
 
-SHA1 (cryptohash-sha256-0.11.101.0.tar.gz) = cdb0ddd3f8e2deaf3a429ddcfa80f706b73f9a8d
-RMD160 (cryptohash-sha256-0.11.101.0.tar.gz) = 6fb799481497515388c4dd176969eecc7c4a7507
-SHA512 (cryptohash-sha256-0.11.101.0.tar.gz) = c755f1354fb5f1d6cfb54f73e39692392517954118d98b39ac4be7460e75a9ddc91ad641fed0f17e5fa33b62b7b0734af66526ea757e00716832572bb383c612
-Size (cryptohash-sha256-0.11.101.0.tar.gz) = 14996 bytes
-SHA1 (patch-cryptohash-sha256.cabal) = d1d85095d09c7109902216054b651bf7d365e9f6
+SHA1 (cryptohash-sha256-0.11.102.0.tar.gz) = 42a472a21b78549e3efede26a57279ea873ddf54
+RMD160 (cryptohash-sha256-0.11.102.0.tar.gz) = 489d781cf4ee1780e30660b0fd23770069656c7f
+SHA512 (cryptohash-sha256-0.11.102.0.tar.gz) = d55663f24c9c24370c85b2cd22a8aceff6c81de5ee278bc85ebef35868310a0df02dedf8247c201d0c086172845def4a910650756ce225385f2e5801ac1019c7
+Size (cryptohash-sha256-0.11.102.0.tar.gz) = 15636 bytes
+SHA1 (patch-cryptohash-sha256.cabal) = 4680b778246e783886d6b974aa4faf6ad839ae5f
diff -r 5f156d72bf60 -r 5bc1cede2a36 security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal
--- a/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal       Sat Apr 24 13:21:53 2021 +0000
+++ b/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal       Sat Apr 24 13:25:14 2021 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-cryptohash-sha256.cabal,v 1.1 2020/01/18 15:25:43 pho Exp $
+$NetBSD: patch-cryptohash-sha256.cabal,v 1.2 2021/04/24 13:25:14 pho Exp $
 
-Fix build with GHC 8.8
+Fix build with GHC 9.
 
---- cryptohash-sha256.cabal.orig       2017-11-13 08:04:55.000000000 +0000
+--- cryptohash-sha256.cabal.orig       2001-09-09 01:46:40.000000000 +0000
 +++ cryptohash-sha256.cabal
-@@ -74,7 +74,7 @@ library
-                      Trustworthy
-                      Unsafe
- 
--  build-depends:     base             >= 4.5   && < 4.11
-+  build-depends:     base             >= 4.5   && < 4.14
-                    , bytestring       >= 0.9.2 && < 0.11
+@@ -81,7 +81,7 @@ library
  
    ghc-options:       -Wall
+ 
+-  build-depends:     base              >= 4.5 && < 4.15
++  build-depends:     base              >= 4.5 && < 5
+ 
+   exposed-modules:   Crypto.Hash.SHA256
+ 



Home | Main Index | Thread Index | Old Index