public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-mud/tf/, games-mud/tf/files/
@ 2016-08-05 19:43 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-08-05 19:43 UTC (permalink / raw
  To: gentoo-commits

commit:     102d0c63aed7078db4ee669ab0ba71ef1f3ddcf3
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 19:20:06 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 19:43:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102d0c63

games-mud/tf: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-mud/tf/files/tf-50_beta8-stdarg.patch |  6 +--
 games-mud/tf/tf-50_beta8-r2.ebuild          | 72 +++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 3 deletions(-)

diff --git a/games-mud/tf/files/tf-50_beta8-stdarg.patch b/games-mud/tf/files/tf-50_beta8-stdarg.patch
index 6d568f4..a34b70a 100644
--- a/games-mud/tf/files/tf-50_beta8-stdarg.patch
+++ b/games-mud/tf/files/tf-50_beta8-stdarg.patch
@@ -1,6 +1,6 @@
-diff -U5 -r tf-50b8.orig/src/tfio.c tf-50b8/src/tfio.c
---- src/tfio.c.orig	2007-01-13 18:12:39.000000000 -0500
-+++ src/tfio.c	2007-02-02 16:50:12.000000000 -0500
+diff -U5 -r a/src/tfio.c b/src/tfio.c
+--- a/src/tfio.c	2007-01-13 18:12:39.000000000 -0500
++++ b/src/tfio.c	2007-02-02 16:50:12.000000000 -0500
 @@ -495,10 +495,11 @@
      const char *q, *sval;
      char *specptr, quote;

diff --git a/games-mud/tf/tf-50_beta8-r2.ebuild b/games-mud/tf/tf-50_beta8-r2.ebuild
new file mode 100644
index 0000000..51ae5ae
--- /dev/null
+++ b/games-mud/tf/tf-50_beta8-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P="${P/_beta/b}"
+DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
+HOMEPAGE="http://tinyfugue.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
+	http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt ->
+	tf-allrootpatch.txt
+	http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt ->
+	tf-allsrcpatch.txt
+	doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+	dev-libs/libpcre"
+DEPEND=${RDEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+		"${DISTDIR}"/tf-all*patch.txt
+		"${FILESDIR}"/${P}-pcre.patch
+		"${FILESDIR}"/${P}-stdarg.patch
+)
+
+src_configure() {
+	STRIP=: econf \
+		$(use_enable atcp) \
+		$(use_enable gmcp) \
+		$(use_enable option102) \
+		$(use_enable ssl) \
+		$(use_enable debug core) \
+		$(use_enable ipv6 inet6) \
+		--enable-manpage
+}
+
+src_install() {
+	dobin src/tf
+	newman src/tf.1.nroffman tf.1
+	dodoc CHANGES CREDITS README
+
+	insinto "${GAMES_DATADIR}"/${PN}-lib
+	# the application looks for this file here if /changes is called.
+	# see comments on bug #23274
+	doins CHANGES
+	insopts -m0755
+	doins tf-lib/*
+	if use doc ; then
+		cd ../${MY_P}-help
+		dodoc -r *.html commands topics
+		cd ../${MY_P}
+	fi
+}
+
+pkg_postinst() {
+	use ipv6 && {
+		echo
+		ewarn "You have merged TinyFugue with IPv6-support."
+		ewarn "Support for IPv6 is still being experimental."
+		ewarn "If you experience problems with connecting to hosts,"
+		ewarn "try re-merging this package with USE="-ipv6""
+		echo
+	}
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-mud/tf/, games-mud/tf/files/
@ 2020-11-15 20:03 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-11-15 20:03 UTC (permalink / raw
  To: gentoo-commits

commit:     0cd6ea0f6f0d16ab338ac3c9250fb764541976e8
Author:     Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Sun Nov 15 20:02:35 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 20:02:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd6ea0f

games-mud/tf: drop old (or, rather, too new)

Closes: https://github.com/gentoo/gentoo/pull/17545
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-mud/tf/files/tf-50_beta8-stdarg.patch | 30 -------------
 games-mud/tf/tf-50_beta8-r2.ebuild          | 70 -----------------------------
 2 files changed, 100 deletions(-)

diff --git a/games-mud/tf/files/tf-50_beta8-stdarg.patch b/games-mud/tf/files/tf-50_beta8-stdarg.patch
deleted file mode 100644
index a34b70abe1f..00000000000
--- a/games-mud/tf/files/tf-50_beta8-stdarg.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -U5 -r a/src/tfio.c b/src/tfio.c
---- a/src/tfio.c	2007-01-13 18:12:39.000000000 -0500
-+++ b/src/tfio.c	2007-02-02 16:50:12.000000000 -0500
-@@ -495,10 +495,11 @@
-     const char *q, *sval;
-     char *specptr, quote;
-     const conString *Sval;
-     int len, min, max, leftjust, stars;
-     attr_t attrs = buf->attrs;
-+    va_list aq;
- 
-     if (!(flags & SP_APPEND) && buf->data) Stringtrunc(buf, 0);
-     while (*fmt) {
-         if (*fmt != '%' || *++fmt == '%') {
-             for (q = fmt + 1; *q && *q != '%'; q++);
-@@ -520,11 +521,13 @@
-         switch (*fmt) {
-         case 'd': case 'i':
-         case 'x': case 'X': case 'u': case 'o':
-         case 'f': case 'e': case 'E': case 'g': case 'G':
-         case 'p':
--            vsprintf(tempbuf, spec, ap);
-+            va_copy(aq, ap);
-+            vsprintf(tempbuf, spec, aq);
-+            va_end(aq);
-             Stringcat(buf, tempbuf);
-             /* eat the arguments used by vsprintf() */
-             while (stars--) (void)va_arg(ap, int);
-             switch (*fmt) {
-             case 'd': case 'i':

diff --git a/games-mud/tf/tf-50_beta8-r2.ebuild b/games-mud/tf/tf-50_beta8-r2.ebuild
deleted file mode 100644
index 1009fb07dc0..00000000000
--- a/games-mud/tf/tf-50_beta8-r2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/_beta/b}"
-
-DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
-HOMEPAGE="http://tinyfugue.sourceforge.net/"
-SRC_URI="
-	mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
-	http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt -> tf-allrootpatch.txt
-	http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt -> tf-allsrcpatch.txt
-	doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
-
-RDEPEND="
-	ssl? ( dev-libs/openssl:0= )
-	dev-libs/libpcre"
-DEPEND=${RDEPEND}
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
-	"${DISTDIR}"/tf-allrootpatch.txt
-	"${DISTDIR}"/tf-allsrcpatch.txt
-	"${FILESDIR}"/${P}-pcre.patch
-	"${FILESDIR}"/${P}-stdarg.patch
-)
-
-src_configure() {
-	STRIP=: econf \
-		$(use_enable atcp) \
-		$(use_enable gmcp) \
-		$(use_enable option102) \
-		$(use_enable ssl) \
-		$(use_enable debug core) \
-		$(use_enable ipv6 inet6) \
-		--enable-manpage
-}
-
-src_install() {
-	dobin src/tf
-	newman src/tf.1.nroffman tf.1
-
-	use doc && HTML_DOCS=( ../${MY_P}-help/{*.html,commands,topics} )
-	einstalldocs
-
-	insinto /usr/share/${PN}-lib
-	# the application looks for this file here if /changes is called.
-	# see comments on bug #23274
-	doins CHANGES
-	insopts -m0755
-	doins -r tf-lib/.
-}
-
-pkg_postinst() {
-	if use ipv6; then
-		ewarn
-		ewarn "You have merged TinyFugue with IPv6-support."
-		ewarn "Support for IPv6 is still being experimental."
-		ewarn "If you experience problems with connecting to hosts,"
-		ewarn "try re-merging this package with USE="-ipv6""
-		ewarn
-	fi
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-15 20:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 19:43 [gentoo-commits] repo/gentoo:master commit in: games-mud/tf/, games-mud/tf/files/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2020-11-15 20:03 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox