Skip to contentSkip to conversation

Packages Upgrade

PATCH In review Robert Yang 3 participants 13 messages Jun 24, 2015 – Jun 29, 2015

lore
Share & tools
lore
#0 lore raw

cover Packages Upgrade

The following changes since commit 8c73bb7949656d91f138c087b9d261cdce90a94b:

apt-native: Drop obsolete symlinks (2015-06-23 16:06:29 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/PU
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/PU

Robert Yang (5):
file: 5.22 -> 5.23
elfutils: 0.161 -> 0.162
git: 2.4.2 -> 2.4.4
hdparm: 9.45 -> 9.48
gnupg: 2.1.4 -> 2.1.5

 ...f-Fix-dir-traversal-vuln-in-ar-extraction.patch |   59 ----
 ...m-Silence-Werror-maybe-uninitialized-fals.patch |    0
 .../0001-remove-the-unneed-checking.patch          |    0
 .../arm_backend.diff                               |    0
 .../arm_func_value.patch                           |   39 ++-
 .../arm_unwind_ret_mask.patch                      |    0
 .../fixheadercheck.patch                           |   13 +-
 .../hppa_backend.diff                              |    0
 .../m68k_backend.diff                              |    0
 .../mips_backend.diff                              |    0
 .../mips_readelf_w.patch                           |    0
 .../non_linux.patch                                |    0
 .../redhat-portability.diff                        |  282 +++++++++-----------
 .../scanf-format.patch                             |    0
 .../testsuite-ignore-elflint.diff                  |    0
 .../uclibc-support-for-elfutils-0.161.patch        |    0
 .../{elfutils_0.161.bb => elfutils_0.162.bb}       |    7 +-
 .../file/0001-Add-P-prompt-into-Usage-info.patch   |    6 +-
 .../file/{file_5.22.bb => file_5.23.bb}            |    6 +-
 .../git/{git_2.4.2.bb => git_2.4.4.bb}             |    8 +-
 .../hdparm/{hdparm_9.45.bb => hdparm_9.48.bb}      |    6 +-
 .../gnupg/{gnupg_2.1.4.bb => gnupg_2.1.5.bb}       |    4 +-
 22 files changed, 167 insertions(+), 263 deletions(-)
 delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.161/0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/0001-remove-the-unneed-checking.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_func_value.patch (88%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_unwind_ret_mask.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/fixheadercheck.patch (60%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/hppa_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/m68k_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/mips_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/mips_readelf_w.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/non_linux.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/redhat-portability.diff (84%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/scanf-format.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/testsuite-ignore-elflint.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/uclibc-support-for-elfutils-0.161.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils_0.161.bb => elfutils_0.162.bb} (93%)
 rename meta/recipes-devtools/file/{file_5.22.bb => file_5.23.bb} (81%)
 rename meta/recipes-devtools/git/{git_2.4.2.bb => git_2.4.4.bb} (41%)
 rename meta/recipes-extended/hdparm/{hdparm_9.45.bb => hdparm_9.48.bb} (84%)
 rename meta/recipes-support/gnupg/{gnupg_2.1.4.bb => gnupg_2.1.5.bb} (89%)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/5 file: 5.22 -> 5.23

Updated 0001-Add-P-prompt-into-Usage-info.patch.

---
 .../file/0001-Add-P-prompt-into-Usage-info.patch   |    6 +++---
 .../file/{file_5.22.bb => file_5.23.bb}            |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/file/{file_5.22.bb => file_5.23.bb} (81%)
meta/recipes-devtools/file/file/0001-Add-P-prompt-into-Usage-info.patch +3 -3
index 95e1291..8a16b2c 100644
@@ -20,16 +20,16 @@ Signed-off-by: Junling Zheng <[email protected]>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/file.c b/src/file.c
-index 546fd8b..beef868 100644
+index 2b15e21..e5a957b 100644
 --- a/src/file.c
 +++ b/src/file.c
 @@ -76,8 +76,8 @@ int getopt_long(int argc, char * const *argv, const char *optstring, const struc
  # define USAGE  \
      "Usage: %s [" FILE_FLAGS \
- 	"] [--apple] [--mime-encoding] [--mime-type]\n" \
+ 	"] [--apple] [--extension] [--mime-encoding] [--mime-type]\n" \
 -    "            [-e testname] [-F separator] [-f namefile] [-m magicfiles] " \
 -    "file ...\n" \
-+    "            [-e testname] [-F separator] [-f namefile] [-m magicfiles]\n" \
++    "            [-e testname] [-F separator] [-f namefile] [-m magicfiles]\n " \
 +    "            [-P parameter=limits] file ...\n" \
      "       %s -C [-m magicfiles]\n" \
      "       %s [--help]\n"
meta/recipes-devtools/file/file_5.23.bb renamed from meta/recipes-devtools/file/file_5.22.bb +3 -3
similarity index 81%
rename from meta/recipes-devtools/file/file_5.22.bb
rename to meta/recipes-devtools/file/file_5.23.bb
index e8d4dae..d71f290 100644
@@ -11,13 +11,13 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03
 DEPENDS = "zlib file-native"
 DEPENDS_class-native = "zlib-native"
 
-SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
+SRC_URI = "ftp://ftp.astron.com/pub/file/${BP}.tar.gz \
 	   file://debian-742262.patch \
 	   file://0001-Add-P-prompt-into-Usage-info.patch \
           "
 
-SRC_URI[md5sum] = "8fb13e5259fe447e02c4a37bc7225add"
-SRC_URI[sha256sum] = "c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b"
+SRC_URI[md5sum] = "61db35209ce71a6d576392ce6e1d2f80"
+SRC_URI[sha256sum] = "2c8ab3ff143e2cdfb5ecee381752f80a79e0b4cfe9ca4cc6e1c3e5ec15e6157c"
 
 inherit autotools
 
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 4 lines · Robert Yang

Updated 0001-Add-P-prompt-into-Usage-info.patch.

Currently this fails to fetch:

WARNING: Failed to fetch URL ftp://ftp.astron.com/pub/file/file-5.23.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 6, output:
Login incorrect.

Hopefully this is a transient failure but is this still the best source location?

Ross

#3 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 10 lines · Ross

On 24 June 2015 at 09:55, Robert Yang <[email protected] <mailto:[email protected]>> wrote:

Updated 0001-Add-P-prompt-into-Usage-info.patch.

<mailto:[email protected]>>

Quoted 8 lines

Currently this fails to fetch:

WARNING: Failed to fetch URL ftp://ftp.astron.com/pub/file/file-5.23.tar.gz, attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 6, output:
Login incorrect.

Hopefully this is a transient failure but is this still the best source location?

It works now, I think that it should be a transient failure. And I think that it is still the best source location since it is suggested by the homepage.

// Robert

Quoted 2 lines

Ross

#4 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 4 lines · Robert Yang

It works now, I think that it should be a transient failure. And I think that
it is still the best source location since it is suggested by the homepage.

$ wget ftp://ftp.astron.com/pub/file/file-5.23.tar.gz
--2015-06-25 09:58:02--  ftp://ftp.astron.com/pub/file/file-5.23.tar.gz
           => ‘file-5.23.tar.gz’
Resolving ftp.astron.com (ftp.astron.com)... 38.117.134.18
Connecting to ftp.astron.com (ftp.astron.com)|38.117.134.18|:21...
connected.
Logging in as anonymous ...
Login incorrect.

Still doesn't work for me. Anyway, 5.23 is moderately broken (long options don't work) so we probably want to wait for 5.24 or take the patch from upstream.

Ross

#5 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 18 lines · Ross

On 25 June 2015 at 03:24, Robert Yang <[email protected] <mailto:[email protected]>> wrote:

It works now, I think that it should be a transient failure. And I think that it is still the best source location since it is suggested by the homepage.

$ wget ftp://ftp.astron.com/pub/file/file-5.23.tar.gz
--2015-06-25 09:58:02-- ftp://ftp.astron.com/pub/file/file-5.23.tar.gz
            => ‘file-5.23.tar.gz’
Resolving ftp.astron.com <http://ftp.astron.com> (ftp.astron.com
<http://ftp.astron.com>)... 38.117.134.18
Connecting to ftp.astron.com <http://ftp.astron.com> (ftp.astron.com
<http://ftp.astron.com>)|38.117.134.18|:21... connected.
Logging in as anonymous ...
Login incorrect.
Quoted 2 lines

Still doesn't work for me. Anyway, 5.23 is moderately broken (long options don't work) so we probably want to wait for 5.24 or take the patch from upstream.

Thanks, let's wait for 5.24.

Btw, it doesn't work for me now, either, now.

// Robert

Quoted 2 lines

Ross

#6 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 4 lines · Robert Yang

Thanks, let's wait for 5.24.

Btw, it doesn't work for me now, either, now.

FWIW, the FTP server appears to be back now. The known problem with long options does mean we should either backport the fix or wait for .24 though.

Ross

#7 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

In reply to Robert Yang
Quoted 8 lines · Robert Yang

Updated 0001-Add-P-prompt-into-Usage-info.patch.

---
 .../file/0001-Add-P-prompt-into-Usage-info.patch   |    6 +++---
 .../file/{file_5.22.bb => file_5.23.bb}            |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/file/{file_5.22.bb => file_5.23.bb} (81%)

I've noticed an additional problem with the file recipe, specifically that it tries to run the file it just built (in the -native case) and this links against libmagic.so. When it runs, it can use the /usr/lib/libmagic instead of the one in WORKDIR. If you have file 2.22 on your system (e.g. Ubuntu 15.04), you can get an error.

The fix I found was to add an LD_LIBRBARY_PATH to the Makefile:

	LD_LIBRARY_PATH=$(top_builddir)/src/.libs $(FILE_COMPILE) -C -m magic

which is ugly but appeared to fix the error I was seeing. There was a bug a while back I was unable to reproduce and this is likely the cause of that too, it all depends which version of libmagic you have on your system.

Cheers,

Richard

#8 lore raw

Re: [PATCH 1/5] file: 5.22 -> 5.23

Quoted 16 lines · Richard Purdie
Quoted 8 lines · Robert Yang

Updated 0001-Add-P-prompt-into-Usage-info.patch.

---
  .../file/0001-Add-P-prompt-into-Usage-info.patch   |    6 +++---
  .../file/{file_5.22.bb => file_5.23.bb}            |    6 +++---
  2 files changed, 6 insertions(+), 6 deletions(-)

rename meta/recipes-devtools/file/{file_5.22.bb => file_5.23.bb} (81%)

I've noticed an additional problem with the file recipe, specifically that it tries to run the file it just built (in the -native case) and this links against libmagic.so. When it runs, it can use the /usr/lib/libmagic instead of the one in WORKDIR. If you have file 2.22 on your system (e.g. Ubuntu 15.04), you can get an error.

Quoted 8 lines

The fix I found was to add an LD_LIBRBARY_PATH to the Makefile:

	LD_LIBRARY_PATH=$(top_builddir)/src/.libs $(FILE_COMPILE) -C -m magic

which is ugly but appeared to fix the error I was seeing. There was a bug a while back I was unable to reproduce and this is likely the cause of that too, it all depends which version of libmagic you have on your system.

Thanks, I will fix it when upgrade to 5.24.

// Robert

Quoted 9 lines

Cheers,

Richard

#9 lore raw

PATCH 2/5 elfutils: 0.161 -> 0.162

In reply to Robert Yang

* Remove backport patch 0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch.
* Update:
- arm_func_value.patch
- fixheadercheck.patch
- redhat-portability.diff

---
 ...f-Fix-dir-traversal-vuln-in-ar-extraction.patch |   59 ----
 ...m-Silence-Werror-maybe-uninitialized-fals.patch |    0
 .../0001-remove-the-unneed-checking.patch          |    0
 .../arm_backend.diff                               |    0
 .../arm_func_value.patch                           |   39 ++-
 .../arm_unwind_ret_mask.patch                      |    0
 .../fixheadercheck.patch                           |   13 +-
 .../hppa_backend.diff                              |    0
 .../m68k_backend.diff                              |    0
 .../mips_backend.diff                              |    0
 .../mips_readelf_w.patch                           |    0
 .../non_linux.patch                                |    0
 .../redhat-portability.diff                        |  282 +++++++++-----------
 .../scanf-format.patch                             |    0
 .../testsuite-ignore-elflint.diff                  |    0
 .../uclibc-support-for-elfutils-0.161.patch        |    0
 .../{elfutils_0.161.bb => elfutils_0.162.bb}       |    7 +-
 17 files changed, 152 insertions(+), 248 deletions(-)
 delete mode 100644 meta/recipes-devtools/elfutils/elfutils-0.161/0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/0001-remove-the-unneed-checking.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_func_value.patch (88%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/arm_unwind_ret_mask.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/fixheadercheck.patch (60%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/hppa_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/m68k_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/mips_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/mips_readelf_w.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/non_linux.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/redhat-portability.diff (84%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/scanf-format.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/testsuite-ignore-elflint.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.161 => elfutils-0.162}/uclibc-support-for-elfutils-0.161.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils_0.161.bb => elfutils_0.162.bb} (93%)
meta/recipes-devtools/elfutils/elfutils-0.161/0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch deleted +0 -59
deleted file mode 100644
index 7e4e492..0000000
@@ -1,59 +0,0 @@
-From 147018e729e7c22eeabf15b82d26e4bf68a0d18e Mon Sep 17 00:00:00 2001
-From: Alexander Cherepanov <[email protected]>
-Date: Sun, 28 Dec 2014 19:57:19 +0300
-Subject: [PATCH] libelf: Fix dir traversal vuln in ar extraction.
-
-Upstream-Status: Backport
-
-read_long_names terminates names at the first '/' found but then skips
-one character without checking (it's supposed to be '\n'). Hence the
-next name could start with any character including '/'. This leads to
-a directory traversal vulnerability at the time the contents of the
-archive is extracted.
-
-The danger is mitigated by the fact that only one '/' is possible in a
-resulting filename and only in the leading position. Hence only files
-in the root directory can be written via this vuln and only when ar is
-executed as root.
-
-The fix for the vuln is to not skip any characters while looking
-for '/'.
-
-Signed-off-by: Alexander Cherepanov <[email protected]>
----
- libelf/ChangeLog   | 5 +++++
- libelf/elf_begin.c | 5 +----
- 2 files changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/libelf/ChangeLog b/libelf/ChangeLog
-index 3b88d03..447c354 100644
---- a/libelf/ChangeLog
-+++ b/libelf/ChangeLog
-@@ -1,3 +1,8 @@
-+2014-12-28  Alexander Cherepanov  <[email protected]>
-+
-+	* elf_begin.c (read_long_names): Don't miss '/' right after
-+	another '/'. Fixes a dir traversal vuln in ar extraction.
-+
- 2014-12-18  Ulrich Drepper  <[email protected]>
- 
- 	* Makefile.am: Suppress output of textrel_check command.
-diff --git a/libelf/elf_begin.c b/libelf/elf_begin.c
-index 30abe0b..cd3756c 100644
---- a/libelf/elf_begin.c
-+++ b/libelf/elf_begin.c
-@@ -749,10 +749,7 @@ read_long_names (Elf *elf)
- 	    }
- 
- 	  /* NUL-terminate the string.  */
--	  *runp = '\0';
--
--	  /* Skip the NUL byte and the \012.  */
--	  runp += 2;
-+	  *runp++ = '\0';
- 
- 	  /* A sanity check.  Somebody might have generated invalid
- 	     archive.  */
--- 
-1.9.1
-
meta/recipes-devtools/elfutils/elfutils-0.162/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch
meta/recipes-devtools/elfutils/elfutils-0.162/0001-remove-the-unneed-checking.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/0001-remove-the-unneed-checking.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/0001-remove-the-unneed-checking.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/0001-remove-the-unneed-checking.patch
meta/recipes-devtools/elfutils/elfutils-0.162/arm_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/arm_backend.diff +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/arm_backend.diff
rename to meta/recipes-devtools/elfutils/elfutils-0.162/arm_backend.diff
meta/recipes-devtools/elfutils/elfutils-0.162/arm_func_value.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/arm_func_value.patch +19 -20
similarity index 88%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/arm_func_value.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/arm_func_value.patch
index eeb2063..2fe4df6 100644
@@ -12,18 +12,17 @@ can be used from dwfl_module_getsym and elflint.
 Rebase arm_func_value.patch from 0.159 to 0.160
 Signed-off-by: Hongxu Jia <[email protected]>
 ---
- backends/arm_init.c          |  1 +
- backends/arm_symbol.c        |  8 ++++++++
- libdwfl/dwfl_module_getsym.c |  2 +-
- libebl/Makefile.am           |  3 ++-
- libebl/ebl-hooks.h           |  3 +++
- libebl/eblsymfuncval.c       | 43 +++++++++++++++++++++++++++++++++++++++++++
- libebl/libebl.h              | 11 +++++++++++
+ backends/arm_init.c          |    1 +
+ backends/arm_symbol.c        |    8 ++++++++
+ libdwfl/dwfl_module_getsym.c |    2 +-
+ libebl/Makefile.am           |    3 ++-
+ libebl/ebl-hooks.h           |    3 +++
+ libebl/eblsymfuncval.c       |   43 ++++++++++++++++++++++++++++++++++++++++++
+ libebl/libebl.h              |   11 +++++++++++
  7 files changed, 69 insertions(+), 2 deletions(-)
- create mode 100644 libebl/eblsymfuncval.c
 
 diff --git a/backends/arm_init.c b/backends/arm_init.c
-index 8b57d3f..2266829 100644
+index 7171186..9f03630 100644
 --- a/backends/arm_init.c
 +++ b/backends/arm_init.c
 @@ -78,6 +78,7 @@ arm_init (elf, machine, eh, ehlen)
@@ -31,18 +30,17 @@ index 8b57d3f..2266829 100644
    HOOK (eh, abi_cfi);
    HOOK (eh, check_reloc_target_type);
 +  HOOK (eh, sym_func_value);
+   HOOK (eh, symbol_type_name);
  
    /* We only unwind the core integer registers.  */
-   eh->frame_nregs = 16;
 diff --git a/backends/arm_symbol.c b/backends/arm_symbol.c
-index cd467ff..49fca55 100644
+index da4a50a..ccea03b 100644
 --- a/backends/arm_symbol.c
 +++ b/backends/arm_symbol.c
-@@ -129,3 +129,11 @@ arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_ty
- {
+@@ -130,6 +130,14 @@ arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_ty
    return sh_type == SHT_ARM_EXIDX;
  }
-+
+ 
 +/* ARM EABI says that the low bit indicates whether the function
 +   symbol value is a THUMB function or not.  Mask it off.  */
 +GElf_Addr
@@ -50,6 +48,10 @@ index cd467ff..49fca55 100644
 +{
 +  return val & ~(GElf_Addr)1;
 +}
++
+ const char *
+ arm_symbol_type_name (int type,
+ 		      char *buf __attribute__ ((unused)),
 diff --git a/libdwfl/dwfl_module_getsym.c b/libdwfl/dwfl_module_getsym.c
 index 42d2b67..fb192d7 100644
 --- a/libdwfl/dwfl_module_getsym.c
@@ -78,7 +80,7 @@ index ec4477b..889c21b 100644
  libebl_a_SOURCES = $(gen_SOURCES)
  
 diff --git a/libebl/ebl-hooks.h b/libebl/ebl-hooks.h
-index e1186f8..160a821 100644
+index 2e31446..9df945d 100644
 --- a/libebl/ebl-hooks.h
 +++ b/libebl/ebl-hooks.h
 @@ -191,5 +191,8 @@ bool EBLHOOK(unwind) (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
@@ -140,10 +142,10 @@ index 0000000..c0b322f
 +  return ebl->sym_func_value (ebl, val);
 +}
 diff --git a/libebl/libebl.h b/libebl/libebl.h
-index bb993bf..40cf635 100644
+index 7dbf460..96c076b 100644
 --- a/libebl/libebl.h
 +++ b/libebl/libebl.h
-@@ -459,6 +459,17 @@ extern bool ebl_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
+@@ -472,6 +472,17 @@ extern bool ebl_unwind (Ebl *ebl, Dwarf_Addr pc, ebl_tid_registers_t *setfunc,
  extern bool ebl_resolve_sym_value (Ebl *ebl, GElf_Addr *addr)
     __nonnull_attribute__ (2);
  
@@ -161,6 +163,3 @@ index bb993bf..40cf635 100644
  #ifdef __cplusplus
  }
  #endif
--- 
-1.9.1
-
meta/recipes-devtools/elfutils/elfutils-0.162/arm_unwind_ret_mask.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/arm_unwind_ret_mask.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/arm_unwind_ret_mask.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/arm_unwind_ret_mask.patch
meta/recipes-devtools/elfutils/elfutils-0.162/fixheadercheck.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/fixheadercheck.patch +6 -7
similarity index 60%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/fixheadercheck.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/fixheadercheck.patch
index 8796e9a..5de3b24 100644
@@ -7,18 +7,17 @@ RP 2014/6/11
 
 Upstream-Status: Pending
 
-Index: elfutils-0.158/libelf/elf32_updatenull.c
-===================================================================
---- elfutils-0.158.orig/libelf/elf32_updatenull.c	2012-12-14 22:40:48.000000000 +0000
-+++ elfutils-0.158/libelf/elf32_updatenull.c	2014-06-11 16:35:43.417386291 +0000
-@@ -327,8 +327,8 @@
+diff --git a/libelf/elf32_updatenull.c b/libelf/elf32_updatenull.c
+--- a/libelf/elf32_updatenull.c
++++ b/libelf/elf32_updatenull.c
+@@ -339,8 +339,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
  		     we test for the alignment of the section being large
  		     enough for the largest alignment required by a data
  		     block.  */
 -		  if (unlikely (! powerof2 (shdr->sh_addralign))
--		      || unlikely (shdr->sh_addralign < sh_align))
+-		      || unlikely ((shdr->sh_addralign ?: 1) < sh_align))
 +		  if (shdr->sh_size && (unlikely (! powerof2 (shdr->sh_addralign))
-+		      || unlikely (shdr->sh_addralign < sh_align)))
++		      || unlikely ((shdr->sh_addralign ?: 1) < sh_align)))
  		    {
  		      __libelf_seterrno (ELF_E_INVALID_ALIGN);
  		      return -1;
meta/recipes-devtools/elfutils/elfutils-0.162/hppa_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/hppa_backend.diff +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/hppa_backend.diff
rename to meta/recipes-devtools/elfutils/elfutils-0.162/hppa_backend.diff
meta/recipes-devtools/elfutils/elfutils-0.162/m68k_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/m68k_backend.diff +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/m68k_backend.diff
rename to meta/recipes-devtools/elfutils/elfutils-0.162/m68k_backend.diff
meta/recipes-devtools/elfutils/elfutils-0.162/mips_backend.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/mips_backend.diff +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/mips_backend.diff
rename to meta/recipes-devtools/elfutils/elfutils-0.162/mips_backend.diff
meta/recipes-devtools/elfutils/elfutils-0.162/mips_readelf_w.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/mips_readelf_w.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/mips_readelf_w.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/mips_readelf_w.patch
meta/recipes-devtools/elfutils/elfutils-0.162/non_linux.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/non_linux.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/non_linux.patch
meta/recipes-devtools/elfutils/elfutils-0.162/redhat-portability.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/redhat-portability.diff +124 -158

658 lines not on this page · raw message

meta/recipes-devtools/elfutils/elfutils-0.162/scanf-format.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/scanf-format.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/scanf-format.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/scanf-format.patch
meta/recipes-devtools/elfutils/elfutils-0.162/testsuite-ignore-elflint.diff renamed from meta/recipes-devtools/elfutils/elfutils-0.161/testsuite-ignore-elflint.diff +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/testsuite-ignore-elflint.diff
rename to meta/recipes-devtools/elfutils/elfutils-0.162/testsuite-ignore-elflint.diff
meta/recipes-devtools/elfutils/elfutils-0.162/uclibc-support-for-elfutils-0.161.patch renamed from meta/recipes-devtools/elfutils/elfutils-0.161/uclibc-support-for-elfutils-0.161.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.161/uclibc-support-for-elfutils-0.161.patch
rename to meta/recipes-devtools/elfutils/elfutils-0.162/uclibc-support-for-elfutils-0.161.patch
meta/recipes-devtools/elfutils/elfutils_0.162.bb renamed from meta/recipes-devtools/elfutils/elfutils_0.161.bb +3 -4
similarity index 93%
rename from meta/recipes-devtools/elfutils/elfutils_0.161.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.162.bb
index 70a3c16..f6ace7e 100644
@@ -5,10 +5,10 @@ LICENSE = "(GPLv3 & Elfutils-Exception)"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "libtool bzip2 zlib virtual/libintl"
 
-SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/elfutils-${PV}.tar.bz2"
+SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/${PV}/${BP}.tar.bz2"
 
-SRC_URI[md5sum] = "e1b9847c9a6a1ad340de8d47a863ec52"
-SRC_URI[sha256sum] = "570c91a1783fa5386aaa2dfdd08dda1de777c2b63bf3b9c1437d635ffdd7a070"
+SRC_URI[md5sum] = "9334cbcc0df7669b7bf07cf7fc3ad52c"
+SRC_URI[sha256sum] = "526106bc6be898b3b3281a66b83d64993aa0ef1b55b0416766868ad53d0a1951"
 
 SRC_URI += "\
         file://mempcpy.patch \
@@ -16,7 +16,6 @@ SRC_URI += "\
         file://Fix_elf_cvt_gunhash.patch \
         file://fixheadercheck.patch \
         file://0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch \
-        file://0001-libelf-Fix-dir-traversal-vuln-in-ar-extraction.patch \
         file://0001-remove-the-unneed-checking.patch \
 "
 
Signature · 1 line
1.7.9.5
#10 lore raw

PATCH 3/5 git: 2.4.2 -> 2.4.4

In reply to Robert Yang
---
 .../git/{git_2.4.2.bb => git_2.4.4.bb}             |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/git/{git_2.4.2.bb => git_2.4.4.bb} (41%)
meta/recipes-devtools/git/git_2.4.4.bb renamed from meta/recipes-devtools/git/git_2.4.2.bb +4 -4
similarity index 41%
rename from meta/recipes-devtools/git/git_2.4.2.bb
rename to meta/recipes-devtools/git/git_2.4.4.bb
index 0bb92a2..1834310 100644
@@ -1,9 +1,9 @@
 require git.inc
 
-SRC_URI[tarball.md5sum] = "80e127b1bde921479d1a6c3fa697e385"
-SRC_URI[tarball.sha256sum] = "8edd564051fb776a41b4c475ed2d6105de82b674b8903a9efafe8a0633e4876e"
-SRC_URI[manpages.md5sum] = "b52251e6f859a54bf5d5a3b7682fbfbf"
-SRC_URI[manpages.sha256sum] = "114b22518dd71cc1a16018b0ff198a5ee1e6b2239381dfd6a6b9994f3da89661"
+SRC_URI[tarball.md5sum] = "f122606aee328de3e1019cde720cb0aa"
+SRC_URI[tarball.sha256sum] = "a5d9e3e340a3e5a297092430752f61a9ae5b8b5e4ac042b0341d17189e653456"
+SRC_URI[manpages.md5sum] = "285b126907d59647248577a7df01c44c"
+SRC_URI[manpages.sha256sum] = "15afc42909078909ca7a48d73b7cb358b37f734b81fc3a0c6438be183f05480f"
 
 EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no ac_cv_c_c99_format=yes \
                  ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
Signature · 1 line
1.7.9.5
#11 lore raw

PATCH 4/5 hdparm: 9.45 -> 9.48

In reply to Robert Yang
---
 .../hdparm/{hdparm_9.45.bb => hdparm_9.48.bb}      |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/hdparm/{hdparm_9.45.bb => hdparm_9.48.bb} (84%)
meta/recipes-extended/hdparm/hdparm_9.48.bb renamed from meta/recipes-extended/hdparm/hdparm_9.45.bb +3 -3
similarity index 84%
rename from meta/recipes-extended/hdparm/hdparm_9.45.bb
rename to meta/recipes-extended/hdparm/hdparm_9.48.bb
index d11412d..8267fd9 100644
@@ -16,10 +16,10 @@ FILES_wiper = "${bindir}/wiper.sh"
 
 RDEPENDS_wiper = "bash gawk stat"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
+SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/${BP}.tar.gz "
 
-SRC_URI[md5sum] = "1c75d0751a44928b6c4bc81fb16d7fe8"
-SRC_URI[sha256sum] = "23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669"
+SRC_URI[md5sum] = "213efdbe7471fad3408198918e164354"
+SRC_URI[sha256sum] = "ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee"
 
 EXTRA_OEMAKE += 'STRIP="echo"'
 
Signature · 1 line
1.7.9.5
#12 lore raw

PATCH 5/5 gnupg: 2.1.4 -> 2.1.5

In reply to Robert Yang
---
 .../gnupg/{gnupg_2.1.4.bb => gnupg_2.1.5.bb}       |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnupg/{gnupg_2.1.4.bb => gnupg_2.1.5.bb} (89%)
meta/recipes-support/gnupg/gnupg_2.1.5.bb renamed from meta/recipes-support/gnupg/gnupg_2.1.4.bb +2 -2
similarity index 89%
rename from meta/recipes-support/gnupg/gnupg_2.1.4.bb
rename to meta/recipes-support/gnupg/gnupg_2.1.5.bb
index 72635a2..8eb6b90 100644
@@ -14,8 +14,8 @@ SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \
            file://dirmngr-uses-libgpg-error.patch \
           "
 
-SRC_URI[md5sum] = "c36f1a4c261ecc81fa5df551356c33f1"
-SRC_URI[sha256sum] = "64127eedd868510f2bccccb22c507a4878ffa07495db16a0f976c67f56426cb0"
+SRC_URI[md5sum] = "ff16648f14ec164c7afce1066019364b"
+SRC_URI[sha256sum] = "b5105a7160c39ba6e3aa53789b09f1bfac6e3422d15cc9f3a2f71f82320aa84c"
 
 EXTRA_OECONF = "--disable-ldap \
 		--disable-ccid-driver \
Signature · 1 line
1.7.9.5