summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-02-06 22:51:12 +0000
committerBrian Jackson <iggy@gentoo.org>2004-02-06 22:51:12 +0000
commit3965bb448c763cdf788605894b1db703a07f2c16 (patch)
tree897006c1c0c9edcba0af207073b154e3e9cc6336 /sys-kernel
parentbye bye redhat-sources (diff)
downloadhistorical-3965bb448c763cdf788605894b1db703a07f2c16.tar.gz
historical-3965bb448c763cdf788605894b1db703a07f2c16.tar.bz2
historical-3965bb448c763cdf788605894b1db703a07f2c16.zip
cleaning out old stuff
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/pfeifer-sources/ChangeLog10
-rw-r--r--sys-kernel/pfeifer-sources/Manifest7
-rw-r--r--sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.21.1_pre4-r12
-rw-r--r--sys-kernel/pfeifer-sources/files/do_brk_fix.patch12
-rw-r--r--sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch13
-rw-r--r--sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch156
-rw-r--r--sys-kernel/pfeifer-sources/pfeifer-sources-2.4.21.1_pre4-r1.ebuild143
7 files changed, 9 insertions, 334 deletions
diff --git a/sys-kernel/pfeifer-sources/ChangeLog b/sys-kernel/pfeifer-sources/ChangeLog
index 101fef5dfb7d..9d61afbd597a 100644
--- a/sys-kernel/pfeifer-sources/ChangeLog
+++ b/sys-kernel/pfeifer-sources/ChangeLog
@@ -1,11 +1,17 @@
# ChangeLog for sys-kernel/pfeifer-sources
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/ChangeLog,v 1.21 2004/01/06 23:54:17 plasmaroo Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/ChangeLog,v 1.22 2004/02/06 22:51:12 iggy Exp $
TODO:
update FreeSWAN, aic7xxx
update some of the docs
+ 06 Feb 2004; Brian Jackson <iggy@gentoo.org>
+ pfeifer-sources-2.4.21.1_pre4-r1.ebuild, files/do_brk_fix.patch,
+ files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch,
+ files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch:
+ cleaning out old stuff
+
*pfeifer-sources-2.4.21.1_pre4-r1 (06 Jan 2004)
06 Jan 2004; <plasmaroo@gentoo.org> pfeifer-sources-2.4.21.1_pre4-r1.ebuild,
diff --git a/sys-kernel/pfeifer-sources/Manifest b/sys-kernel/pfeifer-sources/Manifest
index 799d39c9a9bd..8c87207aaacd 100644
--- a/sys-kernel/pfeifer-sources/Manifest
+++ b/sys-kernel/pfeifer-sources/Manifest
@@ -1,6 +1 @@
-MD5 65e0b9eccc6c8bb98b254b9b625f3b42 pfeifer-sources-2.4.21.1_pre4-r1.ebuild 4822
-MD5 491d9659d72b4d4cade7219538187f99 ChangeLog 8188
-MD5 e77a93fdf26f06cf3ea5080b27211725 files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch 414
-MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
-MD5 a61e57d5483a06f20da339d91f98fbb8 files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch 6769
-MD5 a99cf43863da90ebcf117de912c70ee6 files/digest-pfeifer-sources-2.4.21.1_pre4-r1 151
+MD5 0784b17743eb3f34dddc9c172bf01f92 ChangeLog 8441
diff --git a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.21.1_pre4-r1 b/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.21.1_pre4-r1
deleted file mode 100644
index 1933fa12fccd..000000000000
--- a/sys-kernel/pfeifer-sources/files/digest-pfeifer-sources-2.4.21.1_pre4-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733
-MD5 a7979b9743aac35b9ad9212f78a816d6 patches-2.4.21-pfeifer-r1_pre4.tar.bz2 4078718
diff --git a/sys-kernel/pfeifer-sources/files/do_brk_fix.patch b/sys-kernel/pfeifer-sources/files/do_brk_fix.patch
deleted file mode 100644
index fef1f1e981e2..000000000000
--- a/sys-kernel/pfeifer-sources/files/do_brk_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/mm/mmap.c Fri Sep 12 06:44:06 2003
-+++ b/mm/mmap.c Thu Oct 2 01:18:19 2003
-@@ -1041,6 +1041,9 @@
- if (!len)
- return addr;
-
-+ if ((addr + len) > TASK_SIZE || (addr + len) < addr)
-+ return -EINVAL;
-+
- /*
- * mlock MCL_FUTURE?
- */
diff --git a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch b/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch
deleted file mode 100644
index dacf6ed810f9..000000000000
--- a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.CAN-2003-0985.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- linux/mm/mremap.c.orig 2004-01-05 17:01:21.382104120 +0000
-+++ linux/mm/mremap.c 2004-01-05 17:15:25.689749848 +0000
-@@ -315,6 +315,10 @@
- old_len = PAGE_ALIGN(old_len);
- new_len = PAGE_ALIGN(new_len);
-
-+ /* Don't allow the degenerate cases */
-+ if (!old_len || !new_len)
-+ goto out;
-+
- /* new_addr is only valid if MREMAP_FIXED is specified */
- if (flags & MREMAP_FIXED) {
- if (new_addr & ~PAGE_MASK)
diff --git a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch b/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch
deleted file mode 100644
index 10e9c228d6d2..000000000000
--- a/sys-kernel/pfeifer-sources/files/pfeifer-sources-2.4.21.1_pre4-r1.rtc_fix.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c 2004-01-05 23:41:44.000000000 +0000
-@@ -315,6 +315,7 @@
- {
- struct rtc_time rtc_tm;
-
-+ memset(&rtc_tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&rtc_tm);
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
- return -EFAULT;
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c 2004-01-05 23:42:22.000000000 +0000
-@@ -174,6 +174,7 @@
- {
- struct rtc_time tm;
-
-+ memset(&tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&tm);
-
- if (copy_to_user((struct rtc_time *) arg, &tm, sizeof(struct rtc_time))) {
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c 2004-01-05 23:43:15.000000000 +0000
-@@ -54,6 +54,7 @@
- /* Ensure clock and real-time-mode-register are accessible */
- msr = rtc->msr & 0xc0;
- rtc->msr = 0x40;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- do {
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c 2004-01-05 23:44:02.000000000 +0000
-@@ -52,6 +52,7 @@
- cli();
- /* Ensure clock and real-time-mode-register are accessible */
- rtc->ctrl = RTC_READ;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
- wtime.tm_hour = BCD2BIN(rtc->bcd_hr);
-diff -ur linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c
---- linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:48:34.000000000 +0000
-@@ -84,6 +84,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c
---- linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c 2004-01-05 23:44:34.000000000 +0000
-@@ -96,6 +96,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ppc_md.get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/efirtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/efirtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c 2004-01-05 23:47:53.000000000 +0000
-@@ -118,6 +118,7 @@
- static void
- convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
- {
-+ memset(wtime, 0, sizeof(struct rtc_time));
- wtime->tm_sec = eft->second;
- wtime->tm_min = eft->minute;
- wtime->tm_hour = eft->hour;
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c 2004-01-05 23:52:43.000000000 +0000
-@@ -370,6 +370,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_alm_time(&wtime);
- break;
- }
-@@ -417,6 +418,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c
---- linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:53:36.000000000 +0000
-@@ -561,6 +561,7 @@
- }
- case RTC_ALM_READ: /* Read the present alarm time */
- {
-+ memset(&ttime, 0, sizeof(struct timeval));
- if (hp_sdc_rtc_read_mt(&ttime)) return -EFAULT;
- break;
- }
-@@ -609,6 +610,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c 2004-01-05 23:54:15.000000000 +0000
-@@ -64,6 +64,7 @@
- case RTC_RD_TIME:
- if (ppc_md.get_rtc_time)
- {
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c 2004-01-05 23:54:43.000000000 +0000
-@@ -89,6 +89,7 @@
- switch (cmd)
- {
- case RTCGET:
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c
---- linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c 2004-01-05 23:47:25.000000000 +0000
-@@ -174,6 +174,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_alm_time(&wtime);
- break;
- }
-@@ -216,6 +217,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_time(&wtime);
- break;
- }
diff --git a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.21.1_pre4-r1.ebuild b/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.21.1_pre4-r1.ebuild
deleted file mode 100644
index 111d267ba99f..000000000000
--- a/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.21.1_pre4-r1.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/pfeifer-sources/pfeifer-sources-2.4.21.1_pre4-r1.ebuild,v 1.1 2004/01/06 23:54:17 plasmaroo Exp $
-
-IUSE="build crypt evms2 aavm usagi"
-
-# 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
-# KERNEL_EXCLUDE="evms" would not patch any patches whose names match
-# *evms*). Kernels are only tested in the default configuration, but
-# this may be useful if you know that a particular patch is causing a
-# conflict with a patch you personally want to apply, or some other
-# similar situation.
-
-ETYPE="sources"
-
-inherit kernel
-
-OKV="2.4.21"
-EXTRAVERSION="-${PN/-*/}"
-[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-r1_pre4"
-KV="${OKV}${EXTRAVERSION}"
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/gentoo-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the experimental Gentoo Kernel."
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://gentoo/patches-${KV}.tar.bz2"
-HOMEPAGE="http://www.gentoo.org/ http://www.kernel.org/"
-LICENSE="GPL-2"
-KEYWORDS="~x86 -ppc -sparc -alpha -hppa -mips -arm -amd64"
-SLOT="${KV}"
-
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die "Error moving kernel source tree to linux-${KV}"
-
- cd ${WORKDIR}/${KV}
-
- # This is the *ratified* aavm USE flag, enables aavm support in this kernel
- if [ -z "`use aavm`" ]; then
- einfo "Setting up kernel for rmap support(default)."
- for file in *.aavm ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for aavm support."
- for file in *.rmap ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # If the compiler isn't gcc>3.1 drop the gcc>3.1 patches
- if [[ "${COMPILER}" == "gcc3" ]];then
- einfo "You are using gcc>3.1"
- einfo "Enabling gcc>3.1 processor optimizations."
- einfo "To use, choose the processor family labelled with (gcc>31) in"
- einfo "Processor type and features -> Processor Family"
- else
- einfo "Your compiler is not gcc3, dropping patches..."
- for file in *gcc3*;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the *ratified* evms2 USE flag, enables evms2 support
- if [ -z "`use evms2`" ]; then
- einfo "Setting up kernel for EVMS 1.2.1 support(default)."
- for file in 2* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Setting up kernel for EVMS 2.1.0 support."
- ewarn "Please read the 'evms2' doc provided with this kernel."
- ewarn "It is the install doc from the evms 2.1.0 tarball."
- for file in 1* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- # This is the crypt USE flag, keeps {superfreeswan/patch-int/loop-aes}
- if [ -z "`use crypt`" ]; then
- einfo "No Cryptographic support, dropping patches..."
- for file in 6* 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Cryptographic patches will be applied"
- fi
-
- # This is the usagi USE flag, keeps USAGI, drops {superfreeswan/patch-int/loop-aes}
- # Using USAGI will also cause you to drop all iptables ipv6 patches
- if [ -z "`use usagi`" ]; then
- einfo "Keeping {superfreeswan/patch-int/loop-aes} patches, dropping USAGI"
- for file in 6* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- else
- einfo "Keeping USAGI patch, dropping {superfreeswan/patch-int/loop-aes}"
- for file in *.ipv6 8* ;do
- einfo "Dropping ${file}..."
- rm -f ${file}
- done
- fi
-
- kernel_src_unpack
- epatch ${FILESDIR}/do_brk_fix.patch || die "Failed to patch do_brk() vulnerability!"
- epatch ${FILESDIR}/${PN}-${PVR}.CAN-2003-0985.patch || die "Failed to patch mremap() vulnerability!"
- epatch ${FILESDIR}/${PN}-${PVR}.rtc_fix.patch || die "Failed to patch RTC vulnerabilities!"
-
-}
-
-pkg_postinst() {
-
- kernel_pkg_postinst
-
- echo
- ewarn "If iptables/netfilter behaves abnormally, such as 'Invalid Argument',"
- ewarn "you will need to re-emerge iptables to restore proper functionality."
- echo
- einfo "If there are issues with it, read the docs and associated help provided."
- einfo "Next you should check http://forums.gentoo.org/ for assistance."
- einfo "Otherwise check http://bugs.gentoo.org/ for an existing bug."
- einfo "Only create a new bug if you have not found one that matches your issue."
- einfo "It is best to do an advanced search as the initial search has a very low yield."
- einfo "Assign bugs to pfeifer@gentoo.org"
- echo
- einfo "Please read the ChangeLog and associated docs for more information."
-}