Initial commit of saaj.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 18:37:32 +0000 (18:37 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 May 2007 18:37:32 +0000 (18:37 +0000)
Package-Manager: portage-2.1.2.5

dev-java/rngom/Manifest [new file with mode: 0644]
dev-java/saaj/ChangeLog [new file with mode: 0644]
dev-java/saaj/files/build.xml-1.3 [new file with mode: 0644]
dev-java/saaj/files/digest-saaj-1.3 [new file with mode: 0644]
dev-java/saaj/metadata.xml [new file with mode: 0644]
dev-java/saaj/saaj-1.3.ebuild [new file with mode: 0644]

diff --git a/dev-java/rngom/Manifest b/dev-java/rngom/Manifest
new file mode 100644 (file)
index 0000000..80af325
--- /dev/null
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX build.xml-20051226 444 RMD160 d6a8558e3cb747ed90f5d507ed17e396dc03342a SHA1 68aceb74af574c4031d4ba39c31e885f406966bb SHA256 fce354db79d18948578ad77a6b79cbb327492ffb3934535595914b2a3e83e5d0
+MD5 cbc4a7c2adf2106bf44edc1a6cb07e9f files/build.xml-20051226 444
+RMD160 d6a8558e3cb747ed90f5d507ed17e396dc03342a files/build.xml-20051226 444
+SHA256 fce354db79d18948578ad77a6b79cbb327492ffb3934535595914b2a3e83e5d0 files/build.xml-20051226 444
+DIST rngom-20051226.zip 1370492 RMD160 96029645ceb42d849f91b749dbd519c661f71907 SHA1 f56970483fb623a8353d33b8ac3545bb695bcee0 SHA256 aafaeb2e7e1a712affcd89605a1df99c1deb77eb2424291b47556a597225542e
+EBUILD rngom-20051226.ebuild 1002 RMD160 3260e1951feffb6e9c13239bdc14c0c9718cf3d6 SHA1 3654c62a3749165b10833cbecc641415c111d911 SHA256 411a00f738c4cc69c7253d934ff2e4f0e01d9612105ad95b3d932fe42a8293c7
+MD5 3cd663f5621cd0d0e917bdc0415eeca1 rngom-20051226.ebuild 1002
+RMD160 3260e1951feffb6e9c13239bdc14c0c9718cf3d6 rngom-20051226.ebuild 1002
+SHA256 411a00f738c4cc69c7253d934ff2e4f0e01d9612105ad95b3d932fe42a8293c7 rngom-20051226.ebuild 1002
+MISC ChangeLog 383 RMD160 1592a4903d582c44855af1a5ad9f3b0601008b4e SHA1 e06c876c9769a04c1e7205e9210382fb988d09c8 SHA256 650e3e0559518cd5ee5de4e093e7b30c965b3a460b8cf8b35fa643e9cfabe7e2
+MD5 96ddeffc59edb2dc1dade5510255ccf6 ChangeLog 383
+RMD160 1592a4903d582c44855af1a5ad9f3b0601008b4e ChangeLog 383
+SHA256 650e3e0559518cd5ee5de4e093e7b30c965b3a460b8cf8b35fa643e9cfabe7e2 ChangeLog 383
+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 09e32875b2642cdb9fbc262b65bb816a files/digest-rngom-20051226 238
+RMD160 2642a73a1b83d9ebc1ed3e0753778a91bf2aee93 files/digest-rngom-20051226 238
+SHA256 9fb42287c2994238ea9727b61e994c03154b74ab5c988bc6989a7eaf30dc9097 files/digest-rngom-20051226 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGN4olgo/w9rxVVVERAm96AKCtEqgsIgOnYC0bUr+qbvJv7oqeEQCeO9kW
+48UXnqibd+TB9SrNP85InUo=
+=Nat5
+-----END PGP SIGNATURE-----
diff --git a/dev-java/saaj/ChangeLog b/dev-java/saaj/ChangeLog
new file mode 100644 (file)
index 0000000..68cee4c
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/saaj
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.1 2007/05/01 18:37:32 nelchael Exp $
+
+*saaj-1.3 (01 May 2007)
+
+  01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.3,
+  +metadata.xml, +saaj-1.3.ebuild:
+  Initial commit of saaj.
+
diff --git a/dev-java/saaj/files/build.xml-1.3 b/dev-java/saaj/files/build.xml-1.3
new file mode 100644 (file)
index 0000000..596bff6
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<project name="saaj" default="jar" basedir=".">
+  <target name="compile">
+    <mkdir dir="build"/>
+    <javac debug="false" srcdir="src" destdir="build">
+      <classpath>
+        <fileset dir="lib" includes="**/*.jar"/>
+      </classpath>
+    </javac>
+  </target>
+  <target name="jar" depends="compile">
+    <jar destfile="saaj.jar">
+      <fileset dir="build" includes="**/*.class"/>
+    </jar>
+  </target>
+</project>
diff --git a/dev-java/saaj/files/digest-saaj-1.3 b/dev-java/saaj/files/digest-saaj-1.3
new file mode 100644 (file)
index 0000000..693bb19
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e4a3a96db08fc6fdff2430b966a32ae2 saaj1.3.src.zip 262141
+RMD160 87e3d28373e84b8fbd03f0467ad8a0b6e091139d saaj1.3.src.zip 262141
+SHA256 51a746c08aac81c4fe39af6fcb3fd5f713159306f87f7ec84109b9d877e4fa6b saaj1.3.src.zip 262141
diff --git a/dev-java/saaj/metadata.xml b/dev-java/saaj/metadata.xml
new file mode 100644 (file)
index 0000000..39fffcd
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>java</herd>
+  <maintainer>
+    <email>nelchael@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>
diff --git a/dev-java/saaj/saaj-1.3.ebuild b/dev-java/saaj/saaj-1.3.ebuild
new file mode 100644 (file)
index 0000000..b7dade1
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/saaj-1.3.ebuild,v 1.1 2007/05/01 18:37:32 nelchael Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="SOAP with Attachments API for Java"
+HOMEPAGE="https://saaj.dev.java.net/"
+SRC_URI="https://saaj.dev.java.net/files/documents/52/32731/saaj${PV}.src.zip"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+COMMON_DEP="dev-java/jsr67
+       dev-java/sun-jaf
+       =dev-java/xerces-2*
+       dev-java/xalan"
+DEPEND=">=virtual/jdk-1.5
+       ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+       ${COMMON_DEP}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+
+       unpack ${A}
+
+       mkdir src lib || die
+       mv com src || die
+
+       cd "${S}/lib"
+       java-pkg_jar-from jsr67
+       java-pkg_jar-from sun-jaf
+       java-pkg_jar-from xerces-2
+       java-pkg_jar-from xalan
+
+       cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" -i || die
+
+       cd "${S}/src"
+       # YES! There's nothing like using com.sun...internal ! YAY!
+       find . -name '*.java' -exec sed -i \
+               -e 's,com.sun.org.apache.xerces.internal,org.apache.xerces,g' \
+               -e 's,com.sun.org.apache.xalan.internal.xsltc.trax,org.apache.xalan.xsltc.trax,g' \
+               {} \;
+
+}
+
+src_install() {
+       java-pkg_dojar saaj.jar
+
+       use source && java-pkg_dosrc src/*
+
+}