1 |
caster 09/11/01 23:06:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: axis-1.4.ebuild |
5 |
Log: |
6 |
Version bump, bug #268603. |
7 |
(Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 www-servers/axis/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/axis/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/axis/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/axis/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 22 Mar 2008 22:31:00 -0000 1.21 |
23 |
+++ ChangeLog 1 Nov 2009 23:06:46 -0000 1.22 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for www-servers/axis |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v 1.21 2008/03/22 22:31:00 betelgeuse Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/ChangeLog,v 1.22 2009/11/01 23:06:46 caster Exp $ |
30 |
+ |
31 |
+*axis-1.4 (01 Nov 2009) |
32 |
+ |
33 |
+ 01 Nov 2009; Vlastimil Babka <caster@g.o> +axis-1.4.ebuild, |
34 |
+ +files/axis-1.4-build.xml.patch, +files/axis-1.4-path_refs.xml.patch, |
35 |
+ +files/axis-1.4-targets.xml.patch, +files/axis-1.4-tools-build.xml.patch, |
36 |
+ +files/build.properties: |
37 |
+ Version bump, bug #268603. |
38 |
|
39 |
22 Mar 2008; Petteri Räty <betelgeuse@g.o> |
40 |
-axis-1.2_rc2-r2.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 www-servers/axis/axis-1.4.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/axis/axis-1.4.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-servers/axis/axis-1.4.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: axis-1.4.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/axis/axis-1.4.ebuild,v 1.1 2009/11/01 23:06:46 caster Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
WANT_ANT_TASKS="ant-nodeps ant-trax" |
57 |
JAVA_PKG_IUSE="doc source examples" |
58 |
|
59 |
inherit eutils java-pkg-2 java-ant-2 |
60 |
|
61 |
MY_PV="${PV//./_}" |
62 |
MY_P="${PN}-${MY_PV}" |
63 |
DESCRIPTION="Apache's Axis1 implementation of the SOAP (Simple Object Access Protocol)" |
64 |
HOMEPAGE="http://ws.apache.org/axis/index.html" |
65 |
SRC_URI="mirror://apache/ws/${PN}/${MY_PV}/${PN}-src-${MY_PV}.tar.gz" |
66 |
|
67 |
LICENSE="Apache-2.0" |
68 |
SLOT="1" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="debug" |
71 |
|
72 |
RDEPEND=" |
73 |
dev-java/commons-discovery:0 |
74 |
dev-java/wsdl4j:0 |
75 |
dev-java/sun-jaf:0 |
76 |
dev-java/commons-logging:0 |
77 |
java-virtuals/javamail:0 |
78 |
dev-java/bsf:2.3 |
79 |
dev-java/castor:1.0 |
80 |
dev-java/commons-httpclient:3 |
81 |
dev-java/commons-net:0 |
82 |
dev-java/sun-jimi:0 |
83 |
dev-java/servletapi:2.4 |
84 |
dev-java/saaj:0 |
85 |
dev-java/jax-rpc:0 |
86 |
dev-java/log4j:0 |
87 |
dev-java/xml-commons:0 |
88 |
dev-java/xml-xmlbeans:1" |
89 |
|
90 |
DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) |
91 |
${RDEPEND}" |
92 |
RDEPEND=">=virtual/jre-1.4 |
93 |
${RDEPEND}" |
94 |
|
95 |
S="${WORKDIR}/${MY_P}" |
96 |
|
97 |
AXIS_NAME="${PN}-${SLOT}" |
98 |
|
99 |
# not declared mandatory but fails without it |
100 |
# mailapi.jar would be enough but that's only in -bin, mail.jar superseedes |
101 |
EANT_GENTOO_CLASSPATH="sun-jaf,javamail,log4j,xml-xmlbeans-1,servletapi-2.4,bsf-2.3,sun-jimi,commons-httpclient-3,castor-1.0,xml-commons,commons-net" |
102 |
EANT_EXTRA_ARGS="-Ddeprecation=false -Dbase.path=/opt |
103 |
-Dservlet.jar=servlet-api.jar -Dwsdl4j-1.5.1.jar=wsdl4j.jar |
104 |
-Dcommons-logging-1.0.4.jar=commons-logging.jar" |
105 |
EANT_BUILD_TARGET="compile" |
106 |
EANT_DOC_TARGET="javadocs" |
107 |
EANT_NEEDS_TOOLS="true" |
108 |
|
109 |
#TODO-tests require Atlassian clover, need to figure out which ones |
110 |
RESTRICT="test" |
111 |
|
112 |
java_prepare() { |
113 |
# remove some <copy> actions |
114 |
epatch "${FILESDIR}/${P}-build.xml.patch" |
115 |
# remove exact lib paths and global java.classpath from classpath |
116 |
epatch "${FILESDIR}/${P}-path_refs.xml.patch" |
117 |
# add missing target to javac, xml rewriting would break entities |
118 |
epatch "${FILESDIR}/${P}-tools-build.xml.patch" |
119 |
# remove most of <available> checks |
120 |
epatch "${FILESDIR}/${P}-targets.xml.patch" |
121 |
# and replace them with predefined properties |
122 |
cp "${FILESDIR}/build.properties" . \ |
123 |
|| die "failed to copy build.properties from ${FILESDIR}" |
124 |
|
125 |
rm -rf "${S}"/docs/apiDocs || die |
126 |
|
127 |
#Remove test till they are working |
128 |
rm -rf "${S}"/test || die |
129 |
#cd "${S}"/test |
130 |
#mv build_ant.xml build.xml |
131 |
cd "${S}"/webapps/axis/WEB-INF/lib |
132 |
rm -v *.jar || die |
133 |
|
134 |
cd "${S}/lib" |
135 |
rm -v *.jar || die |
136 |
java-pkg_jar-from --build-only ant-core |
137 |
java-pkg_jar-from wsdl4j wsdl4j.jar |
138 |
java-pkg_jar-from commons-logging commons-logging.jar |
139 |
java-pkg_jar-from commons-discovery commons-discovery.jar |
140 |
|
141 |
if use debug; then |
142 |
EANT_EXTRA_ARGS+=" -Ddebug=on" |
143 |
else |
144 |
EANT_EXTRA_ARGS+=" -Ddebug=off" |
145 |
fi |
146 |
|
147 |
cd "${S}" |
148 |
java-ant_rewrite-classpath |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
dodir /usr/share/${AXIS_NAME} |
153 |
mv build/lib/axis-ant.jar build/lib/ant-axis.jar || die |
154 |
java-pkg_dojar build/lib/axis.jar |
155 |
java-pkg_dojar build/lib/ant-axis.jar |
156 |
java-pkg_dojar build/lib/jaxrpc.jar |
157 |
java-pkg_register-ant-task |
158 |
dodir /usr/share/${AXIS_NAME}/webapps |
159 |
|
160 |
cp -pR "${S}"/webapps/axis "${D}"/usr/share/${AXIS_NAME}/webapps || die |
161 |
|
162 |
dodoc NOTICE README |
163 |
dohtml release-notes.html changelog.html |
164 |
|
165 |
if use doc; then |
166 |
java-pkg_dojavadoc build/javadocs/ |
167 |
dohtml -r docs/* |
168 |
dodoc xmls/* |
169 |
fi |
170 |
|
171 |
use source && java-pkg_dosrc src |
172 |
use examples && java-pkg_doexamples samples |
173 |
} |
174 |
|
175 |
pkg_postinst() { |
176 |
elog "Please note that this package is mainly a dependency library. Contributions" |
177 |
elog "to webapp packaging welcome at https://bugs.gentoo.org/show_bug.cgi?id=89556" |
178 |
} |