aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-07-18 18:32:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:24:55 +0100
commite912fc9d20298140ad0b69899e20a1494f21b37e (patch)
tree2b732345fcdb7968faed082af1ec3d9750b403ec /meta/recipes-multimedia/libpng/libpng_1.2.46.bb
parentd866a36d7839247e8cf61512a0092d7f4f396d1a (diff)
downloadopenembedded-core-contrib-e912fc9d20298140ad0b69899e20a1494f21b37e.tar.gz
libpng: upgrade to v1.2.46
This addresses the following security advisories: * CVE-2011-2690 * CVE-2011-2692 This fixes bug [YOCTO #1255] The LICENSE and png.h checksum changes were due to trivial changes in the files. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/libpng/libpng_1.2.46.bb')
-rw-r--r--meta/recipes-multimedia/libpng/libpng_1.2.46.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libpng/libpng_1.2.46.bb b/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
new file mode 100644
index 0000000000..57d9037949
--- /dev/null
+++ b/meta/recipes-multimedia/libpng/libpng_1.2.46.bb
@@ -0,0 +1,26 @@
+SUMMARY = "PNG Library"
+DESCRIPTION = "PNG Library"
+HOMEPAGE = "http://www.libpng.org/"
+SECTION = "libs"
+LICENSE = "Libpng"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=21b4b6e3523afa9f03f00b43b991dad0 \
+ file://png.h;startline=172;endline=261;md5=996460063a9bf2de35b2d61d2776dabc"
+DEPENDS = "zlib"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "e8b43dc78ef95b3949af7f961d76874b"
+SRC_URI[sha256sum] = "a5e796e1802b2e221498bda09ff9850bc7ec9068b6788948cc2c42af213914d8"
+
+inherit autotools binconfig pkgconfig
+
+PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev"
+
+FILES_${PN}12-dbg = "${libdir}/.debug/libpng12*"
+FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}"
+FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc"
+FILES_${PN} = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-dev += " ${bindir} ${sbindir}"
+
+BBCLASSEXTEND = "native"