New package, dependency for dev-java/hibernate. Previously developed in java overlay...
authorVlastimil Babka <caster@gentoo.org>
Wed, 10 Jan 2007 23:57:40 +0000 (23:57 +0000)
committerVlastimil Babka <caster@gentoo.org>
Wed, 10 Jan 2007 23:57:40 +0000 (23:57 +0000)
Package-Manager: portage-2.1.2_rc4-r7

dev-java/sun-jacc-api/ChangeLog [new file with mode: 0644]
dev-java/sun-jacc-api/Manifest [new file with mode: 0644]
dev-java/sun-jacc-api/files/20070102-jcc-api.patch [new file with mode: 0644]
dev-java/sun-jacc-api/files/digest-sun-jacc-api-20070102 [new file with mode: 0644]
dev-java/sun-jacc-api/metadata.xml [new file with mode: 0644]
dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild [new file with mode: 0644]

diff --git a/dev-java/sun-jacc-api/ChangeLog b/dev-java/sun-jacc-api/ChangeLog
new file mode 100644 (file)
index 0000000..380c857
--- /dev/null
@@ -0,0 +1,13 @@
+# ChangeLog for dev-java/sun-jacc-api
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jacc-api/ChangeLog,v 1.1 2007/01/10 23:57:40 caster Exp $
+
+*sun-jacc-api-20070102 (10 Jan 2007)
+
+  10 Jan 2007; Vlastimil Babka <caster@gentoo.org>
+  +files/20070102-jcc-api.patch, +metadata.xml,
+  +sun-jacc-api-20070102.ebuild:
+  New package, dependency for dev-java/hibernate. Previously developed in java
+  overlay by nichoj, and fixed by betelgeuse with patch from Bernhard
+  Frauendienst <gentoo@obeliks.de> in bug #160961.
+
diff --git a/dev-java/sun-jacc-api/Manifest b/dev-java/sun-jacc-api/Manifest
new file mode 100644 (file)
index 0000000..806aac6
--- /dev/null
@@ -0,0 +1,20 @@
+AUX 20070102-jcc-api.patch 466 RMD160 6afa5a70eedab130191195d0e7163982f8ed6d90 SHA1 bdeb42bb1f327651dec5dade1b806768fc2d0d64 SHA256 878a6f7695af9cee165adb1d98b5d45fa8a6d4687e19619a88748d1eab51ed71
+MD5 1ad87b083f159ebcaf82771dee2e461e files/20070102-jcc-api.patch 466
+RMD160 6afa5a70eedab130191195d0e7163982f8ed6d90 files/20070102-jcc-api.patch 466
+SHA256 878a6f7695af9cee165adb1d98b5d45fa8a6d4687e19619a88748d1eab51ed71 files/20070102-jcc-api.patch 466
+DIST sun-jacc-api-20070102.tar.bz2 25672 RMD160 ae79a2ed770ec457655ca7d9aecb23677a298f6e SHA1 26368ae39ed3dbf2210bbd192b71822198a8829b SHA256 bb85f53ae3ee6a22392c855dfc99d7b1bda715749d16b94162cbafbdd066aa14
+EBUILD sun-jacc-api-20070102.ebuild 1132 RMD160 8694c16968bd10b433a04cfe6086501b6e4f0cf5 SHA1 5e229afb3859e0aa1b287be0e34d1dfb86e9e4e0 SHA256 904273dd17141d9a3b89a4e097d459a5a1cea1e868c604aaa3ebe8ddaa705248
+MD5 e187e0a6c38678aac188e34de78d0ab6 sun-jacc-api-20070102.ebuild 1132
+RMD160 8694c16968bd10b433a04cfe6086501b6e4f0cf5 sun-jacc-api-20070102.ebuild 1132
+SHA256 904273dd17141d9a3b89a4e097d459a5a1cea1e868c604aaa3ebe8ddaa705248 sun-jacc-api-20070102.ebuild 1132
+MISC ChangeLog 586 RMD160 3f08750ec9e4e8814b3ad1d12b9b375a8c2ee949 SHA1 56fdaa0cf5554910764896406b1503f0d118790e SHA256 b784df26a3492c90f9d077a6c1ea7682a11370b20e0053fbb4c0019bac60ecc1
+MD5 9c8140595d61e71efaef50ca82d2b2cb ChangeLog 586
+RMD160 3f08750ec9e4e8814b3ad1d12b9b375a8c2ee949 ChangeLog 586
+SHA256 b784df26a3492c90f9d077a6c1ea7682a11370b20e0053fbb4c0019bac60ecc1 ChangeLog 586
+MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
+SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158
+MD5 53a4ce40a70157ff8fa905f808c89168 files/digest-sun-jacc-api-20070102 265
+RMD160 7a1722e3f61482ffcfd88051963d7eed440b2b86 files/digest-sun-jacc-api-20070102 265
+SHA256 dbb25f49da31630715a85d17349631b310b92b9d909462690d9ac29beeb55691 files/digest-sun-jacc-api-20070102 265
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 (file)
index 0000000..064b0bb
--- /dev/null
@@ -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/files/digest-sun-jacc-api-20070102 b/dev-java/sun-jacc-api/files/digest-sun-jacc-api-20070102
new file mode 100644 (file)
index 0000000..6dc8beb
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 65ae20da39cfd431c7cab7aa6efd57ed sun-jacc-api-20070102.tar.bz2 25672
+RMD160 ae79a2ed770ec457655ca7d9aecb23677a298f6e sun-jacc-api-20070102.tar.bz2 25672
+SHA256 bb85f53ae3ee6a22392c855dfc99d7b1bda715749d16b94162cbafbdd066aa14 sun-jacc-api-20070102.tar.bz2 25672
diff --git a/dev-java/sun-jacc-api/metadata.xml b/dev-java/sun-jacc-api/metadata.xml
new file mode 100644 (file)
index 0000000..7303cef
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>java</herd>
+</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 (file)
index 0000000..7c6f6a0
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild,v 1.1 2007/01/10 23:57:40 caster Exp $
+
+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"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+       dev-java/ant-core
+       =dev-java/servletapi-2.4*"
+RDEPEND=">=virtual/jre-1.4"
+
+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
+}