summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-10-29 18:47:08 +0000
committerVlastimil Babka <caster@gentoo.org>2010-10-29 18:47:08 +0000
commitefb46b6310f1dd71dede78b90527545a6c548e2a (patch)
tree5f4c08a634fd86d94eeb025a84d1a62753bcd935 /dev-java/maven-bin
parentMark ~ppc64; bug #300106 (diff)
downloadgentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.tar.gz
gentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.tar.bz2
gentoo-2-efb46b6310f1dd71dede78b90527545a6c548e2a.zip
Add the configuration to CONFIG_PROTECT, bug #342901.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r--dev-java/maven-bin/ChangeLog7
-rw-r--r--dev-java/maven-bin/maven-bin-2.0.10-r1.ebuild44
-rw-r--r--dev-java/maven-bin/maven-bin-2.0.11.ebuild6
-rw-r--r--dev-java/maven-bin/maven-bin-2.0.8.ebuild43
-rw-r--r--dev-java/maven-bin/maven-bin-2.0.9.ebuild43
-rw-r--r--dev-java/maven-bin/maven-bin-2.1.0.ebuild6
-rw-r--r--dev-java/maven-bin/maven-bin-2.2.1.ebuild6
7 files changed, 21 insertions, 134 deletions
diff --git a/dev-java/maven-bin/ChangeLog b/dev-java/maven-bin/ChangeLog
index 24b8e7314d6b..8a665542979b 100644
--- a/dev-java/maven-bin/ChangeLog
+++ b/dev-java/maven-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/maven-bin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.63 2010/10/29 18:41:24 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/ChangeLog,v 1.64 2010/10/29 18:47:08 caster Exp $
+
+ 29 Oct 2010; Vlastimil Babka <caster@gentoo.org> -maven-bin-2.0.8.ebuild,
+ -maven-bin-2.0.9.ebuild, -maven-bin-2.0.10-r1.ebuild,
+ maven-bin-2.0.11.ebuild, maven-bin-2.1.0.ebuild, maven-bin-2.2.1.ebuild:
+ Add the configuration to CONFIG_PROTECT, bug #342901.
*maven-bin-3.0 (29 Oct 2010)
diff --git a/dev-java/maven-bin/maven-bin-2.0.10-r1.ebuild b/dev-java/maven-bin/maven-bin-2.0.10-r1.ebuild
deleted file mode 100644
index 45bad150fc5c..000000000000
--- a/dev-java/maven-bin/maven-bin-2.0.10-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.10-r1.ebuild,v 1.2 2009/10/26 08:01:29 volkmar Exp $
-
-inherit java-pkg-2
-
-MY_PN=apache-${PN%%-bin}
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Project Management and Comprehension Tool for Java"
-SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
-HOMEPAGE="http://maven.apache.org/"
-LICENSE="Apache-2.0"
-SLOT="2.0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-RDEPEND=">=virtual/jdk-1.4
- app-admin/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}
-}
diff --git a/dev-java/maven-bin/maven-bin-2.0.11.ebuild b/dev-java/maven-bin/maven-bin-2.0.11.ebuild
index 45736157f2a1..72596935801e 100644
--- a/dev-java/maven-bin/maven-bin-2.0.11.ebuild
+++ b/dev-java/maven-bin/maven-bin-2.0.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.11.ebuild,v 1.3 2010/06/25 11:25:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.11.ebuild,v 1.4 2010/10/29 18:47:08 caster Exp $
EAPI="2"
@@ -41,4 +41,8 @@ src_install() {
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.0.8.ebuild b/dev-java/maven-bin/maven-bin-2.0.8.ebuild
deleted file mode 100644
index d940e1bb114a..000000000000
--- a/dev-java/maven-bin/maven-bin-2.0.8.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.8.ebuild,v 1.6 2008/03/28 22:56:12 maekke Exp $
-
-inherit java-pkg-2
-
-MY_PN=apache-${PN%%-bin}
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Project Management and Comprehension Tool for Java"
-SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
-HOMEPAGE="http://maven.apache.org/"
-LICENSE="Apache-2.0"
-SLOT="2.0"
-KEYWORDS="amd64 ppc x86"
-
-RDEPEND=">=virtual/jdk-1.4"
-
-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
-}
diff --git a/dev-java/maven-bin/maven-bin-2.0.9.ebuild b/dev-java/maven-bin/maven-bin-2.0.9.ebuild
deleted file mode 100644
index 32300e9ca14a..000000000000
--- a/dev-java/maven-bin/maven-bin-2.0.9.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.9.ebuild,v 1.3 2008/10/25 16:59:57 nixnut Exp $
-
-inherit java-pkg-2
-
-MY_PN=apache-${PN%%-bin}
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Project Management and Comprehension Tool for Java"
-SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
-HOMEPAGE="http://maven.apache.org/"
-LICENSE="Apache-2.0"
-SLOT="2.0"
-KEYWORDS="amd64 ppc x86"
-
-RDEPEND=">=virtual/jdk-1.4"
-
-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
-}
diff --git a/dev-java/maven-bin/maven-bin-2.1.0.ebuild b/dev-java/maven-bin/maven-bin-2.1.0.ebuild
index 6e88ce1bebea..4350183f4103 100644
--- a/dev-java/maven-bin/maven-bin-2.1.0.ebuild
+++ b/dev-java/maven-bin/maven-bin-2.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.1.0.ebuild,v 1.4 2010/06/25 11:25:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.1.0.ebuild,v 1.5 2010/10/29 18:47:08 caster Exp $
inherit java-pkg-2
@@ -41,4 +41,8 @@ src_install() {
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
index edcc2b616864..9260023edee0 100644
--- a/dev-java/maven-bin/maven-bin-2.2.1.ebuild
+++ b/dev-java/maven-bin/maven-bin-2.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.2.1.ebuild,v 1.4 2010/06/25 11:25:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.2.1.ebuild,v 1.5 2010/10/29 18:47:08 caster Exp $
inherit java-pkg-2
@@ -41,4 +41,8 @@ src_install() {
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}"
}