mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
inetutils: update to 2.0
Removed upstreamed patches and refreshed q few other. (From OE-Core rev: a21e8fdf1b66961ddae5929d393daa08800bb748) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c5d80f154d
commit
bf64a62bfd
-31
@@ -1,31 +0,0 @@
|
|||||||
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 <Qi.Chen@windriver.com>
|
|
||||||
---
|
|
||||||
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
|
|
||||||
|
|
||||||
@@ -1,17 +1,22 @@
|
|||||||
Upstream: http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
|
From c7c27ba763c613f83c1561e56448b49315c271c5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jackie Huang <jackie.huang@windriver.com>
|
||||||
|
Date: Wed, 6 Mar 2019 09:36:11 -0500
|
||||||
|
Subject: [PATCH] Upstream:
|
||||||
|
http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
|
||||||
|
|
||||||
Upstream-Status: Pending
|
Upstream-Status: Pending
|
||||||
|
|
||||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
ping/ping_common.h | 20 ++++++++++++++++++++
|
ping/ping_common.h | 20 ++++++++++++++++++++
|
||||||
1 file changed, 20 insertions(+)
|
1 file changed, 20 insertions(+)
|
||||||
|
|
||||||
diff --git a/ping/ping_common.h b/ping/ping_common.h
|
diff --git a/ping/ping_common.h b/ping/ping_common.h
|
||||||
index 1dfd1b5..3bfbd12 100644
|
index 65e3e60..3e84db0 100644
|
||||||
--- a/ping/ping_common.h
|
--- a/ping/ping_common.h
|
||||||
+++ b/ping/ping_common.h
|
+++ b/ping/ping_common.h
|
||||||
@@ -17,10 +17,14 @@
|
@@ -18,10 +18,14 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see `http://www.gnu.org/licenses/'. */
|
along with this program. If not, see `http://www.gnu.org/licenses/'. */
|
||||||
|
|
||||||
@@ -26,7 +31,7 @@ index 1dfd1b5..3bfbd12 100644
|
|||||||
#include <icmp.h>
|
#include <icmp.h>
|
||||||
#include <error.h>
|
#include <error.h>
|
||||||
#include <progname.h>
|
#include <progname.h>
|
||||||
@@ -62,7 +66,12 @@ struct ping_stat
|
@@ -63,7 +67,12 @@ struct ping_stat
|
||||||
want to follow the traditional behaviour of ping. */
|
want to follow the traditional behaviour of ping. */
|
||||||
#define DEFAULT_PING_COUNT 0
|
#define DEFAULT_PING_COUNT 0
|
||||||
|
|
||||||
@@ -39,9 +44,9 @@ index 1dfd1b5..3bfbd12 100644
|
|||||||
#define PING_TIMING(s) ((s) >= sizeof (struct timeval))
|
#define PING_TIMING(s) ((s) >= sizeof (struct timeval))
|
||||||
#define PING_DATALEN (64 - PING_HEADER_LEN) /* default data length */
|
#define PING_DATALEN (64 - PING_HEADER_LEN) /* default data length */
|
||||||
|
|
||||||
@@ -74,13 +83,20 @@ struct ping_stat
|
@@ -78,13 +87,20 @@ struct ping_stat
|
||||||
(t).tv_usec = ((i)%PING_PRECISION)*(1000000/PING_PRECISION) ;\
|
|
||||||
} while (0)
|
#define PING_MIN_USER_INTERVAL (200000/PING_PRECISION)
|
||||||
|
|
||||||
+#ifdef HAVE_IPV6
|
+#ifdef HAVE_IPV6
|
||||||
/* FIXME: Adjust IPv6 case for options and their consumption. */
|
/* FIXME: Adjust IPv6 case for options and their consumption. */
|
||||||
@@ -60,7 +65,7 @@ index 1dfd1b5..3bfbd12 100644
|
|||||||
|
|
||||||
typedef int (*ping_efp) (int code,
|
typedef int (*ping_efp) (int code,
|
||||||
void *closure,
|
void *closure,
|
||||||
@@ -89,13 +105,17 @@ typedef int (*ping_efp) (int code,
|
@@ -93,13 +109,17 @@ typedef int (*ping_efp) (int code,
|
||||||
struct ip * ip, icmphdr_t * icmp, int datalen);
|
struct ip * ip, icmphdr_t * icmp, int datalen);
|
||||||
|
|
||||||
union event {
|
union event {
|
||||||
@@ -78,6 +83,3 @@ index 1dfd1b5..3bfbd12 100644
|
|||||||
};
|
};
|
||||||
|
|
||||||
typedef struct ping_data PING;
|
typedef struct ping_data PING;
|
||||||
--
|
|
||||||
2.8.3
|
|
||||||
|
|
||||||
|
|||||||
+7
-9
@@ -1,20 +1,21 @@
|
|||||||
From 552a7d64ad4a7188a9b7cd89933ae7caf7ebfe90 Mon Sep 17 00:00:00 2001
|
From f7f785c21306010b2367572250b2822df5bc7728 Mon Sep 17 00:00:00 2001
|
||||||
From: Mike Frysinger <vapier at gentoo.org>
|
From: Mike Frysinger <vapier at gentoo.org>
|
||||||
Date: Thu, 18 Nov 2010 16:59:14 -0500
|
Date: Thu, 18 Nov 2010 16:59:14 -0500
|
||||||
Subject: [PATCH gnulib] printf-parse: pull in features.h for __GLIBC__
|
Subject: [PATCH] printf-parse: pull in features.h for __GLIBC__
|
||||||
|
|
||||||
Upstream-Status: Pending
|
Upstream-Status: Pending
|
||||||
|
|
||||||
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
|
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
|
||||||
|
|
||||||
---
|
---
|
||||||
lib/printf-parse.h | 3 +++
|
lib/printf-parse.h | 3 +++
|
||||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
diff --git a/lib/printf-parse.h b/lib/printf-parse.h
|
diff --git a/lib/printf-parse.h b/lib/printf-parse.h
|
||||||
index 67a4a2a..3bd6152 100644
|
index e7d0f82..d7b4534 100644
|
||||||
--- a/lib/printf-parse.h
|
--- a/lib/printf-parse.h
|
||||||
+++ b/lib/printf-parse.h
|
+++ b/lib/printf-parse.h
|
||||||
@@ -25,6 +25,9 @@
|
@@ -28,6 +28,9 @@
|
||||||
|
|
||||||
#include "printf-args.h"
|
#include "printf-args.h"
|
||||||
|
|
||||||
@@ -24,6 +25,3 @@ index 67a4a2a..3bd6152 100644
|
|||||||
|
|
||||||
/* Flags */
|
/* Flags */
|
||||||
#define FLAG_GROUP 1 /* ' flag */
|
#define FLAG_GROUP 1 /* ' flag */
|
||||||
--
|
|
||||||
1.7.3.2
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,19 @@
|
|||||||
|
From 9089c6eafbf5903174dce87b68476e35db80beb9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
Date: Wed, 6 Mar 2019 09:36:11 -0500
|
||||||
|
Subject: [PATCH] inetutils: Import version 1.9.4
|
||||||
|
|
||||||
Upstream-Status: Pending
|
Upstream-Status: Pending
|
||||||
|
|
||||||
--- inetutils-1.8/lib/wchar.in.h
|
---
|
||||||
+++ inetutils-1.8/lib/wchar.in.h
|
lib/wchar.in.h | 3 +++
|
||||||
@@ -70,6 +70,9 @@
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/lib/wchar.in.h b/lib/wchar.in.h
|
||||||
|
index cdda680..043866a 100644
|
||||||
|
--- a/lib/wchar.in.h
|
||||||
|
+++ b/lib/wchar.in.h
|
||||||
|
@@ -77,6 +77,9 @@
|
||||||
/* The include_next requires a split double-inclusion guard. */
|
/* The include_next requires a split double-inclusion guard. */
|
||||||
#if @HAVE_WCHAR_H@
|
#if @HAVE_WCHAR_H@
|
||||||
# @INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
# @INCLUDE_NEXT@ @NEXT_WCHAR_H@
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
inetutils: define PATH_PROCNET_DEV if not already defined
|
From 101130f422dd5c01a1459645d7b2a5b8d19720ab Mon Sep 17 00:00:00 2001
|
||||||
|
From: Martin Jansa <martin.jansa@gmail.com>
|
||||||
|
Date: Wed, 6 Mar 2019 09:36:11 -0500
|
||||||
|
Subject: [PATCH] inetutils: define PATH_PROCNET_DEV if not already defined
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
this prevents the following compilation error :
|
this prevents the following compilation error :
|
||||||
system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
|
system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function)
|
||||||
@@ -9,11 +15,16 @@ this patch comes from :
|
|||||||
Upstream-Status: Inappropriate [not author]
|
Upstream-Status: Inappropriate [not author]
|
||||||
|
|
||||||
Signed-of-by: Eric Bénard <eric@eukrea.com>
|
Signed-of-by: Eric Bénard <eric@eukrea.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
diff -Naur inetutils-1.9.orig/ifconfig/system/linux.c inetutils-1.9/ifconfig/system/linux.c
|
ifconfig/system/linux.c | 4 ++++
|
||||||
--- inetutils-1.9.orig/ifconfig/system/linux.c 2012-01-04 16:31:36.000000000 -0500
|
1 file changed, 4 insertions(+)
|
||||||
+++ inetutils-1.9/ifconfig/system/linux.c 2012-01-04 16:40:53.000000000 -0500
|
|
||||||
@@ -49,6 +49,10 @@
|
diff --git a/ifconfig/system/linux.c b/ifconfig/system/linux.c
|
||||||
|
index e453b46..4268ca9 100644
|
||||||
|
--- a/ifconfig/system/linux.c
|
||||||
|
+++ b/ifconfig/system/linux.c
|
||||||
|
@@ -53,6 +53,10 @@
|
||||||
#include "../ifconfig.h"
|
#include "../ifconfig.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+13
-4
@@ -1,15 +1,24 @@
|
|||||||
|
From 684e45b34a33186bb17bcee0b01814c549a60bf6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kai Kang <kai.kang@windriver.com>
|
||||||
|
Date: Wed, 6 Mar 2019 09:36:11 -0500
|
||||||
|
Subject: [PATCH] inetutils: Import version 1.9.4
|
||||||
|
|
||||||
Only check security/pam_appl.h which is provided by package libpam when pam is
|
Only check security/pam_appl.h which is provided by package libpam when pam is
|
||||||
enabled.
|
enabled.
|
||||||
|
|
||||||
Upstream-Status: Pending
|
Upstream-Status: Pending
|
||||||
|
|
||||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
configure.ac | 15 ++++++++++++++-
|
||||||
|
1 file changed, 14 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index b35e672..e78a751 100644
|
index 86136fb..b220319 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -195,6 +195,19 @@ fi
|
@@ -183,6 +183,19 @@ AC_SUBST(LIBUTIL)
|
||||||
|
|
||||||
# See if we have libpam.a. Investigate PAM versus Linux-PAM.
|
# See if we have libpam.a. Investigate PAM versus Linux-PAM.
|
||||||
if test "$with_pam" = yes ; then
|
if test "$with_pam" = yes ; then
|
||||||
@@ -29,8 +38,8 @@ index b35e672..e78a751 100644
|
|||||||
AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl)
|
AC_CHECK_LIB(dl, dlopen, LIBDL=-ldl)
|
||||||
AC_CHECK_LIB(pam, pam_authenticate, LIBPAM=-lpam)
|
AC_CHECK_LIB(pam, pam_authenticate, LIBPAM=-lpam)
|
||||||
if test "$ac_cv_lib_pam_pam_authenticate" = yes ; then
|
if test "$ac_cv_lib_pam_pam_authenticate" = yes ; then
|
||||||
@@ -587,7 +600,7 @@ AC_HEADER_DIRENT
|
@@ -620,7 +633,7 @@ AC_HEADER_DIRENT
|
||||||
AC_CHECK_HEADERS([arpa/nameser.h errno.h fcntl.h features.h \
|
AC_CHECK_HEADERS([arpa/nameser.h arpa/tftp.h errno.h fcntl.h features.h \
|
||||||
glob.h memory.h netinet/ether.h netinet/in_systm.h \
|
glob.h memory.h netinet/ether.h netinet/in_systm.h \
|
||||||
netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \
|
netinet/ip.h netinet/ip_icmp.h netinet/ip_var.h \
|
||||||
- security/pam_appl.h shadow.h \
|
- security/pam_appl.h shadow.h \
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
Upstream-Status: Pending
|
|
||||||
|
|
||||||
remove m4_esyscmd function
|
|
||||||
|
|
||||||
Signed-off-by: Chunrong Guo <b40290@freescale.com>
|
|
||||||
--- inetutils-1.9.1/configure.ac 2012-01-06 22:05:05.000000000 +0800
|
|
||||||
+++ inetutils-1.9.1/configure.ac 2012-11-12 14:01:11.732957019 +0800
|
|
||||||
@@ -20,8 +20,7 @@
|
|
||||||
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
|
|
||||||
-AC_INIT([GNU inetutils],
|
|
||||||
- m4_esyscmd([build-aux/git-version-gen .tarball-version 's/inetutils-/v/;s/_/./g']),
|
|
||||||
+AC_INIT([GNU inetutils],[1.9.4],
|
|
||||||
[bug-inetutils@gnu.org])
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([src/inetd.c])
|
|
||||||
+2
-7
@@ -10,8 +10,7 @@ LICENSE = "GPLv3"
|
|||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
|
SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \
|
||||||
file://version.patch \
|
|
||||||
file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch \
|
file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch \
|
||||||
file://inetutils-1.8-0003-wchar.patch \
|
file://inetutils-1.8-0003-wchar.patch \
|
||||||
file://rexec.xinetd.inetutils \
|
file://rexec.xinetd.inetutils \
|
||||||
@@ -21,13 +20,9 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
|
|||||||
file://tftpd.xinetd.inetutils \
|
file://tftpd.xinetd.inetutils \
|
||||||
file://inetutils-1.9-PATH_PROCNET_DEV.patch \
|
file://inetutils-1.9-PATH_PROCNET_DEV.patch \
|
||||||
file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \
|
file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \
|
||||||
file://0001-rcp-fix-to-work-with-large-files.patch \
|
|
||||||
file://fix-buffer-fortify-tfpt.patch \
|
|
||||||
file://0001-ftpd-telnetd-Fix-multiple-definitions-of-errcatch-an.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "04852c26c47cc8c6b825f2b74f191f52"
|
SRC_URI[md5sum] = "5e1018502cd131ed8e42339f6b5c98aa"
|
||||||
SRC_URI[sha256sum] = "be8f75eff936b8e41b112462db51adf689715658a1b09e0d6b05d11ec92cc616"
|
|
||||||
|
|
||||||
inherit autotools gettext update-alternatives texinfo
|
inherit autotools gettext update-alternatives texinfo
|
||||||
|
|
||||||
Reference in New Issue
Block a user