Skip to contentSkip to conversation

libvpx: fix fetch errors, remove older releases and add security fix

PATCH New Petr Štetiar 1 participant 1 message Feb 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvpx: fix fetch errors, remove older releases and add security fix

- remove old and unfetchable versions v0.9.0, v0.9.1, v0.9.2
- add v0.9.5 patch for CVE-2010-4203 security fix
- fix fetch errors for v0.9.2 and v0.9.5:

ERROR: Function 'Fetch failed: Unable to fetch URL git://review.webmproject.org/libvpx.git;protocol=git;tag=v0.9.5 from any source.' failed

this happens because of some errors in the git repo:

error: missing object referenced by 'refs/tags/v0.9.5'
error: missing object referenced by 'refs/tags/v0.9.2'
error: missing object referenced by 'refs/tags/v0.9.1'
error: missing object referenced by 'refs/tags/v0.9.0'
error: refs/remotes/origin/aylesbury does not point to a valid object!

---
 recipes/webm/libvpx.inc                 |    6 +-
 recipes/webm/libvpx/CVE-2010-4203.patch |   69 +++++++++++++++++++++++++++++++
 recipes/webm/libvpx_0.9.0.bb            |   17 --------
 recipes/webm/libvpx_0.9.1.bb            |   14 ------
 recipes/webm/libvpx_0.9.2.bb            |   14 ------
 recipes/webm/libvpx_0.9.5.bb            |    8 ++-
 6 files changed, 77 insertions(+), 51 deletions(-)
 create mode 100644 recipes/webm/libvpx/CVE-2010-4203.patch
 delete mode 100644 recipes/webm/libvpx_0.9.0.bb
 delete mode 100644 recipes/webm/libvpx_0.9.1.bb
 delete mode 100644 recipes/webm/libvpx_0.9.2.bb
recipes/webm/libvpx.inc +3 -3
index 9913d5b..a1e02b1 100644
@@ -1,10 +1,10 @@
 DESCRIPTION = "vpx Multi-Format Codec SDK"
 LICENSE = "BSD"
 
-INC_PR = "r5"
+INC_PR = "r6"
 
-SRC_URI = "git://review.webmproject.org/libvpx.git;protocol=git;tag=v${PV}"
-S = "${WORKDIR}/git"
+SRC_URI = "http://webm.googlecode.com/files/libvpx-v${PV}.tar.bz2"
+S = "${WORKDIR}/libvpx-v${PV}"
 
 CFLAGS += "-fPIC"
 
recipes/webm/libvpx/CVE-2010-4203.patch new file +69 -0

69 lines not on this page · raw message

recipes/webm/libvpx_0.9.0.bb deleted +0 -17
deleted file mode 100644
index bce50a6..0000000
@@ -1,17 +0,0 @@
-require libvpx.inc
-
-LICENSE = "VP8"
-
-PR = "${INC_PR}.0"
-
-SRC_URI[md5sum] = "9eb8e818d2f3263623c258fe66924082"
-SRC_URI[sha256sum] = "a0096ac6859cfb61cf06dd9bc0a79a3333a4ec389ba311911d84df8ff2a1b9dc"
-
-do_install() {
-       oe_runmake install
-       install -d ${D}${prefix}
-       cp -R ${S}/vpx-vp8-nopost-nodocs*${PV}/* ${D}${prefix}/
-       install -d ${D}${includedir}/vpx
-       mv ${D}${includedir}/*.h ${D}${includedir}/vpx
-}
-
recipes/webm/libvpx_0.9.1.bb deleted +0 -14
deleted file mode 100644
index bcb7358..0000000
@@ -1,14 +0,0 @@
-require libvpx.inc
-
-PR = "${INC_PR}.0"
-
-SRC_URI += "file://libvpx-configure-support-blank-prefix.patch;apply=yes"
-
-CONFIGUREOPTS += " \
-        --prefix=${prefix} \
-        --libdir=${libdir} \
-"
-
-SRC_URI[md5sum] = "e1442e74d0cca228785083fa520735a2"
-SRC_URI[sha256sum] = "c4e8e463e079ffde5b6948366a1d0873f1bf685dccd89ca137585c2b8247ec59"
-
recipes/webm/libvpx_0.9.2.bb deleted +0 -14
deleted file mode 100644
index b7ced8f..0000000
@@ -1,14 +0,0 @@
-require libvpx.inc
-
-PR = "${INC_PR}.0"
-
-SRC_URI += "file://libvpx-configure-support-blank-prefix.patch;apply=yes"
-
-SRC_URI[md5sum] = "609370925b274aeaa29e94fc34c74957"
-SRC_URI[sha256sum] = "7425853d06443a0ce8e9cfc7cd3b0a43228b22c10dca813da68af9b114510b3b"
-
-CONFIGUREOPTS += " \
-        --prefix=${prefix} \
-        --libdir=${libdir} \
-"
-
recipes/webm/libvpx_0.9.5.bb +5 -3
index b7ced8f..42b4199 100644
@@ -2,10 +2,12 @@ require libvpx.inc
 
 PR = "${INC_PR}.0"
 
-SRC_URI += "file://libvpx-configure-support-blank-prefix.patch;apply=yes"
+SRC_URI += "file://libvpx-configure-support-blank-prefix.patch \
+            file://CVE-2010-4203.patch \
+            "
 
-SRC_URI[md5sum] = "609370925b274aeaa29e94fc34c74957"
-SRC_URI[sha256sum] = "7425853d06443a0ce8e9cfc7cd3b0a43228b22c10dca813da68af9b114510b3b"
+SRC_URI[md5sum] = "4bf2f2c76700202c1fe9201fcb0680e3"
+SRC_URI[sha256sum] = "2e93968afcded113a7e218de047feecf6659a089058803a9e40fb687de5f9bfa"
 
 CONFIGUREOPTS += " \
         --prefix=${prefix} \
Signature · 1 line
1.7.0.4