aboutsummaryrefslogtreecommitdiff
path: root/security/hs-RSA
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2014-08-10 22:34:50 +0000
committerGabor Pali <pgj@FreeBSD.org>2014-08-10 22:34:50 +0000
commitcc555442337c7591ab5c3fd19ad8e3e185a256b0 (patch)
treea6a0dfa4f440949889fc7b609c83f74555f6894e /security/hs-RSA
parent5e492199d1e024a681c6d21087c8d948cb3b7bc3 (diff)
Notes
Diffstat (limited to 'security/hs-RSA')
-rw-r--r--security/hs-RSA/Makefile31
-rw-r--r--security/hs-RSA/distinfo4
2 files changed, 9 insertions, 26 deletions
diff --git a/security/hs-RSA/Makefile b/security/hs-RSA/Makefile
index 7af911e2f163..05884fb91893 100644
--- a/security/hs-RSA/Makefile
+++ b/security/hs-RSA/Makefile
@@ -1,37 +1,20 @@
# $FreeBSD$
PORTNAME= RSA
-PORTVERSION= 1.2.2.0
-PORTREVISION= 7
+PORTVERSION= 2.0.0
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Implementation of RSA, using the padding schemes of PKCS#1 v2.1
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-USE_CABAL= crypto-api>=0.10 crypto-pubkey-types>=0.2 monadcryptorandom SHA
+USE_CABAL= crypto-api>=0.10 crypto-pubkey-types>=0.2 DRBG>=0.5.2 \
+ monadcryptorandom>0 pureMD5>0 QuickCheck>=2.5 SHA>0 \
+ tagged>=0.2 test-framework>=0.8.0.3 \
+ test-framework-quickcheck2>=0.3.0.2
-OPTIONS_DEFINE= MD5 BINARY
-OPTIONS_DEFAULT= MD5 BINARY
-
-MD5_DESC= Include support for using MD5
-BINARY_DESC= Use the binary package for serialization
-
-.include "${.CURDIR}/../../lang/ghc/bsd.cabal.options.mk"
-
-.if ${PORT_OPTIONS:MMD5}
-CONFIGURE_ARGS+= --flags="IncludeMD5"
-USE_CABAL+= pureMD5
-.else
-CONFIGURE_ARGS+= --flags="-IncludeMD5"
-.endif
-
-.if ${PORT_OPTIONS:MBINARY}
-CONFIGURE_ARGS+= --flags="UseBinary"
-.else
-CONFIGURE_ARGS+= --flags="-UseBinary"
-.endif
+FLAGS_DISABLE= BuildTestExecutable
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/security/hs-RSA/distinfo b/security/hs-RSA/distinfo
index 7d51cf257bbb..5f747b7d649e 100644
--- a/security/hs-RSA/distinfo
+++ b/security/hs-RSA/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cabal/RSA-1.2.2.0.tar.gz) = 55845a812a48bc8e0764f8ff3e06a58814da32d61105c798bf976a6040b08a74
-SIZE (cabal/RSA-1.2.2.0.tar.gz) = 12208
+SHA256 (cabal/RSA-2.0.0.tar.gz) = 985f235d34d330a569db692423fd293edc713f2ed58fdc70ac14647cbb364dec
+SIZE (cabal/RSA-2.0.0.tar.gz) = 14498