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