summaryrefslogtreecommitdiff
path: root/dev-haskell/hsopenssl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/hsopenssl
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/hsopenssl')
-rw-r--r--dev-haskell/hsopenssl/Manifest7
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild36
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.11.1.1-r1.ebuild54
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.11.4.ebuild41
-rw-r--r--dev-haskell/hsopenssl/metadata.xml30
5 files changed, 168 insertions, 0 deletions
diff --git a/dev-haskell/hsopenssl/Manifest b/dev-haskell/hsopenssl/Manifest
new file mode 100644
index 000000000000..7fec76406559
--- /dev/null
+++ b/dev-haskell/hsopenssl/Manifest
@@ -0,0 +1,7 @@
+DIST HsOpenSSL-0.10.4.tar.gz 67538 BLAKE2B d52fbc67bd053c8ce526bb0d30ef74ab11bbb200d01c2e00672c63f774911d113cd03c4c212077db9b56b1ac82a196bbb23adc0504b1b953c322deefa1c224dc SHA512 ab26d19a196ee299763c4a0953e5b805c9f34f9f6b8502562812e597cfdfa07bccfec08919682ce90aa3022144133ba609346139734fbfe89a42f7a6aba939e7
+DIST HsOpenSSL-0.11.1.1.tar.gz 72297 BLAKE2B 73838757886f3a7c0d9101459f995f07fab4f2f9db0ae7007178ddea9bed20c9a0538388a06bc59652701be30ef54ac2419426d7d1b7eb63d3012f79028dc208 SHA512 a7260bb47a4886e550fce71f83f1d9ab93e54fb40886b618f86db191651f95beeac30334d58ab10ab084bfcf9ff8a1b994254c13c09e678dae3b23a12b279541
+DIST HsOpenSSL-0.11.4.tar.gz 77764 BLAKE2B 883d38142f1c93c7fb02de59bf993433c2accf49750bdfb0dd1e1d948ed4bb964b9ef3e9d473f1904acc8954336daca176bad3b0f477a834a39a4b8ea93c68d7 SHA512 be67eec8af517bec360618883bdce1ed195bf11361ae7cad372a50cc135f0e1825a86cc581a5e94375ad85cc163553270d5c431e2a03a6a4b80dc03b027fdcac
+EBUILD hsopenssl-0.10.4.ebuild 798 BLAKE2B 0ed1f657fcb189572aa2289d394f5e1d46075d22fa2daaba8217e24a844abbb8855a135b5d2be4ba0ba74feda2d51b4b86df0ef9544046298b20babedd4fea1a SHA512 60cd15f89592a381ccec6dcdcefec88a38854221a421cde5ed52ea6d031a83c82e90ed95f4a9b9ed7cacd825b7dbdd17084eee9f0683b991ae0b66a6b0972dca
+EBUILD hsopenssl-0.11.1.1-r1.ebuild 1481 BLAKE2B aee91d16b1eda58eb2e39871fa6464d234d648c5a911d3157a2c0302772dd2d704570eeb6749047618dde4293286742c2e25739e46e50f28b42dd7278a71f9ec SHA512 a16cf5aa02820c0a86c56a650d72fbc689f4059950424a15a74bd9861e0481059707b30883f50a22aca1336cd7916109dd3c4ba50334714e3f33c18c9031144d
+EBUILD hsopenssl-0.11.4.ebuild 992 BLAKE2B f7c7e354748fd66a4d01d0ffbd7ef67316a526e330fb9f6ac5328ac599c9da1b51949ea7d7f020da6b9c49edf4230e8fef01464fa0bfe3eaf0212ba75ca445d2 SHA512 2cd27d03f8185f17072e0653dde6eeda0d4bf9820c911fa507861258cdb7012a84d60fe2d70c0b8f1d87af9ae68f1c1926c018db4cbda07895e6f57c56f70d38
+MISC metadata.xml 1174 BLAKE2B 26b5c812f3c01512d1f0c6b754a9c9742dd62d91be4097bda649e01b17fee3c4aff921cc3b63e6c4e90c370e94625c5718e269022791d6883f81f517cc5b0d92 SHA512 3de12003fe30d1d183838d2ee19f898a2ec58807c13745d264f30be21d655b7fa40a8dc7163763dc3d72070125c81f4fabd20bc2422e2704cf060d29fb55d2db
diff --git a/dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild
new file mode 100644
index 000000000000..c8d0fad5e1d1
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.5.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/hsopenssl-0.11.1.1-r1.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.11.1.1-r1.ebuild
new file mode 100644
index 000000000000..98ac0d866d91
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.11.1.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+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 libressl"
+
+RESTRICT=test # whoops, not good
+
+RDEPEND=">=dev-haskell/network-2.1:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hunit-1.0 <dev-haskell/hunit-1.3
+ >=dev-haskell/test-framework-0.8 <dev-haskell/test-framework-0.9
+ >=dev-haskell/test-framework-hunit-0.3 <dev-haskell/test-framework-hunit-0.4 )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ cabal_chdeps \
+ 'time >= 1.1.1 && < 1.6' 'time >= 1.1.1'
+}
+
+src_configure() {
+ local fbn_flag=$(cabal_flag fast-bignum fast-bignum)
+
+ # not ported to integer-gmp-1.0:
+ # https://github.com/phonohawk/HsOpenSSL/issues/36
+ [[ $(ghc-version) == 7.10.* ]] && fbn_flag=-f-fast-bignum
+
+ haskell-cabal_src_configure \
+ ${fbn_flag}
+}
diff --git a/dev-haskell/hsopenssl/hsopenssl-0.11.4.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.11.4.ebuild
new file mode 100644
index 000000000000..a8a85232fe6e
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.11.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -homebrew-openssl,-macports-openssl
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HsOpenSSL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Partial OpenSSL binding for Haskell"
+HOMEPAGE="https://github.com/vshabanov/HsOpenSSL"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="libressl"
+
+RESTRICT=test # whoops, not good
+
+RDEPEND=">=dev-haskell/network-2.1:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-lang/ghc-7.10.1:=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-homebrew-openssl \
+ --flag=-macports-openssl
+}
diff --git a/dev-haskell/hsopenssl/metadata.xml b/dev-haskell/hsopenssl/metadata.xml
new file mode 100644
index 000000000000..07731d9ca92b
--- /dev/null
+++ b/dev-haskell/hsopenssl/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </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>
+ <upstream>
+ <remote-id type="github">phonohawk/HsOpenSSL</remote-id>
+ </upstream>
+</pkgmetadata>