From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77B3113835A for ; Sun, 15 Nov 2020 20:03:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A49D7E090F; Sun, 15 Nov 2020 20:03:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BB8AE090F for ; Sun, 15 Nov 2020 20:03:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E65C3411ED for ; Sun, 15 Nov 2020 20:03:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E896442C for ; Sun, 15 Nov 2020 20:03:34 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1605470552.1416a450222921e213275d592b5c43e96f59e156.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-mud/tf/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-mud/tf/Manifest games-mud/tf/tf-5.0_beta8_p8.ebuild X-VCS-Directories: games-mud/tf/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 1416a450222921e213275d592b5c43e96f59e156 X-VCS-Branch: master Date: Sun, 15 Nov 2020 20:03:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 75344be7-7ef9-4799-af19-5fd81267357a X-Archives-Hash: 36dad1c650786c794cfb44f727125c5a commit: 1416a450222921e213275d592b5c43e96f59e156 Author: Alexey Sokolov google com> AuthorDate: Sun Nov 15 20:02:32 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Nov 15 20:02:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1416a450 games-mud/tf: fix build, fix version number * Use debian patches * Fix usage of ncurses (thanks Petr Ĺ abata) * Remove debug USE flag which only was adding -g Closes: https://bugs.gentoo.org/710070 Closes: https://bugs.gentoo.org/706948 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alexey Sokolov asokolov.org> Signed-off-by: David Seifert gentoo.org> games-mud/tf/Manifest | 1 + games-mud/tf/tf-5.0_beta8_p8.ebuild | 79 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/games-mud/tf/Manifest b/games-mud/tf/Manifest index 1e69e03b54d..de8c0226101 100644 --- a/games-mud/tf/Manifest +++ b/games-mud/tf/Manifest @@ -2,3 +2,4 @@ DIST tf-50b8-help.tar.gz 175591 BLAKE2B b4b5d2be336206fa00db870367369454d33a7e32 DIST tf-50b8.tar.gz 719553 BLAKE2B 3218878cdc4a2049fd7f2a8e0426ec589bf304e0bb24ad557e5bea39cbaba76e6a1c52f064860e499623abb51bc9f14a0c8388b927fd15a66a7945fe5eaccf84 SHA512 3b99c039d7a9c6ab7ee7b1040ff7c99fe39cbe991f373333ea7c130d54383f102f14ae33303a415f5419cd43238caffc46114e842c6964329c0999e0f506e3d0 DIST tf-allrootpatch.txt 3349 BLAKE2B ca57b7ddfdbaa377c69ad07427185a3952368d35231f4bca77c78a5ed7b5c1c362f4ef1512e23c248b96810739056e8f53c4d41320a1c1dc320b1fd22d965199 SHA512 3fe44e7291d133abd04040f0f8258da6a2b7f67cab79cb1628897a4a483a0998495b6cf97eaf29ee447a650fdb16a48c846599807e570f687a256bb58179495e DIST tf-allsrcpatch.txt 10392 BLAKE2B 9a24f99d6bdaa835b4cc2588d87824ea07a12fee38d576ec63f48493f5b92c7155ad959fa80599edf28a39f76d85ba8a2a19e1ff2b03c7893fe4d7b4b7d9af97 SHA512 3ac2447e05911d156509bb44e8809c06c4b1a92cbc8067d196c7e5f688fccd5186a9073001958ca0e757c9db20e9f96889fe7a5b6255495539f23208f72ec613 +DIST tf5_5.0beta8-8.debian.tar.xz 12732 BLAKE2B f663283d571c272e0c159c7175967a206ab30e95fb64b935c73fa1952a3e7ba559af104bf7d4640218bf5748968059f0f9e180cd1d1191beef4d8b0c472eefac SHA512 dcc220d7bec11dd3760104502c51aba320e7b6701b7b295ed188fa32edec7d23ac287995da6d08d34a55f937ccc53b6f02186afe4bbde02e934d90a57c7f52b1 diff --git a/games-mud/tf/tf-5.0_beta8_p8.ebuild b/games-mud/tf/tf-5.0_beta8_p8.ebuild new file mode 100644 index 00000000000..a3910fb79ca --- /dev/null +++ b/games-mud/tf/tf-5.0_beta8_p8.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +MY_PV="${PV/_beta/b}" +MY_PV="${MY_PV/_p*/}" +MY_PV="$(ver_rs 1 '' "${MY_PV}")" +# 5.0_beta8_p8 -> 5.0beta8-8 +MY_DEB_PV="$(ver_cut 1-2)$(ver_cut 3-4)-$(ver_cut 6)" + +DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)" +HOMEPAGE="http://tinyfugue.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/tinyfugue/tf-${MY_PV}.tar.gz + mirror://debian/pool/main/t/tf5/tf5_${MY_DEB_PV}.debian.tar.xz + 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/tf-${MY_PV}-help.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+atcp doc +gmcp ipv6 +option102 ssl" + +RDEPEND=" + dev-libs/libpcre + sys-libs/ncurses:= + ssl? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/tf-${MY_PV}" + +PATCHES=( + "${WORKDIR}"/debian/patches + "${DISTDIR}"/tf-allrootpatch.txt + "${DISTDIR}"/tf-allsrcpatch.txt + "${FILESDIR}"/tf-50_beta8-pcre.patch +) + +src_configure() { + STRIP=: econf \ + $(use_enable atcp) \ + $(use_enable gmcp) \ + $(use_enable option102) \ + $(use_enable ssl) \ + $(use_enable ipv6 inet6) \ + --enable-manpage \ + --enable-termcap=tinfo +} + +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 +}