From 6c82e9c821d914e33d22389dd558c70f4999d03c Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Tue, 1 May 2007 19:31:21 +0000 Subject: [PATCH] Initial commit of jax-ws. Package-Manager: portage-2.1.2.5 --- dev-java/apt-mirror/Manifest | 30 +++++++ dev-java/jax-ws/ChangeLog | 10 +++ dev-java/jax-ws/files/digest-jax-ws-2.0.1 | 3 + .../jax-ws/files/jax-ws-2.0.1-gentoo.patch | 53 +++++++++++ dev-java/jax-ws/jax-ws-2.0.1.ebuild | 89 +++++++++++++++++++ dev-java/jax-ws/metadata.xml | 8 ++ 6 files changed, 193 insertions(+) create mode 100644 dev-java/apt-mirror/Manifest create mode 100644 dev-java/jax-ws/ChangeLog create mode 100644 dev-java/jax-ws/files/digest-jax-ws-2.0.1 create mode 100644 dev-java/jax-ws/files/jax-ws-2.0.1-gentoo.patch create mode 100644 dev-java/jax-ws/jax-ws-2.0.1.ebuild create mode 100644 dev-java/jax-ws/metadata.xml diff --git a/dev-java/apt-mirror/Manifest b/dev-java/apt-mirror/Manifest new file mode 100644 index 000000000000..dedb895771e5 --- /dev/null +++ b/dev-java/apt-mirror/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX build.xml-1.0 371 RMD160 c8bba816646df3e4be1bc21e724649f72e1b8e75 SHA1 d60a24f8133f91971ce2d8bb53083fc1b5838ec0 SHA256 9dd6b6256945cdf64a683e9cb1c47eaa9d28292ce394f451da2394e787600126 +MD5 05fed134b25f392adeb608db6014c3bf files/build.xml-1.0 371 +RMD160 c8bba816646df3e4be1bc21e724649f72e1b8e75 files/build.xml-1.0 371 +SHA256 9dd6b6256945cdf64a683e9cb1c47eaa9d28292ce394f451da2394e787600126 files/build.xml-1.0 371 +DIST apt-mirror-1.0.tar.bz2 21396 RMD160 11aec8ca4aa999f9247286ca1bb4e3d117420c17 SHA1 73e4bdfa18d8ce4b9c08fcb3efc2bad0682eb501 SHA256 62daf3cf424d1d55f7c93ca12c6996e4a7ec11acbeba6d4903d7839471cbae62 +EBUILD apt-mirror-1.0.ebuild 842 RMD160 9d3d1cb57cb69c646816adddff90e2483493eef2 SHA1 19f211ad0959f70b88fbea48d254ce8dc5e0d7c0 SHA256 bd84d75bffafeae734db5da4d6dd939a2128872d4514ceb973be18ebab4ee108 +MD5 347ad0e8be7db4e6cfb38f1c753c2fe0 apt-mirror-1.0.ebuild 842 +RMD160 9d3d1cb57cb69c646816adddff90e2483493eef2 apt-mirror-1.0.ebuild 842 +SHA256 bd84d75bffafeae734db5da4d6dd939a2128872d4514ceb973be18ebab4ee108 apt-mirror-1.0.ebuild 842 +MISC ChangeLog 393 RMD160 f50a6edca915f49dfebc1ce45e5b255258408095 SHA1 5f5916375ed2442f2117a7049997386c7d1bfd47 SHA256 d69eafff76b1db823576630e7f70ffe0ab7792bfe4c95a8c6d7a03425d3d91f8 +MD5 10528ebed333705dc5a28910a4e8d755 ChangeLog 393 +RMD160 f50a6edca915f49dfebc1ce45e5b255258408095 ChangeLog 393 +SHA256 d69eafff76b1db823576630e7f70ffe0ab7792bfe4c95a8c6d7a03425d3d91f8 ChangeLog 393 +MISC metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 SHA1 087c10f53259e3702a47b6c43c4365fd16d8c201 SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 +MD5 2696a2548331ef205bf10abad6802180 metadata.xml 229 +RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 metadata.xml 229 +SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 metadata.xml 229 +MD5 4968bb70df62bccb601334a19bc05abd files/digest-apt-mirror-1.0 244 +RMD160 2b607bc740dcc3b368d7d50f2d8ded610089bc85 files/digest-apt-mirror-1.0 244 +SHA256 e170a2e901ca827c5a927a720b9808fa0991a4bb352b5e2e42c99561f5730b22 files/digest-apt-mirror-1.0 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGN5aSgo/w9rxVVVERAibmAJ4lp4L34AnjUww4pAJTVGUHk7QsGQCfUykk +Dxq3JCoyuK+zpVHHIzF6AXA= +=6lyf +-----END PGP SIGNATURE----- diff --git a/dev-java/jax-ws/ChangeLog b/dev-java/jax-ws/ChangeLog new file mode 100644 index 000000000000..88078905c8a8 --- /dev/null +++ b/dev-java/jax-ws/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jax-ws +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/ChangeLog,v 1.1 2007/05/01 19:31:21 nelchael Exp $ + +*jax-ws-2.0.1 (01 May 2007) + + 01 May 2007; Krzysiek Pawlik + +files/jax-ws-2.0.1-gentoo.patch, +metadata.xml, +jax-ws-2.0.1.ebuild: + Initial commit of jax-ws. + diff --git a/dev-java/jax-ws/files/digest-jax-ws-2.0.1 b/dev-java/jax-ws/files/digest-jax-ws-2.0.1 new file mode 100644 index 000000000000..34ed505fcf5b --- /dev/null +++ b/dev-java/jax-ws/files/digest-jax-ws-2.0.1 @@ -0,0 +1,3 @@ +MD5 7f739321e50d4b5e4a106938b0aac733 JAXWS2.0.1m1_source_20060817.jar 8993405 +RMD160 432cbeba178741e51706cb0f95b4bd82f0a36366 JAXWS2.0.1m1_source_20060817.jar 8993405 +SHA256 9725cfb91cecff833055d7af45c3413ca9d1a818a4cfdb86211ed82f383f3865 JAXWS2.0.1m1_source_20060817.jar 8993405 diff --git a/dev-java/jax-ws/files/jax-ws-2.0.1-gentoo.patch b/dev-java/jax-ws/files/jax-ws-2.0.1-gentoo.patch new file mode 100644 index 000000000000..ac544927199d --- /dev/null +++ b/dev-java/jax-ws/files/jax-ws-2.0.1-gentoo.patch @@ -0,0 +1,53 @@ +Files jaxws-si.vanilla/.build.xml.swp and jaxws-si/.build.xml.swp differ +diff -Nru jaxws-si.vanilla/build.xml jaxws-si/build.xml +--- jaxws-si.vanilla/build.xml 2007-04-16 20:09:54.000000000 +0200 ++++ jaxws-si/build.xml 2007-04-16 20:18:16.000000000 +0200 +@@ -78,16 +78,10 @@ + + + ++ ++ ++ + +- +- +- +- +- +- +- +- +- + + + +Files jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/.StreamMessage.java.swp and jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/.StreamMessage.java.swp differ +diff -Nru jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java +--- jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java 2007-04-16 20:09:54.000000000 +0200 ++++ jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamHeader.java 2007-04-16 20:12:34.000000000 +0200 +@@ -214,12 +214,8 @@ + } + + public void writeTo(XMLStreamWriter w) throws XMLStreamException { +- try { + // TODO what about in-scope namespaces + _mark.writeToXMLStreamWriter(w); +- } catch (XMLStreamBufferException e) { +- throw new XMLStreamException2(e); +- } + } + + public void writeTo(SOAPMessage saaj) throws SOAPException { +diff -Nru jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java +--- jaxws-si.vanilla/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java 2007-04-16 20:09:54.000000000 +0200 ++++ jaxws-si/src/rt/src/com/sun/xml/ws/message/stream/StreamMessage.java 2007-04-16 20:13:34.000000000 +0200 +@@ -287,8 +287,6 @@ + return new StreamMessage(envelopeTag, headerTag, attachmentSet, HeaderList.copy(headers), bodyTag, clone, soapVersion); + } catch (XMLStreamException e) { + throw new WebServiceException("Failed to copy a message",e); +- } catch (XMLStreamBufferException e) { +- throw new WebServiceException("Failed to copy a message",e); + } + } + diff --git a/dev-java/jax-ws/jax-ws-2.0.1.ebuild b/dev-java/jax-ws/jax-ws-2.0.1.ebuild new file mode 100644 index 000000000000..efddbe23b993 --- /dev/null +++ b/dev-java/jax-ws/jax-ws-2.0.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-ws/jax-ws-2.0.1.ebuild,v 1.1 2007/05/01 19:31:21 nelchael Exp $ + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Reference implementation of the Java API for XML Web Services" +HOMEPAGE="http://jax-ws.dev.java.net/" +DATE="20060817" +MY_P="JAXWS${PV}m1_source_${DATE}.jar" +SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}" + +LICENSE="CDDL" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP="dev-java/istack-commons-runtime + =dev-java/jax-ws-api-2* + =dev-java/jaxb-2* + dev-java/jsr173 + dev-java/jsr181 + dev-java/jsr250 + =dev-java/sun-httpserver-bin-2* + dev-java/jsr67 + dev-java/saaj + dev-java/sjsxp + dev-java/stax-ex + dev-java/sun-jaf + dev-java/txw2-runtime + dev-java/xmlstreambuffer + dev-java/xml-commons-resolver" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/jaxws-si" + +src_unpack() { + echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed" + + unpack ./jaxws-src.zip || die "unzip failed" + + cd "${S}/lib" + rm -v *.jar || die + + java-pkg_jarfrom istack-commons-runtime + java-pkg_jarfrom jax-ws-api-2 + java-pkg_jarfrom jaxb-2 + java-pkg_jarfrom jsr173 + java-pkg_jarfrom jsr181 + java-pkg_jarfrom jsr250 + java-pkg_jarfrom jsr67 + java-pkg_jarfrom saaj + java-pkg_jarfrom sjsxp + java-pkg_jarfrom sun-httpserver-bin-2 + java-pkg_jarfrom stax-ex + java-pkg_jarfrom sun-jaf + java-pkg_jarfrom txw2-runtime + java-pkg_jarfrom xml-commons-resolver + java-pkg_jarfrom xmlstreambuffer + + cp \ + ${S}/src/rt/build/gen-src/com/sun/xml/ws/resources/*.java \ + ${S}/src/rt/src/com/sun/xml/ws/resources/ || die "cp failed" + + find "${S}/src/" -name '*.java' -exec \ + sed -i -e \ + 's,com.sun.org.apache.xml.internal.resolver,org.apache.xml.resolver,g' \ + {} \; + + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" + +} + +EANT_BUILD_TARGET="build" + +src_install() { + + java-pkg_dojar jax-ws.jar + + use source && java-pkg_dosrc src/rt/src/* + +} diff --git a/dev-java/jax-ws/metadata.xml b/dev-java/jax-ws/metadata.xml new file mode 100644 index 000000000000..39fffcd80808 --- /dev/null +++ b/dev-java/jax-ws/metadata.xml @@ -0,0 +1,8 @@ + + + + java + + nelchael@gentoo.org + + -- 2.26.2