summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-12-04 17:22:41 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-12-04 17:22:41 +0000
commite16917f63f6ce82ea56fbe33ad782c98b780c3b7 (patch)
tree050bec169329b65255c2f7540fb4626c302d5da2 /dev-haskell
parentAdd missing R/DEPEND, fix underlinking (bug #370103). (diff)
downloadhistorical-e16917f63f6ce82ea56fbe33ad782c98b780c3b7.tar.gz
historical-e16917f63f6ce82ea56fbe33ad782c98b780c3b7.tar.bz2
historical-e16917f63f6ce82ea56fbe33ad782c98b780c3b7.zip
Initial version. Haskell cryptographic functions (dev-haskell/hs3 depend)
Package-Manager: portage-2.2.0_alpha77_p1/cvs/Linux x86_64
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/crypto/ChangeLog10
-rw-r--r--dev-haskell/crypto/Manifest14
-rw-r--r--dev-haskell/crypto/crypto-4.2.4.ebuild46
-rw-r--r--dev-haskell/crypto/metadata.xml14
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-haskell/crypto/ChangeLog b/dev-haskell/crypto/ChangeLog
new file mode 100644
index 000000000000..7d360041d5b7
--- /dev/null
+++ b/dev-haskell/crypto/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/crypto
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/crypto/ChangeLog,v 1.1 2011/12/04 17:22:41 slyfox Exp $
+
+*crypto-4.2.4 (04 Dec 2011)
+
+ 04 Dec 2011; Sergei Trofimovich <slyfox@gentoo.org> +crypto-4.2.4.ebuild,
+ +metadata.xml:
+ Initial version. Haskell cryptographic functions (dev-haskell/hs3 depend)
+
diff --git a/dev-haskell/crypto/Manifest b/dev-haskell/crypto/Manifest
new file mode 100644
index 000000000000..93dbdab41c7a
--- /dev/null
+++ b/dev-haskell/crypto/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST Crypto-4.2.4.tar.gz 57027 RMD160 05b00b9407f7d9e5f531ea7dc0b9ead6b58debfc SHA1 e057284972efba38353f80dbd9b8508f37d4e860 SHA256 77986dd8100b678adc784e682180ba659617ff5708089847420166ead0768a17
+EBUILD crypto-4.2.4.ebuild 1161 RMD160 d7484ec6aba6af99ddb41d6304419275ca0715d0 SHA1 f0b3fcfc432ee5a73d3546322c9a514d3fe89c9d SHA256 efcbb721046dfbef4cba773221fa05aa04906c4f88a9730230836a52cc230001
+MISC ChangeLog 408 RMD160 a64ebf1ad85a5fde2902ccef4c0d976bde5cfd24 SHA1 56c9f060c126595f31b67383aa409f263c42b2f2 SHA256 5e131e68c9906b2a7e879b578fe7e387978dd413d315b05d6563315b153f7259
+MISC metadata.xml 524 RMD160 0b480a78962dae52f0b831cba206c2f396c97fb2 SHA1 40b6e65e8e78f6d00580706d12bd20e9e967c313 SHA256 6e4fe6685f2ad27aefe3301b24596392951c117d2fab8aeaa738844eea605b8c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk7brVgACgkQcaHudmEf86oWfQCfWcNLXSS9XP08lWrD1ctnPbZy
+mUQAn0fStQuzyXcOFsvB6ru7FEzVOKMi
+=2RZw
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/crypto/crypto-4.2.4.ebuild b/dev-haskell/crypto/crypto-4.2.4.ebuild
new file mode 100644
index 000000000000..444c3560e9d7
--- /dev/null
+++ b/dev-haskell/crypto/crypto-4.2.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/crypto/crypto-4.2.4.ebuild,v 1.1 2011/12/04 17:22:41 slyfox Exp $
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+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="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.4.0.1
+ >=dev-lang/ghc-6.8.2"
+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..1f21cae0267c
--- /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>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </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>