Import security/hs-ed25519.

Not yet wired to the build.

ok sthen@, jca@.

This package provides a simple, fast, self-contained copy of the
Ed25519 public-key signature system with a clean interface. It also
includes support for detached signatures, and thorough documentation
on the design and implementation, including usage guidelines.
This commit is contained in:
kili 2017-11-03 14:31:22 +00:00
parent 9e06db6d14
commit ee80c0fc18
5 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/03 14:31:22 kili Exp $
# used by hs-hackage-security, which is used by cabal-install
COMMENT= ed25519 cryptographics signatures
DISTNAME= ed25519-0.0.5.0
CATEGORIES= security
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES= lang/ghc
MODGHC_BUILD = cabal hackage haddock register
MODGHC_PACKAGE_KEY = CpxZaSit3v24CALRG61NQp
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (ghc/ed25519-0.0.5.0.tar.gz) = 2KWVjr+pMJeQ763mQnXcXEQbVoZFxFzu0bDG/zbWFW0=
SIZE (ghc/ed25519-0.0.5.0.tar.gz) = 80034

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-ed25519_cabal,v 1.1.1.1 2017/11/03 14:31:22 kili Exp $
Dependency changed in the "online" version of the package description,
but not in the dist file.
--- ed25519.cabal.orig Mon Oct 12 01:24:33 2015
+++ ed25519.cabal Thu Dec 29 20:06:27 2016
@@ -60,7 +60,7 @@ flag no-donna
library
build-depends:
- ghc-prim >= 0.1 && < 0.5,
+ ghc-prim >= 0.1 && < 0.6,
base >= 4 && < 5,
bytestring >= 0.9 && < 0.11

View File

@ -0,0 +1,4 @@
This package provides a simple, fast, self-contained copy of the
Ed25519 public-key signature system with a clean interface. It also
includes support for detached signatures, and thorough documentation
on the design and implementation, including usage guidelines.

View File

@ -0,0 +1,29 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/03 14:31:22 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/Sign/
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}.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.txt
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/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-Sign-Ed25519.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