From 3781a5a45b721e3d0020833689d9027dd4448728 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Sun, 18 Oct 2026 18:59:26 +0200 Subject: net-ftp/ftpserver: new package, add 0.16.3 --- net-ftp/ftpserver/ftpserver-0.16.3.ebuild | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 net-ftp/ftpserver/ftpserver-0.16.3.ebuild (limited to 'net-ftp/ftpserver/ftpserver-0.16.3.ebuild') diff --git a/net-ftp/ftpserver/ftpserver-0.16.3.ebuild b/net-ftp/ftpserver/ftpserver-0.16.3.ebuild new file mode 100644 index 0000000..3e2d750 --- /dev/null +++ b/net-ftp/ftpserver/ftpserver-0.16.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Golang based autonomous FTP" +HOMEPAGE="https://github.com/fclairamb/ftpserver" +BDEPEND=">=dev-lang/go-1.25.8" +SRC_URI="https://github.com/fclairamb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz " +COMMIT="56134625f11f504ce6250b71d6136630610347c6" + +LICENSE="MIT" +LICENSE+=" Apache-2.0 BSD BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + local BUILD_DATE + BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) + + ego build --ldflags " + -X main.BuildVersion=${PV} + -X main.Commit=${COMMIT} + -X main.BuildDate=${BUILD_DATE} + " . +} + +src_install() { + dobin ftpserver +} -- cgit v1.3