diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-07-08 15:51:17 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-07-20 23:57:27 -0400 |
commit | fb70d449341acebebd160dd4c2827c2b7cf46ea3 (patch) | |
tree | 07c2dcfebecd289439f501205678d0b9cd289eb7 /meta-networking | |
parent | 96acc14b6c4928f52aa2f44af9532f3e2065b067 (diff) | |
download | meta-openembedded-fb70d449341acebebd160dd4c2827c2b7cf46ea3.tar.gz |
tnftp: add tnftp recipes file
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch | 42 | ||||
-rw-r--r-- | meta-networking/recipes-support/tnftp/tnftp_20130505.bb | 33 |
2 files changed, 75 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch b/meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch new file mode 100644 index 000000000..1bda576bc --- /dev/null +++ b/meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | [PATCH] Update configure.ac and Makefile.am to resolve warnings/errors | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
6 | --- | ||
7 | configure.ac | 2 ++ | ||
8 | libnetbsd/Makefile.am | 2 +- | ||
9 | 2 files changed, 3 insertions(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/configure.ac b/configure.ac | ||
12 | index a96d2ab..b3b3069 100644 | ||
13 | --- a/configure.ac | ||
14 | +++ b/configure.ac | ||
15 | @@ -71,9 +71,11 @@ AH_TEMPLATE([WITH_SSL], | ||
16 | # | ||
17 | # Checks for programs. | ||
18 | # | ||
19 | +AM_PROG_AR() | ||
20 | AC_PROG_CC() | ||
21 | AC_PROG_AWK() | ||
22 | AC_PROG_LIBTOOL() | ||
23 | +AM_PROG_CC_C_O() | ||
24 | |||
25 | # | ||
26 | # Checks for tool features. | ||
27 | diff --git a/libnetbsd/Makefile.am b/libnetbsd/Makefile.am | ||
28 | index 3e5c3ce..39bb12d 100644 | ||
29 | --- a/libnetbsd/Makefile.am | ||
30 | +++ b/libnetbsd/Makefile.am | ||
31 | @@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libnetbsd.la | ||
32 | libnetbsd_la_SOURCES = | ||
33 | |||
34 | |||
35 | -CPPFLAGS = \ | ||
36 | +AM_CPPFLAGS = \ | ||
37 | -I$(srcdir) \ | ||
38 | -I$(top_srcdir) \ | ||
39 | -I$(top_builddir) | ||
40 | -- | ||
41 | 1.7.10.4 | ||
42 | |||
diff --git a/meta-networking/recipes-support/tnftp/tnftp_20130505.bb b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb new file mode 100644 index 000000000..80690c5f8 --- /dev/null +++ b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb | |||
@@ -0,0 +1,33 @@ | |||
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 = "console/network" | ||
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://tnftp-autotools.patch \ | ||
19 | " | ||
20 | |||
21 | inherit autotools update-alternatives | ||
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" | ||
32 | SRC_URI[md5sum] = "66e218d02ec7d9fc39ab70ba2900305a" | ||
33 | SRC_URI[sha256sum] = "6f650e25f6fd51538f677b789b49379f367ae9f1dee74c94cfe24d92abc2cffb" | ||