summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-10-05 20:20:57 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-10-05 20:20:57 +0000
commit4f529487babf45e5ef0cfee9d970170d2ea7aae9 (patch)
tree202139aed5fcff72941a3ee1b045cc39f388f639 /dev-java/saaj
parentupdate from cvs to svn (diff)
downloadhistorical-4f529487babf45e5ef0cfee9d970170d2ea7aae9.tar.gz
historical-4f529487babf45e5ef0cfee9d970170d2ea7aae9.tar.bz2
historical-4f529487babf45e5ef0cfee9d970170d2ea7aae9.zip
Migrate to jaf and saaj-api virtuals.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'dev-java/saaj')
-rw-r--r--dev-java/saaj/ChangeLog7
-rw-r--r--dev-java/saaj/Manifest13
-rw-r--r--dev-java/saaj/saaj-1.3-r1.ebuild61
3 files changed, 79 insertions, 2 deletions
diff --git a/dev-java/saaj/ChangeLog b/dev-java/saaj/ChangeLog
index d9eff08384e0..6ad05b1499a9 100644
--- a/dev-java/saaj/ChangeLog
+++ b/dev-java/saaj/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/saaj
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.10 2008/03/28 18:06:12 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/ChangeLog,v 1.11 2008/10/05 20:20:57 serkan Exp $
+
+*saaj-1.3-r1 (05 Oct 2008)
+
+ 05 Oct 2008; Serkan Kaba <serkan@gentoo.org> +saaj-1.3-r1.ebuild:
+ Migrate to jaf and saaj-api virtuals.
28 Mar 2008; nixnut <nixnut@gentoo.org> saaj-1.3.ebuild:
Stable on ppc wrt bug 214778
diff --git a/dev-java/saaj/Manifest b/dev-java/saaj/Manifest
index 140ae7284509..8f83fa00587e 100644
--- a/dev-java/saaj/Manifest
+++ b/dev-java/saaj/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX build.xml-1.3 442 RMD160 ca6ad741c1cf33f529f135bae63647317745f568 SHA1 813c2abd9a11af89fd519c410f5f2919aa0cc4b2 SHA256 4c92b6eaf6cb2a8bf1cf4f579536569ab37c198032369bc0eb869e4d36da3b74
DIST saaj1.3.src.zip 262141 RMD160 87e3d28373e84b8fbd03f0467ad8a0b6e091139d SHA1 526b00954a373161eb39a6618446c56000c21b3d SHA256 51a746c08aac81c4fe39af6fcb3fd5f713159306f87f7ec84109b9d877e4fa6b
+EBUILD saaj-1.3-r1.ebuild 1468 RMD160 c6218134b737ebe308dfaeba6662e05b1a888295 SHA1 c91b1e068cc74ba1bea52632531dce32ccafbd05 SHA256 9d7ed84934549eb825c2ae825c497290205f5c6a77d34b428d4f1519dc40ff2e
EBUILD saaj-1.3.ebuild 1434 RMD160 e600098b4176096337f028001dccf6ccbd49348c SHA1 7b0fb6b3fbdb29c87707ef008a52389665020007 SHA256 458d8e060c19f3a776d33342e89ac26552b9bf842b29211ae324e4b0f462306b
-MISC ChangeLog 1410 RMD160 ad9943fc7d6162585d78b09fc14825fd017b1b15 SHA1 5748286af17711f2d79b2e6ad2b38ee7943c8d0e SHA256 b73a314b6cdae8ba36c46e603ee28076c545c1b6da72da42e79bf7d32aded9be
+MISC ChangeLog 1547 RMD160 1d6ce73f6d53a23ea2f9bd074772729b2e159555 SHA1 7078a6449a0d9612c3b8de9cdabb6ba65450ceaf SHA256 c9ad169f31c504d134d6c7d1af6a73e70e8d100a28ccdec331fa3d44e6f8d381
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjpIbEACgkQRh6X64ivZaKjSgCdGAwcYLBLEP4lpGKnoe9qe7bd
+glMAnRmTGj0u1vFfWKvALShEeSWeg0R5
+=39er
+-----END PGP SIGNATURE-----
diff --git a/dev-java/saaj/saaj-1.3-r1.ebuild b/dev-java/saaj/saaj-1.3-r1.ebuild
new file mode 100644
index 000000000000..85a8cf0fcef4
--- /dev/null
+++ b/dev-java/saaj/saaj-1.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/saaj/saaj-1.3-r1.ebuild,v 1.1 2008/10/05 20:20:57 serkan 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 ~x86-fbsd"
+IUSE=""
+
+COMMON_DEP="java-virtuals/saaj-api
+ java-virtuals/jaf
+ >=dev-java/xerces-2.8
+ dev-java/xalan"
+# needs com.sun.image.codec which 1.7 doesn't have
+# should fix it to not use them at all
+DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
+ app-arch/unzip
+ ${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 --virtual saaj-api
+ java-pkg_jar-from --virtual jaf
+ java-pkg_jar-from xerces-2
+ java-pkg_jar-from xalan
+
+ cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || 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/*
+
+}