summaryrefslogtreecommitdiff
path: root/dev-java/netty-handler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/netty-handler
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/netty-handler')
-rw-r--r--dev-java/netty-handler/Manifest5
-rw-r--r--dev-java/netty-handler/metadata.xml11
-rw-r--r--dev-java/netty-handler/netty-handler-4.0.36.ebuild56
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/netty-handler/Manifest b/dev-java/netty-handler/Manifest
new file mode 100644
index 000000000000..282f1c2573cc
--- /dev/null
+++ b/dev-java/netty-handler/Manifest
@@ -0,0 +1,5 @@
+DIST netty-4.0.36.Final.tar.gz 1267617 SHA256 c37c139dd662331612bb29dcb8f708dd23ecd7c0a14730292cf525bfa48e96d8 SHA512 b222205963366d5a0f5539c7029dc47edea8d532fca05d169dfe12dbedf956959ba422a22254b09622db428b517da0fd0e58198d11e66193abdb6050481ccbe6 WHIRLPOOL 535e29762344f3ad7a3d6c7da9df2b56ddb170d184397150dc17c87fe3bee358d7e76e57e6ab88df2acc374be995b119158a368bcc59a069fc45bedf517034fc
+EBUILD netty-handler-4.0.36.ebuild 1707 SHA256 0450c63cdb814aa14cf47fc3ec4cc00ecd5228566dcc1af3e93119d518838306 SHA512 04e1047b637a53389058e5f21c47eaa871b4d792e980a9b1a166a610614e823dfc263080dd7c3de1c29446fedf2bd2558c056c7ae73ed5f79a73b1b6d419d77a WHIRLPOOL 124eec4cd59a4f49bda6fd3fbd9e49b21723888ec01541b04acb228da5248d44b466a1da5d984a9e8ab5ad8db44d57291d4385fc832906e30465ecdb434e97a0
+MISC ChangeLog 2862 SHA256 49094e00f9bd2c7efcf9e07391ffefdec5dda87f92a1c5625b00684bd02a581c SHA512 5448ae21c81b712ddb88f161bb438560dbc686b0f21ce5e7d75265668ff4f7d5b4d68842299513106b7922fb173f4dd5615fea777cb7bb8a2f8e808f48222b7e WHIRLPOOL 465a9c7d2ae1f2ee27e8bb6f0c8682c683c46b72daa4de94f29c70d2346bb225755dfa80ebf4e71c4865c6de22c80cbe0665711e1c5ea679285586686ced9276
+MISC ChangeLog-2015 684 SHA256 7634162044bf6b0d8580721098c426c427dd420aebb0ae5dccf13793f5d817f6 SHA512 6c9b8b112edf23b2b76ea05a74686f16a42907ee40c7d387fd84f3c49798505a08acfb52e9947b0f2a07dad547ea9aceef91028e7e3bf803c6bc8fe8e2aa86a5 WHIRLPOOL a9af308d47be7a15c6ac1fb3d485abc2bad6af08785a1f21b9377c0ef9031f9c267d5ff953a184d4f2863b3799640e12102e2e32bb300b5429d8dcf68b36d948
+MISC metadata.xml 322 SHA256 2d65611c4957f6ad48177f32abe97fa1dee2d645cd1e34870082798fd75251b7 SHA512 70319387d42e91b6b175785761c6dc23500a3c1789ad06d83169c15f8853be4211ae6764ffc5049d5278684271a538c4da9c8dcc8cda9a98e856bf2cee60a65c WHIRLPOOL d25431788cca3ee36307f6fa8d8accab341a32621b89ccbf83cded1fd58d47e3c0184dd8fa890b62b752eea2088e12d15fc61198a16e1c8f749a53f9b11dede1
diff --git a/dev-java/netty-handler/metadata.xml b/dev-java/netty-handler/metadata.xml
new file mode 100644
index 000000000000..3a4bd0130d1b
--- /dev/null
+++ b/dev-java/netty-handler/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">netty/netty</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/netty-handler/netty-handler-4.0.36.ebuild b/dev-java/netty-handler/netty-handler-4.0.36.ebuild
new file mode 100644
index 000000000000..d4ffae7bdcd0
--- /dev/null
+++ b/dev-java/netty-handler/netty-handler-4.0.36.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="netty"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Async event-driven framework for high performance network applications"
+HOMEPAGE="http://netty.io/"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${MY_P}.Final.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+CDEPEND="~dev-java/${MY_PN}-buffer-${PV}:0
+ ~dev-java/${MY_PN}-codec-${PV}:0
+ ~dev-java/${MY_PN}-common-${PV}:0
+ ~dev-java/${MY_PN}-transport-${PV}:0
+ dev-java/${MY_PN}-tcnative:0
+ dev-java/bcpkix:1.52
+ dev-java/bcprov:1.52
+ dev-java/jetty-alpn-api:0
+ dev-java/jetty-npn-api:0"
+
+RDEPEND=">=virtual/jre-1.7
+ ${CDEPEND}"
+
+DEPEND=">=virtual/jdk-1.7
+ ${CDEPEND}
+ test? (
+ dev-java/hamcrest-core:1.3
+ dev-java/hamcrest-library:1.3
+ dev-java/junit:4
+ dev-java/mockito:0
+ )"
+
+S="${WORKDIR}/${MY_PN}-${MY_P}.Final/${PN/${MY_PN}-}"
+JAVA_SRC_DIR="src/main/java"
+JAVA_GENTOO_CLASSPATH="${MY_PN}-buffer,${MY_PN}-codec,${MY_PN}-common,${MY_PN}-tcnative,${MY_PN}-transport,bcpkix-1.52,bcprov-1.52,jetty-alpn-api,jetty-npn-api"
+
+src_test() {
+ cd src/test/java || die
+
+ local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars --with-dependencies ${JAVA_GENTOO_CLASSPATH},hamcrest-core-1.3,hamcrest-library-1.3,junit-4,mockito)"
+ local TESTS=$(find * -name "*Test.java" ! -name "RenegotiateTest.java" ! -name "SslContextTest.java" ! -name "SSLEngineTest.java")
+ TESTS="${TESTS//.java}"
+ TESTS="${TESTS//\//.}"
+
+ ejavac -cp "${CP}" -d . $(find * -name "*.java")
+ LD_LIBRARY_PATH=$(java-config -i netty-tcnative) ejunit4 -classpath "${CP}" ${TESTS}
+}