summaryrefslogtreecommitdiff
path: root/games-misc/fortune-mod-kernelcookies
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-misc/fortune-mod-kernelcookies
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-misc/fortune-mod-kernelcookies')
-rw-r--r--games-misc/fortune-mod-kernelcookies/Manifest1
-rw-r--r--games-misc/fortune-mod-kernelcookies/files/9-offensive.patch140
-rw-r--r--games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild33
-rw-r--r--games-misc/fortune-mod-kernelcookies/metadata.xml5
4 files changed, 179 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/Manifest b/games-misc/fortune-mod-kernelcookies/Manifest
new file mode 100644
index 00000000000..559a36ba6f9
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/Manifest
@@ -0,0 +1 @@
+DIST kernelcookies-9.tar.gz 8966 SHA256 f0e6539fdcc4992f61b01b445979860c54cb4e6e86ece9d5c47d91d2fd0ded4c SHA512 3d2601ad787928ef852af7d5833c5d32a7c7e364913d451e889eb883d4da450a989c0ff450aef4c07e3700ef3a87f535948d07789c7d2819305a6f36cded7aa3 WHIRLPOOL 82ba1e9eb04f081455e89600168816b1bc17d282eb61ac5e3867b5eade7f43959d14ff45e162d590e9fc254dc326fa5d146aa757b4ebaf09503d9c24f1fe1df4
diff --git a/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
new file mode 100644
index 00000000000..0ba0ee12890
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
@@ -0,0 +1,140 @@
+--- kernelcookies
++++ kernelcookies
+@@ -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
+ %
+@@ -492,19 +414,6 @@
+ printk("CPU[%d]: Giving pardon to imprisoned penguins\n", smp_processor_id());
+ linux-2.4.8/arch/sparc64/kernel/smp.c
+ %
+-/* Welcome to Sun Microsystems, can I take your order please? */
+-/* Would you like fries with that? */
+-/* Anything else? */
+-/* Fifty-two cents is your change, have a nice day. */
+-/* Would you like to try our SMCC Delux? */
+-/* We have a special on GNU/Viking hardware bugs today. */
+-/* Will that be all? */
+-/* Don't forget your vik_1137125_wa. Have a nice day. */
+-/* We're consolidating our STB products, it's your lucky day. */
+-/* Come back next week when we are "Sun Microelectronics". */
+-/* Remember: "Different name, same old buggy as shit hardware." */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+ printk (KERN_INFO "NM256: Congratulations. You're not running Eunice.\n");
+ linux-2.6.19/sound/oss/nm256_audio.c
+ %
diff --git a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
new file mode 100644
index 00000000000..6438da6ea1c
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A collection of funny lines from the Linux kernel"
+HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml"
+SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="offensive"
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/kernelcookies-${PV}
+
+src_prepare() {
+ # bug #64985
+ if ! use offensive ; then
+ rm -f *.dat
+ epatch "${FILESDIR}"/${PV}-offensive.patch
+ strfile -s kernelcookies || die
+ fi
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins kernelcookies.dat kernelcookies
+}
diff --git a/games-misc/fortune-mod-kernelcookies/metadata.xml b/games-misc/fortune-mod-kernelcookies/metadata.xml
new file mode 100644
index 00000000000..d3c2cc926f0
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>