Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-04 Thread Tom Rini
On Mon, Mar 04, 2019 at 09:47:57AM +, André Draszik wrote:
> On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> > In order to have more robust stand-alone network tools in oe-core, bring
> > in vim from meta-openembedded/meta-networking.  This imports the recipes
>  ^^^
> 
> vim for networking? :-)

Noted, fixed for next round.  Thanks!

-- 
Tom


signature.asc
Description: PGP signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-04 Thread André Draszik
On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> In order to have more robust stand-alone network tools in oe-core, bring
> in vim from meta-openembedded/meta-networking.  This imports the recipes
 ^^^

vim for networking? :-)

Cheers,
Andre'

> as of git commit:
> commit 408204073e6bdcd8ac586e05d5b75213417673f2
> Author: Martin Jansa 
> Date:   Thu Aug 16 20:39:15 2018 +
> 
> inetutils: fix build with glibc-2.28
> 
> Signed-off-by: Tom Rini 
> ---
>  .../0001-rcp-fix-to-work-with-large-files.patch|  31 
>  .../inetutils/inetutils/fix-disable-ipv6.patch |  83 +
>  ...tf-parse-pull-in-features.h-for-__GLIBC__.patch |  29 +++
>  .../inetutils/inetutils-1.8-0003-wchar.patch   |  14 ++
>  .../inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch |  26 +++
>  ...ls-only-check-pam_appl.h-when-pam-enabled.patch |  40 
>  .../inetutils/inetutils/rexec.xinetd.inetutils |  20 ++
>  .../inetutils/inetutils/rlogin.xinetd.inetutils|  23 +++
>  .../inetutils/inetutils/rsh.xinetd.inetutils   |  21 +++
>  .../inetutils/inetutils/telnet.xinetd.inetutils|  13 ++
>  .../inetutils/inetutils/tftpd.xinetd.inetutils |  19 ++
>  .../inetutils/inetutils/version.patch  |  17 ++
>  .../inetutils/inetutils_1.9.4.bb   | 206
> +
>  13 files changed, 542 insertions(+)
>  create mode 100644 meta/recipes-connectivity/inetutils/inetutils/0001-
> rcp-fix-to-work-with-large-files.patch
>  create mode 100644 meta/recipes-connectivity/inetutils/inetutils/fix-
> disable-ipv6.patch
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-
> features.h-for-__GLIBC__.patch
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/inetutils-1.8-0003-wchar.patch
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-
> enabled.patch
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/rexec.xinetd.inetutils
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/rlogin.xinetd.inetutils
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/rsh.xinetd.inetutils
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/telnet.xinetd.inetutils
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/tftpd.xinetd.inetutils
>  create mode 100644 meta/recipes-
> connectivity/inetutils/inetutils/version.patch
>  create mode 100644 meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
> 
> diff --git a/meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-
> to-work-with-large-files.patch b/meta/recipes-
> connectivity/inetutils/inetutils/0001-rcp-fix-to-work-with-large-
> files.patch
> new file mode 100644
> index ..d4764f586736
> --- /dev/null
> +++ b/meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-to-work-
> with-large-files.patch
> @@ -0,0 +1,31 @@
> +Upstream-Status: Pending
> +
> +Subject: rcp: fix to work with large files
> +
> +When we copy file by rcp command, if the file > 2GB, it will fail.
> +The cause is that it used incorrect data type on file size in sink() of
> rcp.
> +
> +Signed-off-by: Chen Qi 
> +---
> + src/rcp.c | 4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/src/rcp.c b/src/rcp.c
> +index 21f55b6..bafa35f 100644
> +--- a/src/rcp.c
>  b/src/rcp.c
> +@@ -876,9 +876,9 @@ sink (int argc, char *argv[])
> +   enum
> +   { YES, NO, DISPLAYED } wrerr;
> +   BUF *bp;
> +-  off_t i, j;
> ++  off_t i, j, size;
> +   int amt, count, exists, first, mask, mode, ofd, omode;
> +-  int setimes, size, targisdir, wrerrno;
> ++  int setimes, targisdir, wrerrno;
> +   char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ];
> +   const char *why;
> + 
> +-- 
> +1.9.1
> +
> diff --git a/meta/recipes-connectivity/inetutils/inetutils/fix-disable-
> ipv6.patch b/meta/recipes-connectivity/inetutils/inetutils/fix-disable-
> ipv6.patch
> new file mode 100644
> index ..24c134fcac8d
> --- /dev/null
> +++ b/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
> @@ -0,0 +1,83 @@
> +Upstream: http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Jackie Huang 
> +---
> + ping/ping_common.h | 20 
> + 1 file changed, 20 insertions(+)
> +
> +diff --git a/ping/ping_common.h b/ping/ping_common.h
> +index 1dfd1b5..3bfbd12 100644
> +--- a/ping/ping_common.h
>  b/ping/ping_common.h
> +@@ -17,10 +17,14 @@
> +   You should have received a copy of the GNU General Public License
> +   along with this program.  If not, see `http://www.gnu.org/licenses/'.
> */
> + 
> ++#include 
> ++
> + #include 
> + #include 
> + #include 
> ++#ifdef HAVE_IPV6
> + #include 
> ++#endif
> + #include 
> + #include 
> + 

Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-02 Thread Tom Rini
On Sat, Mar 02, 2019 at 07:25:29PM +, Richard Purdie wrote:
> On Sat, 2019-03-02 at 12:46 -0500, Tom Rini wrote:
> > On Sat, Mar 02, 2019 at 05:00:18PM +, Richard Purdie wrote:
> > > On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> > > > In order to have more robust stand-alone network tools in oe-
> > > > core,
> > > > bring
> > > > in vim from meta-openembedded/meta-networking.  This imports the
> > > > recipes
> > > > as of git commit:
> > > > commit 408204073e6bdcd8ac586e05d5b75213417673f2
> > > > Author: Martin Jansa 
> > > > Date:   Thu Aug 16 20:39:15 2018 +
> > > > 
> > > > inetutils: fix build with glibc-2.28
> > > > 
> > > > Signed-off-by: Tom Rini 
> > > 
> > > vim and inetutils will need entries in maintainers.inc else we'll
> > > see
> > > selftest failures.
> > 
> > Ah, OK.  Does that generally involve more than ack'ing the automatic
> > upgrades (that one gets CC'd on I assume) and answering questions?
> 
> That and helping out with upgrades when new versions appear even if the
> AUH can't handle it.

Yeah, I can handle that much still :)  I'll drop myself in for v2.  I'll
wait until Monday to give anyone else a chance to chime in on anything
else I might have missed.  Thanks!

-- 
Tom


signature.asc
Description: PGP signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-02 Thread Richard Purdie
On Sat, 2019-03-02 at 12:46 -0500, Tom Rini wrote:
> On Sat, Mar 02, 2019 at 05:00:18PM +, Richard Purdie wrote:
> > On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> > > In order to have more robust stand-alone network tools in oe-
> > > core,
> > > bring
> > > in vim from meta-openembedded/meta-networking.  This imports the
> > > recipes
> > > as of git commit:
> > > commit 408204073e6bdcd8ac586e05d5b75213417673f2
> > > Author: Martin Jansa 
> > > Date:   Thu Aug 16 20:39:15 2018 +
> > > 
> > > inetutils: fix build with glibc-2.28
> > > 
> > > Signed-off-by: Tom Rini 
> > 
> > vim and inetutils will need entries in maintainers.inc else we'll
> > see
> > selftest failures.
> 
> Ah, OK.  Does that generally involve more than ack'ing the automatic
> upgrades (that one gets CC'd on I assume) and answering questions?

That and helping out with upgrades when new versions appear even if the
AUH can't handle it.

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-02 Thread Tom Rini
On Sat, Mar 02, 2019 at 05:00:18PM +, Richard Purdie wrote:
> On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> > In order to have more robust stand-alone network tools in oe-core,
> > bring
> > in vim from meta-openembedded/meta-networking.  This imports the
> > recipes
> > as of git commit:
> > commit 408204073e6bdcd8ac586e05d5b75213417673f2
> > Author: Martin Jansa 
> > Date:   Thu Aug 16 20:39:15 2018 +
> > 
> > inetutils: fix build with glibc-2.28
> > 
> > Signed-off-by: Tom Rini 
> 
> vim and inetutils will need entries in maintainers.inc else we'll see
> selftest failures.

Ah, OK.  Does that generally involve more than ack'ing the automatic
upgrades (that one gets CC'd on I assume) and answering questions?

-- 
Tom


signature.asc
Description: PGP signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-02 Thread Richard Purdie
On Fri, 2019-03-01 at 17:26 -0500, Tom Rini wrote:
> In order to have more robust stand-alone network tools in oe-core,
> bring
> in vim from meta-openembedded/meta-networking.  This imports the
> recipes
> as of git commit:
> commit 408204073e6bdcd8ac586e05d5b75213417673f2
> Author: Martin Jansa 
> Date:   Thu Aug 16 20:39:15 2018 +
> 
> inetutils: fix build with glibc-2.28
> 
> Signed-off-by: Tom Rini 

vim and inetutils will need entries in maintainers.inc else we'll see
selftest failures.

Cheers,

Richard

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/4] inetutils: Import version 1.9.4

2019-03-01 Thread Tom Rini
In order to have more robust stand-alone network tools in oe-core, bring
in vim from meta-openembedded/meta-networking.  This imports the recipes
as of git commit:
commit 408204073e6bdcd8ac586e05d5b75213417673f2
Author: Martin Jansa 
Date:   Thu Aug 16 20:39:15 2018 +

inetutils: fix build with glibc-2.28

Signed-off-by: Tom Rini 
---
 .../0001-rcp-fix-to-work-with-large-files.patch|  31 
 .../inetutils/inetutils/fix-disable-ipv6.patch |  83 +
 ...tf-parse-pull-in-features.h-for-__GLIBC__.patch |  29 +++
 .../inetutils/inetutils-1.8-0003-wchar.patch   |  14 ++
 .../inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch |  26 +++
 ...ls-only-check-pam_appl.h-when-pam-enabled.patch |  40 
 .../inetutils/inetutils/rexec.xinetd.inetutils |  20 ++
 .../inetutils/inetutils/rlogin.xinetd.inetutils|  23 +++
 .../inetutils/inetutils/rsh.xinetd.inetutils   |  21 +++
 .../inetutils/inetutils/telnet.xinetd.inetutils|  13 ++
 .../inetutils/inetutils/tftpd.xinetd.inetutils |  19 ++
 .../inetutils/inetutils/version.patch  |  17 ++
 .../inetutils/inetutils_1.9.4.bb   | 206 +
 13 files changed, 542 insertions(+)
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-to-work-with-large-files.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0003-wchar.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/rexec.xinetd.inetutils
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/rlogin.xinetd.inetutils
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/rsh.xinetd.inetutils
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/telnet.xinetd.inetutils
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/tftpd.xinetd.inetutils
 create mode 100644 meta/recipes-connectivity/inetutils/inetutils/version.patch
 create mode 100644 meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb

diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-to-work-with-large-files.patch
 
b/meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-to-work-with-large-files.patch
new file mode 100644
index ..d4764f586736
--- /dev/null
+++ 
b/meta/recipes-connectivity/inetutils/inetutils/0001-rcp-fix-to-work-with-large-files.patch
@@ -0,0 +1,31 @@
+Upstream-Status: Pending
+
+Subject: rcp: fix to work with large files
+
+When we copy file by rcp command, if the file > 2GB, it will fail.
+The cause is that it used incorrect data type on file size in sink() of rcp.
+
+Signed-off-by: Chen Qi 
+---
+ src/rcp.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/rcp.c b/src/rcp.c
+index 21f55b6..bafa35f 100644
+--- a/src/rcp.c
 b/src/rcp.c
+@@ -876,9 +876,9 @@ sink (int argc, char *argv[])
+   enum
+   { YES, NO, DISPLAYED } wrerr;
+   BUF *bp;
+-  off_t i, j;
++  off_t i, j, size;
+   int amt, count, exists, first, mask, mode, ofd, omode;
+-  int setimes, size, targisdir, wrerrno;
++  int setimes, targisdir, wrerrno;
+   char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ];
+   const char *why;
+ 
+-- 
+1.9.1
+
diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch 
b/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
new file mode 100644
index ..24c134fcac8d
--- /dev/null
+++ b/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
@@ -0,0 +1,83 @@
+Upstream: http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
+
+Upstream-Status: Pending
+
+Signed-off-by: Jackie Huang 
+---
+ ping/ping_common.h | 20 
+ 1 file changed, 20 insertions(+)
+
+diff --git a/ping/ping_common.h b/ping/ping_common.h
+index 1dfd1b5..3bfbd12 100644
+--- a/ping/ping_common.h
 b/ping/ping_common.h
+@@ -17,10 +17,14 @@
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
+ 
++#include 
++
+ #include 
+ #include 
+ #include 
++#ifdef HAVE_IPV6
+ #include 
++#endif
+ #include 
+ #include 
+ #include 
+@@ -62,7 +66,12 @@ struct ping_stat
+want to follow the traditional behaviour of ping.  */
+ #define DEFAULT_PING_COUNT 0
+ 
++#ifdef HAVE_IPV6
+ #define PING_HEADER_LEN (USE_IPV6 ? sizeof (struct icmp6_hdr) : ICMP_MINLEN)
++#else
++#define PING_HEADER_LEN (ICMP_MINLEN)
++#endif
++
+ #define PING_TIMING(s)  ((s) >= sizeof (struct timeval))
+ #define