diff options
author | James Le Cuirot <chewi@gentoo.org> | 2015-06-30 11:02:04 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-06-30 11:02:04 +0000 |
commit | 4695f43b70c443dd24cc9d43ee8c3f036534df87 (patch) | |
tree | 43d2863f654bc4672860f7ec694ac5099e19b25e /dev-java/xalan-serializer | |
parent | Stable for x86, wrt bug #553298 (diff) | |
download | gentoo-2-4695f43b70c443dd24cc9d43ee8c3f036534df87.tar.gz gentoo-2-4695f43b70c443dd24cc9d43ee8c3f036534df87.tar.bz2 gentoo-2-4695f43b70c443dd24cc9d43ee8c3f036534df87.zip |
Version bump, EAPI bump, and general clean up. Possibly addresses
security bug #505602.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)
Diffstat (limited to 'dev-java/xalan-serializer')
-rw-r--r-- | dev-java/xalan-serializer/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild | 44 |
2 files changed, 53 insertions, 2 deletions
diff --git a/dev-java/xalan-serializer/ChangeLog b/dev-java/xalan-serializer/ChangeLog index ada5a1d98f03..721b3633bcd6 100644 --- a/dev-java/xalan-serializer/ChangeLog +++ b/dev-java/xalan-serializer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/xalan-serializer -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan-serializer/ChangeLog,v 1.17 2014/06/17 19:40:50 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan-serializer/ChangeLog,v 1.18 2015/06/30 11:02:04 chewi Exp $ + +*xalan-serializer-2.7.2 (30 Jun 2015) + + 30 Jun 2015; James Le Cuirot <chewi@gentoo.org> + +xalan-serializer-2.7.2.ebuild: + Version bump, EAPI bump, and general clean up. Possibly addresses security bug + #505602. 17 Jun 2014; Manuel Rüger <mrueg@gentoo.org> -xalan-serializer-2.7.0.ebuild: NM: Cleanup superseded ebuilds. diff --git a/dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild b/dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild new file mode 100644 index 000000000000..8fb53bcd1725 --- /dev/null +++ b/dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan-serializer/xalan-serializer-2.7.2.ebuild,v 1.1 2015/06/30 11:02:04 chewi Exp $ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 versionator + +MY_PN="xalan-j" +MY_PV="$(replace_all_version_separators _)" +MY_P="${MY_PN}_${MY_PV}" + +DESCRIPTION="DOM Level 3 serializer from Apache Xalan, shared by Xalan and Xerces" +HOMEPAGE="http://xalan.apache.org/" +SRC_URI="mirror://apache/${PN}/${MY_PN}/source/${MY_P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +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" + +RDEPEND=">=virtual/jre-1.3" +DEPEND=">=virtual/jdk-1.3" + +EANT_BUILD_TARGET="serializer.jar" +EANT_DOC_TARGET="serializer.javadocs" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + # kill all non-serializer sources to ease javadocs and dosrc + find src/org/ -type f ! -path "src/org/apache/xml/serializer/*" -delete || die + + # remove bundled jars + find -name "*.jar" -delete || die + rm src/*.tar.gz || die +} + +src_install() { + java-pkg_dojar build/serializer.jar + + use doc && java-pkg_dojavadoc build/docs/apidocs + use source && java-pkg_dosrc src/org +} |