mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
36 lines
792 B
Bash
36 lines
792 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
DESCRIPTION="NetBSD FTP client with several advanced features"
|
|
SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/${PN}/${P}.tar.gz"
|
|
HOMEPAGE="ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/"
|
|
|
|
SLOT="0"
|
|
LICENSE="BSD-4 BSD ISC"
|
|
KEYWORDS="amd64 ~arm64 ppc x86"
|
|
IUSE="ipv6 socks5 ssl"
|
|
REQUIRED_USE="socks5? ( !ipv6 )"
|
|
|
|
DEPEND=">=sys-libs/ncurses-5.1
|
|
dev-libs/libedit
|
|
socks5? ( net-proxy/dante )
|
|
ssl? ( dev-libs/openssl:= )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
DOCS=( ChangeLog README THANKS )
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-socks-include.patch
|
|
)
|
|
|
|
src_configure() {
|
|
econf \
|
|
--enable-editcomplete \
|
|
--without-local-libedit \
|
|
$(use_enable ipv6) \
|
|
$(use_enable ssl) \
|
|
$(use_with socks5 socks)
|
|
}
|