summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2013-11-14 09:12:23 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2013-11-14 09:12:23 +0000
commit6d442a37425b1b0a34f16e8a5e0e09aa88008a60 (patch)
tree0f356471b297a27f7c01a5540dbd019968208925 /dev-haskell
parentInitial commit. Partial OpenSSL binding for Haskell. (diff)
downloadhistorical-6d442a37425b1b0a34f16e8a5e0e09aa88008a60.tar.gz
historical-6d442a37425b1b0a34f16e8a5e0e09aa88008a60.tar.bz2
historical-6d442a37425b1b0a34f16e8a5e0e09aa88008a60.zip
Initial commit. Partial OpenSSL binding for Haskell.
Package-Manager: portage-2.2.7_p18/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hsopenssl/Manifest13
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild37
-rw-r--r--dev-haskell/hsopenssl/metadata.xml27
3 files changed, 76 insertions, 1 deletions
diff --git a/dev-haskell/hsopenssl/Manifest b/dev-haskell/hsopenssl/Manifest
index be1986c8ff74..6276680c3c43 100644
--- a/dev-haskell/hsopenssl/Manifest
+++ b/dev-haskell/hsopenssl/Manifest
@@ -1,3 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST HsOpenSSL-0.10.3.5.tar.gz 65345 SHA256 00c1e77bae85280276a69c82ff5e3e8f0f3e0865e6e106769b1a3bea13db77fb SHA512 d31d165928f81f5193f3fa8f67ce05bbfa43375bb4352f9f2c9d2020c618da54f40a3ac3e4e0f6639b716fbe49526a7019c8fc2260d2718c5eb9cb64c611a4ce WHIRLPOOL 14d73ef6beba3ca86013224611be336708898d6900e403495920e7cdec034b09c9c4a3c784301b679c44b0b68ea761a4f4bcb97feb8b0bf7e258c1849d84115e
-EBUILD hsopenssl-0.10.3.5.ebuild 809 SHA256 c74d3b168a45dff59d2a5fcb57e8b7abfe85f25ff4e494533774a5c3f952abfa SHA512 233e1d7dcf3eb9e6e9a40798e1b178c41444690ae2aa801873bc0e3f434c6b87680b0e964a5fe090376eeb03b036a49a571c1df7372e45238e798e3e90552fc2 WHIRLPOOL 18decb5064002a8a9cc29e0d2c28b3307046f86b135b9ce7e594d4bca3ae4fd101f19d444de7651697202a0b5d94e919f6f60af3578930c8cddb02d68488ba12
+EBUILD hsopenssl-0.10.3.5.ebuild 918 SHA256 23a3acfc366cd2acbf3003551c56e26345df73aaad6efa3fdcccf8240cc6fa91 SHA512 3344b3ee04a561c739b0668da90cb32dd9601d3f786b4dc3ed6deea0a4ce74fdc4f98b2db6d5cfd09629fa3f7f3b8e217a9d4feed3d0a815722973870ba84a2c WHIRLPOOL 0932b23e352e76f3eb408038c267e0e7ad87ae4f18e272f64b141abeeb16c8f78409db4270d395a3921c0d7ec8febcfe55c29a25fc6f54d35b21de9b21194b94
+MISC ChangeLog 404 SHA256 da925889e632b59cfc4b11d13b7001ba826894c1bb42177751d04c3e88023e08 SHA512 0584bc90af5c07b9be452e4bac4cd17b21a15cb7d3c1dbeeb846d2ef79b7a5c002715985ea424ca3cdf00c96c382c45bc6702c31cc943591252ea37fdb1afc3d WHIRLPOOL f7331eda46de6783709a40b2c45221a0d0410a9d2691f902c22b6ec303423a695f06e753c3be81f2f939deeacd4c10589f0fb3610ddb267589af3123d542be39
MISC metadata.xml 1067 SHA256 8e7622984fe5c510961912dfbba93d1db185b780b94b8150ae5fa3b3a931d0d4 SHA512 555f45d420566b02385fb60637242ce6d9bd8594537746aebf691dc5de86014f5964c7d180a93fcf75d92bd7d0365d42957934d1905654edda46b4500fc17376 WHIRLPOOL d24229c70f67de4f75bc92ed261dc700cf9f9588be7cd4410672413ad375f79fd749c7b01dc5dcfa848976b029412128fdf705e8c5ccde813b405f38dbb63b04
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlKEksMACgkQcaHudmEf86rg1QCeK4Dj9JyS64NeCfZ9p5ZKYpy2
+F3cAn0hJC6Pp4J6Ldbc9Bcx5cSmc7xkV
+=qHpJ
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild
new file mode 100644
index 000000000000..0c5484e17924
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild,v 1.1 2013/11/14 09:12:16 slyfox Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="HsOpenSSL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Partial OpenSSL binding for Haskell"
+HOMEPAGE="https://github.com/phonohawk/HsOpenSSL"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+fast-bignum"
+
+RDEPEND=">=dev-haskell/network-2.1.0.0:=[profile?]
+ >=dev-lang/ghc-6.12.1:=
+ dev-libs/openssl
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8.0.2
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag fast-bignum fast-bignum)
+}
diff --git a/dev-haskell/hsopenssl/metadata.xml b/dev-haskell/hsopenssl/metadata.xml
new file mode 100644
index 000000000000..114b2862b356
--- /dev/null
+++ b/dev-haskell/hsopenssl/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name='fast-bignum'>Enable fast moving of bignums between OpenSSL and GMP (GHC Only)</flag>
+ </use>
+ <longdescription>
+
+ HsOpenSSL is an OpenSSL binding for Haskell. It can generate RSA
+ and DSA keys, read and write PEM files, generate message digests,
+ sign and verify messages, encrypt and decrypt messages. It has
+ also some capabilities of creating SSL clients and servers.
+
+ Please note that this project has started at the time when there
+ were no pure-Haskell implementations of TLS. Now there is tls
+ package (&lt;http://hackage.haskell.org/package/tls&gt;), which looks
+ pretty saner than HsOpenSSL especially for initialisation and
+ error handlings. So PHO (the initial author of HsOpenSSL) highly
+ encourages you to use and improve the tls package instead as long
+ as possible.
+
+ </longdescription>
+</pkgmetadata>