Skip to contentSkip to conversation

inetutils : Update to 1.9.1

meta-oe Chunrong Guo 2 participants 2 messages Nov 12, 2012 – Nov 13, 2012

lore
Share & tools
lore
#0 lore raw
---
 .../disable-pre-ANSI-compilers.patch               |   11 ++++
 .../inetutils/inetutils-1.9.1/remove-gets.patch    |   16 +++++
 .../inetutils/inetutils-1.9.1/version.patch        |   12 ++++
 .../inetutils/inetutils_1.9.1.bb                   |   61 ++++++++++++++++++++
 4 files changed, 100 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/disable-pre-ANSI-compilers.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/remove-gets.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/version.patch
 create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils_1.9.1.bb
meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/disable-pre-ANSI-compilers.patch new file +11 -0
new file mode 100644
index 0000000..b200e58
@@ -0,0 +1,11 @@
+--- inetutils-1.9.1/configure.ac	2012-01-06 22:05:05.000000000 +0800
++++ inetutils-1.9.1/configure.ac	2012-11-12 14:05:30.756957063 +0800
+@@ -586,7 +586,7 @@
+ 		  #include <arpa/tftp.h>])
+ 
+ ### Checks for compiler characteristics.
+-AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
++#AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
+ AC_C_CONST
+ 
+ dnl See if `weak refs' are possible; these make it possible (with shared
meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/remove-gets.patch new file +16 -0
new file mode 100644
index 0000000..92abef1
@@ -0,0 +1,16 @@
+--- inetutils-1.9.1.org/lib/stdio.in.h	2012-01-06 22:11:13.000000000 +0800
++++ inetutils-1.9.1/lib/stdio.in.h	2012-11-12 14:30:49.044958001 +0800
+@@ -715,9 +715,13 @@
+ /* It is very rare that the developer ever has full control of stdin,
+    so any use of gets warrants an unconditional warning.  Assume it is
+    always declared, since it is required by C89.  */
++#if defined gets
++#undef gets
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+ 
++#endif
++
+ 
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
+ struct obstack;
meta-oe/recipes-connectivity/inetutils/inetutils-1.9.1/version.patch new file +12 -0
new file mode 100644
index 0000000..6eefcf4
@@ -0,0 +1,12 @@
+--- 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.1],
+  [[email protected]])
+ 
+ AC_CONFIG_SRCDIR([src/inetd.c])
meta-oe/recipes-connectivity/inetutils/inetutils_1.9.1.bb new file +61 -0

61 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 12-11-12 11:37, Chunrong Guo schreef:

Quoted 6 lines
.../disable-pre-ANSI-compilers.patch               |   11 ++++ 
.../inetutils/inetutils-1.9.1/remove-gets.patch    |   16 +++++ 
.../inetutils/inetutils-1.9.1/version.patch        |   12 ++++ 
.../inetutils/inetutils_1.9.1.bb                   |   61

++++++++++++++++++++ 4 files changed, 100 insertions(+), 0 deletions(-)

When updating please delete the old version as well or explain in the commit message why the old version needs to be preserved.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQojUDMkyGM64RGpERAk03AJ41V0Hl0cJaGoEV9ooeoTxtR1wFxgCfXy+A WYoWb+MEpkCNU0pEN6xZ6j0=
=Ag8+
-----END PGP SIGNATURE-----