summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-12-21 16:12:48 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-12-21 16:12:48 +0000
commitb9d14d6618a4e441186ee3d1d6dd9b00bc9c228d (patch)
tree73b566f514fd129c1fd3cc56aa7b3cab06295190 /dev-java/blackdown-jdk
parentfix building with gcc-4.3, bug #251152 (diff)
downloadgentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.tar.gz
gentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.tar.bz2
gentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.zip
Restrict strip wrt bug #251891. Fix quoting.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-java/blackdown-jdk')
-rw-r--r--dev-java/blackdown-jdk/ChangeLog8
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild20
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild8
3 files changed, 22 insertions, 14 deletions
diff --git a/dev-java/blackdown-jdk/ChangeLog b/dev-java/blackdown-jdk/ChangeLog
index 827fee8ad1f9..dbceb9deeb9c 100644
--- a/dev-java/blackdown-jdk/ChangeLog
+++ b/dev-java/blackdown-jdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/blackdown-jdk
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.119 2007/12/16 22:02:26 caster Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/ChangeLog,v 1.120 2008/12/21 16:12:48 serkan Exp $
+
+ 21 Dec 2008; Serkan Kaba <serkan@gentoo.org>
+ blackdown-jdk-1.4.2.03-r15.ebuild, blackdown-jdk-1.4.2.03-r16.ebuild:
+ Restrict strip wrt bug #251891. Fix quoting.
16 Dec 2007; Vlastimil Babka <caster@gentoo.org>
blackdown-jdk-1.4.2.03-r16.ebuild:
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild
index 3ea3cb0fb243..584fd0ee0842 100644
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild,v 1.2 2007/05/21 07:53:09 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r15.ebuild,v 1.3 2008/12/21 16:12:48 serkan Exp $
JAVA_SUPPORTS_GENERATION_1="true"
inherit java-vm-2 versionator pax-utils
@@ -27,6 +27,8 @@ JAVA_PROVIDE="jdbc-stdext"
S="${WORKDIR}/j2sdk${JV}"
+RESTRICT="strip"
+
# Extract the 'skip' value (offset of tarball) we should pass to tail
get_offset() {
[ ! -f "$1" ] && return
@@ -49,7 +51,7 @@ src_unpack() {
fi
echo ">>> Unpacking ${A}..."
- tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - || die
+ tail -n +${offset} "${DISTDIR}"/${A} | tar --no-same-owner -jxpf - || die
}
unpack_jars() {
@@ -84,14 +86,14 @@ src_install() {
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler.
- pax-mark m $(list-paxables ${S}{,/jre}/bin/*)
+ pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)
dodir /opt/${P}
- cp -pPR ${S}/{bin,jre,lib,man,include} ${D}/opt/${P} || die "failed to copy"
+ cp -pPR "${S}"/{bin,jre,lib,man,include} "${D}"/opt/${P} || die "failed to copy"
dodir /opt/${P}/share/java
- cp -pPR ${S}/{demo,src.zip} ${D}/opt/${P}/share || die "failed to copy"
+ cp -pPR "${S}"/{demo,src.zip} "${D}"/opt/${P}/share || die "failed to copy"
dodoc README
dohtml README.html
@@ -106,12 +108,12 @@ src_install() {
install_mozilla_plugin /opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
else
- rm -f ${D}/opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
+ rm -f "${D}"/opt/${P}/jre/plugin/${platform}/mozilla/libjavaplugin_oji.so
fi
- find ${D}/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
+ find "${D}"/opt/${P} -type f -name "*.so" -exec chmod +x \{\} \;
- sed -i "s/standard symbols l/symbol/g" ${D}/opt/${P}/jre/lib/font.properties
+ sed -i "s/standard symbols l/symbol/g" "${D}"/opt/${P}/jre/lib/font.properties
# install env into /etc/env.d
set_java_env
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
index bc90415c84d9..3a7c3a3aab16 100644
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild,v 1.2 2007/12/16 22:02:26 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild,v 1.3 2008/12/21 16:12:48 serkan Exp $
JAVA_SUPPORTS_GENERATION_1="true"
inherit java-vm-2 versionator pax-utils
@@ -41,6 +41,8 @@ JAVA_PROVIDE="jdbc-stdext"
S="${WORKDIR}/j2sdk${JV}"
+RESTRICT="strip"
+
# Extract the 'skip' value (offset of tarball) we should pass to tail
get_offset() {
[ ! -f "$1" ] && return
@@ -63,7 +65,7 @@ src_unpack() {
fi
echo ">>> Unpacking ${A}..."
- tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - || die
+ tail -n +${offset} "${DISTDIR}"/${A} | tar --no-same-owner -jxpf - || die
}
unpack_jars() {