commit 384076a605439972e880e09172b977f7414daceb parent b6d8a90091cc469c847ff68c749e68a1cef6b3c5 Author: parazyd <parazyd@dyne.org> Date: Thu, 16 Feb 2023 17:39:55 +0100 net-misc/tlstun: Versioned ebuild. Diffstat:
A | net-misc/tlstun/Manifest | | | 1 | + |
A | net-misc/tlstun/tlstun-1.1.0.ebuild | | | 32 | ++++++++++++++++++++++++++++++++ |
D | net-misc/tlstun/tlstun-9999.ebuild | | | 28 | ---------------------------- |
3 files changed, 33 insertions(+), 28 deletions(-)
diff --git a/net-misc/tlstun/Manifest b/net-misc/tlstun/Manifest @@ -0,0 +1 @@ +DIST v1.1.0.tar.gz 14554 BLAKE2B 72ee08aeb4650b38260cb175dab6173474ac6e5903d3a8348eb40f76b0044850c1edcd2ff8bb11a7546d29d36e5684c8450996911fe902efed3659c2519e67f6 SHA512 0565708201ea8b9fa08c1c02ec88b91bc4660e99f111f662d4e2373949d8d0b5faf4c28bb3738c748d709f6c2728c1dffca681243360297b6a11efda419a3ff9 diff --git a/net-misc/tlstun/tlstun-1.1.0.ebuild b/net-misc/tlstun/tlstun-1.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Simple Go program to add TLS support to other TCP listeners" +HOMEPAGE="https://github.com/parazyd/tlstun" +SRC_URI="https://github.com/parazyd/${PN}/archive/refs/tags/v${PV}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + ego build +} + +src_install() { + dobin tlstun + dodoc "src/${EGO_SRC}/README.md" + doinitd "${FILESDIR}/initd/${PN}" + doconfd "${FILESDIR}/confd/${PN}" + + default +} diff --git a/net-misc/tlstun/tlstun-9999.ebuild b/net-misc/tlstun/tlstun-9999.ebuild @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit golang-build golang-vcs - -DESCRIPTION="Simple Go program to add TLS support to other listeners" -HOMEPAGE="https://github.com/parazyd/tlstun" -EGO_SRC="github.com/parazyd/tlstun" -EGO_PN="${EGO_SRC}" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" - -src_install() { - default - dobin tlstun - dodoc "src/${EGO_SRC}/README.md" - doinitd "${FILESDIR}/initd/${PN}" - doconfd "${FILESDIR}/confd/${PN}" -}