98c816c3be
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
36 lines
895 B
Makefile
36 lines
895 B
Makefile
# 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>
|