pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/hs-cryptohash-sha256



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Jan 18 15:25:43 UTC 2020

Added Files:
        pkgsrc/security/hs-cryptohash-sha256: DESCR Makefile buildlink3.mk
            distinfo
        pkgsrc/security/hs-cryptohash-sha256/patches:
            patch-cryptohash-sha256.cabal

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/hs-cryptohash-sha256/DESCR \
    pkgsrc/security/hs-cryptohash-sha256/Makefile \
    pkgsrc/security/hs-cryptohash-sha256/buildlink3.mk \
    pkgsrc/security/hs-cryptohash-sha256/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal

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

Added files:

Index: pkgsrc/security/hs-cryptohash-sha256/DESCR
diff -u /dev/null pkgsrc/security/hs-cryptohash-sha256/DESCR:1.1
--- /dev/null   Sat Jan 18 15:25:43 2020
+++ pkgsrc/security/hs-cryptohash-sha256/DESCR  Sat Jan 18 15:25:43 2020
@@ -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.
Index: pkgsrc/security/hs-cryptohash-sha256/Makefile
diff -u /dev/null pkgsrc/security/hs-cryptohash-sha256/Makefile:1.1
--- /dev/null   Sat Jan 18 15:25:43 2020
+++ pkgsrc/security/hs-cryptohash-sha256/Makefile       Sat Jan 18 15:25:43 2020
@@ -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"
Index: pkgsrc/security/hs-cryptohash-sha256/buildlink3.mk
diff -u /dev/null pkgsrc/security/hs-cryptohash-sha256/buildlink3.mk:1.1
--- /dev/null   Sat Jan 18 15:25:43 2020
+++ pkgsrc/security/hs-cryptohash-sha256/buildlink3.mk  Sat Jan 18 15:25:43 2020
@@ -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
Index: pkgsrc/security/hs-cryptohash-sha256/distinfo
diff -u /dev/null pkgsrc/security/hs-cryptohash-sha256/distinfo:1.1
--- /dev/null   Sat Jan 18 15:25:43 2020
+++ pkgsrc/security/hs-cryptohash-sha256/distinfo       Sat Jan 18 15:25:43 2020
@@ -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

Index: pkgsrc/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal
diff -u /dev/null pkgsrc/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal:1.1
--- /dev/null   Sat Jan 18 15:25:43 2020
+++ pkgsrc/security/hs-cryptohash-sha256/patches/patch-cryptohash-sha256.cabal  Sat Jan 18 15:25:43 2020
@@ -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