diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-01-26 11:41:47 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-01-26 11:41:47 +0100 |
commit | b3468a23c91cd3872db82c69292ce239dc123ac0 (patch) | |
tree | b34cc789aacd026c869d097bc304f450a81a59c8 /dev-java/maven-bin | |
parent | dev-java/maven-bin: version bump (diff) | |
download | gentoo-b3468a23c91cd3872db82c69292ce239dc123ac0.tar.gz gentoo-b3468a23c91cd3872db82c69292ce239dc123ac0.tar.bz2 gentoo-b3468a23c91cd3872db82c69292ce239dc123ac0.zip |
dev-java/maven-bin: removed obsolete ebuilds
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r-- | dev-java/maven-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-1.1-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-2.0.11.ebuild | 49 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-2.2.1.ebuild | 49 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.1.0-r1.ebuild | 80 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.1.0.ebuild | 72 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.2.3.ebuild | 90 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.3.3.ebuild | 88 |
8 files changed, 0 insertions, 468 deletions
diff --git a/dev-java/maven-bin/Manifest b/dev-java/maven-bin/Manifest index 96e8a571ff00..f21f5e746ca6 100644 --- a/dev-java/maven-bin/Manifest +++ b/dev-java/maven-bin/Manifest @@ -1,9 +1,7 @@ DIST apache-maven-2.0.11-bin.tar.bz2 2104711 SHA256 f8e91b43def9b78d01f0ad8374644aa737365144dea04a97f9503ac0011ad39c SHA512 829a583e44ea997576cb0949d74f95e6557069489329523c28c44b546f07cd9487a75f4326d7dc0a098a9755fd52630f2ee27a60daf35006eb48d6af250f84de WHIRLPOOL 5e467ee3f35ea7bb4a7d396e61c3f163702d1cc02d7daf4208b475e3d28be5e0d6d6e0a15ebc1a6d2d6d9697047562064c5309eec1491a3837067a71bcf81b42 DIST apache-maven-2.2.1-bin.tar.bz2 2839688 SHA256 a8d819f78bec0505f5773962fc50117f0c5db4a69c7207d0c27cabffc950939f SHA512 ffbf74b6b51616dcd87252973ddd776f13861fece7cd25df9cfba4bda1d8dd574772cb5d37ac7ed97ef8b93b507939d428d47b9b81742c801c7958b9fd6188e7 WHIRLPOOL 17cdba09856646acf5a37c252c6dcc200bae6eb16ee07ee6620bdee832b452a3a1db8d61289cff3f849f5c0d57c673cfc4749e220dc52b2b5ec50d4d9cd1062a DIST apache-maven-3.0.4-bin.tar.gz 4873043 SHA256 d35a876034c08cb7e20ea2fbcf168bcad4dff5801abad82d48055517513faa2f SHA512 d6935daff3b80ed6e40ee0acb4f269b4b16e63bc29b792316599a9847f1b33d9309d3c399cdb170710714a1d150957eedc909754de8f8a77d87bd20a0abcb36c WHIRLPOOL f1e15af0bc0f942a8c4e435fa2cde57221e3ef8f86d43197dd4486812b115b684ad8e0ebf5ba3f2f0ad9d0ae0c5f0b0ac26a10e5e170fffe2d47bb77522c4e68 -DIST apache-maven-3.1.0-bin.tar.gz 5439122 SHA256 59088c62c14b996d597bbd55e720866b0e13e36daed8a46a81c01058ee74bd54 SHA512 8c6b13c680de2f9cddb1dffd15ae44a8866a29e56c92ccd905fba1a656d2cab26c40b10c4168ffe11dd3bd4e5161c6d9ea01f450e7c89aba532b2a20f9fd2b07 WHIRLPOOL 9b80b5e5d49a27784bd9760dd326677809fd5bcc8872bc2ee356bde92a6523d6cf1ad0ddcfc3aff96b07fb315af5f3c04b2278f5fd11964c76f179329dca8c8e DIST apache-maven-3.1.1-bin.tar.gz 5494427 SHA256 077ed466455991d5abb4748a1d022e2d2a54dc4d557c723ecbacdc857c61d51b SHA512 507d340930cc32268128e8969742dbba34a0144f3e7a561b45f71e254ebff2e6f926fd5c7925081fc94995c3f5b4807caf2204ab70297374857bc66c582610a1 WHIRLPOOL 60aa84a2f6441deb005c41e00b4dbc790f8679d5387ffd6602d8008206718655784822816c9a9898cb9b09c75bb3b3d824c71150e4ac747bd0eb1dabe2bacdcd -DIST apache-maven-3.2.3-bin.tar.gz 6956162 SHA256 bf3f04aadee3a67158aebdfb0b4cb022063329d459d10fd6b4b02223e10aa8ed SHA512 9c211b17a8109939a776a4ad0e833ce9b301941eb0cfd4e8978634589ea48227cb979b5819c4b151184cff46bb44139c09477e904daa00ac769b0c756859f6f0 WHIRLPOOL 6a254dc8beb6d1d42299dd563da1eaeccff11bbfd18a122cb015ee28e55f59ae0b4e512a48b697fa09004edd8bae7dbef32bce24dbc9f5913b7cdd311a6ec6b3 DIST apache-maven-3.2.5-bin.tar.gz 7956528 SHA256 8c190264bdf591ff9f1268dc0ad940a2726f9e958e367716a09b8aaa7e74a755 SHA512 0cdbf4c1e045ac7f96c176058f19ebb838bd46caadc4fb479e11eda67efbb66218fe67c370ddec6d2e4d91091ac9e81ff9eea8d64174cbe1e6d5f7e15962cfc5 WHIRLPOOL 79feb96c42dfd2235b0513ce50cf3d684224dcbccb290d2d80565648a6b30af8961b2e3d02d38818ca5c89386c5a25f2a8025e696279a339844535c2d2733f96 DIST apache-maven-3.3.3-bin.tar.gz 8042383 SHA256 3a8dc4a12ab9f3607a1a2097bbab0150c947ad6719d8f1bb6d5b47d0fb0c4779 SHA512 ca64847b7980f5c406f15d433f86a77dc81aa9676baf09122061c72b3ec5790bc664896c37e0571bb2a0bfb48a1d67b0bff1c67d73d796252a132dd46724ccd5 WHIRLPOOL a3bbce5c92878dbf58f9e63a18cefbb8de90fa4d91ec6ac60cee01b684891a9f757ece5f62659b7838ea347e0d27b8801c10b0e4bf1384446607b60d46a1bf9e DIST apache-maven-3.3.9-bin.tar.gz 8491533 SHA256 6e3e9c949ab4695a204f74038717aa7b2689b1be94875899ac1b3fe42800ff82 SHA512 9b4b22aba67af48648c634e30edbb03de2a7742b7d4e58b3d637fcd20358a51ccb288dcbd473169a58b9322f7c8fbedcf5336b87d06460d0b20ce37d4c3948b0 WHIRLPOOL a17d87711a925d502bb05d09166708b50304942aace82a6ed69dd9f73938590f1cf488eb4b9fb10f94250d804e6342d264f6a9407218fe9b38c242c06375b28b diff --git a/dev-java/maven-bin/maven-bin-1.1-r1.ebuild b/dev-java/maven-bin/maven-bin-1.1-r1.ebuild deleted file mode 100644 index 540bf09c6099..000000000000 --- a/dev-java/maven-bin/maven-bin-1.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -MY_PN=${PN/-bin} -MY_PV=${PV/_/-} -MY_P=${MY_PN}-${MY_PV} -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}.tar.gz" -HOMEPAGE="http://maven.apache.org/" -LICENSE="Apache-2.0" -SLOT="1.1" -KEYWORDS="amd64 x86" -DEPEND=">=virtual/jdk-1.5" -RDEPEND=">=virtual/jdk-1.5" -IUSE="" - -S="${WORKDIR}/${MY_P}" -MAVEN=${PN}-${SLOT} -MAVEN_HOME="/usr/share/${MAVEN}" -MAVEN_BIN="${MAVEN_HOME}/bin" - -src_compile() { :; } - -src_install() { - dodir ${MAVEN_HOME} - insinto ${MAVEN_HOME} - doins -r bin lib *.xsd plugins - - dodir ${MAVEN_BIN} - exeinto ${MAVEN_BIN} - doexe "${FILESDIR}/${MY_PN}" - - dodir /usr/bin - dosym ${MAVEN_BIN}/${MY_PN} /usr/bin/${MY_PN}-${SLOT} || die sym failed -} diff --git a/dev-java/maven-bin/maven-bin-2.0.11.ebuild b/dev-java/maven-bin/maven-bin-2.0.11.ebuild deleted file mode 100644 index f8adcfba4e5c..000000000000 --- a/dev-java/maven-bin/maven-bin-2.0.11.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="2" - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_P="${MY_PN}-${PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.bz2" -HOMEPAGE="http://maven.apache.org/" -LICENSE="Apache-2.0" -SLOT="2.0" -KEYWORDS="amd64 x86" - -RDEPEND=">=virtual/jdk-1.4 - app-eselect/eselect-maven" - -IUSE="" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -java_prepare() { - rm -v "${S}"/bin/*.bat || die -} - -# TODO we should use jars from packages, instead of what is bundled -src_install() { - dodir "${MAVEN_SHARE}" - cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE.txt README.txt || die - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # bug #342901 - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} diff --git a/dev-java/maven-bin/maven-bin-2.2.1.ebuild b/dev-java/maven-bin/maven-bin-2.2.1.ebuild deleted file mode 100644 index 01c1d03000d9..000000000000 --- a/dev-java/maven-bin/maven-bin-2.2.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_P="${MY_PN}-${PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.bz2" -HOMEPAGE="http://maven.apache.org/" -LICENSE="Apache-2.0" -SLOT="2.2" -KEYWORDS="amd64 x86" - -RDEPEND=">=virtual/jdk-1.5 - app-eselect/eselect-maven" - -IUSE="" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -src_unpack() { - unpack ${A} - - rm -v "${S}"/bin/*.bat || die -} - -# TODO we should use jars from packages, instead of what is bundled -src_install() { - dodir "${MAVEN_SHARE}" - cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE.txt README.txt || die - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # bug #342901 - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} diff --git a/dev-java/maven-bin/maven-bin-3.1.0-r1.ebuild b/dev-java/maven-bin/maven-bin-3.1.0-r1.ebuild deleted file mode 100644 index 10157f672493..000000000000 --- a/dev-java/maven-bin/maven-bin-3.1.0-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_PV=${PV/_alpha/-alpha-} -MY_P="${MY_PN}-${MY_PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" -HOMEPAGE="http://maven.apache.org/" - -LICENSE="Apache-2.0" -SLOT="3.1" -KEYWORDS="~amd64 ~x86" - -# TODO: Needs further resolution: -# -# - https://bugs.gentoo.org/show_bug.cgi?id=472850 -# - https://bugs.gentoo.org/show_bug.cgi?id=477436 -# -DEPEND="|| ( app-eselect/eselect-java app-eselect/eselect-maven ) - || ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 ) - dev-java/avalon-framework:4.1 - dev-java/commons-io:1 - dev-java/juel:0 - dev-java/osgi-core-api:0 - java-virtuals/servlet-api:2.4" - -RDEPEND=">=virtual/jdk-1.5 - ${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -java_prepare() { - rm -v "${S}"/bin/*.bat || die - - chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die - - # Register jars. - java-pkg_getjars avalon-framework-4.1,commons-io-1,juel,osgi-core-api,servlet-api-2.4 > /dev/null - has_version dev-java/commons-logging:0 && java-pkg_getjars commons-logging > /dev/null - has_version dev-java/avalon-logkit:2.0 && java-pkg_getjars avalon-logkit-2.0 > /dev/null - has_version dev-java/log4j:0 && java-pkg_getjars log4j > /dev/null -} - -# TODO: We should use jars from packages, instead of what is bundled. -src_install() { - dodir "${MAVEN_SHARE}" - - cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE.txt README.txt - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # See bug #342901. - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} - -pkg_postinst() { - eselect maven update mvn-${SLOT} -} - -pkg_postrm() { - eselect maven update -} diff --git a/dev-java/maven-bin/maven-bin-3.1.0.ebuild b/dev-java/maven-bin/maven-bin-3.1.0.ebuild deleted file mode 100644 index 35cef940a0d1..000000000000 --- a/dev-java/maven-bin/maven-bin-3.1.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_PV=${PV/_alpha/-alpha-} -MY_P="${MY_PN}-${MY_PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" -HOMEPAGE="http://maven.apache.org/" - -LICENSE="Apache-2.0" -SLOT="3.1" -KEYWORDS="~amd64 ~x86" - -DEPEND="|| ( app-eselect/eselect-java app-eselect/eselect-maven ) - dev-java/avalon-framework:4.1 - dev-java/avalon-logkit:2.0 - dev-java/commons-io:1 - dev-java/juel:0 - dev-java/log4j:0 - dev-java/osgi-core-api:0 - java-virtuals/servlet-api:2.4" - -RDEPEND=">=virtual/jdk-1.5 - ${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -java_prepare() { - rm -v "${S}"/bin/*.bat || die - - chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die - - java-pkg_getjars avalon-framework-4.1,avalon-logkit-2.0,commons-io-1,juel,log4j,osgi-core-api,servlet-api-2.4 > /dev/null -} - -# TODO we should use jars from packages, instead of what is bundled -src_install() { - dodir "${MAVEN_SHARE}" - - cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE.txt README.txt - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # See bug #342901. - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} - -pkg_postinst() { - eselect maven update mvn-${SLOT} -} - -pkg_postrm() { - eselect maven update -} diff --git a/dev-java/maven-bin/maven-bin-3.2.3.ebuild b/dev-java/maven-bin/maven-bin-3.2.3.ebuild deleted file mode 100644 index 40c967e8112c..000000000000 --- a/dev-java/maven-bin/maven-bin-3.2.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_PV=${PV/_alpha/-alpha-} -MY_P="${MY_PN}-${MY_PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" -HOMEPAGE="http://maven.apache.org/" - -LICENSE="Apache-2.0" -SLOT="3.2" -KEYWORDS="~amd64 ~x86" - -# TODO: Needs further resolution: -# -# - https://bugs.gentoo.org/show_bug.cgi?id=472850 -# - https://bugs.gentoo.org/show_bug.cgi?id=477436 -# -DEPEND="|| ( app-eselect/eselect-java app-eselect/eselect-maven ) - || ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 ) - dev-java/aopalliance:1 - dev-java/avalon-framework:4.1 - dev-java/commons-cli:1 - dev-java/commons-io:1 - dev-java/guava:14 - dev-java/javax-inject:0 - dev-java/jsoup:0 - dev-java/jsr250:0 - dev-java/juel:0 - dev-java/osgi-core-api:0 - java-virtuals/interceptor-api:0 - java-virtuals/servlet-api:2.4" - -RDEPEND=">=virtual/jdk-1.6 - ${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -java_prepare() { - rm -fv \ - bin/*.bat \ - lib/{aopalliance,commons-cli,commons-io,guava,jsoup,javax.inject,jsr250}-*.jar || die - - chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die - - # Symlink jars. - cd lib || die - java-pkg_jar-from aopalliance-1,avalon-framework-4.1,commons-cli-1,commons-io-1,guava-14,interceptor-api,javax-inject,jsoup,jsr250,juel,osgi-core-api,servlet-api-2.4 - has_version dev-java/commons-logging:0 && java-pkg_jar-from commons-logging - has_version dev-java/avalon-logkit:2.0 && java-pkg_jar-from avalon-logkit-2.0 - has_version dev-java/log4j:0 && java-pkg_jar-from log4j -} - -# TODO: We should use jars from packages, instead of what is bundled. -src_install() { - dodir "${MAVEN_SHARE}" - - cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE README.txt - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # See bug #342901. - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} - -pkg_postinst() { - eselect maven update mvn-${SLOT} -} - -pkg_postrm() { - eselect maven update -} diff --git a/dev-java/maven-bin/maven-bin-3.3.3.ebuild b/dev-java/maven-bin/maven-bin-3.3.3.ebuild deleted file mode 100644 index f304b7ee4aaa..000000000000 --- a/dev-java/maven-bin/maven-bin-3.3.3.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit java-pkg-2 - -MY_PN=apache-${PN%%-bin} -MY_PV=${PV/_alpha/-alpha-} -MY_P="${MY_PN}-${MY_PV}" -MY_MV="${PV%%.*}" - -DESCRIPTION="Project Management and Comprehension Tool for Java" -SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" -HOMEPAGE="http://maven.apache.org/" - -LICENSE="Apache-2.0" -SLOT="3.3" -KEYWORDS="~amd64 ~x86" - -# TODO: Needs further resolution: -# -# - https://bugs.gentoo.org/show_bug.cgi?id=472850 -# - https://bugs.gentoo.org/show_bug.cgi?id=477436 -# -DEPEND="|| ( app-eselect/eselect-java app-eselect/eselect-maven ) -|| ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 ) -dev-java/aopalliance:1 -dev-java/avalon-framework:4.1 -dev-java/commons-cli:1 -dev-java/commons-io:1 -dev-java/javax-inject:0 -dev-java/jsoup:0 -dev-java/jsr250:0 -dev-java/juel:0 -dev-java/osgi-core-api:0 -java-virtuals/interceptor-api:0 -java-virtuals/servlet-api:2.4" - -RDEPEND=">=virtual/jdk-1.8 ->=virtual/jre-1.8 -${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -MAVEN=${PN}-${SLOT} -MAVEN_SHARE="/usr/share/${MAVEN}" - -java_prepare() { - rm -v bin/*.cmd lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die - - chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die - - # Symlink jars. - cd lib || die - java-pkg_jar-from aopalliance-1,avalon-framework-4.1,commons-cli-1,commons-io-1,interceptor-api,javax-inject,jsoup,jsr250,juel,osgi-core-api,servlet-api-2.4 - has_version dev-java/commons-logging:0 && java-pkg_jar-from commons-logging - has_version dev-java/avalon-logkit:2.0 && java-pkg_jar-from avalon-logkit-2.0 - has_version dev-java/log4j:0 && java-pkg_jar-from log4j -} - -# TODO: We should use jars from packages, instead of what is bundled. -src_install() { - dodir "${MAVEN_SHARE}" - - cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" - - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar - java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar - - dodoc NOTICE README.txt - - dodir /usr/bin - dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT} - - # See bug #342901. - echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die - doenvd "${T}/25${MAVEN}" -} - -pkg_postinst() { - eselect maven update mvn-${SLOT} -} - -pkg_postrm() { - eselect maven update -} |