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
commite27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93 (patch)
tree497b6d078052eafb3e1fe2782d76d6ec711344f8 /games-misc
parentstable for security #53375 (Manifest recommit) (diff)
downloadgentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.tar.gz
gentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.tar.bz2
gentoo-2-e27533a3a010ba0ca1f1ad6f278b5a15ee2b1b93.zip
support the offensive flag for bug #64985
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/fortune-mod-kernelcookies/ChangeLog6
-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
3 files changed, 142 insertions, 5 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/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