From 0d96909fbf51b3c4da48997473e288e65ae99baf Mon Sep 17 00:00:00 2001 From: Matoro Mahri Date: Tue, 16 Dec 2025 16:37:33 -0500 Subject: [PATCH] app-emulation/hercules-sdl-telnet: add 4.9.1 Signed-off-by: Matoro Mahri Part-of: https://github.com/gentoo/gentoo/pull/45052 Signed-off-by: Sam James --- .../hercules-sdl-telnet-4.9.1.ebuild | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app-emulation/hercules-sdl-telnet/hercules-sdl-telnet-4.9.1.ebuild diff --git a/app-emulation/hercules-sdl-telnet/hercules-sdl-telnet-4.9.1.ebuild b/app-emulation/hercules-sdl-telnet/hercules-sdl-telnet-4.9.1.ebuild new file mode 100644 index 000000000000..211106121842 --- /dev/null +++ b/app-emulation/hercules-sdl-telnet/hercules-sdl-telnet-4.9.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake dot-a + +# Use ../hercules-sdl/files/gen_hashes.sh to identify the relevant +# commit when tagging new versions. +COMMIT="384b2542dfc9af67ca078e2bc13487a8fc234a3f" + +DESCRIPTION="Simple RFC-complient TELNET implementation" +HOMEPAGE="https://github.com/SDL-Hercules-390/telnet" +SRC_URI="https://github.com/SDL-Hercules-390/telnet/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" + +S="${WORKDIR}/telnet-${COMMIT}" +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +PATCHES=( "${FILESDIR}/cmakefix.patch" ) + +src_configure() { + lto-guarantee-fat + cmake_src_configure +} + +src_install() { + cmake_src_install + strip-lto-bytecode +}