Re: [oe] [meta-networking][PATCH] netkit-telnet : add new recipe

2014-12-09 Thread Martin Jansa
On Fri, Nov 21, 2014 at 03:47:30PM +0800, Li xin wrote:
 netkit-telnet includes the telnetd and client.
 telnetd : daemon for telnet protocol
 telnet : client for telnet protocol

Fails to build, check logs from last world build.

 
 Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 ---
  .../files/configure-modify-parameter.patch |   71 ++
  .../netkit-telnet/files/telnet-modify-files.patch  | 1213 
 
  .../netkit-telnet/files/telnet-xinetd  |   14 +
  .../files/telnetd-Makefile-modify-parameter.patch  |   36 +
  .../netkit-telnet/netkit-telnet_0.17.bb|   50 +
  5 files changed, 1384 insertions(+)
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnet-xinetd
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnetd-Makefile-modify-parameter.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/netkit-telnet_0.17.bb
 
 diff --git 
 a/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 new file mode 100644
 index 000..4763118
 --- /dev/null
 +++ 
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 @@ -0,0 +1,71 @@
 +From d9d2572dcc99cea7f00f651f0eddeb3c813b6025 Mon Sep 17 00:00:00 2001
 +From: Li xin lixin.f...@cn.fujitsu.com
 +Date: Wed, 19 Nov 2014 18:38:08 +0900
 +Subject: [PATCH] configure : modify parameter
 +
 +Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 +---
 + configure | 12 ++--
 + 1 file changed, 6 insertions(+), 6 deletions(-)
 +
 +diff --git a/configure b/configure
 +index 429167a..f6f44a1 100755
 +--- a/configure
  b/configure
 +@@ -67,7 +67,7 @@ fi
 + 
 + ##
 + 
 +-WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -Wnested-externs -Winline '
 ++WARNINGS='-Wall -Wno-trigraphs '
 + 
 + cat  EOF  __conftest.c
 + int main() { int class=0; return class; }
 +@@ -94,7 +94,7 @@ else
 + echo -n 'Checking if C compiler works... '
 + if (
 +   $CC __conftest.c -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Idiots belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -117,7 +117,7 @@ fi
 + 
 + cat  EOF  __conftest.cc
 + template class T class fnord { public: T x; fnord(T y) { x=y; }};
 +-int main() { fnordint a(0); return a.x; }
 ++int main() { fnordint *a = new fnordint(0); return a-x; }
 + EOF
 + 
 + if [ x$CXX = x ]; then
 +@@ -141,7 +141,7 @@ else
 + echo -n 'Checking if C++ compiler works... '
 + if (
 +   $CXX __conftest.cc -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Iditios belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -284,7 +284,7 @@ if (
 + else
 + if (
 +   $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc  -o __conftest || 
 exit 1
 +-  ./__conftest || exit 1
 ++  # running still does not work./__conftest || exit 1
 +) /dev/null 21; then
 + echo '-D__USE_BSD_SIGNAL'
 + CFLAGS=$CFLAGS -D__USE_BSD_SIGNAL
 +@@ -501,7 +501,7 @@ int main() {
 + EOF
 + if (
 +   $CXX $CXXFLAGS  __conftest.cc $LIBBSD -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # argh! morons!./__conftest || exit 1
 +) /dev/null 21; then
 + echo 'ok'
 + else
 +-- 
 +1.8.4.2
 +
 diff --git 
 a/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
  
 b/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
 new file mode 100644
 index 000..bd1361d
 --- /dev/null
 +++ 
 b/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
 @@ -0,0 +1,1213 @@
 +From 41014adf9491aacef8f03e6c4b4bebb227efa844 Mon Sep 17 00:00:00 2001
 +From: Li xin lixin.f...@cn.fujitsu.com
 +Date: Wed, 19 Nov 2014 15:11:10 +0900
 +Subject: [PATCH] telnet : modify files
 +
 +Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 +---
 + telnet/Makefile |   4 +-
 + telnet/commands.cc  | 270 
 +++-
 + telnet/defines.h|   2 +
 + telnet/externs.h|   7 +-
 + telnet/main.cc  |  65 ++---
 + telnet/netlink.cc   |  78 +--
 + telnet/netlink.h|   7 +-
 + telnet/network.cc   |   1 +
 + telnet/proto.h  |   2 +-
 + telnet/ring.cc  |   2 +-
 + telnet/ring.h   |   2 +-
 + telnet/sys_bsd.cc   |  11 +++
 + telnet/telnet.1 |  37 +--
 + telnet/telnet.cc|  45 +
 + 

Re: [oe] [meta-networking][PATCH] netkit-telnet : add new recipe

2014-11-22 Thread Joe MacDonald
[Re: [oe] [meta-networking][PATCH] netkit-telnet : add new recipe] On 14.11.21 
(Fri 22:58) akuster808 wrote:

 Would you like the rest of the netkit series?
 
 maybe a recipes-netkit to house them?

Sure, I certainly wouldn't object to them, and housing them together in
recipes-netkit would definitely make sense.

-J.

 
 - Armin
 
 On 11/21/2014 08:59 PM, Joe MacDonald wrote:
 Hi Li,
 
 Technically this seems okay, but I do have a few (hopefully) small
 requests.
 
 - Can you add an upstream-status added to the patches?  And if you
   didn't author them, an indication of where they came from, ideally.
   If you did author them, can you add a more detailed description
   (and maybe remove the suggestion about what to do with Idiots :)).
 
 - Can you also clear up a couple of trailing whitepsace items in the
   new files being added?  The one that jumps out at me when I look at
   the changes below is telnet-xinetd, but I thought there was a
   second one.  Anyway, just have a look to make sure you aren't
   adding trailing whitespace issues.  Unless, of course, it's in
   patches that you didn't author.
 
 - Can you also provide a systemd-friendly startup script for
   telnetd, then make the xinetd version optional?  This one is
   probably less critical, anyway, since ... I admit, I have a bias
   against running telnetd on anything and anything I ever wanted
   telnet for I can accomplish with screen, netcat or ssh.  But I
   understand that both the server and the client are useful in some
   scenarios, so we can merge the recipe when you're done of it.
 
 Thanks,
 -J.
 
 
 [[oe] [meta-networking][PATCH] netkit-telnet : add new recipe] On 14.11.21 
 (Fri 15:47) Li xin wrote:
 
 netkit-telnet includes the telnetd and client.
 telnetd : daemon for telnet protocol
 telnet : client for telnet protocol
 
 Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 ---
   .../files/configure-modify-parameter.patch |   71 ++
   .../netkit-telnet/files/telnet-modify-files.patch  | 1213 
  
   .../netkit-telnet/files/telnet-xinetd  |   14 +
   .../files/telnetd-Makefile-modify-parameter.patch  |   36 +
   .../netkit-telnet/netkit-telnet_0.17.bb|   50 +
   5 files changed, 1384 insertions(+)
   create mode 100644 
  meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
   create mode 100644 
  meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
   create mode 100644 
  meta-networking/recipes-daemons/netkit-telnet/files/telnet-xinetd
   create mode 100644 
  meta-networking/recipes-daemons/netkit-telnet/files/telnetd-Makefile-modify-parameter.patch
   create mode 100644 
  meta-networking/recipes-daemons/netkit-telnet/netkit-telnet_0.17.bb
 
 diff --git 
 a/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 new file mode 100644
 index 000..4763118
 --- /dev/null
 +++ 
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 @@ -0,0 +1,71 @@
 +From d9d2572dcc99cea7f00f651f0eddeb3c813b6025 Mon Sep 17 00:00:00 2001
 +From: Li xin lixin.f...@cn.fujitsu.com
 +Date: Wed, 19 Nov 2014 18:38:08 +0900
 +Subject: [PATCH] configure : modify parameter
 +
 +Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 +---
 + configure | 12 ++--
 + 1 file changed, 6 insertions(+), 6 deletions(-)
 +
 +diff --git a/configure b/configure
 +index 429167a..f6f44a1 100755
 +--- a/configure
  b/configure
 +@@ -67,7 +67,7 @@ fi
 +
 + ##
 +
 +-WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -Wnested-externs -Winline '
 ++WARNINGS='-Wall -Wno-trigraphs '
 +
 + cat  EOF  __conftest.c
 + int main() { int class=0; return class; }
 +@@ -94,7 +94,7 @@ else
 + echo -n 'Checking if C compiler works... '
 + if (
 +   $CC __conftest.c -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Idiots belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -117,7 +117,7 @@ fi
 +
 + cat  EOF  __conftest.cc
 + template class T class fnord { public: T x; fnord(T y) { x=y; }};
 +-int main() { fnordint a(0); return a.x; }
 ++int main() { fnordint *a = new fnordint(0); return a-x; }
 + EOF
 +
 + if [ x$CXX = x ]; then
 +@@ -141,7 +141,7 @@ else
 + echo -n 'Checking if C++ compiler works... '
 + if (
 +   $CXX __conftest.cc -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Iditios belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -284,7 +284,7 @@ if (
 + else
 + if (
 +   $CXX $CXXFLAGS

Re: [oe] [meta-networking][PATCH] netkit-telnet : add new recipe

2014-11-21 Thread Joe MacDonald
Hi Li,

Technically this seems okay, but I do have a few (hopefully) small
requests.

   - Can you add an upstream-status added to the patches?  And if you
 didn't author them, an indication of where they came from, ideally.
 If you did author them, can you add a more detailed description
 (and maybe remove the suggestion about what to do with Idiots :)).

   - Can you also clear up a couple of trailing whitepsace items in the
 new files being added?  The one that jumps out at me when I look at
 the changes below is telnet-xinetd, but I thought there was a
 second one.  Anyway, just have a look to make sure you aren't
 adding trailing whitespace issues.  Unless, of course, it's in
 patches that you didn't author.

   - Can you also provide a systemd-friendly startup script for
 telnetd, then make the xinetd version optional?  This one is
 probably less critical, anyway, since ... I admit, I have a bias
 against running telnetd on anything and anything I ever wanted
 telnet for I can accomplish with screen, netcat or ssh.  But I
 understand that both the server and the client are useful in some
 scenarios, so we can merge the recipe when you're done of it.

Thanks,
-J.


[[oe] [meta-networking][PATCH] netkit-telnet : add new recipe] On 14.11.21 (Fri 
15:47) Li xin wrote:

 netkit-telnet includes the telnetd and client.
 telnetd : daemon for telnet protocol
 telnet : client for telnet protocol
 
 Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 ---
  .../files/configure-modify-parameter.patch |   71 ++
  .../netkit-telnet/files/telnet-modify-files.patch  | 1213 
 
  .../netkit-telnet/files/telnet-xinetd  |   14 +
  .../files/telnetd-Makefile-modify-parameter.patch  |   36 +
  .../netkit-telnet/netkit-telnet_0.17.bb|   50 +
  5 files changed, 1384 insertions(+)
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnet-xinetd
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/files/telnetd-Makefile-modify-parameter.patch
  create mode 100644 
 meta-networking/recipes-daemons/netkit-telnet/netkit-telnet_0.17.bb
 
 diff --git 
 a/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 new file mode 100644
 index 000..4763118
 --- /dev/null
 +++ 
 b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 @@ -0,0 +1,71 @@
 +From d9d2572dcc99cea7f00f651f0eddeb3c813b6025 Mon Sep 17 00:00:00 2001
 +From: Li xin lixin.f...@cn.fujitsu.com
 +Date: Wed, 19 Nov 2014 18:38:08 +0900
 +Subject: [PATCH] configure : modify parameter
 +
 +Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
 +---
 + configure | 12 ++--
 + 1 file changed, 6 insertions(+), 6 deletions(-)
 +
 +diff --git a/configure b/configure
 +index 429167a..f6f44a1 100755
 +--- a/configure
  b/configure
 +@@ -67,7 +67,7 @@ fi
 + 
 + ##
 + 
 +-WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -Wnested-externs -Winline '
 ++WARNINGS='-Wall -Wno-trigraphs '
 + 
 + cat  EOF  __conftest.c
 + int main() { int class=0; return class; }
 +@@ -94,7 +94,7 @@ else
 + echo -n 'Checking if C compiler works... '
 + if (
 +   $CC __conftest.c -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Idiots belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -117,7 +117,7 @@ fi
 + 
 + cat  EOF  __conftest.cc
 + template class T class fnord { public: T x; fnord(T y) { x=y; }};
 +-int main() { fnordint a(0); return a.x; }
 ++int main() { fnordint *a = new fnordint(0); return a-x; }
 + EOF
 + 
 + if [ x$CXX = x ]; then
 +@@ -141,7 +141,7 @@ else
 + echo -n 'Checking if C++ compiler works... '
 + if (
 +   $CXX __conftest.cc -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # Iditios belong shot! ./__conftest || exit 1
 +) /dev/null 21; then
 +  echo 'yes'
 +  else
 +@@ -284,7 +284,7 @@ if (
 + else
 + if (
 +   $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc  -o __conftest || 
 exit 1
 +-  ./__conftest || exit 1
 ++  # running still does not work./__conftest || exit 1
 +) /dev/null 21; then
 + echo '-D__USE_BSD_SIGNAL'
 + CFLAGS=$CFLAGS -D__USE_BSD_SIGNAL
 +@@ -501,7 +501,7 @@ int main() {
 + EOF
 + if (
 +   $CXX $CXXFLAGS  __conftest.cc $LIBBSD -o __conftest || exit 1
 +-  ./__conftest || exit 1
 ++  # argh

Re: [oe] [meta-networking][PATCH] netkit-telnet : add new recipe

2014-11-21 Thread akuster808

Would you like the rest of the netkit series?

maybe a recipes-netkit to house them?

- Armin

On 11/21/2014 08:59 PM, Joe MacDonald wrote:

Hi Li,

Technically this seems okay, but I do have a few (hopefully) small
requests.

- Can you add an upstream-status added to the patches?  And if you
  didn't author them, an indication of where they came from, ideally.
  If you did author them, can you add a more detailed description
  (and maybe remove the suggestion about what to do with Idiots :)).

- Can you also clear up a couple of trailing whitepsace items in the
  new files being added?  The one that jumps out at me when I look at
  the changes below is telnet-xinetd, but I thought there was a
  second one.  Anyway, just have a look to make sure you aren't
  adding trailing whitespace issues.  Unless, of course, it's in
  patches that you didn't author.

- Can you also provide a systemd-friendly startup script for
  telnetd, then make the xinetd version optional?  This one is
  probably less critical, anyway, since ... I admit, I have a bias
  against running telnetd on anything and anything I ever wanted
  telnet for I can accomplish with screen, netcat or ssh.  But I
  understand that both the server and the client are useful in some
  scenarios, so we can merge the recipe when you're done of it.

Thanks,
-J.


[[oe] [meta-networking][PATCH] netkit-telnet : add new recipe] On 14.11.21 (Fri 
15:47) Li xin wrote:


netkit-telnet includes the telnetd and client.
telnetd : daemon for telnet protocol
telnet : client for telnet protocol

Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
---
  .../files/configure-modify-parameter.patch |   71 ++
  .../netkit-telnet/files/telnet-modify-files.patch  | 1213 
  .../netkit-telnet/files/telnet-xinetd  |   14 +
  .../files/telnetd-Makefile-modify-parameter.patch  |   36 +
  .../netkit-telnet/netkit-telnet_0.17.bb|   50 +
  5 files changed, 1384 insertions(+)
  create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
  create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
  create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnet-xinetd
  create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnetd-Makefile-modify-parameter.patch
  create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/netkit-telnet_0.17.bb

diff --git 
a/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 
b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
new file mode 100644
index 000..4763118
--- /dev/null
+++ 
b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
@@ -0,0 +1,71 @@
+From d9d2572dcc99cea7f00f651f0eddeb3c813b6025 Mon Sep 17 00:00:00 2001
+From: Li xin lixin.f...@cn.fujitsu.com
+Date: Wed, 19 Nov 2014 18:38:08 +0900
+Subject: [PATCH] configure : modify parameter
+
+Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
+---
+ configure | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index 429167a..f6f44a1 100755
+--- a/configure
 b/configure
+@@ -67,7 +67,7 @@ fi
+
+ ##
+
+-WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline '
++WARNINGS='-Wall -Wno-trigraphs '
+
+ cat  EOF  __conftest.c
+ int main() { int class=0; return class; }
+@@ -94,7 +94,7 @@ else
+ echo -n 'Checking if C compiler works... '
+ if (
+   $CC __conftest.c -o __conftest || exit 1
+-  ./__conftest || exit 1
++  # Idiots belong shot! ./__conftest || exit 1
+) /dev/null 21; then
+  echo 'yes'
+  else
+@@ -117,7 +117,7 @@ fi
+
+ cat  EOF  __conftest.cc
+ template class T class fnord { public: T x; fnord(T y) { x=y; }};
+-int main() { fnordint a(0); return a.x; }
++int main() { fnordint *a = new fnordint(0); return a-x; }
+ EOF
+
+ if [ x$CXX = x ]; then
+@@ -141,7 +141,7 @@ else
+ echo -n 'Checking if C++ compiler works... '
+ if (
+   $CXX __conftest.cc -o __conftest || exit 1
+-  ./__conftest || exit 1
++  # Iditios belong shot! ./__conftest || exit 1
+) /dev/null 21; then
+  echo 'yes'
+  else
+@@ -284,7 +284,7 @@ if (
+ else
+ if (
+   $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc  -o __conftest || 
exit 1
+-  ./__conftest || exit 1
++  # running still does not work./__conftest || exit 1
+) /dev/null 21; then
+ echo '-D__USE_BSD_SIGNAL'
+ CFLAGS=$CFLAGS -D__USE_BSD_SIGNAL
+@@ -501,7 +501,7 @@ int main() {
+ EOF
+ if (
+   $CXX $CXXFLAGS  __conftest.cc $LIBBSD -o

[oe] [meta-networking][PATCH] netkit-telnet : add new recipe

2014-11-20 Thread Li xin
netkit-telnet includes the telnetd and client.
telnetd : daemon for telnet protocol
telnet : client for telnet protocol

Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
---
 .../files/configure-modify-parameter.patch |   71 ++
 .../netkit-telnet/files/telnet-modify-files.patch  | 1213 
 .../netkit-telnet/files/telnet-xinetd  |   14 +
 .../files/telnetd-Makefile-modify-parameter.patch  |   36 +
 .../netkit-telnet/netkit-telnet_0.17.bb|   50 +
 5 files changed, 1384 insertions(+)
 create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
 create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnet-xinetd
 create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/files/telnetd-Makefile-modify-parameter.patch
 create mode 100644 
meta-networking/recipes-daemons/netkit-telnet/netkit-telnet_0.17.bb

diff --git 
a/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
 
b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
new file mode 100644
index 000..4763118
--- /dev/null
+++ 
b/meta-networking/recipes-daemons/netkit-telnet/files/configure-modify-parameter.patch
@@ -0,0 +1,71 @@
+From d9d2572dcc99cea7f00f651f0eddeb3c813b6025 Mon Sep 17 00:00:00 2001
+From: Li xin lixin.f...@cn.fujitsu.com
+Date: Wed, 19 Nov 2014 18:38:08 +0900
+Subject: [PATCH] configure : modify parameter
+
+Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
+---
+ configure | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index 429167a..f6f44a1 100755
+--- a/configure
 b/configure
+@@ -67,7 +67,7 @@ fi
+ 
+ ##
+ 
+-WARNINGS='-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline '
++WARNINGS='-Wall -Wno-trigraphs '
+ 
+ cat  EOF  __conftest.c
+ int main() { int class=0; return class; }
+@@ -94,7 +94,7 @@ else
+ echo -n 'Checking if C compiler works... '
+ if (
+   $CC __conftest.c -o __conftest || exit 1
+-  ./__conftest || exit 1
++  # Idiots belong shot! ./__conftest || exit 1
+) /dev/null 21; then
+  echo 'yes'
+  else
+@@ -117,7 +117,7 @@ fi
+ 
+ cat  EOF  __conftest.cc
+ template class T class fnord { public: T x; fnord(T y) { x=y; }};
+-int main() { fnordint a(0); return a.x; }
++int main() { fnordint *a = new fnordint(0); return a-x; }
+ EOF
+ 
+ if [ x$CXX = x ]; then
+@@ -141,7 +141,7 @@ else
+ echo -n 'Checking if C++ compiler works... '
+ if (
+   $CXX __conftest.cc -o __conftest || exit 1
+-  ./__conftest || exit 1
++  # Iditios belong shot! ./__conftest || exit 1
+) /dev/null 21; then
+  echo 'yes'
+  else
+@@ -284,7 +284,7 @@ if (
+ else
+ if (
+   $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc  -o __conftest || 
exit 1
+-  ./__conftest || exit 1
++  # running still does not work./__conftest || exit 1
+) /dev/null 21; then
+ echo '-D__USE_BSD_SIGNAL'
+ CFLAGS=$CFLAGS -D__USE_BSD_SIGNAL
+@@ -501,7 +501,7 @@ int main() {
+ EOF
+ if (
+   $CXX $CXXFLAGS  __conftest.cc $LIBBSD -o __conftest || exit 1
+-  ./__conftest || exit 1
++  # argh! morons!./__conftest || exit 1
+) /dev/null 21; then
+ echo 'ok'
+ else
+-- 
+1.8.4.2
+
diff --git 
a/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch 
b/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
new file mode 100644
index 000..bd1361d
--- /dev/null
+++ 
b/meta-networking/recipes-daemons/netkit-telnet/files/telnet-modify-files.patch
@@ -0,0 +1,1213 @@
+From 41014adf9491aacef8f03e6c4b4bebb227efa844 Mon Sep 17 00:00:00 2001
+From: Li xin lixin.f...@cn.fujitsu.com
+Date: Wed, 19 Nov 2014 15:11:10 +0900
+Subject: [PATCH] telnet : modify files
+
+Signed-off-by: Li Xin lixin.f...@cn.fujitsu.com
+---
+ telnet/Makefile |   4 +-
+ telnet/commands.cc  | 270 +++-
+ telnet/defines.h|   2 +
+ telnet/externs.h|   7 +-
+ telnet/main.cc  |  65 ++---
+ telnet/netlink.cc   |  78 +--
+ telnet/netlink.h|   7 +-
+ telnet/network.cc   |   1 +
+ telnet/proto.h  |   2 +-
+ telnet/ring.cc  |   2 +-
+ telnet/ring.h   |   2 +-
+ telnet/sys_bsd.cc   |  11 +++
+ telnet/telnet.1 |  37 +--
+ telnet/telnet.cc|  45 +
+ telnet/terminal.cc  |  17 +++-
+ telnet/utilities.cc |   2 +
+ 16 files changed, 380 insertions(+), 172 deletions(-)
+
+diff --git a/telnet/Makefile b/telnet/Makefile
+index cef866f..39249e1 100644
+--- a/telnet/Makefile
 b/telnet/Makefile
+@@ -7,7