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
commit580e6c56994cf95bc2d223ef6ee0e0f719c18821 (patch)
treeea6f88e962f323942b09a92669ad92e7df27055e /dev-ml
parentRemove old ebuilds and bump to version 30, thanks to alonbl for the ebuild (b... (diff)
downloadhistorical-580e6c56994cf95bc2d223ef6ee0e0f719c18821.tar.gz
historical-580e6c56994cf95bc2d223ef6ee0e0f719c18821.tar.bz2
historical-580e6c56994cf95bc2d223ef6ee0e0f719c18821.zip
initial import, bug #151633, thanks to people having contributed there
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/cryptokit/ChangeLog10
-rw-r--r--dev-ml/cryptokit/Manifest34
-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, 149 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..9140b6daea18
--- /dev/null
+++ b/dev-ml/cryptokit/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 1555 RMD160 875bebe6ba868d642ffeb3c5b1f0dc602562ca24 SHA1 82f517990bf331dcc7339991c8961f5b6dc883e0 SHA256 3739292d54f541c8fc0184aaa6586f6b9a469cbb64a7aebea55ad562e456609e
+MD5 89b59d30f31dfeae147d1d3697be049e cryptokit-1.3.ebuild 1555
+RMD160 875bebe6ba868d642ffeb3c5b1f0dc602562ca24 cryptokit-1.3.ebuild 1555
+SHA256 3739292d54f541c8fc0184aaa6586f6b9a469cbb64a7aebea55ad562e456609e cryptokit-1.3.ebuild 1555
+MISC ChangeLog 447 RMD160 dacd514529fa1f1d4355350150e7f68b51923a6f SHA1 1258afb0bbc8b4a08c4cb93e0a02a6ae5b6b5e41 SHA256 e92ef5f1efe9f33f7d2d7d574a86e6d52a2a06831a206dba05fad1432fdc61bd
+MD5 06d1fbbab0ef3e3331ae36e69972885d ChangeLog 447
+RMD160 dacd514529fa1f1d4355350150e7f68b51923a6f ChangeLog 447
+SHA256 e92ef5f1efe9f33f7d2d7d574a86e6d52a2a06831a206dba05fad1432fdc61bd ChangeLog 447
+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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHNdD4vFcC4BYPU0oRApB/AKC1jM8vcfKDCFpx8oidGNW5eB0pTgCfVYls
+coanQy7LrrCBBtKQ1+nFZcw=
+=GQSW
+-----END PGP SIGNATURE-----
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>