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 Import cryptohash-sha256...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fceced8deaf
branches:  trunk
changeset: 409478:0fceced8deaf
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Jan 18 15:25:43 2020 +0000

description:
Import cryptohash-sha256-0.11.101.0

A practical incremental and one-pass, pure API to the SHA-256
cryptographic hash algorithm according to FIPS 180-4 with performance
close to the fastest implementations available in other languages.

diffstat:

 security/hs-cryptohash-sha256/DESCR                                 |   3 ++
 security/hs-cryptohash-sha256/Makefile                              |  11 +++++++
 security/hs-cryptohash-sha256/buildlink3.mk                         |  13 ++++++++
 security/hs-cryptohash-sha256/distinfo                              |   7 ++++
 security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal |  15 ++++++++++
 5 files changed, 49 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r 7465199c4e53 -r 0fceced8deaf security/hs-cryptohash-sha256/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha256/DESCR       Sat Jan 18 15:25:43 2020 +0000
@@ -0,0 +1,3 @@
+A practical incremental and one-pass, pure API to the SHA-256
+cryptographic hash algorithm according to FIPS 180-4 with performance
+close to the fastest implementations available in other languages.
diff -r 7465199c4e53 -r 0fceced8deaf security/hs-cryptohash-sha256/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha256/Makefile    Sat Jan 18 15:25:43 2020 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2020/01/18 15:25:43 pho Exp $
+
+DISTNAME=      cryptohash-sha256-0.11.101.0
+CATEGORIES=    security
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Fast, pure and practical SHA-256 implementation
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7465199c4e53 -r 0fceced8deaf security/hs-cryptohash-sha256/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha256/buildlink3.mk       Sat Jan 18 15:25:43 2020 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/18 15:25:43 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_PKGSRCDIR.hs-cryptohash-sha256?=     ../../security/hs-cryptohash-sha256
+.endif # HS_CRYPTOHASH_SHA256_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-cryptohash-sha256
diff -r 7465199c4e53 -r 0fceced8deaf security/hs-cryptohash-sha256/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha256/distinfo    Sat Jan 18 15:25:43 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/18 15:25:43 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
diff -r 7465199c4e53 -r 0fceced8deaf security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal       Sat Jan 18 15:25:43 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-cryptohash-sha256.cabal,v 1.1 2020/01/18 15:25:43 pho Exp $
+
+Fix build with GHC 8.8
+
+--- cryptohash-sha256.cabal.orig       2017-11-13 08:04:55.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
+ 
+   ghc-options:       -Wall



Home | Main Index | Thread Index | Old Index