summaryrefslogtreecommitdiff
path: root/dev-java/jnacl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-java/jnacl
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-java/jnacl')
-rw-r--r--dev-java/jnacl/Manifest3
-rw-r--r--dev-java/jnacl/jnacl-1.0.ebuild51
-rw-r--r--dev-java/jnacl/metadata.xml13
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/jnacl/Manifest b/dev-java/jnacl/Manifest
new file mode 100644
index 000000000000..a35d7c7b94eb
--- /dev/null
+++ b/dev-java/jnacl/Manifest
@@ -0,0 +1,3 @@
+DIST jnacl-1.0.tar.gz 9485 BLAKE2B ecbe56d12d7cc53dfc87b2f332c1c4328946ca4ed0d4ec3b8fa22a2ea5d98a3acf51fb17e1d93d3d7831f98a36a3d657a904cb63b225da4a30b8e907cbfe8384 SHA512 b4f28b4bd6deb13c17e74f911f89e762c9111aa90474754f072df66f0ca4bd366dc8369f51404fbd4f6c5f55223bb98b6bfe3de78e2f6b5527509741008f2015
+EBUILD jnacl-1.0.ebuild 1385 BLAKE2B a901db50ec5ecec4dc0616bfc9969f60558986010d00f7a2f66380b313e931a57d14a5560599cdb7bf1cff756a45aca96a8853a0f2d45df5227b7bb88fe64752 SHA512 b8e56a502b357f624cfb69f964222a69f663e5b078dbf22a847df37562b232e749a2515317346d90e5a7b4a86d025461de97840e448a345fe296585ab068a5b1
+MISC metadata.xml 496 BLAKE2B d9546b41af10481b94985db5e46d0223dab158e61ac37d7d90ede17ecf7aee94fde3fd6444148a184f7492369971d7ecb8d1880c3241bdf375530b15f063fd26 SHA512 905992b4781f744c98d556f24495ed849da5c661b3b4816eb07e11db5a12b946d2acb8dd029ee26a875b41ba26afaf4f23a42f3ca31e55bc74404bc15a9967cf
diff --git a/dev-java/jnacl/jnacl-1.0.ebuild b/dev-java/jnacl/jnacl-1.0.ebuild
new file mode 100644
index 000000000000..a21823be388d
--- /dev/null
+++ b/dev-java/jnacl/jnacl-1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/neilalexander/jnacl/archive/refs/tags/v1.0.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jnacl-1.0.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.neilalexander:jnacl:1.0"
+# JAVA_TESTING_FRAMEWORKS="testng"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Pure Java implementation of NaCl: Networking and Cryptography library"
+HOMEPAGE="https://github.com/neilalexander/jnacl"
+SRC_URI="https://github.com/neilalexander/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# We don't have fest-assert
+RESTRICT="test"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+
+# Compile dependencies
+# POM: pom.xml
+# test? org.easytesting:fest-assert:1.4 -> !!!groupId-not-found!!!
+# test? org.testng:testng:6.13.1 -> !!!groupId-not-found!!!
+
+DEPEND=">=virtual/jdk-1.8:*"
+# test? (
+# !!!groupId-not-found!!!
+# )
+#"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( LICENSE README.md )
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src/main/java"
+
+# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,!!!groupId-not-found!!!"
+# JAVA_TEST_SRC_DIR="src/test/java"
+
+src_install() {
+ default # https://bugs.gentoo.org/789582
+ java-pkg-simple_src_install
+}
diff --git a/dev-java/jnacl/metadata.xml b/dev-java/jnacl/metadata.xml
new file mode 100644
index 000000000000..85fac4d279d3
--- /dev/null
+++ b/dev-java/jnacl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Pure Java implementation of curve25519, salsa20, hsalsa20, xsalsa20 and poly1305 cryptographic primitives, along with a NaCl "Box" implementation
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/neilalexander/jnacl/issues</bugs-to>
+ </upstream>
+</pkgmetadata>