summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin V. Arkhipov <voxus@gentoo.org>2004-11-16 11:49:08 +0000
committerKonstantin V. Arkhipov <voxus@gentoo.org>2004-11-16 11:49:08 +0000
commitd48d23a42a4a2ced47674af1be6d9882522aaf0d (patch)
tree4bc94c03bf02160cbe2e1cbdc37e317c329a12c2 /sys-kernel/openmosix-sources
parentmarked stable on x86 (diff)
downloadhistorical-d48d23a42a4a2ced47674af1be6d9882522aaf0d.tar.gz
historical-d48d23a42a4a2ced47674af1be6d9882522aaf0d.tar.bz2
historical-d48d23a42a4a2ced47674af1be6d9882522aaf0d.zip
closing bug #71266
Diffstat (limited to 'sys-kernel/openmosix-sources')
-rw-r--r--sys-kernel/openmosix-sources/ChangeLog12
-rw-r--r--sys-kernel/openmosix-sources/Manifest11
-rw-r--r--sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r65
-rw-r--r--sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r7 (renamed from sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r5)0
-rw-r--r--sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch34
-rw-r--r--sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r6.ebuild70
-rw-r--r--sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r7.ebuild (renamed from sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r5.ebuild)26
-rw-r--r--sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild3
8 files changed, 66 insertions, 95 deletions
diff --git a/sys-kernel/openmosix-sources/ChangeLog b/sys-kernel/openmosix-sources/ChangeLog
index d57a9e1eb710..9cab0c1d1492 100644
--- a/sys-kernel/openmosix-sources/ChangeLog
+++ b/sys-kernel/openmosix-sources/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-kernel/openmosix-sources
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.69 2004/11/15 16:52:16 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.70 2004/11/16 11:49:08 voxus Exp $
+
+*openmosix-sources-2.4.24-r7 (16 Nov 2004)
+
+ 16 Nov 2004; Konstantin Arkhipov <voxus@gentoo.org>:
+ -openmosix-sources-2.4.24-r5.ebuild,
+ -openmosix-sources-2.4.24-r6.ebuild,
+ +openmosix-sources-2.4.24-r7.ebuild,
+ +openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch:
+ Added small fix for CAN-2004-0841' patch, closing bug #71266.
+ Unmasked .24-r7 due to security patches.
*openmosix-sources-2.4.24-r6 (15 Nov 2004)
*openmosix-sources-2.4.27-r4 (15 Nov 2004)
diff --git a/sys-kernel/openmosix-sources/Manifest b/sys-kernel/openmosix-sources/Manifest
index 36734b2b768a..a6835910d3f5 100644
--- a/sys-kernel/openmosix-sources/Manifest
+++ b/sys-kernel/openmosix-sources/Manifest
@@ -1,7 +1,6 @@
-MD5 07c7631eaa875064c1a3b87e9f13f6f4 openmosix-sources-2.4.24-r6.ebuild 2990
-MD5 4525215d8c3ac219d706b183ade9620f openmosix-sources-2.4.27-r4.ebuild 1712
-MD5 4f7f2233424ab09566d8bb96c0ebd181 openmosix-sources-2.4.24-r5.ebuild 2903
-MD5 aa23dd5a8e850583a184c69e4c6febb4 ChangeLog 12824
+MD5 a0e9868f52a03a55050ab4e184b75fd2 openmosix-sources-2.4.27-r4.ebuild 1820
+MD5 496d925424a1fa62617d6c740386e8b9 openmosix-sources-2.4.24-r7.ebuild 2935
+MD5 3e5ac92956f3e2c3399ca583abf9ee86 ChangeLog 13207
MD5 beb9efce81ae2c582a621528fc783095 metadata.xml 373
MD5 de75cfa969ed092578d9ddda6c5be334 files/openmosix-sources.CAN-2004-0181.patch 1233
MD5 e77a93fdf26f06cf3ea5080b27211725 files/openmosix-sources.CAN-2003-0985.patch 414
@@ -9,12 +8,12 @@ MD5 d1ccc2047be533c992f67270a150a210 files/cmdline-proc-fix.patch 388
MD5 147fec50180ad91b6260fc7201dcb90f files/openmosix-sources.CAN-2004-0010.patch 6050
MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/openmosix-sources.CAN-2004-0497.patch 707
MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/openmosix-sources.CAN-2004-0177.patch 384
-MD5 b5082064acd344757ff6362f7d60a881 files/digest-openmosix-sources-2.4.24-r5 359
-MD5 b5082064acd344757ff6362f7d60a881 files/digest-openmosix-sources-2.4.24-r6 359
+MD5 b5082064acd344757ff6362f7d60a881 files/digest-openmosix-sources-2.4.24-r7 359
MD5 42009ab1ca8da78b30d2fcd15150f202 files/digest-openmosix-sources-2.4.27-r4 296
MD5 21f3a4f186017d925067335e24db36a1 files/openmosix-sources.CAN-2004-0109.patch 1877
MD5 ac42024b6e6ee1e2165914db4b22a61c files/openmosix-sources.CAN-2004-0178.patch 424
MD5 60d25ff310fc6abfdce39ec9e47345af files/openmosix-sources.CAN-2004-0685.patch 2809
+MD5 fa0b3a0117ce4a5701403bb7f1c5acdf files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch 878
MD5 24c53f49954dab29cfc172d4a3ba1a31 files/openmosix-sources-binfmt_elf.patch 1928
MD5 bf2b609e8cab6460d220b1267db09826 files/openmosix-sources.CAN-2004-0001.patch 982
MD5 0f66013f643c79c97fda489618a4e2fd files/openmosix-sources.CAN-2004-0535.patch 476
diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r6 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r6
deleted file mode 100644
index e3b64d95ad6f..000000000000
--- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r6
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 1c9bc4f32a9fc793cb8f0a6d0f910cb7 openMosix-2.4.24-2.bz2 588330
-MD5 7e0e9f3d57bcc1b1bb7900ada383c129 linux-2.4.23-CAN-2004-0415.patch 89319
-MD5 d4c051e7c6062704be85192e25e2f5b2 linux-2.4.26-CAN-2004-0814.patch 81508
-MD5 5bbbb2201b338ebb74f0bf650b639475 linux-2.4.27-nfs3-xdr.patch.bz2 746
diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r5 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r7
index e3b64d95ad6f..e3b64d95ad6f 100644
--- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r5
+++ b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r7
diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch
new file mode 100644
index 000000000000..771a07876c72
--- /dev/null
+++ b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch
@@ -0,0 +1,34 @@
+--- drivers/char/tty_io.c~ 2004-11-16 13:44:03.027542320 +0300
++++ drivers/char/tty_io.c 2004-11-16 13:45:53.229789032 +0300
+@@ -763,31 +763,6 @@
+ spin_unlock_irqrestore(&tty_termios_lock, flags);
+ }
+
+- /* Defer ldisc switch */
+- /* tty_deferred_ldisc_switch(N_TTY);
+-
+- read_lock(&tasklist_lock);
+-#ifdef CONFIG_MOSIX
+- for_each_local_task(p) {
+-#else
+- for_each_task(p) {
+-#endif /* CONFIG_MOSIX */
+- if ((tty->session > 0) && (p->session == tty->session) &&
+- p->leader) {
+- send_sig(SIGHUP,p,1);
+- send_sig(SIGCONT,p,1);
+- if (tty->pgrp > 0)
+- p->tty_old_pgrp = tty->pgrp;
+- }
+- if (p->tty == tty)
+- p->tty = NULL;
+- }
+- read_unlock(&tasklist_lock);
+-
+- tty->flags = 0;
+- tty->session = 0;
+- tty->pgrp = -1;
+- tty->ctrl_status = 0;
+ /*
+ * If one of the devices matches a console pointer, we
+ * cannot just call hangup() because that will cause
diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r6.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r6.ebuild
deleted file mode 100644
index ab8f65957537..000000000000
--- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r6.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r6.ebuild,v 1.1 2004/11/15 16:52:16 voxus Exp $
-#OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-ETYPE="sources"
-inherit kernel eutils
-
-OKV="2.4.24"
-OMV="2"
-[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR}
-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-${OKV}-${OMV}.bz2
-http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.23-CAN-2004-0415.patch
-http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.26-CAN-2004-0814.patch
-mirror://gentoo/linux-2.4.27-nfs3-xdr.patch.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"
-IUSE=""
-
-src_unpack() {
- unpack linux-${OKV}.tar.bz2
- mv linux-${OKV} linux-${KV} || die
- cd linux-${KV}
-
- epatch ${DISTDIR}/openMosix-${OKV}-${OMV}.bz2 || die "openMosix patch failed"
-
- epatch ${FILESDIR}/openmosix-sources.CAN-2003-0985.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0001.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0010.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0109.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0177.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0178.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0181.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0495.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0497.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0535.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0685.patch || die "Security patch failed"
- epatch ${FILESDIR}/cmdline-proc-fix.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources-binfmt_elf.patch || die "Security patch failed"
-
- epatch ${DISTDIR}/linux-2.4.23-CAN-2004-0415.patch || die "Failed to add CAN-2004-0415"
- epatch ${DISTDIR}/linux-2.4.26-CAN-2004-0814.patch || die "Failed to add CAN-2004-0814"
- epatch ${DISTDIR}/linux-2.4.27-nfs3-xdr.patch.bz2 || die "Failed to add nfs3-xdk patch"
-
- kernel_universal_unpack
-}
-
-pkg_postinst() {
- [ "$ETYPE" = "headers" ] && return
- if [ ! -e ${ROOT}usr/src/linux ]
- then
- rm -f ${ROOT}usr/src/linux
- ln -sf linux-${KV} ${ROOT}/usr/src/linux
- fi
-}
diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r5.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r7.ebuild
index e50f269bbc65..9c354d4bf2b9 100644
--- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r5.ebuild
+++ b/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r5.ebuild,v 1.2 2004/11/12 07:30:29 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r7.ebuild,v 1.1 2004/11/16 11:49:08 voxus Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
ETYPE="sources"
@@ -39,21 +39,23 @@ src_unpack() {
epatch ${DISTDIR}/openMosix-${OKV}-${OMV}.bz2 || die "openMosix patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2003-0985.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0001.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0010.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0109.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0177.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0178.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0181.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0495.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0497.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0535.patch || die "Security patch failed"
- epatch ${FILESDIR}/openmosix-sources.CAN-2004-0685.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2003-0985.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0001.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0495.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0535.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0685.patch || die "Security patch failed"
epatch ${FILESDIR}/cmdline-proc-fix.patch || die "Security patch failed"
+ epatch ${FILESDIR}/${PN}-binfmt_elf.patch || die "Security patch failed"
epatch ${DISTDIR}/linux-2.4.23-CAN-2004-0415.patch || die "Failed to add CAN-2004-0415"
epatch ${DISTDIR}/linux-2.4.26-CAN-2004-0814.patch || die "Failed to add CAN-2004-0814"
+ epatch ${FILESDIR}/${PN}.CAN-2004-0841-fix_ldisc_switch.patch || die "Antipatch failed."
epatch ${DISTDIR}/linux-2.4.27-nfs3-xdr.patch.bz2 || die "Failed to add nfs3-xdk patch"
kernel_universal_unpack
diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild
index 9feb4282fe5f..0c84a87c97a1 100644
--- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild
+++ b/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild,v 1.1 2004/11/15 16:52:16 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.27-r4.ebuild,v 1.2 2004/11/16 11:49:08 voxus Exp $
#OKV=original kernel version, KV=patched kernel version. They can be the same.
ETYPE="sources"
@@ -37,6 +37,7 @@ src_unpack() {
cd linux-${KV}
epatch ${DISTDIR}/patch-${OKV}-om-migshm-${TIMESTAMP}.bz2 || die "openMosix patch failed."
epatch ${DISTDIR}/linux-${PV}-CAN-2004-0814.patch || die "security patch for CAN-2004-0814 failed."
+ epatch ${FILESDIR}/${PN}.CAN-2004-0841-fix_ldisc_switch.patch || die "fix for CAN-2004-0814 patch failed."
epatch ${DISTDIR}/linux-${PV}-nfs3-xdr.patch.bz2 || die "security patch for nfs3-xdk failed."
epatch ${FILESDIR}/openmosix-sources-binfmt_elf.patch || die "Security patch for binfmt_elf failed."
kernel_universal_unpack