pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/hs-cryptohash-sha1 security/hs-cryptohash-sha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8c65cca941e
branches:  trunk
changeset: 373984:e8c65cca941e
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 16 03:31:53 2022 +0000

description:
security/hs-cryptohash-sha1: import hs-cryptohash-sha1-0.11.101.0

A practical incremental and one-pass, pure API to the SHA-1 hash algorithm
(including HMAC support) with performance close to the fastest
implementations available in other languages.

The implementation is made in C with a haskell FFI wrapper that hides the C
implementation.

diffstat:

 security/hs-cryptohash-sha1/DESCR         |   6 ++++++
 security/hs-cryptohash-sha1/Makefile      |  11 +++++++++++
 security/hs-cryptohash-sha1/PLIST         |  25 +++++++++++++++++++++++++
 security/hs-cryptohash-sha1/buildlink3.mk |  13 +++++++++++++
 security/hs-cryptohash-sha1/distinfo      |   5 +++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 8745efa0c0a3 -r e8c65cca941e security/hs-cryptohash-sha1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha1/DESCR Wed Feb 16 03:31:53 2022 +0000
@@ -0,0 +1,6 @@
+A practical incremental and one-pass, pure API to the SHA-1 hash algorithm
+(including HMAC support) with performance close to the fastest
+implementations available in other languages.
+
+The implementation is made in C with a haskell FFI wrapper that hides the C
+implementation.
diff -r 8745efa0c0a3 -r e8c65cca941e security/hs-cryptohash-sha1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha1/Makefile      Wed Feb 16 03:31:53 2022 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2022/02/16 03:31:53 pho Exp $
+
+DISTNAME=      cryptohash-sha1-0.11.101.0
+CATEGORIES=    security
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Fast, pure and practical SHA-1 implementation
+LICENSE=       modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8745efa0c0a3 -r e8c65cca941e security/hs-cryptohash-sha1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha1/PLIST Wed Feb 16 03:31:53 2022 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/16 03:31:53 pho Exp $
+lib/cryptohash-sha1-${PKGVERSION}/${HS_VERSION}/package-description
+lib/cryptohash-sha1-${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/SHA1.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA1.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA1.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA1/FFI.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA1/FFI.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Crypto/Hash/SHA1/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
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/Crypto-Hash-SHA1.html
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/cryptohash-sha1.haddock
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/cryptohash-sha1-${PKGVERSION}/html/synopsis.png
diff -r 8745efa0c0a3 -r e8c65cca941e security/hs-cryptohash-sha1/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha1/buildlink3.mk Wed Feb 16 03:31:53 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/16 03:31:53 pho Exp $
+
+BUILDLINK_TREE+=       hs-cryptohash-sha1
+
+.if !defined(HS_CRYPTOHASH_SHA1_BUILDLINK3_MK)
+HS_CRYPTOHASH_SHA1_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-cryptohash-sha1+=     hs-cryptohash-sha1>=0.11.101
+BUILDLINK_ABI_DEPENDS.hs-cryptohash-sha1+=     hs-cryptohash-sha1>=0.11.101.0
+BUILDLINK_PKGSRCDIR.hs-cryptohash-sha1?=       ../../security/hs-cryptohash-sha1
+.endif # HS_CRYPTOHASH_SHA1_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-cryptohash-sha1
diff -r 8745efa0c0a3 -r e8c65cca941e security/hs-cryptohash-sha1/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/hs-cryptohash-sha1/distinfo      Wed Feb 16 03:31:53 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/16 03:31:53 pho Exp $
+
+BLAKE2s (cryptohash-sha1-0.11.101.0.tar.gz) = 331b1b8118eb67312349300f14153924743e382d454c1683d8b3d5ce6010d710
+SHA512 (cryptohash-sha1-0.11.101.0.tar.gz) = 4384fc2f63750400561b5dbea0a343510306d755131121346d6a52cb9420cb12fc7d20247f044beb0ea55ae254ce666edc982d76e999c0762894f405e9b6441e
+Size (cryptohash-sha1-0.11.101.0.tar.gz) = 11563 bytes



Home | Main Index | Thread Index | Old Index