readline: rename patch to contain CVE reference
PATCH 1/4 readline: rename patch to contain CVE reference
To help automated scanning of CVEs, put the CVE ID in the filename.
---
.../readline-6.3/{readline63-003.patch => readline-cve-2014-2524.patch} | 0
meta/recipes-core/readline/readline_6.3.bb | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/readline/readline-6.3/{readline63-003.patch => readline-cve-2014-2524.patch} (100%)meta/recipes-core/readline/readline-6.3/readline-cve-2014-2524.patch renamed from meta/recipes-core/readline/readline-6.3/readline63-003.patch +0 -0
meta/recipes-core/readline/readline_6.3.bb +1 -1
@@ -1,6 +1,6 @@ require readline.inc -SRC_URI += "file://readline63-003.patch;striplevel=0 \ +SRC_URI += "file://readline-cve-2014-2524.patch;striplevel=0 \ file://readline-dispatch-multikey.patch" SRC_URI[archive.md5sum] = "33c8fb279e981274f485fd91da77e94a"
Signature · 1 line
2.1.4
PATCH 2/4 unzip: rename patch to reflect CVE fix
---
.../unzip/unzip/{unzip-6.0_overflow3.diff => cve-2014-9636.patch} | 0
meta/recipes-extended/unzip/unzip_6.0.bb | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-extended/unzip/unzip/{unzip-6.0_overflow3.diff => cve-2014-9636.patch} (100%)meta/recipes-extended/unzip/unzip/cve-2014-9636.patch renamed from meta/recipes-extended/unzip/unzip/unzip-6.0_overflow3.diff +0 -0
meta/recipes-extended/unzip/unzip_6.0.bb +1 -1
@@ -10,7 +10,7 @@ SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ file://avoid-strip.patch \ file://define-ldflags.patch \ file://06-unzip60-alt-iconv-utf8_CVE-2015-1315.patch \ - file://unzip-6.0_overflow3.diff \ + file://cve-2014-9636.patch \ file://09-cve-2014-8139-crc-overflow.patch \ file://10-cve-2014-8140-test-compr-eb.patch \ file://11-cve-2014-8141-getzip64data.patch \
Signature · 1 line
2.1.4
PATCH 3/4 gcr: remove Vala dependency
In reply to Ross BurtonThe Vala support in GCR requires gobject-introspection so even with the build dependency on Vala it isn't enabled, so remove the build dependency and explicitly disable Vala support.
--- meta/recipes-gnome/gcr/gcr_3.16.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gcr/gcr_3.16.0.bb +3 -1
@@ -5,7 +5,7 @@ BUGTRACKER = "https://bugzilla.gnome.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" -DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt vala" +DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt" inherit autotools gnomebase gtk-icon-cache gtk-doc distro_features_check # depends on gtk+3
@@ -14,6 +14,8 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c" SRC_URI[archive.sha256sum] = "ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075" +EXTRA_OECONF = "--disable-vala" + FILES_${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/gcr-3 \
Signature · 1 line
2.1.4
PATCH 4/4 at: modify sources in do_patch
In reply to Ross BurtonInstead of copying the forked source files into ${S} in do_compile_prepend(), do it in a do_patch() postfunc. This ensures that the source archiver sees the changes for compliance and legal verification.
--- meta/recipes-extended/at/at_3.1.16.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/at/at_3.1.16.bb +2 -2
@@ -47,10 +47,10 @@ INITSCRIPT_PARAMS = "defaults" SYSTEMD_SERVICE_${PN} = "atd.service" - -do_compile_prepend () { +copy_sources() { cp -f ${WORKDIR}/posixtm.[ch] ${S} } +do_patch[postfuncs] += "copy_sources" do_install () { oe_runmake -e "IROOT=${D}" install
Signature · 1 line
2.1.4
Re: [PATCH 3/4] gcr: remove Vala dependency
In reply to Ross BurtonRetracting this, gcr needs vala's m4 file. Back to wondering if we should have a vala-stub too...
Ross
Quoted 38 lines · Ross Burton
The Vala support in GCR requires gobject-introspection so even with the build
dependency on Vala it isn't enabled, so remove the build dependency and explicitly disable Vala support.Signed-off-by Ross Burton <[email protected]>--- meta/recipes-gnome/gcr/gcr_3.16.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)meta/recipes-gnome/gcr/gcr_3.16.0.bb +1
-1@@ -5,7 +5,7 @@ BUGTRACKER = "https://bugzilla.gnome.org/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" -DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt vala" +DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt" inherit autotools gnomebase gtk-icon-cache gtk-doc distro_features_check # depends on gtk+3@@ -14,6 +14,8 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c" SRC_URI[archive.sha256sum] ="
ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075"meta/recipes-gnome/gcr/gcr_3.16.0.bb +2
-1+EXTRA_OECONF = "--disable-vala" + FILES_${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/gcr-3 \ --2.1.4
Re: [PATCH 3/4] gcr: remove Vala dependency
Quoted 2 lines · Ross
Retracting this, gcr needs vala's m4 file. Back to wondering if we should have a vala-stub too...
Upcoming introspection patchset also adds a bonus vapigen support, so you don't really need to do these disable-vala fixes.
Alex