1SUMMARY = "Enhanced NetBSD ftp client" 2DESCRIPTION = "tnftp (formerly known as lukemftp) is a port of the NetBSD FTP client \ 3to other systems. It offers many enhancements over the traditional \ 4BSD FTP client, including command-line editing, command-line fetches \ 5of FTP and HTTP URLs (including via proxies), command-line uploads of \ 6FTP URLs, context-sensitive word completion, dynamic progress bar, \ 7IPv6 support, modification time preservation, paging of local and \ 8remote files, passive mode support (with fallback to active mode), \ 9SOCKS support, TIS FWTK gate-ftp server support, and transfer rate \ 10throttling." 11 12SECTION = "net" 13LICENSE = "BSD-2-Clause" 14 15DEPENDS = "ncurses" 16 17SRC_URI = "https://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \ 18 file://0001-libedit-Include-missing-header-stdc-predef.h.patch \ 19" 20 21inherit autotools update-alternatives pkgconfig 22 23ALTERNATIVE_PRIORITY = "100" 24 25ALTERNATIVE:${PN} = "ftp" 26ALTERNATIVE_LINK_NAME[ftp] = "${bindir}/ftp" 27ALTERNATIVE_TARGET[ftp] = "${bindir}/tnftp" 28 29FILES:${PN} = "${bindir}/tnftp" 30 31LIC_FILES_CHKSUM = "file://COPYING;md5=fbbb944979c7466ed5509b4bbc6c328b" 32SRC_URI[sha256sum] = "be0134394bd7d418a3b34892b0709eeb848557e86474e1786f0d1a887d3a6580" 33 34PACKAGECONFIG ?= "openssl \ 35 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ 36" 37PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl" 38PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 39