summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-10 15:40:23 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-10 15:40:23 +0000
commitf4199c30a75c58e8950aff0dc3eb09773db1cb6c (patch)
treedc316cdfb24258a51927d7d153f1270433707253 /dev-ml
parentamd64 stable (diff)
downloadgentoo-2-f4199c30a75c58e8950aff0dc3eb09773db1cb6c.tar.gz
gentoo-2-f4199c30a75c58e8950aff0dc3eb09773db1cb6c.tar.bz2
gentoo-2-f4199c30a75c58e8950aff0dc3eb09773db1cb6c.zip
initial import, bug #151633, thanks to people having contributed there
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/cryptokit/ChangeLog10
-rw-r--r--dev-ml/cryptokit/Manifest24
-rw-r--r--dev-ml/cryptokit/cryptokit-1.3.ebuild55
-rw-r--r--dev-ml/cryptokit/files/META7
-rw-r--r--dev-ml/cryptokit/files/cryptokit-gentoo.patch35
-rw-r--r--dev-ml/cryptokit/files/digest-cryptokit-1.33
-rw-r--r--dev-ml/cryptokit/metadata.xml5
7 files changed, 139 insertions, 0 deletions
diff --git a/dev-ml/cryptokit/ChangeLog b/dev-ml/cryptokit/ChangeLog
new file mode 100644
index 000000000000..e89868ce4aa6
--- /dev/null
+++ b/dev-ml/cryptokit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ml/cryptokit
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v 1.1 2007/11/10 15:40:22 aballier Exp $
+
+*cryptokit-1.3 (10 Nov 2007)
+
+ 10 Nov 2007; Alexis Ballier <aballier@gentoo.org> +files/META,
+ +files/cryptokit-gentoo.patch, +metadata.xml, +cryptokit-1.3.ebuild:
+ initial import, bug #151633, thanks to people having contributed there
+
diff --git a/dev-ml/cryptokit/Manifest b/dev-ml/cryptokit/Manifest
new file mode 100644
index 000000000000..a4868bf3533c
--- /dev/null
+++ b/dev-ml/cryptokit/Manifest
@@ -0,0 +1,24 @@
+AUX META 171 RMD160 444446770c63f3ddf094ada4e1eab9edbc9041ca SHA1 1d4094ccc76a2c613eb69a235b1fdd4ac21618c7 SHA256 02b2b484eae47ab49344aace31b4ae9218ed8b96607ba216b9a9fa00a2b8323b
+MD5 a4003b36926b45450ebdee5b696ded1b files/META 171
+RMD160 444446770c63f3ddf094ada4e1eab9edbc9041ca files/META 171
+SHA256 02b2b484eae47ab49344aace31b4ae9218ed8b96607ba216b9a9fa00a2b8323b files/META 171
+AUX cryptokit-gentoo.patch 995 RMD160 0005ac1c75cdc148c3c0e2dc1af5e7c25285940d SHA1 ccb606b76949b9ff7217925db0dec17c17f3a309 SHA256 fb027f66325cd1d77ff916e3b3252f9ae6d4b8bf1f1d24c05dc9c04372842666
+MD5 4586e772a9958d3fcae942d0c9aabfc7 files/cryptokit-gentoo.patch 995
+RMD160 0005ac1c75cdc148c3c0e2dc1af5e7c25285940d files/cryptokit-gentoo.patch 995
+SHA256 fb027f66325cd1d77ff916e3b3252f9ae6d4b8bf1f1d24c05dc9c04372842666 files/cryptokit-gentoo.patch 995
+DIST cryptokit-1.3.tar.gz 112689 RMD160 bdf1ec365562b534b7995d0f2c3fc06ec203111f SHA1 aebb0b2ed7c89320006de63b73ab639051888a9c SHA256 9ef339ed4cb15f0c458d0093b90dd249d8d1dfb1b01a1fedc542e67f67a7194f
+EBUILD cryptokit-1.3.ebuild 1454 RMD160 a502a2a36c21207f214aaa23845459464c26ba21 SHA1 cca94bd32112d5a87bd8af95a52e46e038d4476a SHA256 fd920a7976bd1eaa2e2fcbe2429d9f4ef6361f82421c795662d7194e4eb24d35
+MD5 915a654f0c08c478cecbc0ceadb989ef cryptokit-1.3.ebuild 1454
+RMD160 a502a2a36c21207f214aaa23845459464c26ba21 cryptokit-1.3.ebuild 1454
+SHA256 fd920a7976bd1eaa2e2fcbe2429d9f4ef6361f82421c795662d7194e4eb24d35 cryptokit-1.3.ebuild 1454
+MISC ChangeLog 357 RMD160 0002fa6b34bb64222115e8e74452ecf89ac0361e SHA1 ba727cc217402484b60d7cdb665133ee37191b35 SHA256 29009950fef3a167e7297740ce3506764d0c408e879fe5bbaece9bd1acd7d6ca
+MD5 27a2d28a9af1deebf2ec91b2285b55ba ChangeLog 357
+RMD160 0002fa6b34bb64222115e8e74452ecf89ac0361e ChangeLog 357
+SHA256 29009950fef3a167e7297740ce3506764d0c408e879fe5bbaece9bd1acd7d6ca ChangeLog 357
+MISC metadata.xml 155 RMD160 dfaa057e679b01302a807c75a32a910098b26809 SHA1 94024f83dcacbb53e92be090dd0f994ec93dc90d SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81
+MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
+RMD160 dfaa057e679b01302a807c75a32a910098b26809 metadata.xml 155
+SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 metadata.xml 155
+MD5 af0890ce14737d4c2395aad188ee6981 files/digest-cryptokit-1.3 241
+RMD160 e623ef8e9945f08bef187ecb5880e37810bfab51 files/digest-cryptokit-1.3 241
+SHA256 9f3f1096d7ef4fb42e73ba3b1c6dca9a3e9cfcd2bb6da87dd356a587fcaa8b4d files/digest-cryptokit-1.3 241
diff --git a/dev-ml/cryptokit/cryptokit-1.3.ebuild b/dev-ml/cryptokit/cryptokit-1.3.ebuild
new file mode 100644
index 000000000000..16f2f2e5562b
--- /dev/null
+++ b/dev-ml/cryptokit/cryptokit-1.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.3.ebuild,v 1.1 2007/11/10 15:40:22 aballier Exp $
+
+inherit eutils findlib
+
+DESCRIPTION="Cryptographic primitives library for Objective Caml"
+HOMEPAGE="http://cristal.inria.fr/~xleroy/software.html"
+SRC_URI="http://caml.inria.fr/distrib/bazar-ocaml/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-lang/ocaml-3.09
+ >=sys-libs/zlib-1.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e "s/VERSION/${PV}/" "${FILESDIR}/META" >> META
+ epatch "${FILESDIR}/${PN}-gentoo.patch"
+}
+
+src_compile() {
+ emake all || die "emake all failed"
+ emake allopt || elog "emake allopt failed, is ocamlopt missing ?"
+}
+
+src_install() {
+ findlib_src_install
+ dodoc Changes README
+ use doc && dohtml doc/*.html doc/*.css
+}
+
+pkg_postinst() {
+ elog ""
+ elog "This library uses the /dev/random device to generate "
+ elog "random data and RSA keys. The device should either be"
+ elog "built into the kernel or provided as a module. An"
+ elog "alternative is to use the Entropy Gathering Daemon"
+ elog "(http://egd.sourceforge.net). Please note that the"
+ elog "remainder of the library will still work even in the"
+ elog "absence of a one of these sources of randomness."
+ elog ""
+}
+
+src_test() {
+ echo ""
+ einfo "You must have either /dev/random or the Entropy Gathering"
+ einfo "Daemon (EGD) for this test to succeed!"
+ echo ""
+
+ emake test || die "emake test failed"
+}
diff --git a/dev-ml/cryptokit/files/META b/dev-ml/cryptokit/files/META
new file mode 100644
index 000000000000..f7e5d1f6b763
--- /dev/null
+++ b/dev-ml/cryptokit/files/META
@@ -0,0 +1,7 @@
+name="cryptokit"
+version="VERSION"
+description="Cryptographic primitives"
+requires="unix num"
+archive(byte)="cryptokit.cma"
+archive(native)="cryptokit.cmxa"
+linkopts = ""
diff --git a/dev-ml/cryptokit/files/cryptokit-gentoo.patch b/dev-ml/cryptokit/files/cryptokit-gentoo.patch
new file mode 100644
index 000000000000..831a81399434
--- /dev/null
+++ b/dev-ml/cryptokit/files/cryptokit-gentoo.patch
@@ -0,0 +1,35 @@
+--- cryptokit-1.3-orig/Makefile 2007-11-08 17:39:40.000000000 +0100
++++ cryptokit-1.3-new/Makefile 2007-11-08 17:35:09.000000000 +0100
+@@ -29,6 +29,7 @@
+ OCAMLDEP=ocamldep
+ MKLIB=ocamlmklib
+ OCAMLDOC=ocamldoc
++OCAMLFIND=ocamlfind
+
+ C_OBJS=\
+ rijndael-alg-fst.o stubs-aes.o \
+@@ -44,6 +45,8 @@
+
+ CAML_OBJS=cryptokit.cmo
+
++LIBINSTALL_FILES = $(wildcard *.mli *.cmi *.cma *.cmxa *.a *.so)
++
+ all: libcryptokit.a cryptokit.cmi cryptokit.cma
+
+ allopt: libcryptokit.a cryptokit.cmi cryptokit.cmxa
+@@ -74,11 +77,11 @@
+ rm -f speedtest
+
+ install:
+- cp cryptokit.cmi cryptokit.cma cryptokit.mli $(INSTALLDIR)
+- cp libcryptokit.a $(INSTALLDIR)
+- if test -f dllcryptokit.so; then cp dllcryptokit.so $(INSTALLDIR)/stublibs; fi
+- if test -f cryptokit.cmxa; then cp cryptokit.cmxa cryptokit.cmx cryptokit.a $(INSTALLDIR); fi
++ $(OCAMLFIND) install cryptokit META $(LIBINSTALL_FILES)
+
++uninstall:
++ $(OCAMLFIND) remove cryptokit
++
+ doc: FORCE
+ cd doc; $(OCAMLDOC) -html -I .. ../cryptokit.mli
+
diff --git a/dev-ml/cryptokit/files/digest-cryptokit-1.3 b/dev-ml/cryptokit/files/digest-cryptokit-1.3
new file mode 100644
index 000000000000..339eef497823
--- /dev/null
+++ b/dev-ml/cryptokit/files/digest-cryptokit-1.3
@@ -0,0 +1,3 @@
+MD5 d7de01d0702d16b3491c9e794ebb2cc3 cryptokit-1.3.tar.gz 112689
+RMD160 bdf1ec365562b534b7995d0f2c3fc06ec203111f cryptokit-1.3.tar.gz 112689
+SHA256 9ef339ed4cb15f0c458d0093b90dd249d8d1dfb1b01a1fedc542e67f67a7194f cryptokit-1.3.tar.gz 112689
diff --git a/dev-ml/cryptokit/metadata.xml b/dev-ml/cryptokit/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/cryptokit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>