summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2003-12-02 12:00:24 +0000
committerChristian Birchinger <joker@gentoo.org>2003-12-02 12:00:24 +0000
commit066020ca4fbc287244fc1fca0d0ab3fff815d733 (patch)
treed76d2e8c859e0cd1d268f2171ecf46e6dbb61a07 /sys-kernel/sparc-sources
parentRemoved old versions (diff)
downloadgentoo-2-066020ca4fbc287244fc1fca0d0ab3fff815d733.tar.gz
gentoo-2-066020ca4fbc287244fc1fca0d0ab3fff815d733.tar.bz2
gentoo-2-066020ca4fbc287244fc1fca0d0ab3fff815d733.zip
Used the 2.4.23 ebuild for 2.4.22 to make it emergable again with the latest kernel eclass
Diffstat (limited to 'sys-kernel/sparc-sources')
-rw-r--r--sys-kernel/sparc-sources/ChangeLog7
-rw-r--r--sys-kernel/sparc-sources/Manifest4
-rw-r--r--sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild22
3 files changed, 18 insertions, 15 deletions
diff --git a/sys-kernel/sparc-sources/ChangeLog b/sys-kernel/sparc-sources/ChangeLog
index f961ddbdbfec..08fdf51f84d8 100644
--- a/sys-kernel/sparc-sources/ChangeLog
+++ b/sys-kernel/sparc-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/sparc-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.37 2003/12/02 09:58:54 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/ChangeLog,v 1.38 2003/12/02 12:00:19 joker Exp $
+
+ 02 Dec 2003; Christian Birchinger <joker@gentoo.org>
+ sparc-sources-2.4.22.ebuild:
+ Used the 2.4.23 ebuild for 2.4.22 to make it emergable again with the latest
+ kernel eclass
02 Dec 2003; Brian Jackson <iggy@gentoo.org> sparc-sources-2.4.22-r1.ebuild:
removing broken 22-r1 ebuild
diff --git a/sys-kernel/sparc-sources/Manifest b/sys-kernel/sparc-sources/Manifest
index 430aef79c3b5..34e2b67be843 100644
--- a/sys-kernel/sparc-sources/Manifest
+++ b/sys-kernel/sparc-sources/Manifest
@@ -1,7 +1,7 @@
-MD5 13d2a236024ab6a5d4a0301ed4a7b4d6 ChangeLog 6598
+MD5 46b495791452b617dd5cac50a0a6e623 ChangeLog 6781
MD5 34a347e2b0eaa4ac76faa335675407f9 sparc-sources-2.4.23.ebuild 2150
MD5 6706a601c155869440dcb544e3759a04 metadata.xml 381
-MD5 754c42fba6640866b8dbbac53d24fe8d sparc-sources-2.4.22.ebuild 2226
+MD5 4f743dc07c98b5e6ad11a3b9cf46f7e5 sparc-sources-2.4.22.ebuild 2146
MD5 935f3a9c9a5209ad79a0cdbf9ca4b610 files/U1-hme-lockup.patch 263
MD5 8c8598fb61743bb94c3a9eaf3ff339f4 files/digest-sparc-sources-2.4.23 140
MD5 afd982621a7d4faba455607353e659c9 files/digest-sparc-sources-2.4.22 140
diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild
index 0b12208ce425..ac5343c8e8e6 100644
--- a/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild
+++ b/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild,v 1.5 2003/12/02 04:13:45 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/sparc-sources-2.4.22.ebuild,v 1.6 2003/12/02 12:00:19 joker Exp $
IUSE="build ultra1"
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
# Kernel ebuilds using the kernel.eclass can remove any patch that you
# do not want to apply by simply setting the KERNEL_EXCLUDE shell
# variable to the string you want to exclude (for instance
@@ -16,31 +14,30 @@ IUSE="build ultra1"
# similar situation.
ETYPE="sources"
-
inherit kernel
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
+
+# OKV=original kernel version, KV=patched kernel version. They can be the same.
+[ "$OKV" == "" ] && OKV="${PV}"
+
EXTRAVERSION="-${PN/-*/}"
[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"
KV="${OKV}${EXTRAVERSION}"
-S=${WORKDIR}/linux-${KV}
-
# Documentation on the patches contained in this kernel will be installed
# to /usr/share/doc/sparc-sources-${PV}/patches.txt.gz
DESCRIPTION="Full sources for the Gentoo Sparc Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
mirror://gentoo/patches-${KV}.tar.bz2"
-KEYWORDS="~x86 -ppc sparc"
+S=${WORKDIR}/linux-${KV}
+KEYWORDS="~x86 -ppc ~sparc"
SLOT="${KV}"
src_unpack() {
unpack ${A}
mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
- cd ${WORKDIR}/${KV}
-
- epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln"
+ cd ${KV} || die "Unable to cd into ${KV}"
kernel_src_unpack
@@ -49,6 +46,7 @@ src_unpack() {
}
pkg_postinst() {
+
kernel_pkg_postinst
# Display SUN Ultra 1 HME warning if it can be detected or if the machinetype is unknown.