1 |
chewi 15/06/30 11:04:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xalan-2.7.2.ebuild |
5 |
Log: |
6 |
Version bump, EAPI bump, and general clean up. Addresses security bug #505602. |
7 |
Closes bug #525844. |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.98 dev-java/xalan/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xalan/ChangeLog?rev=1.98&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xalan/ChangeLog?rev=1.98&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xalan/ChangeLog?r1=1.97&r2=1.98 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v |
21 |
retrieving revision 1.97 |
22 |
retrieving revision 1.98 |
23 |
diff -u -r1.97 -r1.98 |
24 |
--- ChangeLog 10 Aug 2014 20:26:33 -0000 1.97 |
25 |
+++ ChangeLog 30 Jun 2015 11:04:04 -0000 1.98 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-java/xalan |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.97 2014/08/10 20:26:33 slyfox Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/ChangeLog,v 1.98 2015/06/30 11:04:04 chewi Exp $ |
32 |
+ |
33 |
+*xalan-2.7.2 (30 Jun 2015) |
34 |
+ |
35 |
+ 30 Jun 2015; James Le Cuirot <chewi@g.o> +xalan-2.7.2.ebuild: |
36 |
+ Version bump, EAPI bump, and general clean up. Addresses security bug #505602. |
37 |
+ Closes bug #525844. |
38 |
|
39 |
10 Aug 2014; Sergei Trofimovich <slyfox@g.o> xalan-2.7.1.ebuild: |
40 |
QA: drop trailing '.' from DESCRIPTION |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-java/xalan/xalan-2.7.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xalan/xalan-2.7.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xalan/xalan-2.7.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: xalan-2.7.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.7.2.ebuild,v 1.1 2015/06/30 11:04:04 chewi Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
# NOTE: Building the docs is much more hassle than it's worth. It |
58 |
# requires com.sun.image.codec, which has long gone from JDKs, and |
59 |
# Apache StyleBook, which is long dead though it is bundled here. |
60 |
|
61 |
JAVA_PKG_IUSE="doc source" |
62 |
|
63 |
inherit java-pkg-2 java-ant-2 versionator |
64 |
|
65 |
MY_PN="${PN}-j" |
66 |
MY_PV="$(replace_all_version_separators _)" |
67 |
MY_P="${MY_PN}_${MY_PV}" |
68 |
SRC_DIST="${MY_P}-src.tar.gz" |
69 |
BIN_DIST="${MY_P}-bin.zip" |
70 |
|
71 |
DESCRIPTION="Apache's XSLT processor for transforming XML documents into HTML, text, or other XML document types" |
72 |
HOMEPAGE="http://xalan.apache.org/" |
73 |
SRC_URI="mirror://apache/${PN}/${MY_PN}/source/${SRC_DIST} |
74 |
doc? ( mirror://apache/${PN}/${MY_PN}/binaries/${BIN_DIST} )" |
75 |
LICENSE="Apache-2.0" |
76 |
SLOT="0" |
77 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
78 |
|
79 |
CDEPEND="dev-java/javacup:0 |
80 |
dev-java/bcel:0" |
81 |
|
82 |
RDEPEND="${CDEPEND} |
83 |
>=virtual/jre-1.3 |
84 |
~dev-java/xalan-serializer-${PV}:${SLOT}" |
85 |
|
86 |
DEPEND="${CDEPEND} |
87 |
>=virtual/jdk-1.3 |
88 |
doc? ( app-arch/unzip )" |
89 |
|
90 |
EANT_GENTOO_CLASSPATH="bcel,javacup" |
91 |
EANT_BUILD_TARGET="unbundledjar" |
92 |
EANT_DOC_TARGET="" |
93 |
|
94 |
JAVA_ANT_REWRITE_CLASSPATH="true" |
95 |
S="${WORKDIR}/${MY_P}" |
96 |
|
97 |
java_prepare() { |
98 |
# disable building of serializer.jar |
99 |
sed -i -e 's/depends="prepare,serializer.jar"/depends="prepare"/' \ |
100 |
build.xml || die "sed build.xml failed" |
101 |
|
102 |
# remove bundled jars |
103 |
find -name "*.jar" -delete || die |
104 |
rm src/*.tar.gz || die |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
java-pkg_newjar build/${PN}-unbundled.jar |
109 |
java-pkg_dolauncher ${PN} --main org.apache.xalan.xslt.Process |
110 |
java-pkg_register-dependency ${PN}-serializer |
111 |
|
112 |
dodoc NOTICE.txt readme.html |
113 |
use doc && java-pkg_dohtml -r docs/* |
114 |
use source && java-pkg_dosrc src/org |
115 |
} |