summaryrefslogtreecommitdiff
path: root/dev-haskell/crypto
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/crypto
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/crypto')
-rw-r--r--dev-haskell/crypto/Manifest3
-rw-r--r--dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild46
-rw-r--r--dev-haskell/crypto/metadata.xml14
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-haskell/crypto/Manifest b/dev-haskell/crypto/Manifest
new file mode 100644
index 000000000000..ef310bbfe35e
--- /dev/null
+++ b/dev-haskell/crypto/Manifest
@@ -0,0 +1,3 @@
+DIST Crypto-4.2.5.1.tar.gz 56474 BLAKE2B a5e86c4e161b1e89c37b3feff1fc3a30911cf6401a7bb6c3cb1d605fb2ebb5bb145ff2a398fa6fab59e194e1b5f235eb8212f3ac70b21c32202173d0d15dff65 SHA512 3b965f6a06784d3e8996aaae2622fa5b8e4a645a324618ff497f565230a8db525a0a5305d5cc5166283b2a24242df4554b29eb015326d416dc705f252ef456ac
+EBUILD crypto-4.2.5.1-r1.ebuild 1103 BLAKE2B 40f0b7887854dede05701e384f35309e276e83b37926f4c845022158f0278d956fd6484badb44d184f6385255feadcf75805e6eefdfea8ba5b9804d86a59974d SHA512 4ebb1adc121fd5ecdb173800f6ca9d1d7e35763319183b0193f470a06ea10448674c576b252e2128039439865026695e556e0c5c947b543d885e7ac8bf9d6063
+MISC metadata.xml 547 BLAKE2B 9c2abb3770b4858b3bc4a3ea0239bc0b48c5d9b6fd132d0db28488a48fe554f26e0e8c65aeb71a7ba042a271350a1eea882f3cf636a3eb2825d9017f510f8785 SHA512 cfee502ca5b3d23d9223a97a0e1b928955be0f9fc8552e988aeb5e25f515ab2dc6a7578b2aa5f930400c7807835c29ba7e9103165a2a0a330d4f5b88c2f907e9
diff --git a/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild b/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild
new file mode 100644
index 000000000000..196367b36910
--- /dev/null
+++ b/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="Crypto"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Collects together existing Haskell cryptographic functions into a package"
+HOMEPAGE="http://hackage.haskell.org/package/Crypto"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="dev-haskell/hunit:=[profile?]
+ >=dev-haskell/quickcheck-2.4.0.1:2=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_test() {
+ TESTS="SymmetricTest SHA1Test RSATest QuickTest HMACTest WordListTest"
+
+ for t in $TESTS; do
+ einfo "Running test $t..."
+ # the quickcheck tests doesn't fail when the test fails...
+ "${S}/dist/build/$t/$t" || die "Test $t failed"
+ done
+}
+
+src_install() {
+ cabal_src_install
+
+ rm -rf "${D}/usr/bin" 2>/dev/null
+}
diff --git a/dev-haskell/crypto/metadata.xml b/dev-haskell/crypto/metadata.xml
new file mode 100644
index 000000000000..2dbebd8cd714
--- /dev/null
+++ b/dev-haskell/crypto/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <longdescription>
+ DES, Blowfish, AES, TEA, SHA1, MD5, RSA, BubbleBabble,
+ Hexdump, Support for Word128, Word192 and Word256 and Beyond, PKCS5
+ Padding, Various Encryption Modes e.g. Cipher Block Chaining all in one package,
+ with HUnit and QuickCheck tests, and examples.
+ </longdescription>
+</pkgmetadata>