aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 00:19:56 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 00:19:56 +0800
commitce0c86dceb6bf9a475e61aa1c34382d8f76500fe (patch)
tree43a6c00202570deeb2947ba4d9f566da282f32b4 /security
parentcc45442720258c6315349adf8800f25f2507f5d1 (diff)
downloadfreebsd-ports-gnome-ce0c86dceb6bf9a475e61aa1c34382d8f76500fe.tar.gz
freebsd-ports-gnome-ce0c86dceb6bf9a475e61aa1c34382d8f76500fe.tar.zst
freebsd-ports-gnome-ce0c86dceb6bf9a475e61aa1c34382d8f76500fe.zip
Certificates and Key reader/writer. At the moment only X509 certificate
and unencrypted private key are supported, but will include PGP certificate and pkcs8 private keys. WWW: http://github.com/vincenthz/hs-certificate Obtained from: FreeBSD Haskell
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/hs-certificate/Makefile34
-rw-r--r--security/hs-certificate/distinfo2
-rw-r--r--security/hs-certificate/pkg-descr5
4 files changed, 42 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 453b7aac945c..19d392e62502 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -187,6 +187,7 @@
SUBDIR += hs-Crypto
SUBDIR += hs-RSA
SUBDIR += hs-SHA
+ SUBDIR += hs-certificate
SUBDIR += hs-clientsession
SUBDIR += hs-cprng-aes
SUBDIR += hs-crypto-api
diff --git a/security/hs-certificate/Makefile b/security/hs-certificate/Makefile
new file mode 100644
index 000000000000..a165df21ccb7
--- /dev/null
+++ b/security/hs-certificate/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: hs-certificate
+# Date created: December 26, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= certificate
+PORTVERSION= 1.0.1
+CATEGORIES= security haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Certificates and Key Reader/Writer
+
+LICENSE= BSD
+
+CABAL_SETUP= Setup.hs
+USE_CABAL= asn1-data>=0.6.1 base64-bytestring crypto-pubkey-types mtl
+
+OPTIONS= EXECUTABLE "Build the executable" 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 text>=0.11 cryptohash cryptocipher>=0.3.0
+EXECUTABLE+= certificate
+.else
+CONFIGURE_ARGS+= --flags="-executable"
+.endif
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/security/hs-certificate/distinfo b/security/hs-certificate/distinfo
new file mode 100644
index 000000000000..1847ddecf778
--- /dev/null
+++ b/security/hs-certificate/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/certificate-1.0.1.tar.gz) = 2028b8c9241b89afcff6f6fa7dc2b079d1fb4d928e495bf637e85913867e6967
+SIZE (cabal/certificate-1.0.1.tar.gz) = 13705
diff --git a/security/hs-certificate/pkg-descr b/security/hs-certificate/pkg-descr
new file mode 100644
index 000000000000..1aa954888f16
--- /dev/null
+++ b/security/hs-certificate/pkg-descr
@@ -0,0 +1,5 @@
+Certificates and Key reader/writer. At the moment only X509 certificate
+and unencrypted private key are supported, but will include PGP
+certificate and pkcs8 private keys.
+
+WWW: http://github.com/vincenthz/hs-certificate