summaryrefslogtreecommitdiff
path: root/dev-java/sun-jacc-api
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/sun-jacc-api
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/sun-jacc-api')
-rw-r--r--dev-java/sun-jacc-api/Manifest6
-rw-r--r--dev-java/sun-jacc-api/files/20070102-jcc-api.patch11
-rw-r--r--dev-java/sun-jacc-api/metadata.xml8
-rw-r--r--dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild40
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/sun-jacc-api/Manifest b/dev-java/sun-jacc-api/Manifest
new file mode 100644
index 000000000000..5b0b844dd04c
--- /dev/null
+++ b/dev-java/sun-jacc-api/Manifest
@@ -0,0 +1,6 @@
+AUX 20070102-jcc-api.patch 466 SHA256 878a6f7695af9cee165adb1d98b5d45fa8a6d4687e19619a88748d1eab51ed71 SHA512 763d0c0ec83e74ed1d288ff01fa1404dece9f25cff25332f944131457cbb0b24597df45221e4124edd4441504f23596ca0db63a697d2543597c70c83114f66f8 WHIRLPOOL 56e08ad3b58956b7004cce1e369f956748d1c8b2ca15a25fa7603ec26c91807beed64ad1b2c2475bfd843d12682035801fb8b22ff0bee74f7fda76a158cd7fb4
+DIST sun-jacc-api-20070102.tar.bz2 25672 SHA256 bb85f53ae3ee6a22392c855dfc99d7b1bda715749d16b94162cbafbdd066aa14 SHA512 cccc71e327fd7a947e5b2430a0733f9a22c57388c38476dd253d808a2baaf7474113f809f7f47073b9fd8d0e9f9dea81e8c7192991fb10cd975e8db29b62252b WHIRLPOOL 42e028a5e35e68b4d7099af25b7d09a19accbcc84047b749499e12363f82243bea6c639747a77beeb7695be782a03cdca4abdbd3b3c02c00a4ea38e08e198588
+EBUILD sun-jacc-api-20070102.ebuild 1067 SHA256 f9a0063e8383b902a0c52d6e6fe8af175b465fc469cb16d6ed5d7c63440cc6a9 SHA512 ec4f99f19b53d91f231d0453a87550e4b81a35d7f81cbefe657a35231fe2337897ed49cae3b2917e4322c62908fa65633bc339c81bf9edc4269cb9b860efe7e8 WHIRLPOOL 94e8529b1ad3cc8aaa996e7a3ea210d8146b9b56a4ee7b9d4f29892a1fd07fe1b99c1f925bd3c2bae623a05401506b1cb8c077d9f0b077f9db98586186be3088
+MISC ChangeLog 2479 SHA256 70c4aa04199c364cbb2ca84ab0195fbaa584105114d0004b4e21d0cc508d8fa0 SHA512 8cd556261f6453411af3a26126e25d5ec49b44d6bb6b134f898c8d53d52241a475e0572161e05c580d005a0eea0fc68ca439ac9a8d4e3d49f06ab7e689ff4800 WHIRLPOOL 290486bf6c5243ab5fd5d6ae0f1986dc762c598e151b79ca5cd3923390767b3af5902a96f542dc6ebdbc86a6c3c7c7284e74d507cfe2ef8ed8614a1a88637568
+MISC ChangeLog-2015 945 SHA256 60df71d7ef854fe3dd4500fd4e5f6919c2d59c34ecbf21bb20599a08093e1074 SHA512 5ec0a2a93c3a8aa2ac7b639c97bbf4465b594520d8d94c1a569c6a61f9cfc8e7473bfeb62973633f5a54acb7c8c7bd49d98cbe068dc820c3ce8aa93dc04ddd9e WHIRLPOOL 534106994e32ac00b4a3b2143160fa1644fc7ea9b51ff55a89a3fecaa7df19edf9aef9c3356e1806839103b82dcc1163cb5c71c875cbf607c7b1430a088140d7
+MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
diff --git a/dev-java/sun-jacc-api/files/20070102-jcc-api.patch b/dev-java/sun-jacc-api/files/20070102-jcc-api.patch
new file mode 100644
index 000000000000..064b0bb356d2
--- /dev/null
+++ b/dev-java/sun-jacc-api/files/20070102-jcc-api.patch
@@ -0,0 +1,11 @@
+--- build.xml 2005-12-25 05:26:06.000000000 +0100
++++ build.xml 2007-01-08 18:27:13.000000000 +0100
+@@ -75,7 +76,7 @@
+ <target name="assemble" depends="init"
+ description="Create JACC API jar files">
+
+- <jar jarfile="${javaee.jar}" update="yes">
++ <jar jarfile="jcc-api.jar">
+ <fileset dir="${component.classes.dir}">
+ <include name="javax/security/jacc/**/*.class"/>
+ </fileset>
diff --git a/dev-java/sun-jacc-api/metadata.xml b/dev-java/sun-jacc-api/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/sun-jacc-api/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild b/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild
new file mode 100644
index 000000000000..dcf5c7a29860
--- /dev/null
+++ b/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java Authorization Contract for Containers"
+HOMEPAGE="http://java.sun.com/j2ee/javaacc/index.html"
+# cvs -d :pserver:nichoj@cvs.dev.java.net:/cvs checkout glassfish/jacc-api
+# cd glassfish
+# mv jacc-api sun-jacc-api-${P}
+# tar --exclude=CVS -cjvf sun-jacc-api-${P}.tar.bz2 sun-jacc-api-${P}
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+COMMON_DEP="=dev-java/servletapi-2.4*"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # we need to patch the build file since we don't want to update an
+ # existing jar-archive but build a new one (called jcc-api.jar)
+ epatch "${FILESDIR}/20070102-jcc-api.patch"
+ java-pkg_jar-from servletapi-2.4 servlet-api.jar
+}
+
+src_compile() {
+ eant -Djavaee.jar=servlet-api.jar
+}
+
+src_install() {
+ java-pkg_dojar jcc-api.jar
+}