diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-22 14:04:51 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-22 14:04:51 +0000 |
commit | 57285c8e0d502a86db252ae5f4e45e965400a78a (patch) | |
tree | a20ccc26a3cf3c8816b03ce3bdda6d675b069a6b /www-servers/axis | |
parent | metadata (diff) | |
download | gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.tar.gz gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.tar.bz2 gentoo-2-57285c8e0d502a86db252ae5f4e45e965400a78a.zip |
Initial import. Ebuild contributions by various people, see #38899.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'www-servers/axis')
-rw-r--r-- | www-servers/axis/ChangeLog | 10 | ||||
-rw-r--r-- | www-servers/axis/Manifest | 3 | ||||
-rw-r--r-- | www-servers/axis/axis-1.2_rc2.ebuild | 82 | ||||
-rw-r--r-- | www-servers/axis/files/axis-1.2-gentoo.patch | 75 | ||||
-rw-r--r-- | www-servers/axis/files/digest-axis-1.2_rc2 | 1 | ||||
-rw-r--r-- | www-servers/axis/metadata.xml | 13 |
6 files changed, 184 insertions, 0 deletions
diff --git a/www-servers/axis/ChangeLog b/www-servers/axis/ChangeLog new file mode 100644 index 000000000000..ef59c0244866 --- /dev/null +++ b/www-servers/axis/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-servers/axis +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v 1.1 2005/01/22 14:04:51 luckyduck Exp $ + +*axis-1.2_rc2 (22 Jan 2005) + + 22 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/axis-1.2-gentoo.patch, +axis-1.2_rc2.ebuild: + Initial import. Ebuild contributions by various people, see #38899. + diff --git a/www-servers/axis/Manifest b/www-servers/axis/Manifest new file mode 100644 index 000000000000..01c5d0a53c40 --- /dev/null +++ b/www-servers/axis/Manifest @@ -0,0 +1,3 @@ +MD5 49d426f80c1e516b7988086f73ff8ec1 axis-1.2_rc2.ebuild 2053 +MD5 8c7cc290e3dabad081a6b8856d01cb66 files/digest-axis-1.2_rc2 68 +MD5 46179f667d9c1eefb6b60ae7282c049e files/axis-1.2-gentoo.patch 2907 diff --git a/www-servers/axis/axis-1.2_rc2.ebuild b/www-servers/axis/axis-1.2_rc2.ebuild new file mode 100644 index 000000000000..99f2477a0e04 --- /dev/null +++ b/www-servers/axis/axis-1.2_rc2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/axis-1.2_rc2.ebuild,v 1.1 2005/01/22 14:04:51 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="Apache Axis SOAP implementation" +HOMEPAGE="http://ws.apache.org/axis/" +MY_PV="${PV//./_}" +MY_PV="${MY_PV/_rc2/RC2}" +MY_P="${PN}-${MY_PV}" +SRCFILE="${MY_P}-src.tar.gz" +SRC_URI="mirror://apache/ws/${PN}/${MY_PV}/${SRCFILE}" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.5 + =dev-java/servletapi-2.4* + dev-java/commons-logging + dev-java/commons-discovery + dev-java/log4j + dev-java/wsdl4j + >=dev-java/xerces-2 + >=dev-java/rhino-1.5.5 + >=dev-java/castor-0.9.5.3 + >=dev-java/sun-jimi-1.0 + >=dev-java/commons-httpclient-2.0 + =dev-java/bsf-2.3* + dev-java/sun-jaf-bin + dev-java/sun-javamail-bin + jikes? ( >=dev-java/jikes-1.21 )" +LICENSE="Apache-1.1" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="debug doc jikes" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/axis-1.2-gentoo.patch + + for i in `find . -name "*.jar"` + do + rm -f $i + done + + cd ${S}/lib + java-pkg_jar-from commons-discovery + java-pkg_jar-from commons-logging + java-pkg_jar-from log4j + java-pkg_jar-from wsdl4j + java-pkg_jar-from sun-jaf-bin + java-pkg_jar-from servletapi-2.4 + java-pkg_jar-from sun-javamail-bin + java-pkg_jar-from xerces-2 + java-pkg_jar-from sun-jimi + java-pkg_jar-from castor-0.9 + java-pkg_jar-from commons-httpclient + java-pkg_jar-from bsf-2.3 +} + +src_compile() { + local antflags="compile -Ddeprecation=false -Dbase.path=/opt" + use doc && antflags="${antflags} javadocs" + use debug && antflags="${antflags} -Ddebug=on" + use !debug && antflags="${antflags} -Ddebug=off" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation problem" +} + +src_install() { + java-pkg_dojar build/lib/axis*.jar + java-pkg_dojar build/lib/jaxrpc.jar + java-pkg_dojar build/lib/saaj.jar + + if use doc; then + dodoc ${S}/release-notes.html ${S}/release-notes.html ${S}/doc/* + java-pkg_dohtml ${S}/build/javadocs/ + fi +} diff --git a/www-servers/axis/files/axis-1.2-gentoo.patch b/www-servers/axis/files/axis-1.2-gentoo.patch new file mode 100644 index 000000000000..96a9ef2a6c70 --- /dev/null +++ b/www-servers/axis/files/axis-1.2-gentoo.patch @@ -0,0 +1,75 @@ +--- build.xml.orig 2004-12-25 15:05:17.518651328 +0100 ++++ build.xml 2004-12-25 15:10:40.325577216 +0100 +@@ -83,6 +83,14 @@ + &taskdefs;
+ &targets;
+
++
++ <path id="axis-classpath">
++ <pathelement path="${classpath}" />
++ <fileset dir="lib">
++ <include name="**/*.jar" />
++ </fileset>
++ </path>
++
+ <!-- =================================================================== -->
+ <!-- Compiles the source directory -->
+ <!-- =================================================================== -->
+@@ -91,10 +99,7 @@ + <depend srcdir="${src.dir}" destdir="${build.dest}"
+ cache="${build.dir}/dependencycache" closure="no">
+ </depend>
+- <javac srcdir="${src.dir}" destdir="${build.dest}" nowarn="${nowarn}" debug="${debug}"
+- deprecation="${deprecation}"
+- source="${source}"
+- classpathref="classpath">
++ <javac srcdir="${src.dir}" destdir="${build.dest}" nowarn="${nowarn}" debug="${debug}" deprecation="${deprecation}" source="${source}" classpathref="axis-classpath">
+ <exclude name="**/old/**/*" />
+ <exclude name="**/bak/**"/>
+ <exclude name="**/org/apache/axis/components/net/JDK14*.java" unless="jdk14.jsse.present"/>
+@@ -223,12 +228,6 @@ + </section>
+ </manifest>
+ </jar>
+- <copy file="${wsdl4j.jar}" toDir="${build.lib}"/>
+- <copy file="${commons-logging.jar}" toDir="${build.lib}"/>
+- <copy file="${commons-discovery.jar}" toDir="${build.lib}"/>
+- <copy file="${log4j-core.jar}" toDir="${build.lib}"/>
+- <copy file="${src.dir}/log4j.properties"
+- toDir="${build.lib}"/>
+
+ <!-- Build the new org.apache.axis.tools.ant stuff -->
+ <mkdir dir="${axis.home}/tools/lib" />
+@@ -272,7 +271,7 @@ +
+ <path id="test-classpath">
+ <pathelement location="${build.dest}" />
+- <path refid="classpath"/>
++ <path refid="axis-classpath"/>
+ </path>
+
+ <target name="buildTest" depends="compile" if="junit.present" unless="tests.built">
+@@ -312,7 +311,7 @@ + debug="${debug}"
+ source="${source}"
+ deprecation="${deprecation}"
+- classpathref="classpath">
++ classpathref="axis-classpath">
+ <include name="*.java"/>
+ </javac>
+ </target>
+@@ -362,11 +361,12 @@ + <mkdir dir="${build.javadocs}"/>
+ <javadoc packagenames="${packages}"
+ sourcepath="${src.dir}"
+- classpathref="classpath"
++ classpathref="axis-classpath"
+ destdir="${build.javadocs}"
+ author="true"
+ version="true"
+- use="true"
++ use="true"
++ source="${source}"
+ windowtitle="${Name} API"
+ doctitle="${Name}"
+ bottom="Copyright © ${year} Apache Web Services Project. All Rights Reserved."
diff --git a/www-servers/axis/files/digest-axis-1.2_rc2 b/www-servers/axis/files/digest-axis-1.2_rc2 new file mode 100644 index 000000000000..bdae9bc00c34 --- /dev/null +++ b/www-servers/axis/files/digest-axis-1.2_rc2 @@ -0,0 +1 @@ +MD5 a5424fcb51e2f3e9ad53db2186185ad6 axis-1_2RC2-src.tar.gz 9888710 diff --git a/www-servers/axis/metadata.xml b/www-servers/axis/metadata.xml new file mode 100644 index 000000000000..44b5c227d518 --- /dev/null +++ b/www-servers/axis/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> + +<longdescription> +Apache Axis is an implementation of the SOAP ("Simple Object Access Protocol") submission to W3C. + +From the draft W3C specification: + + SOAP is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses. +</longdescription> +</pkgmetadata> |