1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Native Haskell TLS and SSL protocol implementation for server and

client.

This provides a high-level implementation of a sensitive security
protocol, eliminating a common set of security issues through the use of
the advanced type system, high level constructions and common Haskell
features.

Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, with
only RSA supported for Key Exchange.

WWW:	http://github.com/vincenthz/hs-tls

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-02-18 16:23:00 +00:00
parent b00b470fac
commit 98c816c3be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291693
5 changed files with 52 additions and 0 deletions

View File

@ -230,6 +230,7 @@ test-framework-quickcheck2_port= devel/hs-test-framework-quickcheck2
testpack_port= devel/hs-testpack
texmath_port= textproc/hs-texmath # executable
text_port= devel/hs-text
tls_port= security/hs-tls
transformers_port= devel/hs-transformers
transformers-base_port= devel/hs-transformers-base
TypeCompose_port= devel/hs-TypeCompose

View File

@ -199,6 +199,7 @@
SUBDIR += hs-pureMD5
SUBDIR += hs-pwstore-fast
SUBDIR += hs-skein
SUBDIR += hs-tls
SUBDIR += httprint
SUBDIR += hunch
SUBDIR += hydra

36
security/hs-tls/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: hs-tls
# Date created: December 26, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= tls
PORTVERSION= 0.8.5
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= TLS/SSL protocol native implementation (server and client)
LICENSE= BSD
CABAL_SETUP= Setup.hs
USE_CABAL= cereal>=0.3 certificate>=1.0.0 crypto-api>=0.5 \
cryptocipher>=0.3.0 cryptohash>=0.6 mtl
OPTIONS= EXECUTABLE "Build the executables" off
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
.include <bsd.port.options.mk>
.if defined(WITH_EXECUTABLE)
CONFIGURE_ARGS+= --flags="executable"
USE_CABAL+= cmdargs cprng-aes>=0.2.3 network
EXECUTABLE+= stunnel checkciphers retrievecertificate simpleclient
.else
CONFIGURE_ARGS+= --flags="-executable"
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

2
security/hs-tls/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cabal/tls-0.8.5.tar.gz) = a9aa8a6410b99bf3a8dd26bfc0bbd65918394bafb3e388a96339a8e46d40bf1f
SIZE (cabal/tls-0.8.5.tar.gz) = 32079

12
security/hs-tls/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Native Haskell TLS and SSL protocol implementation for server and
client.
This provides a high-level implementation of a sensitive security
protocol, eliminating a common set of security issues through the use of
the advanced type system, high level constructions and common Haskell
features.
Currently implement the SSL3.0, TLS1.0, TLS1.1 and TLS1.2 protocol, with
only RSA supported for Key Exchange.
WWW: http://github.com/vincenthz/hs-tls