Adapt for ghc-8.6.4.

Joint work with Greg Steuck.
This commit is contained in:
kili 2019-09-30 13:00:11 +00:00
parent 52b13fb022
commit cba6fcc2b9
13 changed files with 119 additions and 36 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2019/09/10 13:51:28 kili Exp $
# $OpenBSD: Makefile,v 1.8 2019/09/30 13:00:11 kili Exp $
COMMENT = SHA message digests
DISTNAME = SHA-1.6.4.2
REVISION = 4
REVISION = 5
CATEGORIES = security
@ -16,6 +16,6 @@ MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = 1gNz0XEXVc9D2LWQ8o29zI
MODGHC_PACKAGE_KEY = K17FqRah5DD3xPZWh9IJHt
.include <bsd.port.mk>

View File

@ -1,12 +1,13 @@
@comment $OpenBSD: PLIST,v 1.3 2019/09/10 13:51:28 kili Exp $
@comment $OpenBSD: PLIST,v 1.4 2019/09/30 13:00:11 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Data/
lib/ghc/${DISTNAME}/Data/Digest/
lib/ghc/${DISTNAME}/Data/Digest/Pure/
lib/ghc/${DISTNAME}/Data/Digest/Pure/SHA.dyn_hi
lib/ghc/${DISTNAME}/Data/Digest/Pure/SHA.hi
lib/ghc/${DISTNAME}/Data/Digest/Pure/SHA.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -16,10 +17,12 @@ share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Data-Digest-Pure-SHA.html
share/doc/hs-${DISTNAME}/html/SHA.haddock
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2019/09/10 13:51:29 kili Exp $
# $OpenBSD: Makefile,v 1.20 2019/09/30 13:00:11 kili Exp $
COMMENT= generic interface for cryptographic operations
DISTNAME= crypto-api-0.13.2
REVISION = 5
REVISION = 6
CATEGORIES= security net
HOMEPAGE= http://trac.haskell.org/crypto-api/wiki
@ -15,7 +15,7 @@ MODULES= lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = HdoaNKgPjwIDvahrsdJlLG
MODGHC_PACKAGE_KEY = KkoJ0GZFoJiC8cM4nPl6k5
RUN_DEPENDS = devel/hs-cereal>=0.2 \
devel/hs-tagged>=0.1 \

View File

@ -1,27 +1,36 @@
@comment $OpenBSD: PLIST,v 1.10 2019/09/10 13:51:29 kili Exp $
@comment $OpenBSD: PLIST,v 1.11 2019/09/30 13:00:11 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/CPoly.dyn_hi
lib/ghc/${DISTNAME}/Crypto/CPoly.hi
lib/ghc/${DISTNAME}/Crypto/CPoly.p_hi
lib/ghc/${DISTNAME}/Crypto/Classes/
lib/ghc/${DISTNAME}/Crypto/Classes.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Classes.hi
lib/ghc/${DISTNAME}/Crypto/Classes.p_hi
lib/ghc/${DISTNAME}/Crypto/Classes/Exceptions.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Classes/Exceptions.hi
lib/ghc/${DISTNAME}/Crypto/Classes/Exceptions.p_hi
lib/ghc/${DISTNAME}/Crypto/HMAC.dyn_hi
lib/ghc/${DISTNAME}/Crypto/HMAC.hi
lib/ghc/${DISTNAME}/Crypto/HMAC.p_hi
lib/ghc/${DISTNAME}/Crypto/Modes.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Modes.hi
lib/ghc/${DISTNAME}/Crypto/Modes.p_hi
lib/ghc/${DISTNAME}/Crypto/Padding.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Padding.hi
lib/ghc/${DISTNAME}/Crypto/Padding.p_hi
lib/ghc/${DISTNAME}/Crypto/Random.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Random.hi
lib/ghc/${DISTNAME}/Crypto/Random.p_hi
lib/ghc/${DISTNAME}/Crypto/Types.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Types.hi
lib/ghc/${DISTNAME}/Crypto/Types.p_hi
lib/ghc/${DISTNAME}/Crypto/Util.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Util.hi
lib/ghc/${DISTNAME}/Crypto/Util.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -38,10 +47,12 @@ share/doc/hs-${DISTNAME}/html/Crypto-Types.html
share/doc/hs-${DISTNAME}/html/Crypto-Util.html
share/doc/hs-${DISTNAME}/html/crypto-api.haddock
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.4 2019/09/10 13:51:29 kili Exp $
# $OpenBSD: Makefile,v 1.5 2019/09/30 13:00:12 kili Exp $
# used by cabal-install
COMMENT= fast, pure and practical SHA-256 implementation
DISTNAME= cryptohash-sha256-0.11.101.0
REVISION= 0
REVISION= 1
CATEGORIES= security
# BSD3
@ -15,6 +15,6 @@ MODULES= lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = 2y5kOPF2abcAQTysw8Z7cK
MODGHC_PACKAGE_KEY = 4hEdGCusAXMBLiu8h413L1
.include <bsd.port.mk>

View File

@ -0,0 +1,55 @@
$OpenBSD: patch-cryptohash-sha256_cabal,v 1.1 2019/09/30 13:00:12 kili Exp $
https://hackage.haskell.org/package/cryptohash-sha256-0.11.101.0/revision/2.cabal
Index: cryptohash-sha256.cabal
--- cryptohash-sha256.cabal.orig
+++ cryptohash-sha256.cabal
@@ -1,6 +1,7 @@
cabal-version: 1.12
name: cryptohash-sha256
version: 0.11.101.0
+x-revision: 2
synopsis: Fast, pure and practical SHA-256 implementation
description: {
@@ -16,8 +17,6 @@ for instance, on an /Intel Core i7-3770/ at 3.40GHz th
compute a SHA-256 hash over 230 MiB of data in under one second.
(If, instead, you require a pure Haskell implementation and performance is secondary, please refer to the [SHA package](https://hackage.haskell.org/package/SHA).)
.
-
-.
Additionally, this package provides support for
.
- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication Codes](https://en.wikipedia.org/wiki/HMAC) (HMAC)
@@ -25,6 +24,13 @@ Additionally, this package provides support for
.
conforming to [RFC6234](https://tools.ietf.org/html/rfc6234), [RFC4231](https://tools.ietf.org/html/rfc4231), [RFC5869](https://tools.ietf.org/html/rfc5869), et al..
.
+=== Packages in the @cryptohash-*@ family
+.
+- <https://hackage.haskell.org/package/cryptohash-md5 cryptohash-md5>
+- <https://hackage.haskell.org/package/cryptohash-sha1 cryptohash-sha1>
+- <https://hackage.haskell.org/package/cryptohash-sha256 cryptohash-sha256>
+- <https://hackage.haskell.org/package/cryptohash-sha512 cryptohash-sha512>
+.
=== Relationship to the @cryptohash@ package and its API
.
This package has been originally a fork of @cryptohash-0.11.7@ because the @cryptohash@
@@ -54,6 +60,7 @@ tested-with: GHC == 7.4.2
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.1
+ , GHC == 8.4.1
extra-source-files: cbits/hs_sha256.h
changelog.md
@@ -74,7 +81,7 @@ library
Trustworthy
Unsafe
- build-depends: base >= 4.5 && < 4.11
+ build-depends: base >= 4.5 && < 4.13
, bytestring >= 0.9.2 && < 0.11
ghc-options: -Wall

View File

@ -1,14 +1,16 @@
@comment $OpenBSD: PLIST,v 1.3 2019/09/10 13:51:29 kili Exp $
@comment $OpenBSD: PLIST,v 1.4 2019/09/30 13:00:12 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/Hash/
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256/
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256.hi
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256.p_hi
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256/FFI.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256/FFI.hi
lib/ghc/${DISTNAME}/Crypto/Hash/SHA256/FFI.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -18,10 +20,12 @@ 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/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2019/09/10 13:51:29 kili Exp $
# $OpenBSD: Makefile,v 1.7 2019/09/30 13:00:12 kili Exp $
COMMENT = cryptographic hashes for bytestrings
DISTNAME = digest-0.0.1.2
REVISION = 3
REVISION = 4
CATEGORIES = devel security
# BSD3
@ -13,7 +13,7 @@ MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = J7cjlUazOWnIwNGrU2CIF8
MODGHC_PACKAGE_KEY = 93hmxvQ2VB3FeV97QkdTpW
RUN_DEPENDS = archivers/hs-zlib

View File

@ -1,13 +1,15 @@
@comment $OpenBSD: PLIST,v 1.3 2019/09/10 13:51:29 kili Exp $
@comment $OpenBSD: PLIST,v 1.4 2019/09/30 13:00:12 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Data/
lib/ghc/${DISTNAME}/Data/Digest/
lib/ghc/${DISTNAME}/Data/Digest/Adler32.dyn_hi
lib/ghc/${DISTNAME}/Data/Digest/Adler32.hi
lib/ghc/${DISTNAME}/Data/Digest/Adler32.p_hi
lib/ghc/${DISTNAME}/Data/Digest/CRC32.dyn_hi
lib/ghc/${DISTNAME}/Data/Digest/CRC32.hi
lib/ghc/${DISTNAME}/Data/Digest/CRC32.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -18,10 +20,12 @@ share/doc/hs-${DISTNAME}/html/Data-Digest-Adler32.html
share/doc/hs-${DISTNAME}/html/Data-Digest-CRC32.html
share/doc/hs-${DISTNAME}/html/digest.haddock
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2019/09/10 13:51:29 kili Exp $
# $OpenBSD: Makefile,v 1.5 2019/09/30 13:00:12 kili Exp $
# used by hs-hackage-security, which is used by cabal-install
@ -6,7 +6,7 @@ COMMENT= ed25519 cryptographics signatures
DISTNAME= ed25519-0.0.5.0
CATEGORIES= security
REVISION= 1
REVISION= 2
# MIT
PERMIT_PACKAGE = Yes
@ -15,6 +15,6 @@ MODULES= lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = 3Sle7uACwGIJ1UEE9iZB8E
MODGHC_PACKAGE_KEY = JRZm9qkjuKdJzhMNs9MSTR
.include <bsd.port.mk>

View File

@ -1,11 +1,12 @@
@comment $OpenBSD: PLIST,v 1.3 2019/09/10 13:51:29 kili Exp $
@comment $OpenBSD: PLIST,v 1.4 2019/09/30 13:00:12 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/Sign/
lib/ghc/${DISTNAME}/Crypto/Sign/Ed25519.dyn_hi
lib/ghc/${DISTNAME}/Crypto/Sign/Ed25519.hi
lib/ghc/${DISTNAME}/Crypto/Sign/Ed25519.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -15,10 +16,12 @@ share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Crypto-Sign-Ed25519.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/ed25519.haddock
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2019/09/10 13:51:29 kili Exp $
# $OpenBSD: Makefile,v 1.13 2019/09/30 13:00:12 kili Exp $
COMMENT = platform independent entropy source
DISTNAME = entropy-0.2.1
REVISION = 8
REVISION = 9
CATEGORIES = security
# BSD3
@ -13,6 +13,6 @@ MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = JZfH4MzgSpW7rZ4CqqUMjz
MODGHC_PACKAGE_KEY = IfZwtxgTnXI3i1BomgGL89
.include <bsd.port.mk>

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST,v 1.7 2019/09/10 13:51:29 kili Exp $
@comment $OpenBSD: PLIST,v 1.8 2019/09/30 13:00:12 kili Exp $
@tag ghc-pkg-recache
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/HS${DISTNAME}-${MODGHC_PACKAGE_KEY}.o
lib/ghc/${DISTNAME}/System/
lib/ghc/${DISTNAME}/System/Entropy.dyn_hi
lib/ghc/${DISTNAME}/System/Entropy.hi
lib/ghc/${DISTNAME}/System/Entropy.p_hi
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}-ghc${MODGHC_VER}.so
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}-${MODGHC_PACKAGE_KEY}_p.a
lib/ghc/package.conf.d/${DISTNAME}.conf
@ -14,10 +15,12 @@ share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/System-Entropy.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/entropy.haddock
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/haddock-bundle.min.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/meta.json
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/quick-jump.css
share/doc/hs-${DISTNAME}/html/synopsis.png