summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-04-14 22:01:01 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-04-14 22:01:01 +0000
commit05a71ea04b82e46c6d6efbc13246623ec6dd55c8 (patch)
tree41a458f680bd5993b3833303016c7e543b09b9eb /sys-kernel
parentStable on sparc. (diff)
downloadhistorical-05a71ea04b82e46c6d6efbc13246623ec6dd55c8.tar.gz
historical-05a71ea04b82e46c6d6efbc13246623ec6dd55c8.tar.bz2
historical-05a71ea04b82e46c6d6efbc13246623ec6dd55c8.zip
Fixed up how the generate-asm-sparc script is handled. Instead of attempting to chmod it in , we copy it to first and then chmod it, incase it loses it's permissions. This avoids sandbox violations.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-headers/ChangeLog12
-rw-r--r--sys-kernel/linux-headers/Manifest26
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.21.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.22.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.23.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.25.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.1.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.4.ebuild13
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.5.ebuild13
11 files changed, 96 insertions, 59 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index 2423ff7d43a0..bae2b0178a0f 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.67 2004/04/12 21:41:12 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.68 2004/04/14 22:01:01 kumba Exp $
+
+ 14 Apr 2004; Joshua Kinard <kumba@gentoo.org>
+ linux-headers-2.4.21-r1.ebuild, linux-headers-2.4.21.ebuild,
+ linux-headers-2.4.22.ebuild, linux-headers-2.4.23.ebuild,
+ linux-headers-2.4.25.ebuild, linux-headers-2.6.1.ebuild,
+ linux-headers-2.6.3-r1.ebuild, linux-headers-2.6.4.ebuild,
+ linux-headers-2.6.5.ebuild:
+ Fixed up how the generate-asm-sparc script is handled. Instead of attempting
+ to chmod it in , we copy it to first and then chmod it, incase it loses it's
+ permissions. This avoids sandbox violations.
12 Apr 2004; Daniel Ahlberg <aliz@gentoo.org>
linux-headers-2.4.21-r1.ebuild, linux-headers-2.4.21.ebuild,
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
index bf0acfa1a50f..57d3ad2ce524 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -1,18 +1,17 @@
-MD5 9d2b3b8e73dd796107ea33f7a1902bcb ChangeLog 15681
-MD5 8a6645e983461e0063420dea2d31d067 linux-headers-2.2.26.ebuild 2495
-MD5 4394020931773ad1a3bcc55e28286c98 linux-headers-2.6.3-r1.ebuild 3901
-MD5 88cae4583ef199d12a952b41b17c358b linux-headers-2.6.4.ebuild 4052
-MD5 86b4bf58bc782160acf819518b789be7 linux-headers-2.6.5.ebuild 4060
-MD5 9ddae462555331453c2a533d43c3bae4 linux-headers-2.4.21-r1.ebuild 3800
-MD5 a0819c19063f6c33d83aa463589d292a linux-headers-2.4.21.ebuild 3586
-MD5 44884aebc85bb6ef1c07825ac1d65940 linux-headers-2.4.22.ebuild 3878
-MD5 9044c5d4b3f79adec8a51303d34a7453 linux-headers-2.4.23.ebuild 3327
-MD5 63a871d5ad78f10e6f14c6dd68d7739c linux-headers-2.4.25.ebuild 3295
-MD5 1d5a7995afb46bd96648e3d93d68e2ba linux-headers-2.6.1.ebuild 4011
+MD5 c51bccde1a6a6414c1ac3cf61996e98c ChangeLog 16211
+MD5 3a3f44f6dbe62879c57b15a6a06f13c5 linux-headers-2.4.23.ebuild 3439
+MD5 039460785234a6ab4fac673260b24fcb linux-headers-2.4.21-r1.ebuild 3912
+MD5 3f9120b3eae2755600a708a0928ce8da linux-headers-2.4.21.ebuild 3698
+MD5 e9a36585b73e8e93ce4ca4d056d16ecd linux-headers-2.4.22.ebuild 3990
+MD5 d17f564020ece0287a64d47a2d37df70 linux-headers-2.4.25.ebuild 3406
+MD5 42eac13b9ba4e6845631a789d64b189b linux-headers-2.6.1.ebuild 4122
+MD5 005405d1a8ae49532082d258af960b99 linux-headers-2.6.3-r1.ebuild 4012
+MD5 5cbfb0e2bc22876e43bb2316fd31219f linux-headers-2.6.4.ebuild 4166
MD5 608fe99985244b0445f76cee44c9ae14 metadata.xml 290
+MD5 4f4bba54312699281593ab64793c6aa5 linux-headers-2.6.5.ebuild 4174
+MD5 8a6645e983461e0063420dea2d31d067 linux-headers-2.2.26.ebuild 2495
MD5 809c408ee5bef5f61c54835a26cecf30 linux-headers-2.0.40.ebuild 1790
MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557
-MD5 556c7008fbfdf81750bbd4ab2beb111e files/digest-linux-headers-2.2.26 67
MD5 aa9ba92e8479bdb5f69b03b5c72be866 files/linux-headers-2.6.4-unistd-nptl-fix.patch 362
MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21 67
MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21-r1 67
@@ -22,7 +21,6 @@ MD5 df6b4c19f4a4cb2b3d3a2a0107d7853d files/digest-linux-headers-2.4.25 67
MD5 1f7aaa49614b3055b6110518b1ed23ee files/digest-linux-headers-2.6.1 66
MD5 1a3b49dce5bc80827496967e767a4a04 files/digest-linux-headers-2.6.3-r1 66
MD5 53405777e395f5520722f9fb2398ddd8 files/digest-linux-headers-2.6.4 66
-MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux-headers-2.6.5 66
MD5 c3e19cc983ab9e751bc4f5c391e66b0c files/generate-asm-sparc 1656
MD5 7f5b6765680735a897bb2fb9e227f6b6 files/linux-headers-2.6.0-appCompat.patch 17983
MD5 8a065c0dc3b8fac8747de35f1af75a2c files/linux-headers-2.6.0-fb.patch 386
@@ -32,4 +30,6 @@ MD5 c33f70f0dc30a6fce5cfea06233defd4 files/linux-headers-2.6.3-appCompat.patch 1
MD5 598136365858338b26557b7587c6725f files/linux-headers-2.6.3-strict-ansi-fix.patch 4166
MD5 ec3d195f7d40d599802d5c0c5ad8f502 files/linux-headers-2.6.4-appCompat.patch 17240
MD5 459bc20c4015796630e3a9f3dc9125e6 files/linux-headers-strict-ansi-fix.patch 1486
+MD5 a8c4e44a323fbde21b9de3940e2ca5ef files/digest-linux-headers-2.6.5 66
+MD5 556c7008fbfdf81750bbd4ab2beb111e files/digest-linux-headers-2.2.26 67
MD5 33d51532d0f696fefa15593b2cf2f6de files/digest-linux-headers-2.0.40 66
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild
index f68a69fd566e..aa565a4e7fb2 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild,v 1.10 2004/04/12 16:36:22 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.21-r1.ebuild,v 1.11 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel eutils
@@ -102,13 +102,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
index 55744d8d1e1f..47e054d3bb8b 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild,v 1.22 2004/04/12 16:36:22 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.21.ebuild,v 1.23 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel eutils
@@ -97,13 +97,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
index 8ea5c0e3e91f..21fc3412f044 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild,v 1.17 2004/04/12 16:36:22 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.22.ebuild,v 1.18 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel eutils
@@ -106,13 +106,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild
index b25628c3e65c..2188783854b4 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild,v 1.13 2004/04/12 16:36:22 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.23.ebuild,v 1.14 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel eutils
@@ -92,13 +92,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild
index 91ec043bce18..f42b01e7ff87 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild,v 1.4 2004/04/11 21:37:13 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.25.ebuild,v 1.5 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -92,13 +92,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild
index b0efad886322..d31a906ae932 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild,v 1.5 2004/04/11 21:37:13 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.1.ebuild,v 1.6 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -109,13 +109,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild
index e8591bc3327c..07848630c83d 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild,v 1.7 2004/04/11 21:37:13 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.3-r1.ebuild,v 1.8 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -105,13 +105,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild
index 854898c5cb52..731ce35e0843 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild,v 1.7 2004/04/12 21:28:36 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.4.ebuild,v 1.8 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -109,13 +109,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild
index 653eefc7f4fa..aa34de74b64a 100644
--- a/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild,v 1.5 2004/04/12 21:28:36 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.5.ebuild,v 1.6 2004/04/14 22:01:01 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -110,13 +110,16 @@ src_install() {
# Check if generate-asm-sparc exists
if [ -a "${FILESDIR}/generate-asm-sparc" ]; then
- # Just incase generate-asm-sparc isn't executable, make it so
- if [ ! -x "${FILESDIR}/generate-asm-sparc" ]; then
- chmod +x ${FILESDIR}/generate-asm-sparc
+ # Copy generate-asm-sparc into the sandox
+ cp ${FILESDIR}/generate-asm-sparc ${WORKDIR}/generate-asm-sparc
+
+ # Just in case generate-asm-sparc isn't executable, make it so
+ if [ ! -x "${WORKDIR}/generate-asm-sparc" ]; then
+ chmod +x ${WORKDIR}/generate-asm-sparc
fi
# Generate /usr/include/asm for sparc systems
- ${FILESDIR}/generate-asm-sparc ${D}/usr/include
+ ${WORKDIR}/generate-asm-sparc ${D}/usr/include
else
eerror "${FILESDIR}/generate-asm-sparc doesn't exist!"
die