1 |
fordfrog 08/06/21 18:19:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: commons-fileupload-1.2.1.ebuild |
5 |
Log: |
6 |
Version bump. x86-fbsd dropped for now as deps need to be keyworded. |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.49 dev-java/commons-fileupload/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-fileupload/ChangeLog?rev=1.49&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-fileupload/ChangeLog?rev=1.49&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-fileupload/ChangeLog?r1=1.48&r2=1.49 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v |
19 |
retrieving revision 1.48 |
20 |
retrieving revision 1.49 |
21 |
diff -u -r1.48 -r1.49 |
22 |
--- ChangeLog 3 May 2008 19:33:08 -0000 1.48 |
23 |
+++ ChangeLog 21 Jun 2008 18:19:35 -0000 1.49 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-java/commons-fileupload |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.48 2008/05/03 19:33:08 opfer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/ChangeLog,v 1.49 2008/06/21 18:19:35 fordfrog Exp $ |
29 |
+ |
30 |
+*commons-fileupload-1.2.1 (21 Jun 2008) |
31 |
+ |
32 |
+ 21 Jun 2008; Miroslav Ć ulc <fordfrog@g.o> |
33 |
+ +files/commons-fileupload-1.2.1-gentoo.patch, |
34 |
+ +commons-fileupload-1.2.1.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
03 May 2008; Christian Faulhammer <opfer@g.o> |
38 |
commons-fileupload-1.2-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/commons-fileupload/commons-fileupload-1.2.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: commons-fileupload-1.2.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-fileupload/commons-fileupload-1.2.1.ebuild,v 1.1 2008/06/21 18:19:35 fordfrog Exp $ |
52 |
|
53 |
JAVA_PKG_IUSE="doc source" |
54 |
inherit eutils java-pkg-2 java-ant-2 |
55 |
|
56 |
DESCRIPTION="A Java library for adding robust, high-performance, file upload capability to your servlets and web applications." |
57 |
HOMEPAGE="http://hc.apache.org" |
58 |
SRC_URI="mirror://apache/commons/fileupload/source/${P}-src.tar.gz" |
59 |
COMMON_DEPEND=">=dev-java/commons-io-1.3 |
60 |
=dev-java/portletapi-1* |
61 |
~java-virtuals/servlet-api-2.4" |
62 |
DEPEND=">=virtual/jdk-1.4 |
63 |
test? ( |
64 |
dev-java/ant-junit |
65 |
=dev-java/junit-3.8* |
66 |
) |
67 |
${COMMON_DEPEND}" |
68 |
RDEPEND=">=virtual/jre-1.4 |
69 |
${COMMON_DEPEND}" |
70 |
LICENSE="Apache-2.0" |
71 |
JAVA_PKG_FILTER_COMPILER="jikes" |
72 |
|
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
75 |
IUSE="test" |
76 |
|
77 |
S="${WORKDIR}/${P}-src" |
78 |
|
79 |
EANT_EXTRA_ARGS="-Dnoget=true -Dcommons-io.jar=true" |
80 |
|
81 |
src_unpack() { |
82 |
unpack ${A} |
83 |
cd "${S}" |
84 |
# Tweak build classpath and don't automatically run tests |
85 |
epatch "${FILESDIR}/${P}-gentoo.patch" |
86 |
local libdir="${S}/target/lib" |
87 |
mkdir -p ${libdir}/commons-io/jars -p ${libdir}/javax.servlet/jars -p ${libdir}/javax.portlet/jars |
88 |
java-pkg_jar-from --into ${libdir}/commons-io/jars commons-io-1 commons-io.jar commons-io-1.3.2.jar |
89 |
java-pkg_jar-from --into ${libdir}/javax.servlet/jars --virtual servlet-api-2.4 servlet-api.jar servlet-api-2.4.jar |
90 |
java-pkg_jar-from --into ${libdir}/javax.portlet/jars portletapi-1 portletapi.jar portlet-api-1.0.jar |
91 |
} |
92 |
|
93 |
src_test() { |
94 |
mkdir -p target/lib/junit/jars |
95 |
java-pkg_jar-from --into "${S}"/target/lib/junit/jars junit junit.jar junit-3.8.1.jar |
96 |
ANT_TASKS="ant-junit" eant test |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
java-pkg_newjar target/${P}.jar ${PN}.jar |
101 |
use doc && java-pkg_dojavadoc dist/docs/api |
102 |
use source && java-pkg_dosrc src/java/* |
103 |
} |
104 |
|
105 |
|
106 |
|
107 |
-- |
108 |
gentoo-commits@l.g.o mailing list |