diff options
5 files changed, 70 insertions, 5 deletions
diff --git a/sys-kernel/openmosix-sources/ChangeLog b/sys-kernel/openmosix-sources/ChangeLog index e92f692985b3..fd633b254897 100644 --- a/sys-kernel/openmosix-sources/ChangeLog +++ b/sys-kernel/openmosix-sources/ChangeLog @@ -1,7 +1,18 @@ # ChangeLog for sys-kernel/openmosix-sources # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.45 2004/06/08 11:21:31 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.46 2004/06/14 20:01:13 voxus Exp $ +*openmosix-sources-2.4.22-r7 (14 Jun 2004) +*openmosix-sources-2.4.22-r8 (14 Jun 2004) + + 14 Jun 2004; Konstantin Arkhipov <voxus@gentoo.org> + +files/openmosix-sources-2.4.22.signal_fix.patch, + +openmosix-sources-2.4.22-r8.ebuild: + Security update: added patch for clear_fpu macro (#53804). + + openmosix-sources-2.4.22-r7.ebuild: + Unmasked. + 08 Jun 2004; Konstantin Arkhipov <voxus@gentoo.org> +files/openmosix-sources.CAN-2004-0001.patch, +files/openmosix-sources.CAN-2004-0181.patch, diff --git a/sys-kernel/openmosix-sources/Manifest b/sys-kernel/openmosix-sources/Manifest index 912e51c3625e..cebaa7191f5d 100644 --- a/sys-kernel/openmosix-sources/Manifest +++ b/sys-kernel/openmosix-sources/Manifest @@ -1,10 +1,11 @@ -MD5 0a665a923b2377c33582da8be5c97b66 ChangeLog 6185 MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373 MD5 92c68ce9a16bb735d7d003d1db979735 openmosix-sources-2.4.20-r8.ebuild 2909 MD5 3cbb34ea7a40e8d1a20f679261a6d051 openmosix-sources-2.4.21-r3.ebuild 3844 MD5 d84c663a684bf846abc0686235ec27a6 openmosix-sources-2.4.22-r6.ebuild 1991 MD5 4d14b183e4f258c800b169d5b2704af0 openmosix-sources-2.4.26.ebuild 1329 -MD5 a09b59a30cc4ca14a1b8e48c382419c2 openmosix-sources-2.4.22-r7.ebuild 1636 +MD5 ca3901134fa0bfdf1de4520fa8748c2a ChangeLog 6570 +MD5 f4cd18bc98e30ade6fb8b40e2ae0a43d openmosix-sources-2.4.22-r8.ebuild 1723 +MD5 47b5c098e5ecab0e6d790b6a00482688 openmosix-sources-2.4.22-r7.ebuild 1632 MD5 8ea0ebaf9ea87558abecdc1df6145dc5 files/digest-openmosix-sources-2.4.20-r8 133 MD5 518e0cc8ace05bda990128ccf3d11c32 files/digest-openmosix-sources-2.4.21-r3 192 MD5 199264742137ada4477d69f816dc5454 files/digest-openmosix-sources-2.4.22-r6 134 @@ -24,3 +25,6 @@ MD5 de75cfa969ed092578d9ddda6c5be334 files/openmosix-sources.CAN-2004-0181.patch MD5 d4a740ae56c2049247083af387a22a85 files/openmosix-sources.CAN-2004-0394.patch 350 MD5 c460ea130cb4ae84a5063ba044e3ce72 files/openmosix-sources.CAN-2004-0427.patch 460 MD5 199264742137ada4477d69f816dc5454 files/digest-openmosix-sources-2.4.22-r7 134 +MD5 5bf9836a632a861728d33f9736bb7431 files/openmosix-sources.CAN-2004-0133.patch 427 +MD5 5be98093ca690daffaf11aa8b781776d files/openmosix-sources-2.4.22.signal_fix.patch 371 +MD5 199264742137ada4477d69f816dc5454 files/digest-openmosix-sources-2.4.22-r8 134 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.22-r8 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.22-r8 new file mode 100644 index 000000000000..c3ed47ac2831 --- /dev/null +++ b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.22-r8 @@ -0,0 +1,2 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 68224fe261b75cdfd84882df2ae6bb12 openMosix-2.4.22-3.bz2 249126 diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r7.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r7.ebuild index a7261827620b..9cd92352f299 100644 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r7.ebuild +++ b/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r7.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/openmosix-sources/openmosix-sources-2.4.22-r7.ebuild,v 1.1 2004/06/08 11:21:31 voxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r7.ebuild,v 1.2 2004/06/14 20:01:13 voxus Exp $ #OKV=original kernel version, KV=patched kernel version. They can be the same. ETYPE="sources" @@ -26,7 +26,7 @@ PROVIDE="virtual/linux-sources" HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" LICENSE="GPL-2" SLOT="${KV}" -KEYWORDS="-* ~x86" +KEYWORDS="-* x86" src_unpack() { unpack linux-${OKV}.tar.bz2 diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r8.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r8.ebuild new file mode 100644 index 000000000000..7904fc80f279 --- /dev/null +++ b/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r8.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.22-r8.ebuild,v 1.1 2004/06/14 20:01:13 voxus Exp $ +#OKV=original kernel version, KV=patched kernel version. They can be the same. + +ETYPE="sources" +inherit kernel eutils + +OKV="2.4.22" +[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR} +EXTRAVERSION="`echo ${KV}|sed -e 's:[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\):\1:'`" +BASE="`echo ${KV}|sed -e s:${EXTRAVERSION}::`" +S=${WORKDIR}/linux-${KV} + +# What's in this kernel? + +# INCLUDED: +# 2.4.22, plus: +# 2.4.22 openmosix-2.4.22-3 +# various security patches + +DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" +SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 +mirror://sourceforge/openmosix/openMosix-2.4.22-3.bz2" +PROVIDE="virtual/linux-sources" +HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" +LICENSE="GPL-2" +SLOT="${KV}" +KEYWORDS="-* ~x86" + +src_unpack() { + unpack linux-${OKV}.tar.bz2 + mv linux-${OKV} linux-${KV} || die + cd linux-${KV} + bzcat ${DISTDIR}/openMosix-2.4.22-3.bz2|patch -p1 || die "-openmosix patch failed" + + epatch ${FILESDIR}/do_brk_fix.patch || die "Failed to patch do_brk() vulnerability!" + epatch ${FILESDIR}/${PN}-2.4.20.munmap.patch || die "Failed to apply munmap patch!" + epatch ${FILESDIR}/${P}.rtc_fix.patch || die "Failed to patch RTC vulnerabilities!" + epatch ${FILESDIR}/${P}.signal_fix.patch || die "Failed to patch signal.c vulnerability." + + for n in `ls ${FILESDIR}/${PN}.CAN-*`; + do + epatch $n || die "Failed to add " $n; + done + + kernel_universal_unpack +} |