Skip to contentSkip to conversation

xdelta3: Package update to 3.0.11

PATCH New Armin Kuster 1 participant 1 message Feb 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xdelta3: Package update to 3.0.11

removed two files as they got accecpted upstream Update SRC_URI to location where this version exists

Includes security fix CVE-2014-9765
CVE-2014-9765 xdelta: buffer overflow in main_get_appheader (fixed in 3.0.9 and after)

---
 .../xdelta/files/compilation-fix.patch             | 29 ------------
 .../files/with-liblzma-configure-option.patch      | 55 ----------------------
 .../xdelta/{xdelta3_3.0.8.bb => xdelta3_3.0.11.bb} | 11 ++---
 3 files changed, 4 insertions(+), 91 deletions(-)
 delete mode 100644 meta-oe/recipes-support/xdelta/files/compilation-fix.patch
 delete mode 100644 meta-oe/recipes-support/xdelta/files/with-liblzma-configure-option.patch
 rename meta-oe/recipes-support/xdelta/{xdelta3_3.0.8.bb => xdelta3_3.0.11.bb} (60%)
meta-oe/recipes-support/xdelta/files/compilation-fix.patch deleted +0 -29
deleted file mode 100644
index 377a043..0000000
@@ -1,29 +0,0 @@
-Upstream-Status: Pending
-http://code.google.com/p/xdelta/issues/detail?id=174
-
-Compilation fix:
-<code>
-| testing/regtest.cc:763:3: error: no matching function for call to 'max(xoff_t, size_t&)'
-</code>
-
-Signed-off-by: Matthieu Crapet <[email protected]>
----
- testing/regtest.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/testing/regtest.cc b/testing/regtest.cc
-index 12b712e..b63a1f9 100644
---- a/testing/regtest.cc
-+++ b/testing/regtest.cc
-@@ -12,7 +12,7 @@ public:
-     Options() : encode_srcwin_maxsz(1<<20), 
- 		block_size(Constants::BLOCK_SIZE),
- 		size_known(false) { }
--    size_t encode_srcwin_maxsz;
-+    xoff_t encode_srcwin_maxsz;
-     size_t block_size;
-     bool size_known;
-   };
--- 
-1.8.5.4
-
meta-oe/recipes-support/xdelta/files/with-liblzma-configure-option.patch deleted +0 -55

55 lines not on this page · raw message

meta-oe/recipes-support/xdelta/xdelta3_3.0.11.bb renamed from meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb +4 -7
similarity index 60%
rename from meta-oe/recipes-support/xdelta/xdelta3_3.0.8.bb
rename to meta-oe/recipes-support/xdelta/xdelta3_3.0.11.bb
index baa92e4..9669d9b 100644
@@ -6,13 +6,10 @@ SECTION = "console/utils"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
-
-SRC_URI = "http://xdelta.googlecode.com/files/${BPN}-${PV}.tar.xz \
-           file://compilation-fix.patch \
-           file://with-liblzma-configure-option.patch \
-"
-SRC_URI[md5sum] = "c3ae3286ce4193de8e03d5bcaccf3bc3"
-SRC_URI[sha256sum] = "3a86f29c95664fb44b8a40ff22d9bcc3e87aa8c01f0ff75931a7fa78ed3d2e55"
+SRC_URI = "https://github.com/jmacd/xdelta-devel/releases/download/v${PV}/${BPN}-${PV}.tar.gz  \
+          "
+SRC_URI[md5sum] = "445d8be2ac512113d5ca601ae8359626"
+SRC_URI[sha256sum] = "0ccc9751ceaa4d90d6b06938a4deddb481816f5d9284bd07d2e728609cb300aa"
 
 inherit autotools
 
Signature · 1 line
2.3.5