Patchwork [meta-networking] tnftp: add tnftp recipes file

login
register
mail settings
Submitter rongqing.li@windriver.com
Date July 8, 2014, 7:51 a.m.
Message ID <1404805877-7423-1-git-send-email-rongqing.li@windriver.com>
Download mbox | patch
Permalink /patch/75147/
State Accepted, archived
Headers show

Comments

rongqing.li@windriver.com - July 8, 2014, 7:51 a.m.
From: Roy Li <rongqing.li@windriver.com>

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 .../tnftp/tnftp/tnftp-autotools.patch              |   42 ++++++++++++++++++++
 .../recipes-support/tnftp/tnftp_20130505.bb        |   33 +++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch
 create mode 100644 meta-networking/recipes-support/tnftp/tnftp_20130505.bb
Joe MacDonald - July 21, 2014, 3:47 a.m.
Merged, thanks Roy.

-J.

[[oe] [meta-networking][PATCH] tnftp: add tnftp recipes file] On 14.07.08 (Tue 15:51) rongqing.li@windriver.com wrote:

> From: Roy Li <rongqing.li@windriver.com>
> 
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  .../tnftp/tnftp/tnftp-autotools.patch              |   42 ++++++++++++++++++++
>  .../recipes-support/tnftp/tnftp_20130505.bb        |   33 +++++++++++++++
>  2 files changed, 75 insertions(+)
>  create mode 100644 meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch
>  create mode 100644 meta-networking/recipes-support/tnftp/tnftp_20130505.bb
> 
> 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 0000000..1bda576
> --- /dev/null
> +++ b/meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch
> @@ -0,0 +1,42 @@
> +[PATCH] Update configure.ac and Makefile.am to resolve warnings/errors
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Roy Li <rongqing.li@windriver.com>
> +---
> + configure.ac          |    2 ++
> + libnetbsd/Makefile.am |    2 +-
> + 2 files changed, 3 insertions(+), 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index a96d2ab..b3b3069 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -71,9 +71,11 @@ AH_TEMPLATE([WITH_SSL],
> + #
> + # Checks for programs.
> + #
> ++AM_PROG_AR()
> + AC_PROG_CC()
> + AC_PROG_AWK()
> + AC_PROG_LIBTOOL()
> ++AM_PROG_CC_C_O()
> + 
> + #
> + # Checks for tool features.
> +diff --git a/libnetbsd/Makefile.am b/libnetbsd/Makefile.am
> +index 3e5c3ce..39bb12d 100644
> +--- a/libnetbsd/Makefile.am
> ++++ b/libnetbsd/Makefile.am
> +@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libnetbsd.la
> + libnetbsd_la_SOURCES =
> + 
> + 
> +-CPPFLAGS = \
> ++AM_CPPFLAGS = \
> + 	-I$(srcdir) \
> + 	-I$(top_srcdir) \
> + 	-I$(top_builddir)
> +-- 
> +1.7.10.4
> +
> 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 0000000..80690c5
> --- /dev/null
> +++ b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Enhanced NetBSD ftp client"
> +DESCRIPTION = "tnftp (formerly known as lukemftp) is a port of the NetBSD FTP client \
> +to other systems. It offers many enhancements over the traditional \
> +BSD FTP client, including command-line editing, command-line fetches \
> +of FTP and HTTP URLs (including via proxies), command-line uploads of \
> +FTP URLs, context-sensitive word completion, dynamic progress bar, \
> +IPv6 support, modification time preservation, paging of local and \
> +remote files, passive mode support (with fallback to active mode), \
> +SOCKS support, TIS FWTK gate-ftp server support, and transfer rate \
> +throttling."
> +
> +SECTION = "console/network"
> +LICENSE = "BSD-4-Clause"
> +
> +DEPENDS = "ncurses"
> +
> +SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \
> +	   file://tnftp-autotools.patch \
> +	  "
> +
> +inherit autotools update-alternatives
> +
> +ALTERNATIVE_PRIORITY = "100"
> +
> +ALTERNATIVE_${PN} = "ftp"
> +ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
> +ALTERNATIVE_TARGET_${PN}  = "${bindir}/tnftp"
> +
> +FILES_${PN} = "${bindir}/tnftp"
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=6d6796cb166a9bb050958241dad9479e"
> +SRC_URI[md5sum] = "66e218d02ec7d9fc39ab70ba2900305a"
> +SRC_URI[sha256sum] = "6f650e25f6fd51538f677b789b49379f367ae9f1dee74c94cfe24d92abc2cffb"
> -- 
> 1.7.10.4
>

Patch

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 0000000..1bda576
--- /dev/null
+++ b/meta-networking/recipes-support/tnftp/tnftp/tnftp-autotools.patch
@@ -0,0 +1,42 @@ 
+[PATCH] Update configure.ac and Makefile.am to resolve warnings/errors
+
+Upstream-Status: Pending
+
+Signed-off-by: Roy Li <rongqing.li@windriver.com>
+---
+ configure.ac          |    2 ++
+ libnetbsd/Makefile.am |    2 +-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index a96d2ab..b3b3069 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -71,9 +71,11 @@ AH_TEMPLATE([WITH_SSL],
+ #
+ # Checks for programs.
+ #
++AM_PROG_AR()
+ AC_PROG_CC()
+ AC_PROG_AWK()
+ AC_PROG_LIBTOOL()
++AM_PROG_CC_C_O()
+ 
+ #
+ # Checks for tool features.
+diff --git a/libnetbsd/Makefile.am b/libnetbsd/Makefile.am
+index 3e5c3ce..39bb12d 100644
+--- a/libnetbsd/Makefile.am
++++ b/libnetbsd/Makefile.am
+@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libnetbsd.la
+ libnetbsd_la_SOURCES =
+ 
+ 
+-CPPFLAGS = \
++AM_CPPFLAGS = \
+ 	-I$(srcdir) \
+ 	-I$(top_srcdir) \
+ 	-I$(top_builddir)
+-- 
+1.7.10.4
+
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 0000000..80690c5
--- /dev/null
+++ b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
@@ -0,0 +1,33 @@ 
+SUMMARY = "Enhanced NetBSD ftp client"
+DESCRIPTION = "tnftp (formerly known as lukemftp) is a port of the NetBSD FTP client \
+to other systems. It offers many enhancements over the traditional \
+BSD FTP client, including command-line editing, command-line fetches \
+of FTP and HTTP URLs (including via proxies), command-line uploads of \
+FTP URLs, context-sensitive word completion, dynamic progress bar, \
+IPv6 support, modification time preservation, paging of local and \
+remote files, passive mode support (with fallback to active mode), \
+SOCKS support, TIS FWTK gate-ftp server support, and transfer rate \
+throttling."
+
+SECTION = "console/network"
+LICENSE = "BSD-4-Clause"
+
+DEPENDS = "ncurses"
+
+SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \
+	   file://tnftp-autotools.patch \
+	  "
+
+inherit autotools update-alternatives
+
+ALTERNATIVE_PRIORITY = "100"
+
+ALTERNATIVE_${PN} = "ftp"
+ALTERNATIVE_LINK_NAME_${PN} = "${bindir}/ftp"
+ALTERNATIVE_TARGET_${PN}  = "${bindir}/tnftp"
+
+FILES_${PN} = "${bindir}/tnftp"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d6796cb166a9bb050958241dad9479e"
+SRC_URI[md5sum] = "66e218d02ec7d9fc39ab70ba2900305a"
+SRC_URI[sha256sum] = "6f650e25f6fd51538f677b789b49379f367ae9f1dee74c94cfe24d92abc2cffb"