summaryrefslogtreecommitdiff
path: root/dev-haskell/hsopenssl
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/hsopenssl
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/hsopenssl')
-rw-r--r--dev-haskell/hsopenssl/Manifest4
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild37
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild37
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.11.1.1.ebuild49
-rw-r--r--dev-haskell/hsopenssl/hsopenssl-0.11.ebuild37
-rw-r--r--dev-haskell/hsopenssl/metadata.xml27
6 files changed, 191 insertions, 0 deletions
diff --git a/dev-haskell/hsopenssl/Manifest b/dev-haskell/hsopenssl/Manifest
new file mode 100644
index 00000000000..935db1010a7
--- /dev/null
+++ b/dev-haskell/hsopenssl/Manifest
@@ -0,0 +1,4 @@
+DIST HsOpenSSL-0.10.3.5.tar.gz 65345 SHA256 00c1e77bae85280276a69c82ff5e3e8f0f3e0865e6e106769b1a3bea13db77fb SHA512 d31d165928f81f5193f3fa8f67ce05bbfa43375bb4352f9f2c9d2020c618da54f40a3ac3e4e0f6639b716fbe49526a7019c8fc2260d2718c5eb9cb64c611a4ce WHIRLPOOL 14d73ef6beba3ca86013224611be336708898d6900e403495920e7cdec034b09c9c4a3c784301b679c44b0b68ea761a4f4bcb97feb8b0bf7e258c1849d84115e
+DIST HsOpenSSL-0.10.4.tar.gz 67538 SHA256 59603bfbc06139aa097767bc31fb049cf042889e2e3d9083719e7227476df1ee SHA512 ab26d19a196ee299763c4a0953e5b805c9f34f9f6b8502562812e597cfdfa07bccfec08919682ce90aa3022144133ba609346139734fbfe89a42f7a6aba939e7 WHIRLPOOL 20682a15364f67e8d4cde6d3556ccde0fea56e58ed0a737c153ce629afb86b370bd716cdc4d679c95e5abc1339f85d6fbf22341c840d0673526a6c1d64c26e98
+DIST HsOpenSSL-0.11.1.1.tar.gz 72297 SHA256 4a61e074e968a9863e0f3440b3be8ac131457b3d34eb983ca8102122d8ebc4c1 SHA512 a7260bb47a4886e550fce71f83f1d9ab93e54fb40886b618f86db191651f95beeac30334d58ab10ab084bfcf9ff8a1b994254c13c09e678dae3b23a12b279541 WHIRLPOOL c546530e0f4a0db23773b52681b66ecb703bec5a50b21626a04d6e7afa13eab5fd037601df16d45a2c96f0c56f5ba5fb2fabca3cdae05f99ca892cb538b6c3ea
+DIST HsOpenSSL-0.11.tar.gz 68086 SHA256 d9fba90fee57d13c78f5b940ebb79846b5809992024231f8fe34389f50090c00 SHA512 17fc524aa6d89bf811d0b4b021e957b75adb76e431606ec488818389d4a8afb18e4af208979aa5594742d540e63c96d2375f1e04641d070d3e206aa7cbec5538 WHIRLPOOL c38add297f0bfc5256bb006c74792169ab0b51c36eb54b3a842e184a0386cbe721498d4c55dfb3fe1fec41cbba134a03098fd499ed53b936c57d8385e3147932
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 00000000000..bab42737750
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.10.3.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/hsopenssl-0.10.4.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild
new file mode 100644
index 00000000000..41c9672175f
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.10.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.11.1.1.ebuild
new file mode 100644
index 00000000000..36c2ca0a6f1
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.11.1.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+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:=
+ dev-libs/openssl:*
+"
+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_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.ebuild b/dev-haskell/hsopenssl/hsopenssl-0.11.ebuild
new file mode 100644
index 00000000000..be83cbd89bd
--- /dev/null
+++ b/dev-haskell/hsopenssl/hsopenssl-0.11.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.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-7.4.1:=
+ dev-libs/openssl:*
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+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 00000000000..515d5be0072
--- /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>
+ <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>