Import security/hs-cryptohash-sha256.
Not yet wired to the build. ok sthen@, jca@. A practical incremental and one-pass, pure API to the SHA-256 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.
This commit is contained in:
parent
ee80c0fc18
commit
84ffdb12eb
19
security/hs-cryptohash-sha256/Makefile
Normal file
19
security/hs-cryptohash-sha256/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/03 14:33:35 kili Exp $
|
||||
|
||||
# used by cabal-install
|
||||
|
||||
COMMENT= fast, pure and practical SHA-256 implementation
|
||||
|
||||
DISTNAME= cryptohash-sha256-0.11.100.1
|
||||
CATEGORIES= security
|
||||
|
||||
# BSD3
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES= lang/ghc
|
||||
|
||||
MODGHC_BUILD = cabal hackage haddock register
|
||||
|
||||
MODGHC_PACKAGE_KEY = CxymMT87vhE9zOHmyydW84
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/hs-cryptohash-sha256/distinfo
Normal file
2
security/hs-cryptohash-sha256/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (ghc/cryptohash-sha256-0.11.100.1.tar.gz) = V7AjOOlkhjkzV4i0It1MdEVDywmRNHRy4uNiijPC9dY=
|
||||
SIZE (ghc/cryptohash-sha256-0.11.100.1.tar.gz) = 10885
|
6
security/hs-cryptohash-sha256/pkg/DESCR
Normal file
6
security/hs-cryptohash-sha256/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
A practical incremental and one-pass, pure API to the SHA-256 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.
|
29
security/hs-cryptohash-sha256/pkg/PLIST
Normal file
29
security/hs-cryptohash-sha256/pkg/PLIST
Normal file
@ -0,0 +1,29 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/03 14:33:35 kili Exp $
|
||||
lib/ghc/${DISTNAME}/
|
||||
lib/ghc/${DISTNAME}/Crypto/
|
||||
lib/ghc/${DISTNAME}/Crypto/Hash/
|
||||
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256.hi
|
||||
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256.p_hi
|
||||
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
|
||||
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
|
||||
lib/ghc/${DISTNAME}/register.sh
|
||||
share/doc/hs-${DISTNAME}/
|
||||
share/doc/hs-${DISTNAME}/LICENSE
|
||||
share/doc/hs-${DISTNAME}/html/
|
||||
share/doc/hs-${DISTNAME}/html/Crypto-Hash-SHA256.html
|
||||
share/doc/hs-${DISTNAME}/html/cryptohash-sha256.haddock
|
||||
share/doc/hs-${DISTNAME}/html/doc-index.html
|
||||
share/doc/hs-${DISTNAME}/html/frames.html
|
||||
share/doc/hs-${DISTNAME}/html/haddock-util.js
|
||||
share/doc/hs-${DISTNAME}/html/hslogo-16.png
|
||||
share/doc/hs-${DISTNAME}/html/index-frames.html
|
||||
share/doc/hs-${DISTNAME}/html/index.html
|
||||
share/doc/hs-${DISTNAME}/html/mini_Crypto-Hash-SHA256.html
|
||||
share/doc/hs-${DISTNAME}/html/minus.gif
|
||||
share/doc/hs-${DISTNAME}/html/ocean.css
|
||||
share/doc/hs-${DISTNAME}/html/plus.gif
|
||||
share/doc/hs-${DISTNAME}/html/synopsis.png
|
||||
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
|
||||
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
|
||||
lib/ghc/${DISTNAME}/unregister.sh
|
Loading…
x
Reference in New Issue
Block a user