diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-01-10 23:57:40 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-01-10 23:57:40 +0000 |
commit | f6bbdb6724a58dd1a6d0e6ec6c54a518cb1c7296 (patch) | |
tree | 538d23a3471cf58bd1c6acf2c228be2f002861c5 /dev-java/sun-jacc-api | |
parent | Fix some restart issues and unmount svcdir from 1.12 if needed. (diff) | |
download | gentoo-2-f6bbdb6724a58dd1a6d0e6ec6c54a518cb1c7296.tar.gz gentoo-2-f6bbdb6724a58dd1a6d0e6ec6c54a518cb1c7296.tar.bz2 gentoo-2-f6bbdb6724a58dd1a6d0e6ec6c54a518cb1c7296.zip |
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.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-java/sun-jacc-api')
-rw-r--r-- | dev-java/sun-jacc-api/ChangeLog | 13 | ||||
-rw-r--r-- | dev-java/sun-jacc-api/Manifest | 20 | ||||
-rw-r--r-- | dev-java/sun-jacc-api/files/20070102-jcc-api.patch | 11 | ||||
-rw-r--r-- | dev-java/sun-jacc-api/files/digest-sun-jacc-api-20070102 | 3 | ||||
-rw-r--r-- | dev-java/sun-jacc-api/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild | 40 |
6 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/sun-jacc-api/ChangeLog b/dev-java/sun-jacc-api/ChangeLog new file mode 100644 index 000000000000..380c857288b3 --- /dev/null +++ b/dev-java/sun-jacc-api/ChangeLog @@ -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 index 000000000000..4382a73b39a2 --- /dev/null +++ b/dev-java/sun-jacc-api/Manifest @@ -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 1020 RMD160 afb4ca8bb0d2032295c7562c53eaa500051d6f84 SHA1 0bd99f5945946f458e5ffa6772ff15c37b1ee18f SHA256 61e5c7120ccf4234d260878b7ea573549de614487a1f24ab26cd47f5b133520d +MD5 c0ec6d2d4607b20006ec67b57ff50e8b sun-jacc-api-20070102.ebuild 1020 +RMD160 afb4ca8bb0d2032295c7562c53eaa500051d6f84 sun-jacc-api-20070102.ebuild 1020 +SHA256 61e5c7120ccf4234d260878b7ea573549de614487a1f24ab26cd47f5b133520d sun-jacc-api-20070102.ebuild 1020 +MISC ChangeLog 493 RMD160 9489f2c10054113a161d7293b4a923ea007deb17 SHA1 32ea31e98bbad31b1bf9a05ab2bef8bc6e3880a8 SHA256 44e10d69c9760f3cacb0bf63318f4afd34a94c9b8fef1cd58b33ac808ab4f5fa +MD5 0933a874b842ec78b83f66a2517e1870 ChangeLog 493 +RMD160 9489f2c10054113a161d7293b4a923ea007deb17 ChangeLog 493 +SHA256 44e10d69c9760f3cacb0bf63318f4afd34a94c9b8fef1cd58b33ac808ab4f5fa ChangeLog 493 +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 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/files/digest-sun-jacc-api-20070102 b/dev-java/sun-jacc-api/files/digest-sun-jacc-api-20070102 new file mode 100644 index 000000000000..6dc8beba591e --- /dev/null +++ b/dev-java/sun-jacc-api/files/digest-sun-jacc-api-20070102 @@ -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 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/sun-jacc-api/metadata.xml @@ -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 index 000000000000..7c6f6a0d8bac --- /dev/null +++ b/dev-java/sun-jacc-api/sun-jacc-api-20070102.ebuild @@ -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 +} |