Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [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 \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 18 | file://tnftp-autotools.patch \ |
| 19 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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=6d6796cb166a9bb050958241dad9479e" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 32 | SRC_URI[md5sum] = "a49fbe752318d5a7893f900046ea00d5" |
| 33 | SRC_URI[sha256sum] = "c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 34 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 35 | PACKAGECONFIG ?= "openssl \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 36 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 37 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 38 | PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |