summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2003-12-02 07:55:47 +0000
committerBrian Jackson <iggy@gentoo.org>2003-12-02 07:55:47 +0000
commit1cf9c1bbd90d74b2afe8b068f30c0e2cd69355a7 (patch)
tree9dbd116084d98375e940e78bd3c679b8776c6d6c
parentversion bump for do_brk vuln (diff)
downloadgentoo-2-1cf9c1bbd90d74b2afe8b068f30c0e2cd69355a7.tar.gz
gentoo-2-1cf9c1bbd90d74b2afe8b068f30c0e2cd69355a7.tar.bz2
gentoo-2-1cf9c1bbd90d74b2afe8b068f30c0e2cd69355a7.zip
version bump for do_brk vuln
-rw-r--r--sys-kernel/ppc-sources/ChangeLog7
-rw-r--r--sys-kernel/ppc-sources/Manifest4
-rw-r--r--sys-kernel/ppc-sources/files/digest-ppc-sources-2.4.22-r32
-rw-r--r--sys-kernel/ppc-sources/ppc-sources-2.4.22-r3.ebuild49
4 files changed, 59 insertions, 3 deletions
diff --git a/sys-kernel/ppc-sources/ChangeLog b/sys-kernel/ppc-sources/ChangeLog
index 6dd9922185b7..2f4392727870 100644
--- a/sys-kernel/ppc-sources/ChangeLog
+++ b/sys-kernel/ppc-sources/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-kernel/ppc-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources/ChangeLog,v 1.29 2003/12/02 04:01:45 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources/ChangeLog,v 1.30 2003/12/02 07:55:45 iggy Exp $
+
+*ppc-sources-2.4.22-r3 (02 Dec 2003)
+
+ 02 Dec 2003; Brian Jackson <iggy@gentoo.org> ppc-sources-2.4.22-r3.ebuild:
+ version bump for do_brk vuln
01 Dec 2003; Brian Jackson <iggy@gentoo.org> ppc-sources-2.4.21-r2.ebuild,
ppc-sources-2.4.22-r1.ebuild, ppc-sources-2.4.22-r2.ebuild,
diff --git a/sys-kernel/ppc-sources/Manifest b/sys-kernel/ppc-sources/Manifest
index 3b011bb819ec..80645e5ae424 100644
--- a/sys-kernel/ppc-sources/Manifest
+++ b/sys-kernel/ppc-sources/Manifest
@@ -2,7 +2,7 @@ MD5 d0057d2c066c38f2e2652f4cdfd7c2b8 ppc-sources-2.4.22-r1.ebuild 1638
MD5 fb30d166ce7dc00bb0c45ef23efc9c26 ppc-sources-2.4.19-r6.ebuild 3269
MD5 ad26ce4616a2c6d9427716e82e948efd ppc-sources-2.4.20-r2.ebuild 1791
MD5 de13a1e8ba902690df11b9e82bee0725 ppc-sources-2.4.19.ebuild 3208
-MD5 19d1ea9410de0902664bcf72e9387b76 ppc-sources-2.4.22-r3.ebuild 1554
+MD5 ee1b5f793b885273f743e4e7d882b630 ppc-sources-2.4.22-r3.ebuild 1558
MD5 a555cca52dd92b98a17a20e76214f0fc ppc-sources-2.4.19-r3.ebuild 3280
MD5 2409e63ae0fc8522190f13fed924dd03 ppc-sources-2.4.21-r1.ebuild 2237
MD5 920ebba0f3c529b207ace5287a522fe7 ppc-sources-2.4.20-r4.ebuild 1801
@@ -10,7 +10,7 @@ MD5 c911d93f4cc0093a0de5e4319f42826c ppc-sources-2.4.19-r5.ebuild 3279
MD5 d4e537d571db846886f68041d2199526 ppc-sources-2.4.20-r1.ebuild 3114
MD5 3269c38855d1b87cebf237bbadc81d63 ppc-sources-2.4.22-r2.ebuild 1546
MD5 78bfdd74f5201435d7a5698a2ba47148 ppc-sources-2.4.20-r3.ebuild 1792
-MD5 dccccca83e41950df1eac7f8104c21ce ChangeLog 5355
+MD5 2d4e6c94fb1cb61ec4482ad3d4a39a10 ChangeLog 5502
MD5 fe945af4911b04acd2c0f473c7c64f35 metadata.xml 267
MD5 15f531c3328380f23fcce66016551d75 ppc-sources-2.4.19-r4.ebuild 3436
MD5 362a8cc94128bfb7b5b739b97b39d7bd ppc-sources-2.4.21-r2.ebuild 2296
diff --git a/sys-kernel/ppc-sources/files/digest-ppc-sources-2.4.22-r3 b/sys-kernel/ppc-sources/files/digest-ppc-sources-2.4.22-r3
new file mode 100644
index 000000000000..15997863c4fd
--- /dev/null
+++ b/sys-kernel/ppc-sources/files/digest-ppc-sources-2.4.22-r3
@@ -0,0 +1,2 @@
+MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612
+MD5 090471cf12ce6c1b8c239183c434297f patch-2.4.22-ben2.bz2 131871
diff --git a/sys-kernel/ppc-sources/ppc-sources-2.4.22-r3.ebuild b/sys-kernel/ppc-sources/ppc-sources-2.4.22-r3.ebuild
new file mode 100644
index 000000000000..75525f337721
--- /dev/null
+++ b/sys-kernel/ppc-sources/ppc-sources-2.4.22-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources/ppc-sources-2.4.22-r3.ebuild,v 1.1 2003/12/02 07:55:45 iggy Exp $
+
+IUSE=""
+
+ETYPE="sources"
+inherit kernel
+
+# OKV=original kernel version, KV=patched kernel version. They can be the same.
+OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
+EXTRAVERSION="-${PN/-*/}"
+[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR/3/2}"
+KV="${OKV}${EXTRAVERSION}"
+
+S=${WORKDIR}/linux-${KV}
+
+MY_R=`echo $PR | sed "s:r:ben:g"`
+
+DESCRIPTION="PowerPC kernel tree based on benh's patches, -r corresponds to ben{r} versioning"
+SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
+ http://www.kernel.org/pub/linux/kernel/people/benh/patch-${OKV}-${MY_R/3/2}.bz2"
+HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/benh/"
+KEYWORDS="-x86 ppc -sparc -alpha"
+PROVIDE="virtual/linux-sources"
+LICENSE="GPL-2"
+SLOT="${KV}"
+DEPEND=">=sys-devel/binutils-2.11.90.0.31"
+RDEPEND=">=sys-libs/ncurses-5.2 dev-lang/perl virtual/modutils sys-devel/make"
+
+src_unpack() {
+ unpack ${A}
+ mv linux-${OKV} ${PF} || die
+
+ cd ${PF}
+ patch -p1 < ${WORKDIR}/patch-${OKV}-${MY_R/3/2} || die "patch failed"
+
+ epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln"
+
+ use xfs && ( ewarn "XFS is no longer included!" )
+}
+
+src_install() {
+ dodir /usr/src
+ cd ${S}
+ rm ${WORKDIR}/patch-${OKV}-${MY_R}
+ echo ">>> Copying sources..."
+ mv ${WORKDIR}/* ${D}/usr/src
+}