summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/cryptokit/ChangeLog6
-rw-r--r--dev-ml/cryptokit/cryptokit-1.3.ebuild57
-rw-r--r--dev-ml/cryptokit/files/META7
-rw-r--r--dev-ml/cryptokit/files/cryptokit-gentoo.patch35
4 files changed, 5 insertions, 100 deletions
diff --git a/dev-ml/cryptokit/ChangeLog b/dev-ml/cryptokit/ChangeLog
index 46657073b81f..42db351b6d3f 100644
--- a/dev-ml/cryptokit/ChangeLog
+++ b/dev-ml/cryptokit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/cryptokit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v 1.5 2010/10/09 00:06:22 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v 1.6 2010/12/24 17:41:45 aballier Exp $
+
+ 24 Dec 2010; Alexis Ballier <aballier@gentoo.org> -cryptokit-1.3.ebuild,
+ -files/META, -files/cryptokit-gentoo.patch:
+ remove old
*cryptokit-1.4 (09 Oct 2010)
diff --git a/dev-ml/cryptokit/cryptokit-1.3.ebuild b/dev-ml/cryptokit/cryptokit-1.3.ebuild
deleted file mode 100644
index d72dc6d321a1..000000000000
--- a/dev-ml/cryptokit/cryptokit-1.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2009 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.5 2009/09/28 16:47:43 betelgeuse Exp $
-
-EAPI="2"
-
-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 ~x86-fbsd"
-IUSE="doc +ocamlopt"
-
-DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
- >=sys-libs/zlib-1.1"
-
-src_prepare() {
- sed -e "s/VERSION/${PV}/" "${FILESDIR}/META" >> META
- epatch "${FILESDIR}/${PN}-gentoo.patch"
-}
-
-src_compile() {
- emake all || die "emake all failed"
- if use ocamlopt; then
- emake allopt || die "emake allopt failed, is ocamlopt missing ?"
- fi
-}
-
-src_install() {
- findlib_src_install
- dodoc Changes README || die
- 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
deleted file mode 100644
index f7e5d1f6b763..000000000000
--- a/dev-ml/cryptokit/files/META
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644
index 831a81399434..000000000000
--- a/dev-ml/cryptokit/files/cryptokit-gentoo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- 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
-