diff options
| author | 2026-10-18 18:59:26 +0200 | |
|---|---|---|
| committer | 2026-10-18 18:59:26 +0200 | |
| commit | 3781a5a45b721e3d0020833689d9027dd4448728 (patch) | |
| tree | 0b6a1a9105e5048ccd369cb03ba81043daa1e1fc /net-ftp/ftpserver/ftpserver-0.16.3.ebuild | |
| parent | www-servers/cgit-httpd: add 0.6.0 (diff) | |
| download | ebuilds-3781a5a45b721e3d0020833689d9027dd4448728.tar.xz | |
net-ftp/ftpserver: new package, add 0.16.3
Diffstat (limited to 'net-ftp/ftpserver/ftpserver-0.16.3.ebuild')
| -rw-r--r-- | net-ftp/ftpserver/ftpserver-0.16.3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |
