summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/blowfishj')
-rw-r--r--dev-java/blowfishj/Manifest1
-rw-r--r--dev-java/blowfishj/blowfishj-2.14-r1.ebuild40
-rw-r--r--dev-java/blowfishj/blowfishj-2.14-r2.ebuild42
-rw-r--r--dev-java/blowfishj/blowfishj-2.14-r3.ebuild44
-rw-r--r--dev-java/blowfishj/metadata.xml15
5 files changed, 142 insertions, 0 deletions
diff --git a/dev-java/blowfishj/Manifest b/dev-java/blowfishj/Manifest
new file mode 100644
index 000000000000..ba85c34e0bec
--- /dev/null
+++ b/dev-java/blowfishj/Manifest
@@ -0,0 +1 @@
+DIST blowfishj-2.14-src.tar.gz 33726 SHA256 d49ff16dbf320f8988886507c0065312b4660d4dfdbffb894db7ff7d6f5bfaa9 SHA512 3f508be61b494eddf6f276e21c7979d1f6a46dac19e8256f7451f3a434cd1d7df34c268aa2c13b7370129c84f289f331f47456c400ac31a9f0996fefeae12aec WHIRLPOOL 04cc5516fab856f45269bbbd7b0cce31331f9e6586023f14442228aa7f9bd5b39c731dd73c34460eaf60d995312cf7b118fb38c10d7ae2f7c4a27574fabd1260
diff --git a/dev-java/blowfishj/blowfishj-2.14-r1.ebuild b/dev-java/blowfishj/blowfishj-2.14-r1.ebuild
new file mode 100644
index 000000000000..82e4c81b75c1
--- /dev/null
+++ b/dev-java/blowfishj/blowfishj-2.14-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Blowfish implementation in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="doc test source"
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( =dev-java/junit-3* dev-java/ant-junit ) "
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_ignore-system-classes
+ mkdir -p target/lib
+ cd target/lib
+ use test && java-pkg_jar-from --build-only junit
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/net
+}
diff --git a/dev-java/blowfishj/blowfishj-2.14-r2.ebuild b/dev-java/blowfishj/blowfishj-2.14-r2.ebuild
new file mode 100644
index 000000000000..d423e69c95a6
--- /dev/null
+++ b/dev-java/blowfishj/blowfishj-2.14-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Blowfish implementation in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( =dev-java/junit-3* dev-java/ant-junit ) "
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ java-ant_ignore-system-classes
+ mkdir -p target/lib || die
+ cd target/lib || die
+ use test && java-pkg_jar-from --build-only junit
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/net
+}
diff --git a/dev-java/blowfishj/blowfishj-2.14-r3.ebuild b/dev-java/blowfishj/blowfishj-2.14-r3.ebuild
new file mode 100644
index 000000000000..dfa8b48baf47
--- /dev/null
+++ b/dev-java/blowfishj/blowfishj-2.14-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Blowfish implementation in Java"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/ant-junit:0
+ )"
+
+RDEPEND=">=virtual/jre-1.6"
+
+java_prepare() {
+ cd "${S}" || die
+ java-ant_ignore-system-classes
+ mkdir -p target/lib || die
+ cd target/lib || die
+ use test && java-pkg_jar-from --build-only junit
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test -DJunit.present=true
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/net
+}
diff --git a/dev-java/blowfishj/metadata.xml b/dev-java/blowfishj/metadata.xml
new file mode 100644
index 000000000000..0df99acfebe9
--- /dev/null
+++ b/dev-java/blowfishj/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">blowfishj</remote-id>
+ </upstream>
+</pkgmetadata>