summaryrefslogtreecommitdiff
path: root/app-text/talkfilters
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 /app-text/talkfilters
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 'app-text/talkfilters')
-rw-r--r--app-text/talkfilters/Manifest1
-rw-r--r--app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch43
-rw-r--r--app-text/talkfilters/metadata.xml16
-rw-r--r--app-text/talkfilters/talkfilters-2.3.8-r1.ebuild24
-rw-r--r--app-text/talkfilters/talkfilters-2.3.8.ebuild17
5 files changed, 101 insertions, 0 deletions
diff --git a/app-text/talkfilters/Manifest b/app-text/talkfilters/Manifest
new file mode 100644
index 00000000000..900718f5a24
--- /dev/null
+++ b/app-text/talkfilters/Manifest
@@ -0,0 +1 @@
+DIST talkfilters-2.3.8.tar.gz 821338 SHA256 4681e71170af06c6bffcd4e454eff67224cde06f0d678d26dc72da45f02ecca6 SHA512 3fb317c572e95756fea9dcbaeac01e9576b05f5b0710e64513ecd05ec219f8050dec3bc5bc5d0d5f00c642487925765843da03525cfcb23925cab3c321272b28 WHIRLPOOL 81a7ec75d4a71794675b52da0feaf729048082fb7531c06fedb5ad8e3beb8e8e198d071ecac479cd54cb06123b0245e3614abcdf27d26b7a5eaaebeb179d5a0c
diff --git a/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch b/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch
new file mode 100644
index 00000000000..cf59574694a
--- /dev/null
+++ b/app-text/talkfilters/files/talkfilters-2.3.8-format-security.patch
@@ -0,0 +1,43 @@
+ wrap.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/wrap.c b/wrap.c
+index 7c89dc8..745d1ec 100644
+--- a/wrap.c
++++ b/wrap.c
+@@ -105,7 +105,7 @@ int main(int argc, char **argv)
+ {
+ *wp = 0;
+ putchar('\n');
+- printf(wbuf);
++ printf("%s", wbuf);
+ putchar(c);
+ putchar('\n');
+ wp = wbuf, ll = wl = 0;
+@@ -123,7 +123,7 @@ int main(int argc, char **argv)
+ {
+ *wp = 0;
+ if(ll) putchar(' '), ll++;
+- printf(wbuf);
++ printf("%s", wbuf);
+ ll += wl;
+ wl = 0, wp = wbuf;
+ }
+@@ -131,7 +131,7 @@ int main(int argc, char **argv)
+ {
+ *wp = 0;
+ putchar('\n');
+- printf(wbuf);
++ printf("%s", wbuf);
+ ll = wl;
+ wl = 0, wp = wbuf;
+ }
+@@ -148,7 +148,7 @@ int main(int argc, char **argv)
+ if(ll) putchar(' ');
+ }
+ else putchar('\n');
+- printf(wbuf);
++ printf("%s", wbuf);
+ }
+ putchar('\n');
+ free(wbuf);
diff --git a/app-text/talkfilters/metadata.xml b/app-text/talkfilters/metadata.xml
new file mode 100644
index 00000000000..37139870616
--- /dev/null
+++ b/app-text/talkfilters/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>shell-tools</herd>
+ <longdescription lang="en">
+ The GNU Talk Filters are filter programs that convert ordinary English text
+ into text that mimics a stereotyped or otherwise humorous dialect. These
+ filters have been in the public domain for many years, but now for the first
+ time they are provided as a single integrated package. The filters include
+ austro, b1ff, brooklyn, chef, cockney, drawl, dubya, fudd, funetak, jethro,
+ jive, kraut, pansy, pirate, postmodern, redneck, valspeak, and warez. Each
+ program reads from standard input and writes to standard output. The package
+ also provides the filters as a C library, so they can be easily used by other
+ programs.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-text/talkfilters/talkfilters-2.3.8-r1.ebuild b/app-text/talkfilters/talkfilters-2.3.8-r1.ebuild
new file mode 100644
index 00000000000..020316629bb
--- /dev/null
+++ b/app-text/talkfilters/talkfilters-2.3.8-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Convert ordinary English text into text that mimics a stereotyped or otherwise humorous dialect"
+HOMEPAGE="http://www.hyperrealm.com/talkfilters/talkfilters.html"
+SRC_URI="http://www.hyperrealm.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~mips ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format-security.patch
+ )
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+}
diff --git a/app-text/talkfilters/talkfilters-2.3.8.ebuild b/app-text/talkfilters/talkfilters-2.3.8.ebuild
new file mode 100644
index 00000000000..31e67a02e1c
--- /dev/null
+++ b/app-text/talkfilters/talkfilters-2.3.8.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Convert ordinary English text into text that mimics a stereotyped or otherwise humorous dialect"
+HOMEPAGE="http://www.hyperrealm.com/talkfilters/talkfilters.html"
+SRC_URI="http://www.hyperrealm.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ~mips ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README || die
+}