summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-11-12 00:18:45 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-11-12 00:18:45 +0000
commitfd0fa6d7d0059d85f4e2e517b09c119d02277858 (patch)
treefdb0e990f611b715bf7290ba013d33743eda4eef /dev-java
parentstable on amd64 (Manifest recommit) (diff)
downloadgentoo-2-fd0fa6d7d0059d85f4e2e517b09c119d02277858.tar.gz
gentoo-2-fd0fa6d7d0059d85f4e2e517b09c119d02277858.tar.bz2
gentoo-2-fd0fa6d7d0059d85f4e2e517b09c119d02277858.zip
Fixes #70326.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/blowfishj/ChangeLog11
-rw-r--r--dev-java/blowfishj/Manifest2
-rw-r--r--dev-java/blowfishj/blowfishj-2.13.ebuild45
-rw-r--r--dev-java/blowfishj/files/digest-blowfishj-2.131
-rw-r--r--dev-java/blowfishj/metadata.xml14
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/blowfishj/ChangeLog b/dev-java/blowfishj/ChangeLog
new file mode 100644
index 000000000000..be3540a87e9f
--- /dev/null
+++ b/dev-java/blowfishj/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/blowfishj
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/ChangeLog,v 1.1 2004/11/12 00:18:45 karltk Exp $
+
+*blowfishj-2.13 (12 Nov 2004)
+
+ 12 Nov 2004; Karl Trygve Kalleberg <karltk@gentoo.org> +metadata.xml,
+ +blowfishj-2.13.ebuild:
+ Initial import. Ebuild submitted by Saleem A. <compnerd@compnerd.org>, fixes
+ #70326.
+
diff --git a/dev-java/blowfishj/Manifest b/dev-java/blowfishj/Manifest
new file mode 100644
index 000000000000..b46a3b90e460
--- /dev/null
+++ b/dev-java/blowfishj/Manifest
@@ -0,0 +1,2 @@
+MD5 3c70a75856eeb86d1eb3d05340856cc9 blowfishj-2.13.ebuild 916
+MD5 7bfd2e480f4f1da43f4139cda40cd384 files/digest-blowfishj-2.13 54
diff --git a/dev-java/blowfishj/blowfishj-2.13.ebuild b/dev-java/blowfishj/blowfishj-2.13.ebuild
new file mode 100644
index 000000000000..2295a52314b4
--- /dev/null
+++ b/dev-java/blowfishj/blowfishj-2.13.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blowfishj/blowfishj-2.13.ebuild,v 1.1 2004/11/12 00:18:45 karltk Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Blowfish implementation in Java"
+SRC_URI="http://www.hotpixel.net/bfj213.zip"
+HOMEPAGE="http://come.to/hahn"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
+LICENSE="Apache-1.1"
+SLOT="0"
+IUSE="doc junit"
+DEPEND=">=virtual/jre-1.4
+ app-arch/zip"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ mv BlowfishJ blowfishj-2.13
+}
+
+src_compile() {
+ einfo "Compiling the library"
+
+ for i in BlowfishJ/*.java ; do
+ javac -source 1.3 -target 1.2 $i || die "Compile failed for $i"
+ done
+
+ if use doc ; then
+ javadoc -d doc BlowfishJ/*.java || die "Failed to create docs"
+ fi
+
+ einfo "Creating jar"
+ jar cvf blowfishj.jar BlowfishJ/*.class || die "Failed creating jar"
+}
+
+src_install() {
+ java-pkg_dojar blowfishj.jar
+ dodoc README.TXT
+
+ if use doc ; then
+ java-pkg_dohtml -r docs/html/*
+ fi
+}
diff --git a/dev-java/blowfishj/files/digest-blowfishj-2.13 b/dev-java/blowfishj/files/digest-blowfishj-2.13
new file mode 100644
index 000000000000..84b9017fae68
--- /dev/null
+++ b/dev-java/blowfishj/files/digest-blowfishj-2.13
@@ -0,0 +1 @@
+MD5 a80a830852a51e47f7a62d8860e1fbd5 bfj213.zip 37886
diff --git a/dev-java/blowfishj/metadata.xml b/dev-java/blowfishj/metadata.xml
new file mode 100644
index 000000000000..840efe3842ab
--- /dev/null
+++ b/dev-java/blowfishj/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>java</herd>
+
+<longdescription>
+The Blowfish implementation in Java, provides very fast ECB and CBC encryption.
+Comes with the BlowfishEasy class for simple string encryption, plus a solution
+for streaming, both are binary compatible to Blowfish.NET. Additionally this
+package includes its own SHA-1 class, all sources, JUnit test cases, demos and
+JavaDocs.
+</longdescription>
+</pkgmetadata>