blob: 8e03f1bdb99053ce34fb82613084538180d09bc8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "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-4-Clause"
14
15DEPENDS = "ncurses"
16
17SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \
Patrick Williamsddad1a12017-02-23 20:36:32 -060018 file://tnftp-autotools.patch \
19"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
21inherit autotools update-alternatives pkgconfig
22
23ALTERNATIVE_PRIORITY = "100"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025ALTERNATIVE:${PN} = "ftp"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
27ALTERNATIVE_TARGET_${PN} = "${bindir}/tnftp"
28
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN} = "${bindir}/tnftp"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030
31LIC_FILES_CHKSUM = "file://COPYING;md5=6d6796cb166a9bb050958241dad9479e"
Patrick Williamsddad1a12017-02-23 20:36:32 -060032SRC_URI[md5sum] = "a49fbe752318d5a7893f900046ea00d5"
33SRC_URI[sha256sum] = "c94a8a49d3f4aec1965feea831d4d5bf6f90c65fd8381ee0863d11a5029a43a0"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050034
Patrick Williamsddad1a12017-02-23 20:36:32 -060035PACKAGECONFIG ?= "openssl \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050036 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
Patrick Williamsddad1a12017-02-23 20:36:32 -060037"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050038PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl"
Patrick Williamsddad1a12017-02-23 20:36:32 -060039PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"