mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
This library implements the RSA encryption and signature algorithms for
arbitrarily-sized ByteStrings. While the implementations work, they are not necessarily the fastest ones on the planet. Particularly key generation. The algorithms included are based of RFC 3447, or the Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1 v2.1). WWW: http://hackage.haskell.org/package/RSA Obtained from: FreeBSD Haskell
This commit is contained in:
parent
b57a83d9a7
commit
45819fa559
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291688
@ -190,6 +190,7 @@ regex-base_port= textproc/hs-regex-base
|
||||
regex-compat_port= textproc/hs-regex-compat
|
||||
regex-pcre-builtin_port= textproc/hs-regex-pcre-builtin
|
||||
regex-posix_port= textproc/hs-regex-posix
|
||||
RSA_port= security/hs-RSA
|
||||
safe_port= devel/hs-safe
|
||||
scgi_port= www/hs-scgi
|
||||
sendfile_port= net/hs-sendfile
|
||||
|
@ -185,6 +185,7 @@
|
||||
SUBDIR += horde-jeta
|
||||
SUBDIR += hotssh
|
||||
SUBDIR += hs-Crypto
|
||||
SUBDIR += hs-RSA
|
||||
SUBDIR += hs-SHA
|
||||
SUBDIR += hs-clientsession
|
||||
SUBDIR += hs-cprng-aes
|
||||
|
41
security/hs-RSA/Makefile
Normal file
41
security/hs-RSA/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# New ports collection makefile for: hs-RSA
|
||||
# Date created: December 26, 2011
|
||||
# Whom: haskell@FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= RSA
|
||||
PORTVERSION= 1.0.6.2
|
||||
CATEGORIES= security haskell
|
||||
|
||||
MAINTAINER= haskell@FreeBSD.org
|
||||
COMMENT= Implementation of RSA, using the padding schemes of PKCS#1 v2.1
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
CABAL_SETUP= Setup.hs
|
||||
USE_CABAL= SHA
|
||||
|
||||
OPTIONS= MD5 "Include support for using MD5" on \
|
||||
BINARY "Use the binary package for serialization" on
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_MD5)
|
||||
CONFIGURE_ARGS+= --flags="IncludeMD5"
|
||||
USE_CABAL+= pureMD5
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-IncludeMD5"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_BINARY)
|
||||
CONFIGURE_ARGS+= --flags="UseBinary"
|
||||
USE_CABAL+= binary
|
||||
.else
|
||||
CONFIGURE_ARGS+= --flags="-UseBinary"
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
||||
.include <bsd.port.mk>
|
2
security/hs-RSA/distinfo
Normal file
2
security/hs-RSA/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (cabal/RSA-1.0.6.2.tar.gz) = 93c34f4fd4d99530b54205d93922dc280b83cbbc92a53e6ad9d63cf93edf4b69
|
||||
SIZE (cabal/RSA-1.0.6.2.tar.gz) = 11986
|
8
security/hs-RSA/pkg-descr
Normal file
8
security/hs-RSA/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
This library implements the RSA encryption and signature algorithms for
|
||||
arbitrarily-sized ByteStrings. While the implementations work, they are
|
||||
not necessarily the fastest ones on the planet. Particularly key
|
||||
generation. The algorithms included are based of RFC 3447, or the
|
||||
Public-Key Cryptography Standard for RSA, version 2.1 (a.k.a, PKCS#1
|
||||
v2.1).
|
||||
|
||||
WWW: http://hackage.haskell.org/package/RSA
|
Loading…
Reference in New Issue
Block a user