Received: by mail.netbsd.org (Postfix, from userid 605) id 7925184DB6; Sat, 18 Jan 2020 15:25:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0201A84D52 for ; Sat, 18 Jan 2020 15:25:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id LZojKW3xxOyr for ; Sat, 18 Jan 2020 15:25:43 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 65E6384D22 for ; Sat, 18 Jan 2020 15:25:43 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5FC87FBF4; Sat, 18 Jan 2020 15:25:43 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1579361143143090" MIME-Version: 1.0 Date: Sat, 18 Jan 2020 15:25:43 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/security/hs-cryptohash-sha256 To: pkgsrc-changes@NetBSD.org Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20200118152543.5FC87FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1579361143143090 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1579361143143090 Content-Disposition: inline Content-Length: 3445 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1579361143143090--