summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-23 04:50:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-23 04:50:08 +0000
commit782c267ba9e8adb55de4470891c1d32f3d7afe65 (patch)
treeb1a0f026181c3816cb3495ac19c37e9b2ccea1a0 /games-misc/fortune-mod-kernelcookies
parentstable for security #53375 (diff)
downloadhistorical-782c267ba9e8adb55de4470891c1d32f3d7afe65.tar.gz
historical-782c267ba9e8adb55de4470891c1d32f3d7afe65.tar.bz2
historical-782c267ba9e8adb55de4470891c1d32f3d7afe65.zip
support the offensive flag for bug #64985
Diffstat (limited to 'games-misc/fortune-mod-kernelcookies')
-rw-r--r--games-misc/fortune-mod-kernelcookies/ChangeLog6
-rw-r--r--games-misc/fortune-mod-kernelcookies/Manifest5
-rw-r--r--games-misc/fortune-mod-kernelcookies/files/8-offensive.patch120
-rw-r--r--games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild21
4 files changed, 145 insertions, 7 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/ChangeLog b/games-misc/fortune-mod-kernelcookies/ChangeLog
index dded57ab7ac1..b055db00ce05 100644
--- a/games-misc/fortune-mod-kernelcookies/ChangeLog
+++ b/games-misc/fortune-mod-kernelcookies/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-misc/fortune-mod-kernelcookies
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/ChangeLog,v 1.4 2004/06/25 03:21:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/ChangeLog,v 1.5 2004/09/23 04:50:08 mr_bones_ Exp $
+
+ 22 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/8-offensive.patch, fortune-mod-kernelcookies-8.ebuild:
+ support the offensive flag for bug #64985
*fortune-mod-kernelcookies-8 (21 Jun 2004)
diff --git a/games-misc/fortune-mod-kernelcookies/Manifest b/games-misc/fortune-mod-kernelcookies/Manifest
index 03dd8518d940..4948972a77c7 100644
--- a/games-misc/fortune-mod-kernelcookies/Manifest
+++ b/games-misc/fortune-mod-kernelcookies/Manifest
@@ -1,4 +1,5 @@
-MD5 d21c605ff219adc38993823bd9195160 fortune-mod-kernelcookies-8.ebuild 682
-MD5 897b5fd476979449fdeaf04bd2c73f34 ChangeLog 766
+MD5 d2ac40628ac5db977fe5bde1e7891256 ChangeLog 931
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 1efd3e97b965b85eb56caae66bf4f575 fortune-mod-kernelcookies-8.ebuild 882
MD5 5fd9719487741cb1f0af51c53c429b55 files/digest-fortune-mod-kernelcookies-8 65
+MD5 44290846f434d6e7c31bb3362e05c813 files/8-offensive.patch 3990
diff --git a/games-misc/fortune-mod-kernelcookies/files/8-offensive.patch b/games-misc/fortune-mod-kernelcookies/files/8-offensive.patch
new file mode 100644
index 000000000000..0e60c28e8f0f
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/files/8-offensive.patch
@@ -0,0 +1,120 @@
+--- kernelcookies.orig 2004-09-22 21:36:28.000000000 -0700
++++ kernelcookies 2004-09-22 21:36:40.000000000 -0700
+@@ -1,42 +1,3 @@
+-/* Only Sun can take such nice parts and fuck up the programming interface
+- * like this. Good job guys...
+- */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-/* This card is _fucking_ hot... */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-If you don't see why, please stay the fuck away from my code.
+- Rusty, in linux-2.6.6/Documentation/DocBook/kernel-locking.tmpl
+-%
+-/* Fuck, we are miserable poor guys... */
+- linux-2.6.6/net/xfrm/xfrm_algo.c
+-%
+-/* Ugly, ugly fucker. */
+- linux-2.6.6/include/linux/netfilter_ipv4/ipt_limit.h
+-%
+-/* XXX: where the fuck is ->f_vfsmnt? */
+- linux-2.6.6/fs/intermezzo/vfs.c
+-%
+- if(ct<0)
+- ct=2; /* Shit happens.. */
+- linux-2.6.6/drivers/net/wan/z85230.c
+-%
+-/* Remember: "Different name, same old buggy as shit hardware." */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-/* This is total bullshit: */
+- linux-2.6.6/drivers/video/sis/init301.c
+-%
+-/* The HME is the biggest piece of shit I have ever seen. */
+- linux-2.6.6/drivers/scsi/esp.h
+-%
+-/* Sun, you just can't beat me, you just can't. Stop trying,
+- * give up. I'm serious, I am going to kick the living shit
+- * out of you, game over, lights out.
+- */
+- linux-2.6.6/arch/sparc/lib/checksum.S
+-%
+ printk("WE HAVE A BUG HERE!!! stk=0x%p\n", stk);
+ linux-2.6.6/drivers/block/cciss_scsi.c
+ %
+@@ -49,18 +10,9 @@
+ printk("GSCD: magic ...\n");
+ linux-2.6.6/drivers/cdrom/gscd.c
+ %
+-printk(" (Read error)"); /* Bitch about the problem. */
+- linux-2.6.6/drivers/cdrom/mcd.c
+-%
+ printk(" Speed now 1x"); /* Pull my finger! */
+ linux-2.6.6/drivers/cdrom/mcd.c
+ %
+-printk("%s: confused, missing data\n", drive->name);
+- linux-2.6.6/drivers/ide/ide-cd.c
+-%
+-printk(KERN_ERR "ide: huh? queue was plugged!\n");
+- linux-2.6.6/drivers/ide/ide-io.c:
+-%
+ printk ("%s: This looks like a LART board to me.\n",module_name);
+ linux-2.6.6/drivers/mtd/devices/lart.c
+ %
+@@ -380,21 +332,6 @@
+ printk(KERN_WARNING "Multi-volume CD somehow got mounted.\n");
+ linux-2.2.16/fs/isofs/inode.c
+ %
+-/* Fuck me gently with a chainsaw... */
+- linux-2.0.38/arch/sparc/kernel/ptrace.c
+-%
+-/* Binary compatibility is good American knowhow fuckin' up. */
+- linux-2.2.16/arch/sparc/kernel/sunos_ioctl.c
+-%
+-/* Am I fucking pedantic or what? */
+- linux-2.2.16/drivers/scsi/qlogicpti.h
+-%
+-/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
+- *
+- * Wirzenius wrote this portably, Torvalds fucked it up :-)
+- */
+- linux-2.2.16/lib/vsprintf.c
+-%
+ printk("Penguin %d is stuck in the bottle.\n", i);
+ linux-2.0.38/arch/sparc/kernel/smp.c
+ %
+@@ -416,9 +353,6 @@
+ panic("Cannot initialize video hardware\n");
+ linux-2.0.38/arch/m68k/atari/atafb.c
+ %
+-printk("ufs_read_super: fucking Sun blows me\n");
+- linux-2.0.38/fs/ufs/ufs_super.c
+-%
+ printk("autofs: Out of inode numbers -- what the heck did you do??\n");
+ linux-2.0.38/fs/autofs/root.c
+ %
+@@ -444,23 +378,11 @@
+ # Okay, what on Earth is this one supposed to be used for?
+ linux-2.4.0/drivers/char/cp437.uni
+ %
+-/* Fuck. The f-word is here so you can grep for it :-) */
+- linux-2.4.3/include/asm-mips/mmu_context.h
+-%
+ /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any
+ * way.
+ */
+ linux-2.4.3/net/core/netfilter.c
+ %
+-/* James M doesn't say fuck enough. */
+- linux-2.4.3/net/core/netfilter.c
+-%
+-/* So there I am, in the middle of my `netfilter-is-wonderful'
+- talk in Sydney, and someone asks `What happens if you try
+- to enlarge a 64k packet here?'. I think I said something
+- eloquent like `fuck'. */
+- linux-2.4.3/net/ipv4/netfilter/ip_nat_ftp.c
+-%
+ panic ("No CPUs found. System halted.\n");
+ linux-2.4.3/arch/parisc/kernel/setup.c
+ %
diff --git a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild
index 565e0728de72..f5ded62f541d 100644
--- a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild
+++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild,v 1.2 2004/06/25 03:21:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-8.ebuild,v 1.3 2004/09/23 04:50:08 mr_bones_ Exp $
+
+inherit eutils
DESCRIPTION="A collection of funny lines from the Linux kernel"
HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml"
@@ -9,11 +11,22 @@ SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc mips alpha hppa amd64"
-IUSE=""
+IUSE="offensive"
+
+DEPEND="games-misc/fortune-mod"
-RDEPEND="games-misc/fortune-mod"
+S="${WORKDIR}/kernelcookies-${PV}"
-S=${WORKDIR}/kernelcookies-${PV}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # bug #64985
+ if ! use offensive ; then
+ rm -f *.dat
+ epatch "${FILESDIR}/${PV}-offensive.patch"
+ strfile -s kernelcookies
+ fi
+}
src_install() {
insinto /usr/share/fortune