summaryrefslogtreecommitdiff
path: root/games-misc/fortune-mod-kernelcookies
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-misc/fortune-mod-kernelcookies
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-misc/fortune-mod-kernelcookies')
-rw-r--r--games-misc/fortune-mod-kernelcookies/Manifest4
-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.xml8
4 files changed, 185 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-kernelcookies/Manifest b/games-misc/fortune-mod-kernelcookies/Manifest
new file mode 100644
index 000000000000..0ab1c1010fdd
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/Manifest
@@ -0,0 +1,4 @@
+AUX 9-offensive.patch 4789 BLAKE2B 2778f35d39fd213e215ec679ecabdd145168c35c3a41df0d02a0600f3b2d8e551020cf7ce88f7e4bbe266858593f65642a670935b44b2716acdc2af60e338c74 SHA512 6bf0ae401b55b6e83523ad0b930ff06627499c9b45ba98687843b7d96ffea24dfe92799a581f37ed7d33efb951ab07157467f6034ad8aab9ee86df865005846c
+DIST kernelcookies-9.tar.gz 8966 BLAKE2B c6d503d0c01fe86ac2b59240ba2a1639210b7aef6fb167d8467c4fcad0283880ff00c59e34e811c7bbde3b0bf7e7bb89536e8c3d439b514fb180db2d326847cc SHA512 3d2601ad787928ef852af7d5833c5d32a7c7e364913d451e889eb883d4da450a989c0ff450aef4c07e3700ef3a87f535948d07789c7d2819305a6f36cded7aa3
+EBUILD fortune-mod-kernelcookies-9.ebuild 841 BLAKE2B efaf45273867cf8e9abc97b8d571710b7e3330083cc5a5753bf5e3a33f2b9dbe25d91bfa84a92fe9ba7e3994c40276d53a9651b63ef4c609741c0096404edac4 SHA512 171a425261d869b2b4d40e38299ce9bad0e3876c24670732affe98b8ce6729166ff6ac7ac27d89086074d647c73df6554112cb5c600c07897b45e2743366e153
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
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 000000000000..0ba0ee128907
--- /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 000000000000..9b2012861b22
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~arm64 ~hppa ~m68k ~mips ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~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 000000000000..78274e0fa550
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>