From 49476950d104077f7214b645781af648382e3ae3 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Tue, 2 Aug 2016 22:23:49 -0400 Subject: xerces-c: upgrade to 3.1.4 upgrade to version 3.1.4 to fix two CVEs: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-4463 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2099 Signed-off-by: Jackie Huang Signed-off-by: Martin Jansa --- .../recipes-devtools/xerces-c/xerces-c_3.1.3.bb | 46 ---------------------- .../recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.3.bb create mode 100644 meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.3.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.3.bb deleted file mode 100644 index 2355c9dfc..000000000 --- a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.3.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Xerces-c is a validating xml parser written in C++" -DESCRIPTION = "Xerces-C++ makes it easy to give your application \ - the ability to read and write XML data. \ - A shared library is provided for parsing, generating, \ - manipulating, and validating XML documents using \ - the DOM, SAX, and SAX2 APIs." -HOMEPAGE = "http://xerces.apache.org/xerces-c/" -SECTION = "libs" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.bz2" -SRC_URI[md5sum] = "5e333b55cb43e6b025ddf0e5d0f0fb0d" -SRC_URI[sha256sum] = "fc5e5e0247b108b8d64d75aeb124cabdee9b7fcd725a89fe2242b4637b25c1fa" - -inherit autotools - -PACKAGECONFIG ??= "curl icu" -PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" -PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" - -do_install_prepend () { - sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc -} - -PACKAGES = "libxerces-c \ - libxerces-c-dbg \ - libxerces-c-dev \ - xerces-c-samples \ - xerces-c-samples-dbg \ - libxerces-c-staticdev \ - " - -FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so" -FILES_libxerces-c-dbg = "${libdir}/.debug \ - ${prefix}/src/debug " -FILES_libxerces-c-dev = "${libdir}/lib*.la \ - ${libdir}/libxerces-c.so \ - ${libdir}/pkgconfig/xerces-c.pc \ - ${includedir}/xercesc \ - " -FILES_xerces-c-samples = "${bindir}/*" -FILES_xerces-c-samples-dbg = "${bindir}/.debug/" -FILES_libxerces-c-staticdev = "${libdir}/lib*.a" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb new file mode 100644 index 000000000..40612e5df --- /dev/null +++ b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb @@ -0,0 +1,46 @@ +SUMMARY = "Xerces-c is a validating xml parser written in C++" +DESCRIPTION = "Xerces-C++ makes it easy to give your application \ + the ability to read and write XML data. \ + A shared library is provided for parsing, generating, \ + manipulating, and validating XML documents using \ + the DOM, SAX, and SAX2 APIs." +HOMEPAGE = "http://xerces.apache.org/xerces-c/" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.bz2" +SRC_URI[md5sum] = "d04ae9d8b2dee2157c6db95fa908abfd" +SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891" + +inherit autotools + +PACKAGECONFIG ??= "curl icu" +PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" +PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" + +do_install_prepend () { + sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc +} + +PACKAGES = "libxerces-c \ + libxerces-c-dbg \ + libxerces-c-dev \ + xerces-c-samples \ + xerces-c-samples-dbg \ + libxerces-c-staticdev \ + " + +FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so" +FILES_libxerces-c-dbg = "${libdir}/.debug \ + ${prefix}/src/debug " +FILES_libxerces-c-dev = "${libdir}/lib*.la \ + ${libdir}/libxerces-c.so \ + ${libdir}/pkgconfig/xerces-c.pc \ + ${includedir}/xercesc \ + " +FILES_xerces-c-samples = "${bindir}/*" +FILES_xerces-c-samples-dbg = "${bindir}/.debug/" +FILES_libxerces-c-staticdev = "${libdir}/lib*.a" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf