[oe] [PATCH] libpng: upgrade to 1.2.46

Sylvain Paré sylvain.pare at gmail.com
Fri Aug 19 14:11:33 UTC 2011


Hi,
I have modified my patch to remove the old filepatch too. patch below :

>From d953f12a1e311e2417b5564071ed25c700754d89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sylvain=20'GarthPS'=20Par=C3=A9?= <sylvain.pare at gmail.com>
Date: Fri, 19 Aug 2011 15:39:23 +0200
Subject: [PATCH] libpng: upgrade to v1.2.46 and removed old patch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

 This addresses the following security advisories:

* CVE-2011-2690

* CVE-2011-2692

Signed-off-by: Sylvain 'GarthPS' Paré <sylvain.pare at gmail.com>
---
 recipes/libpng/files/makefile_fix.patch |   18 ------------------
 recipes/libpng/libpng_1.2.44.bb         |    8 --------
 recipes/libpng/libpng_1.2.46.bb         |    6 ++++++
 3 files changed, 6 insertions(+), 26 deletions(-)
 delete mode 100644 recipes/libpng/files/makefile_fix.patch
 delete mode 100644 recipes/libpng/libpng_1.2.44.bb
 create mode 100644 recipes/libpng/libpng_1.2.46.bb

diff --git a/recipes/libpng/files/makefile_fix.patch
b/recipes/libpng/files/makefile_fix.patch
deleted file mode 100644
index 3fa8793..0000000
--- a/recipes/libpng/files/makefile_fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Old versions of libtool (1.5.10) used to set ECHO as a side effect. With
-libtool 2.2.2 we need to do this manually
-
-RP - 14/4/08
-
-Index: libpng-1.2.16/Makefile.am
-===================================================================
---- libpng-1.2.16.orig/Makefile.am    2008-04-14 14:47:21.000000000 +0100
-+++ libpng-1.2.16/Makefile.am    2008-04-14 14:47:47.000000000 +0100
-@@ -102,6 +102,8 @@
-             >$@.new
-     mv $@.new $@
-
-+ECHO=echo
-+
- libpng.vers: libpng.sym
-     rm -f $@ $@.new
-     $(ECHO) PNG at PNGLIB_MAJOR@@PNGLIB_MINOR at _0 '{global:' > $@.new
diff --git a/recipes/libpng/libpng_1.2.44.bb b/recipes/libpng/
libpng_1.2.44.bb
deleted file mode 100644
index 4ba7b20..0000000
--- a/recipes/libpng/libpng_1.2.44.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-require libpng.inc
-
-PR = "${INC_PR}.0"
-
-SRC_URI += "file://makefile_fix.patch"
-
-SRC_URI[libpng.md5sum] = "e3ac7879d62ad166a6f0c7441390d12b"
-SRC_URI[libpng.sha256sum] =
"b9ab20f1c2c3bf6c4448fd9bd8a4a8905b918114d5fada56c97bb758a17b7215"
diff --git a/recipes/libpng/libpng_1.2.46.bb b/recipes/libpng/
libpng_1.2.46.bb
new file mode 100644
index 0000000..e036be5
--- /dev/null
+++ b/recipes/libpng/libpng_1.2.46.bb
@@ -0,0 +1,6 @@
+require libpng.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[libpng.md5sum] = "e8b43dc78ef95b3949af7f961d76874b"
+SRC_URI[libpng.sha256sum] =
"a5e796e1802b2e221498bda09ff9850bc7ec9068b6788948cc2c42af213914d8"
-- 
1.7.4.1



More information about the Openembedded-devel mailing list