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
This commit is contained in:
parent
875c8df363
commit
c210c57f2c
5 changed files with 45 additions and 43 deletions
|
@ -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
|
CATEGORIES= security
|
||||||
|
|
||||||
MAINTAINER= pho@cielonegro.org
|
MAINTAINER= pho@cielonegro.org
|
||||||
COMMENT= Fast, pure and practical SHA-256 implementation
|
COMMENT= Fast, pure and practical SHA-256 implementation
|
||||||
LICENSE= modified-bsd
|
LICENSE= modified-bsd
|
||||||
|
|
||||||
BUILDLINK_API_DEPENDS.ghc+= ghc<8.10
|
|
||||||
.include "../../mk/haskell.mk"
|
.include "../../mk/haskell.mk"
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -1,22 +1,25 @@
|
||||||
@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:12 rillig Exp $
|
@comment $NetBSD: PLIST,v 1.2 2021/04/24 13:25:14 pho Exp $
|
||||||
${HS_INTF}/package-description
|
lib/cryptohash-sha256-${PKGVERSION}/${HS_VERSION}/package-description
|
||||||
${HS_INTF}/package-id
|
lib/cryptohash-sha256-${PKGVERSION}/${HS_VERSION}/package-id
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256.dyn_hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Compat.dyn_hi
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256.hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Compat.hi
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256.p_hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Compat.p_hi
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256/FFI.dyn_hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.dyn_hi
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256/FFI.hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.hi
|
||||||
${HS_IMPL}/Crypto/Hash/SHA256/FFI.p_hi
|
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256.p_hi
|
||||||
${HS_IMPL}/libHS${HS_PKGID}.a
|
lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA256/FFI.dyn_hi
|
||||||
${HS_IMPL}/libHS${HS_PKGID}_p.a
|
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
|
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
|
||||||
${HS_DOCS}/LICENSE
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/LICENSE
|
||||||
${HS_DOCS}/html/Crypto-Hash-SHA256.html
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/Crypto-Hash-SHA256.html
|
||||||
${HS_DOCS}/html/cryptohash-sha256.haddock
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/cryptohash-sha256.haddock
|
||||||
${HS_DOCS}/html/doc-index.html
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/doc-index.html
|
||||||
${HS_DOCS}/html/haddock-bundle.min.js
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/haddock-bundle.min.js
|
||||||
${HS_DOCS}/html/index.html
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/index.html
|
||||||
${HS_DOCS}/html/linuwial.css
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/linuwial.css
|
||||||
${HS_DOCS}/html/meta.json
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/meta.json
|
||||||
${HS_DOCS}/html/quick-jump.css
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/quick-jump.css
|
||||||
${HS_DOCS}/html/synopsis.png
|
share/doc/${HS_PLATFORM}/cryptohash-sha256-${PKGVERSION}/html/synopsis.png
|
||||||
|
|
|
@ -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
|
BUILDLINK_TREE+= hs-cryptohash-sha256
|
||||||
|
|
||||||
.if !defined(HS_CRYPTOHASH_SHA256_BUILDLINK3_MK)
|
.if !defined(HS_CRYPTOHASH_SHA256_BUILDLINK3_MK)
|
||||||
HS_CRYPTOHASH_SHA256_BUILDLINK3_MK:=
|
HS_CRYPTOHASH_SHA256_BUILDLINK3_MK:=
|
||||||
|
|
||||||
BUILDLINK_API_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.101
|
BUILDLINK_API_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.102
|
||||||
BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.101.0
|
BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha256+= hs-cryptohash-sha256>=0.11.102.0
|
||||||
BUILDLINK_PKGSRCDIR.hs-cryptohash-sha256?= ../../security/hs-cryptohash-sha256
|
BUILDLINK_PKGSRCDIR.hs-cryptohash-sha256?= ../../security/hs-cryptohash-sha256
|
||||||
.endif # HS_CRYPTOHASH_SHA256_BUILDLINK3_MK
|
.endif # HS_CRYPTOHASH_SHA256_BUILDLINK3_MK
|
||||||
|
|
||||||
|
|
|
@ -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
|
SHA1 (cryptohash-sha256-0.11.102.0.tar.gz) = 42a472a21b78549e3efede26a57279ea873ddf54
|
||||||
RMD160 (cryptohash-sha256-0.11.101.0.tar.gz) = 6fb799481497515388c4dd176969eecc7c4a7507
|
RMD160 (cryptohash-sha256-0.11.102.0.tar.gz) = 489d781cf4ee1780e30660b0fd23770069656c7f
|
||||||
SHA512 (cryptohash-sha256-0.11.101.0.tar.gz) = c755f1354fb5f1d6cfb54f73e39692392517954118d98b39ac4be7460e75a9ddc91ad641fed0f17e5fa33b62b7b0734af66526ea757e00716832572bb383c612
|
SHA512 (cryptohash-sha256-0.11.102.0.tar.gz) = d55663f24c9c24370c85b2cd22a8aceff6c81de5ee278bc85ebef35868310a0df02dedf8247c201d0c086172845def4a910650756ce225385f2e5801ac1019c7
|
||||||
Size (cryptohash-sha256-0.11.101.0.tar.gz) = 14996 bytes
|
Size (cryptohash-sha256-0.11.102.0.tar.gz) = 15636 bytes
|
||||||
SHA1 (patch-cryptohash-sha256.cabal) = d1d85095d09c7109902216054b651bf7d365e9f6
|
SHA1 (patch-cryptohash-sha256.cabal) = 4680b778246e783886d6b974aa4faf6ad839ae5f
|
||||||
|
|
|
@ -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
|
+++ cryptohash-sha256.cabal
|
||||||
@@ -74,7 +74,7 @@ library
|
@@ -81,7 +81,7 @@ library
|
||||||
Trustworthy
|
|
||||||
Unsafe
|
|
||||||
|
|
||||||
- build-depends: base >= 4.5 && < 4.11
|
|
||||||
+ build-depends: base >= 4.5 && < 4.14
|
|
||||||
, bytestring >= 0.9.2 && < 0.11
|
|
||||||
|
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
- build-depends: base >= 4.5 && < 4.15
|
||||||
|
+ build-depends: base >= 4.5 && < 5
|
||||||
|
|
||||||
|
exposed-modules: Crypto.Hash.SHA256
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue