[OE-core] [PATCH] python3-git: upgrade from 2.1.1 to 2.1.3
This is a minimal update for git module of python 3 Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-git.inc | 4 ++-- .../python/{python3-git_2.1.1.bb => python3-git_2.1.3.bb} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-git_2.1.1.bb => python3-git_2.1.3.bb} (100%) diff --git a/meta/recipes-devtools/python/python-git.inc b/meta/recipes-devtools/python/python-git.inc index feddf27..825e795d9 100644 --- a/meta/recipes-devtools/python/python-git.inc +++ b/meta/recipes-devtools/python/python-git.inc @@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183" SRC_URI = "https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz; -SRC_URI[md5sum] = "77f8339e68dedb6d7c4e26371a588ed9" -SRC_URI[sha256sum] = "e96f8e953cf9fee0a7599fc587667591328760b6341a0081ef311a942fc96204" +SRC_URI[md5sum] = "6cd18008c03a767740f3bf6d89ef79bc" +SRC_URI[sha256sum] = "3826185b11e1fc372e7d31251e9b65e11ccb7c27f82c771d619048bdb5b66c81" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/; UPSTREAM_CHECK_REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)" diff --git a/meta/recipes-devtools/python/python3-git_2.1.1.bb b/meta/recipes-devtools/python/python3-git_2.1.3.bb similarity index 100% rename from meta/recipes-devtools/python/python3-git_2.1.1.bb rename to meta/recipes-devtools/python/python3-git_2.1.3.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] swig: upgrade to 3.0.12
Minimal update for swig Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/swig/{swig_3.0.11.bb => swig_3.0.12.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/swig/{swig_3.0.11.bb => swig_3.0.12.bb} (58%) diff --git a/meta/recipes-devtools/swig/swig_3.0.11.bb b/meta/recipes-devtools/swig/swig_3.0.12.bb similarity index 58% rename from meta/recipes-devtools/swig/swig_3.0.11.bb rename to meta/recipes-devtools/swig/swig_3.0.12.bb index 44c8e75..d5caa67 100644 --- a/meta/recipes-devtools/swig/swig_3.0.11.bb +++ b/meta/recipes-devtools/swig/swig_3.0.12.bb @@ -3,6 +3,6 @@ require ${BPN}.inc SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ file://0001-configure-use-pkg-config-for-pcre-detection.patch \ " -SRC_URI[md5sum] = "13732eb0f1ab2123d180db8425c1edea" -SRC_URI[sha256sum] = "d9031d531d7418829a54d0d51c4ed9007016b213657ec70be44031951810566e" +SRC_URI[md5sum] = "82133dfa7bba75ff9ad98a7046be687c" +SRC_URI[sha256sum] = "7cf9f447ae7ed1c51722efc45e7f14418d15d7a1e143ac9f09a668999f4fc94d" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] swig: upgrade to 3.0.12
Minimal update for swig Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/swig/{swig_3.0.11.bb => swig_3.0.12.bb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename meta/recipes-devtools/swig/{swig_3.0.11.bb => swig_3.0.12.bb} (100%) diff --git a/meta/recipes-devtools/swig/swig_3.0.11.bb b/meta/recipes-devtools/swig/swig_3.0.12.bb similarity index 100% rename from meta/recipes-devtools/swig/swig_3.0.11.bb rename to meta/recipes-devtools/swig/swig_3.0.12.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-pip: fixed dependecy with python3-enum
it solved problem of pip's console showing error "module enum not ..." [YOCTO #10904] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python3-pip_9.0.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-pip_9.0.1.bb b/meta/recipes-devtools/python/python3-pip_9.0.1.bb index 6ac94bb..85328dc 100644 --- a/meta/recipes-devtools/python/python3-pip_9.0.1.bb +++ b/meta/recipes-devtools/python/python3-pip_9.0.1.bb @@ -39,6 +39,7 @@ do_install_append() { RDEPENDS_${PN} = "\ python3-compile \ python3-io \ + python3-enum \ python3-json \ python3-netserver \ python3-setuptools \ -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V3] python3-docutils: upgrade to 0.13.1
Changed document date field and roman.py notes https://fossies.org/diffs/docutils/0.12_vs_0.13.1/COPYING.txt-diff.html Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} (60%) diff --git a/meta/recipes-devtools/python/python3-docutils_0.12.bb b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb similarity index 60% rename from meta/recipes-devtools/python/python3-docutils_0.12.bb rename to meta/recipes-devtools/python/python3-docutils_0.13.1.bb index e78fa3b..e36388c 100644 --- a/meta/recipes-devtools/python/python3-docutils_0.12.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb @@ -2,13 +2,13 @@ SUMMARY = "Text processing system for documentation" HOMEPAGE = "http://docutils.sourceforge.net; SECTION = "devel/python" LICENSE = "PSF & BSD-2-Clause & GPLv3" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a722fbdc20347db7b69223594dd54574" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106" DEPENDS = "python3" SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz" -SRC_URI[md5sum] = "4622263b62c5c771c03502afa3157768" -SRC_URI[sha256sum] = "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa" +SRC_URI[md5sum] = "ea4a893c633c788be9b8078b6b305d53" +SRC_URI[sha256sum] = "718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be" S = "${WORKDIR}/docutils-${PV}" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-docutils: upgrade to 0.13.1
Changed document date field and several notes about folders Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} (60%) diff --git a/meta/recipes-devtools/python/python3-docutils_0.12.bb b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb similarity index 60% rename from meta/recipes-devtools/python/python3-docutils_0.12.bb rename to meta/recipes-devtools/python/python3-docutils_0.13.1.bb index e78fa3b..e36388c 100644 --- a/meta/recipes-devtools/python/python3-docutils_0.12.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb @@ -2,13 +2,13 @@ SUMMARY = "Text processing system for documentation" HOMEPAGE = "http://docutils.sourceforge.net; SECTION = "devel/python" LICENSE = "PSF & BSD-2-Clause & GPLv3" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a722fbdc20347db7b69223594dd54574" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106" DEPENDS = "python3" SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz" -SRC_URI[md5sum] = "4622263b62c5c771c03502afa3157768" -SRC_URI[sha256sum] = "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa" +SRC_URI[md5sum] = "ea4a893c633c788be9b8078b6b305d53" +SRC_URI[sha256sum] = "718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be" S = "${WORKDIR}/docutils-${PV}" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-docutils: upgrade to 0.13.1
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-docutils_0.12.bb => python3-docutils_0.13.1.bb} (60%) diff --git a/meta/recipes-devtools/python/python3-docutils_0.12.bb b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb similarity index 60% rename from meta/recipes-devtools/python/python3-docutils_0.12.bb rename to meta/recipes-devtools/python/python3-docutils_0.13.1.bb index e78fa3b..e36388c 100644 --- a/meta/recipes-devtools/python/python3-docutils_0.12.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.13.1.bb @@ -2,13 +2,13 @@ SUMMARY = "Text processing system for documentation" HOMEPAGE = "http://docutils.sourceforge.net; SECTION = "devel/python" LICENSE = "PSF & BSD-2-Clause & GPLv3" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a722fbdc20347db7b69223594dd54574" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106" DEPENDS = "python3" SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz" -SRC_URI[md5sum] = "4622263b62c5c771c03502afa3157768" -SRC_URI[sha256sum] = "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb89596fa" +SRC_URI[md5sum] = "ea4a893c633c788be9b8078b6b305d53" +SRC_URI[sha256sum] = "718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be" S = "${WORKDIR}/docutils-${PV}" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-setuptools: upgrade to 31.1.1
It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb} | 0 .../{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb}| 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 858595c..40f47d4 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" -SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" +SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694" +SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_31.0.0.bb rename to meta/recipes-devtools/python/python-setuptools_32.1.1.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_31.0.0.bb rename to meta/recipes-devtools/python/python3-setuptools_32.1.1.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-setuptools: upgrade to 31.1.1
It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb} | 0 .../{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb}| 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_31.0.0.bb => python-setuptools_32.1.1.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_31.0.0.bb => python3-setuptools_32.1.1.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 858595c..40f47d4 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" -SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" +SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694" +SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_31.0.0.bb rename to meta/recipes-devtools/python/python-setuptools_32.1.1.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_31.0.0.bb rename to meta/recipes-devtools/python/python3-setuptools_32.1.1.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-setuptools: upgrade to 31.1.1
It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 4 +-- .../python/python-setuptools_32.1.1.bb | 38 ++ .../python/python3-setuptools_32.1.1.bb| 37 + 3 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/python/python-setuptools_32.1.1.bb create mode 100644 meta/recipes-devtools/python/python3-setuptools_32.1.1.bb diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 858595c..40f47d4 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" -SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" +SRC_URI[md5sum] = "8b67868c3430e978833ebd0d1b766694" +SRC_URI[sha256sum] = "8303fb24306385f09bf8b0e5a385c1548e42e8efc08558d64049bc0d55ea012d" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_32.1.1.bb b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb new file mode 100644 index 000..526474c --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools_32.1.1.bb @@ -0,0 +1,38 @@ +require python-setuptools.inc + +PROVIDES = "python-distribute" + +DEPENDS += "python" +DEPENDS_class-native += "python-native" + +inherit distutils + +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" + +RDEPENDS_${PN} = "\ + python-stringold \ + python-email \ + python-shell \ + python-distutils \ + python-compression \ + python-pkgutil \ + python-plistlib \ + python-numbers \ + python-html \ + python-netserver \ + python-ctypes \ + python-subprocess \ + python-unittest \ + python-compile \ +" + +RDEPENDS_${PN}_class-native = "\ + python-distutils \ + python-compression \ +" + +RREPLACES_${PN} = "python-distribute" +RPROVIDES_${PN} = "python-distribute" +RCONFLICTS_${PN} = "python-distribute" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb new file mode 100644 index 000..65af6f0 --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb @@ -0,0 +1,37 @@ +require python-setuptools.inc + +DEPENDS += "python3" +DEPENDS_class-native += "python3-native" + +inherit distutils3 + +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" + +# The installer puts the wrong path in the setuptools.pth file. Correct it. +do_install_append() { +rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth +mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install +echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth +} + +RDEPENDS_${PN} = "\ + python3-distutils \ + python3-compression \ +" +RDEPENDS_${PN}_class-target = "\ + python3-ctypes \ + python3-distutils \ + python3-email \ + python3-importlib \ + python3-numbers \ + python3-compression \ + python3-shell \ + python3-subprocess \ + python3-textutils \ + python3-pkgutil \ + python3-threading \ + python3-misc \ + python3-unittest \ + python3-xml \ +" +BBCLASSEXTEND = "native" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] swig: upgrade to 3.0.11
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/swig/{swig_3.0.10.bb => swig_3.0.11.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/swig/{swig_3.0.10.bb => swig_3.0.11.bb} (58%) diff --git a/meta/recipes-devtools/swig/swig_3.0.10.bb b/meta/recipes-devtools/swig/swig_3.0.11.bb similarity index 58% rename from meta/recipes-devtools/swig/swig_3.0.10.bb rename to meta/recipes-devtools/swig/swig_3.0.11.bb index 44c26c4..44c8e75 100644 --- a/meta/recipes-devtools/swig/swig_3.0.10.bb +++ b/meta/recipes-devtools/swig/swig_3.0.11.bb @@ -3,6 +3,6 @@ require ${BPN}.inc SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ file://0001-configure-use-pkg-config-for-pcre-detection.patch \ " -SRC_URI[md5sum] = "bb4ab8047159469add7d00910e203124" -SRC_URI[sha256sum] = "2939aae39dec06095462f1b95ce1c958ac80d07b926e48871046d17c0094f44c" +SRC_URI[md5sum] = "13732eb0f1ab2123d180db8425c1edea" +SRC_URI[sha256sum] = "d9031d531d7418829a54d0d51c4ed9007016b213657ec70be44031951810566e" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V3] dpkg: upgrade to 1.18.15
triplets file is no longer available. As of now using files data/tupletable and data/ostable Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- ...tinsts-expect-D-to-be-set-when-running-in.patch | 30 ...0006-add-musleabi-to-known-target-tripets.patch | 42 -- .../0006-add-musleabi-to-known-target-tuples.patch | 40 + ...let_entry.patch => add_armeb_tuple_entry.patch} | 27 +++--- meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | 12 +++ meta/recipes-devtools/dpkg/dpkg/noman.patch| 9 ++--- .../dpkg/{dpkg_1.18.7.bb => dpkg_1.18.15.bb} | 10 +++--- 7 files changed, 85 insertions(+), 85 deletions(-) delete mode 100644 meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch create mode 100644 meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tuples.patch rename meta/recipes-devtools/dpkg/dpkg/{add_armeb_triplet_entry.patch => add_armeb_tuple_entry.patch} (69%) rename meta/recipes-devtools/dpkg/{dpkg_1.18.7.bb => dpkg_1.18.15.bb} (63%) diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch index 80504ce..673e3f3 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch @@ -18,26 +18,31 @@ diff --git a/src/script.c b/src/script.c index 3c88be8..ce66a86 100644 --- a/src/script.c +++ b/src/script.c -@@ -97,43 +97,10 @@ setexecute(const char *path, struct stat *stab) +@@ -97,48 +97,10 @@ static const char * maintscript_pre_exec(struct command *cmd) { - const char *admindir = dpkg_db_get_dir(); -- const char *changedir = fc_script_chrootless ? instdir : "/"; -- size_t instdirl = strlen(instdir); +- const char *changedir; +- size_t instdirlen = strlen(instdir); - -- if (*instdir && !fc_script_chrootless) { -- if (strncmp(admindir, instdir, instdirl) != 0) +- if (instdirlen > 0 && fc_script_chrootless) +- changedir = instdir; +- else +- changedir = "/"; +- +- if (instdirlen > 0 && !fc_script_chrootless) { +- if (strncmp(admindir, instdir, instdirlen) != 0) - ohshit(_("admindir must be inside instdir for dpkg to work properly")); -- if (setenv("DPKG_ADMINDIR", admindir + instdirl, 1) < 0) +- if (setenv("DPKG_ADMINDIR", admindir + instdirlen, 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - if (setenv("DPKG_ROOT", "", 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - - if (chroot(instdir)) - ohshite(_("failed to chroot to '%.250s'"), instdir); -+ if (*instdir) { -+ setenv("D", instdir, 1); ++ if (*instdir) { ++ setenv("D", instdir, 1); } - /* Switch to a known good directory to give the maintainer script - * a saner environment, also needed after the chroot(). */ @@ -56,15 +61,12 @@ index 3c88be8..ce66a86 100644 -args.buf); - varbuf_destroy(); - } -- if (!instdirl || fc_script_chrootless) +- if (instdirlen == 0 || fc_script_chrootless) - return cmd->filename; - -- assert(strlen(cmd->filename) >= instdirl); -- return cmd->filename + instdirl; +- assert(strlen(cmd->filename) >= instdirlen); +- return cmd->filename + instdirlen; + return cmd->filename; } /** --- -2.1.4 - diff --git a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch deleted file mode 100644 index a6b0088..000 --- a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f8910022dc3ec622272f168cd0022dbdf6dff93a Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.k...@gmail.com> -Date: Wed, 30 Dec 2015 23:05:41 + -Subject: [PATCH] add musleabi to known target tripets - -helps compiling dpkg for musl/arm-softfloat - -Signed-off-by: Khem Raj <raj.k...@gmail.com> -Upstream-Status: Pending - - ostable | 1 + - triplettable | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/ostable b/ostable -index 3bb6819..d0ffdc7 100644 a/ostable -+++ b/ostable -@@ -15,6 +15,7 @@ - uclibceabi-linux linux-uclibceabilinux[^-]*-uclibceabi - uclibc-linux linux-ucl
[OE-core] [PATCH V3] python3-setuptools: upgrade to 31.0.0
It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_29.0.1.bb => python-setuptools_31.0.0.bb} | 0 .../{python3-setuptools_29.0.1.bb => python3-setuptools_31.0.0.bb}| 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_29.0.1.bb => python-setuptools_31.0.0.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_29.0.1.bb => python3-setuptools_31.0.0.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index e76484a..858595c 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" -SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" +SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" +SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_29.0.1.bb rename to meta/recipes-devtools/python/python-setuptools_31.0.0.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python3-setuptools_31.0.0.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_29.0.1.bb rename to meta/recipes-devtools/python/python3-setuptools_31.0.0.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] ruby: upgrade to 2.3.3
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/ruby/{ruby_2.3.1.bb => ruby_2.3.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/ruby/{ruby_2.3.1.bb => ruby_2.3.3.bb} (89%) diff --git a/meta/recipes-devtools/ruby/ruby_2.3.1.bb b/meta/recipes-devtools/ruby/ruby_2.3.3.bb similarity index 89% rename from meta/recipes-devtools/ruby/ruby_2.3.1.bb rename to meta/recipes-devtools/ruby/ruby_2.3.3.bb index 299383a..7ba9b46 100644 --- a/meta/recipes-devtools/ruby/ruby_2.3.1.bb +++ b/meta/recipes-devtools/ruby/ruby_2.3.3.bb @@ -1,7 +1,7 @@ require ruby.inc -SRC_URI[md5sum] = "0d896c2e7fd54f722b399f407e48a4c6" -SRC_URI[sha256sum] = "b87c738cb2032bf4920fef8e3864dc5cf8eae9d89d8d523ce0236945c5797dcd" +SRC_URI[md5sum] = "e485f3a55649eb24a1e2e1a40bc120df" +SRC_URI[sha256sum] = "241408c8c555b258846368830a06146e4849a1d58dcaf6b14a3b6a73058115b7" # it's unknown to configure script, but then passed to extconf.rb # maybe it's not really needed as we're hardcoding the result with -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] dpkg: upgrade to 1.18.15
triplets file is no longer available. As of now using files data/tupletable and data/ostable Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- ...tinsts-expect-D-to-be-set-when-running-in.patch | 30 ...0006-add-musleabi-to-known-target-tripets.patch | 42 -- .../0006-add-musleabi-to-known-target-tuples.patch | 40 + ...let_entry.patch => add_armeb_tuple_entry.patch} | 27 +++--- meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | 12 +++ meta/recipes-devtools/dpkg/dpkg/noman.patch| 9 ++--- .../dpkg/{dpkg_1.18.7.bb => dpkg_1.18.15.bb} | 10 +++--- 7 files changed, 85 insertions(+), 85 deletions(-) delete mode 100644 meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch create mode 100644 meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tuples.patch rename meta/recipes-devtools/dpkg/dpkg/{add_armeb_triplet_entry.patch => add_armeb_tuple_entry.patch} (69%) rename meta/recipes-devtools/dpkg/{dpkg_1.18.7.bb => dpkg_1.18.15.bb} (63%) diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch index 80504ce..673e3f3 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch @@ -18,26 +18,31 @@ diff --git a/src/script.c b/src/script.c index 3c88be8..ce66a86 100644 --- a/src/script.c +++ b/src/script.c -@@ -97,43 +97,10 @@ setexecute(const char *path, struct stat *stab) +@@ -97,48 +97,10 @@ static const char * maintscript_pre_exec(struct command *cmd) { - const char *admindir = dpkg_db_get_dir(); -- const char *changedir = fc_script_chrootless ? instdir : "/"; -- size_t instdirl = strlen(instdir); +- const char *changedir; +- size_t instdirlen = strlen(instdir); - -- if (*instdir && !fc_script_chrootless) { -- if (strncmp(admindir, instdir, instdirl) != 0) +- if (instdirlen > 0 && fc_script_chrootless) +- changedir = instdir; +- else +- changedir = "/"; +- +- if (instdirlen > 0 && !fc_script_chrootless) { +- if (strncmp(admindir, instdir, instdirlen) != 0) - ohshit(_("admindir must be inside instdir for dpkg to work properly")); -- if (setenv("DPKG_ADMINDIR", admindir + instdirl, 1) < 0) +- if (setenv("DPKG_ADMINDIR", admindir + instdirlen, 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - if (setenv("DPKG_ROOT", "", 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - - if (chroot(instdir)) - ohshite(_("failed to chroot to '%.250s'"), instdir); -+ if (*instdir) { -+ setenv("D", instdir, 1); ++ if (*instdir) { ++ setenv("D", instdir, 1); } - /* Switch to a known good directory to give the maintainer script - * a saner environment, also needed after the chroot(). */ @@ -56,15 +61,12 @@ index 3c88be8..ce66a86 100644 -args.buf); - varbuf_destroy(); - } -- if (!instdirl || fc_script_chrootless) +- if (instdirlen == 0 || fc_script_chrootless) - return cmd->filename; - -- assert(strlen(cmd->filename) >= instdirl); -- return cmd->filename + instdirl; +- assert(strlen(cmd->filename) >= instdirlen); +- return cmd->filename + instdirlen; + return cmd->filename; } /** --- -2.1.4 - diff --git a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch b/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch deleted file mode 100644 index a6b0088..000 --- a/meta/recipes-devtools/dpkg/dpkg/0006-add-musleabi-to-known-target-tripets.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f8910022dc3ec622272f168cd0022dbdf6dff93a Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.k...@gmail.com> -Date: Wed, 30 Dec 2015 23:05:41 + -Subject: [PATCH] add musleabi to known target tripets - -helps compiling dpkg for musl/arm-softfloat - -Signed-off-by: Khem Raj <raj.k...@gmail.com> -Upstream-Status: Pending - - ostable | 1 + - triplettable | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/ostable b/ostable -index 3bb6819..d0ffdc7 100644 a/ostable -+++ b/ostable -@@ -15,6 +15,7 @@ - uclibceabi-linux linux-uclibceabilinux[^-]*-uclibceabi - uclibc-linux linux-ucl
[OE-core] [PATCH V2] pcmanfm: upgrading to 1.2.5
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-sato/pcmanfm/{pcmanfm_1.2.4.bb => pcmanfm_1.2.5.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-sato/pcmanfm/{pcmanfm_1.2.4.bb => pcmanfm_1.2.5.bb} (90%) diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb similarity index 90% rename from meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb rename to meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb index a6bf213..aab7911 100644 --- a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb +++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb @@ -19,8 +19,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ file://emblem-symbolic-link.png \ file://no-desktop.patch" -SRC_URI[md5sum] = "19764c2f59653724c8713e0064fa6829" -SRC_URI[sha256sum] = "38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313" +SRC_URI[md5sum] = "b4d1f8ce08d87e4f27805a246fc51ac2" +SRC_URI[sha256sum] = "0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67" UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/; -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] dpkg: upgrade to 1.18.15
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- ...tinsts-expect-D-to-be-set-when-running-in.patch | 30 +++--- .../dpkg/dpkg/add_armeb_triplet_entry.patch| 46 -- .../dpkg/dpkg/add_armeb_tuple_entry.patch | 46 ++ meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | 12 +++--- meta/recipes-devtools/dpkg/dpkg/noman.patch| 9 +++-- meta/recipes-devtools/dpkg/dpkg_1.18.15.bb | 17 meta/recipes-devtools/dpkg/dpkg_1.18.7.bb | 19 - 7 files changed, 90 insertions(+), 89 deletions(-) delete mode 100644 meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch create mode 100644 meta/recipes-devtools/dpkg/dpkg/add_armeb_tuple_entry.patch create mode 100644 meta/recipes-devtools/dpkg/dpkg_1.18.15.bb delete mode 100644 meta/recipes-devtools/dpkg/dpkg_1.18.7.bb diff --git a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch index 80504ce..673e3f3 100644 --- a/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch +++ b/meta/recipes-devtools/dpkg/dpkg/0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch @@ -18,26 +18,31 @@ diff --git a/src/script.c b/src/script.c index 3c88be8..ce66a86 100644 --- a/src/script.c +++ b/src/script.c -@@ -97,43 +97,10 @@ setexecute(const char *path, struct stat *stab) +@@ -97,48 +97,10 @@ static const char * maintscript_pre_exec(struct command *cmd) { - const char *admindir = dpkg_db_get_dir(); -- const char *changedir = fc_script_chrootless ? instdir : "/"; -- size_t instdirl = strlen(instdir); +- const char *changedir; +- size_t instdirlen = strlen(instdir); - -- if (*instdir && !fc_script_chrootless) { -- if (strncmp(admindir, instdir, instdirl) != 0) +- if (instdirlen > 0 && fc_script_chrootless) +- changedir = instdir; +- else +- changedir = "/"; +- +- if (instdirlen > 0 && !fc_script_chrootless) { +- if (strncmp(admindir, instdir, instdirlen) != 0) - ohshit(_("admindir must be inside instdir for dpkg to work properly")); -- if (setenv("DPKG_ADMINDIR", admindir + instdirl, 1) < 0) +- if (setenv("DPKG_ADMINDIR", admindir + instdirlen, 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - if (setenv("DPKG_ROOT", "", 1) < 0) - ohshite(_("unable to setenv for subprocesses")); - - if (chroot(instdir)) - ohshite(_("failed to chroot to '%.250s'"), instdir); -+ if (*instdir) { -+ setenv("D", instdir, 1); ++ if (*instdir) { ++ setenv("D", instdir, 1); } - /* Switch to a known good directory to give the maintainer script - * a saner environment, also needed after the chroot(). */ @@ -56,15 +61,12 @@ index 3c88be8..ce66a86 100644 -args.buf); - varbuf_destroy(); - } -- if (!instdirl || fc_script_chrootless) +- if (instdirlen == 0 || fc_script_chrootless) - return cmd->filename; - -- assert(strlen(cmd->filename) >= instdirl); -- return cmd->filename + instdirl; +- assert(strlen(cmd->filename) >= instdirlen); +- return cmd->filename + instdirlen; + return cmd->filename; } /** --- -2.1.4 - diff --git a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch b/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch deleted file mode 100644 index dc69eb2..000 --- a/meta/recipes-devtools/dpkg/dpkg/add_armeb_triplet_entry.patch +++ /dev/null @@ -1,46 +0,0 @@ -Author: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjana...@caviumnetworks.com> -Date: Wed Apr 8 18:08:14 2015 +0530 - -[PATCH] add armeb triplet entry into triplettable. - -Cross-compling dpkg application for armeb fails with below error -during configure task, - -(snip) - configure:23141: checking dpkg cpu type - configure:23148: result: armeb - configure:23150: WARNING: armeb not found in cputable - configure:23162: checking dpkg operating system type - configure:23169: result: linux-gnueabi - configure:23171: WARNING: linux-gnueabi not found in ostable - configure:23183: checking dpkg architecture name - configure:23189: error: cannot determine host dpkg architecture --- CUT -- - -the required combination of "gnueabi-linux-armeb" was not found in -the triplettable file thereby returning dpkg_arch as -empty in co
[OE-core] [PATCH] pcmanfm: upgrading to 1.2.5
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb | 43 -- meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb | 43 ++ 2 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb create mode 100644 meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb deleted file mode 100644 index a6bf213..000 --- a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.4.bb +++ /dev/null @@ -1,43 +0,0 @@ -SUMMARY = "Fast lightweight tabbed filemanager" -HOMEPAGE = "http://pcmanfm.sourceforge.net/; - -LICENSE = "GPLv2 & GPLv2+ & LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ - file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \ - file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2" - -SECTION = "x11" -DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native" - - -COMPATIBLE_HOST = '(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)' - -SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ - file://gnome-fs-directory.png \ - file://gnome-fs-regular.png \ - file://gnome-mime-text-plain.png \ - file://emblem-symbolic-link.png \ - file://no-desktop.patch" - -SRC_URI[md5sum] = "19764c2f59653724c8713e0064fa6829" -SRC_URI[sha256sum] = "38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313" - -UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/; - -inherit autotools pkgconfig distro_features_check - -# The startup-notification requires x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11" - -EXTRA_OECONF = "--with-gtk=3" - -do_install_append () { - install -d ${D}/${datadir} - install -d ${D}/${datadir}/pixmaps/ - - install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps -} - -FILES_${PN} += "${libdir}/pcmanfm" - -RRECOMMENDS_${PN} += "adwaita-icon-theme" diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb new file mode 100644 index 000..aab7911 --- /dev/null +++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.2.5.bb @@ -0,0 +1,43 @@ +SUMMARY = "Fast lightweight tabbed filemanager" +HOMEPAGE = "http://pcmanfm.sourceforge.net/; + +LICENSE = "GPLv2 & GPLv2+ & LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \ + file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2" + +SECTION = "x11" +DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native" + + +COMPATIBLE_HOST = '(x86_64.*|i.86.*|aarch64.*|arm.*|mips.*|powerpc.*|sh.*)-(linux|freebsd.*)' + +SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \ + file://gnome-fs-directory.png \ + file://gnome-fs-regular.png \ + file://gnome-mime-text-plain.png \ + file://emblem-symbolic-link.png \ + file://no-desktop.patch" + +SRC_URI[md5sum] = "b4d1f8ce08d87e4f27805a246fc51ac2" +SRC_URI[sha256sum] = "0c86cac028b705ff314c7464d814c2cf7ff604c17491c20aa204b1ef1a80ad67" + +UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/; + +inherit autotools pkgconfig distro_features_check + +# The startup-notification requires x11 in DISTRO_FEATURES +REQUIRED_DISTRO_FEATURES = "x11" + +EXTRA_OECONF = "--with-gtk=3" + +do_install_append () { + install -d ${D}/${datadir} + install -d ${D}/${datadir}/pixmaps/ + + install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps +} + +FILES_${PN} += "${libdir}/pcmanfm" + +RRECOMMENDS_${PN} += "adwaita-icon-theme" -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-setuptools: upgrade to 31.0.0
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 4 +-- .../python/python-setuptools_29.0.1.bb | 38 -- .../python/python-setuptools_31.0.0.bb | 38 ++ .../python/python3-setuptools_29.0.1.bb| 37 - .../python/python3-setuptools_31.0.0.bb| 37 + 5 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-setuptools_29.0.1.bb create mode 100644 meta/recipes-devtools/python/python-setuptools_31.0.0.bb delete mode 100644 meta/recipes-devtools/python/python3-setuptools_29.0.1.bb create mode 100644 meta/recipes-devtools/python/python3-setuptools_31.0.0.bb diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index e76484a..858595c 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" -SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" +SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" +SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb deleted file mode 100644 index 526474c..000 --- a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb +++ /dev/null @@ -1,38 +0,0 @@ -require python-setuptools.inc - -PROVIDES = "python-distribute" - -DEPENDS += "python" -DEPENDS_class-native += "python-native" - -inherit distutils - -DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" - -RDEPENDS_${PN} = "\ - python-stringold \ - python-email \ - python-shell \ - python-distutils \ - python-compression \ - python-pkgutil \ - python-plistlib \ - python-numbers \ - python-html \ - python-netserver \ - python-ctypes \ - python-subprocess \ - python-unittest \ - python-compile \ -" - -RDEPENDS_${PN}_class-native = "\ - python-distutils \ - python-compression \ -" - -RREPLACES_${PN} = "python-distribute" -RPROVIDES_${PN} = "python-distribute" -RCONFLICTS_${PN} = "python-distribute" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb new file mode 100644 index 000..526474c --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb @@ -0,0 +1,38 @@ +require python-setuptools.inc + +PROVIDES = "python-distribute" + +DEPENDS += "python" +DEPENDS_class-native += "python-native" + +inherit distutils + +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" + +RDEPENDS_${PN} = "\ + python-stringold \ + python-email \ + python-shell \ + python-distutils \ + python-compression \ + python-pkgutil \ + python-plistlib \ + python-numbers \ + python-html \ + python-netserver \ + python-ctypes \ + python-subprocess \ + python-unittest \ + python-compile \ +" + +RDEPENDS_${PN}_class-native = "\ + python-distutils \ + python-compression \ +" + +RREPLACES_${PN} = "python-distribute" +RPROVIDES_${PN} = "python-distribute" +RCONFLICTS_${PN} = "python-distribute" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb deleted file mode 100644 index 65af6f0..000 --- a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb +++ /dev/null @@ -1,37 +0,0 @@ -require python-setuptools.inc - -DEPENDS += "python3" -DEPENDS_class-native += "python3-native" - -inherit distutils3 - -DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" - -# The installer puts the wrong path in the setuptools.pth file. Correct it. -do_install_append() { -rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth -mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install -echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth -} - -RDEPENDS_${PN} = "\ - python3-distutils \ - python3-compression \ -" -RDE
[OE-core] [PATCH 1/2] python3-setuptools: upgrade to 31.0.0
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 4 +-- .../python/python-setuptools_29.0.1.bb | 38 -- .../python/python-setuptools_31.0.0.bb | 38 ++ .../python/python3-setuptools_29.0.1.bb| 37 - .../python/python3-setuptools_31.0.0.bb| 37 + 5 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 meta/recipes-devtools/python/python-setuptools_29.0.1.bb create mode 100644 meta/recipes-devtools/python/python-setuptools_31.0.0.bb delete mode 100644 meta/recipes-devtools/python/python3-setuptools_29.0.1.bb create mode 100644 meta/recipes-devtools/python/python3-setuptools_31.0.0.bb diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index e76484a..858595c 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" -SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" +SRC_URI[md5sum] = "66da89eeb1f33c2b947f316cfb3d7c7e" +SRC_URI[sha256sum] = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb deleted file mode 100644 index 526474c..000 --- a/meta/recipes-devtools/python/python-setuptools_29.0.1.bb +++ /dev/null @@ -1,38 +0,0 @@ -require python-setuptools.inc - -PROVIDES = "python-distribute" - -DEPENDS += "python" -DEPENDS_class-native += "python-native" - -inherit distutils - -DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" - -RDEPENDS_${PN} = "\ - python-stringold \ - python-email \ - python-shell \ - python-distutils \ - python-compression \ - python-pkgutil \ - python-plistlib \ - python-numbers \ - python-html \ - python-netserver \ - python-ctypes \ - python-subprocess \ - python-unittest \ - python-compile \ -" - -RDEPENDS_${PN}_class-native = "\ - python-distutils \ - python-compression \ -" - -RREPLACES_${PN} = "python-distribute" -RPROVIDES_${PN} = "python-distribute" -RCONFLICTS_${PN} = "python-distribute" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python-setuptools_31.0.0.bb b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb new file mode 100644 index 000..526474c --- /dev/null +++ b/meta/recipes-devtools/python/python-setuptools_31.0.0.bb @@ -0,0 +1,38 @@ +require python-setuptools.inc + +PROVIDES = "python-distribute" + +DEPENDS += "python" +DEPENDS_class-native += "python-native" + +inherit distutils + +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" + +RDEPENDS_${PN} = "\ + python-stringold \ + python-email \ + python-shell \ + python-distutils \ + python-compression \ + python-pkgutil \ + python-plistlib \ + python-numbers \ + python-html \ + python-netserver \ + python-ctypes \ + python-subprocess \ + python-unittest \ + python-compile \ +" + +RDEPENDS_${PN}_class-native = "\ + python-distutils \ + python-compression \ +" + +RREPLACES_${PN} = "python-distribute" +RPROVIDES_${PN} = "python-distribute" +RCONFLICTS_${PN} = "python-distribute" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb deleted file mode 100644 index 65af6f0..000 --- a/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb +++ /dev/null @@ -1,37 +0,0 @@ -require python-setuptools.inc - -DEPENDS += "python3" -DEPENDS_class-native += "python3-native" - -inherit distutils3 - -DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}" - -# The installer puts the wrong path in the setuptools.pth file. Correct it. -do_install_append() { -rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth -mv ${D}${bindir}/easy_install ${D}${bindir}/easy3_install -echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth -} - -RDEPENDS_${PN} = "\ - python3-distutils \ - python3-compression \ -" -RDE
[OE-core] [PATCH v3] texinfo: upgrade from 6.0 to 6.3
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../texinfo/texinfo/dont-depend-on-help2man.patch | 19 --- .../texinfo/texinfo/texinfo-4.12-zlib.patch| 65 +++--- .../texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} | 4 +- 3 files changed, 56 insertions(+), 32 deletions(-) rename meta/recipes-extended/texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} (95%) diff --git a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch index 0ce47ec..f418439 100644 --- a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch +++ b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch @@ -1,31 +1,32 @@ -From 6f1f3912fcb900b3a3e6cbe3360306fade333497 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukko...@intel.com> -Date: Thu, 6 Aug 2015 14:55:08 +0300 +From e89b1c57d76f5cf5acbb0d0187374f7a77bce1e2 Mon Sep 17 00:00:00 2001 +From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> +Date: Tue, 29 Nov 2016 13:43:24 -0600 Subject: [PATCH] dont-depend-on-help2man Upstream-Status: Inappropriate Signed-off-by: Marko Lindqvist <cazf...@gmail.com> +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- doc/Makefile.am | 2 +- man/Makefile.am | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am -index 7198a6b..4bba550 100644 +index 39db834..1bb2a4f --- a/doc/Makefile.am +++ b/doc/Makefile.am -@@ -40,7 +40,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ +@@ -38,7 +38,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ # Include our texinfo.tex, not Automake's. EXTRA_DIST = epsf.tex texinfo.tex \ fdl.texi \ - $(man_MANS) $(TXI_XLATE) \ + $(TXI_XLATE) \ -$(refcard_files) + $(refcard_files) texinfo-tex-test.texi \ + texinfo-ja.tex short-sample-ja.texi - if INSTALL_WARNINGS diff --git a/man/Makefile.am b/man/Makefile.am -index a08d603..bdfc9a4 100644 +index 6bfcb3d..a820c96 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -13,24 +13,24 @@ @@ -60,5 +61,5 @@ index a08d603..bdfc9a4 100644 # Maintainers should be able to regenerate. MAINTAINERCLEANFILES = $(man_MANS) -- -2.1.4 +2.9.3 diff --git a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch index 41bd220..f25352c 100644 --- a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch +++ b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch @@ -1,19 +1,22 @@ -From 20e1d8a9481dc13dd1d4d168b90e0ed2ff097b98 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukko...@intel.com> -Date: Thu, 6 Aug 2015 14:29:57 +0300 +From fe4f00459601efe0cfa75d92749a32237800a530 Mon Sep 17 00:00:00 2001 +From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> +Date: Tue, 29 Nov 2016 12:27:17 -0600 Subject: [PATCH] texinfo-4.12-zlib Upstream-Status: Pending + +Signed-off-by: Jussi Kukkonen <jussi.kukko...@intel.com> +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- - install-info/Makefile.in| 2 +- - install-info/install-info.c | 67 +++-- - 2 files changed, 42 insertions(+), 27 deletions(-) + install-info/Makefile.in| 12 ++- + install-info/install-info.c | 79 +++-- + 2 files changed, 49 insertions(+), 42 deletions(-) diff --git a/install-info/Makefile.in b/install-info/Makefile.in -index ad73abb..eaa2153 100644 +index 837d020..ba96579 100644 --- a/install-info/Makefile.in +++ b/install-info/Makefile.in -@@ -241,7 +241,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" +@@ -216,7 +208,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_ginstall_info_OBJECTS = install-info.$(OBJEXT) ginstall_info_OBJECTS = $(am_ginstall_info_OBJECTS) @@ -23,7 +26,7 @@ index ad73abb..eaa2153 100644 ginstall_info_DEPENDENCIES = $(top_builddir)/gnulib/lib/libgnu.a \ $(am__DEPENDENCIES_1) diff --git a/install-info/install-info.c b/install-info/install-info.c -index b454c15..4e39122 100644 +index e58189c..8617787 100644 --- a/install-info/install-info.c +++ b/install-info/install-info.c @@ -22,6 +22,7 @@ @@ -43,7 +46,7 @@ index b454c15..4e39122 100644 open_possibly_compressed_file (char *filename, void (*create_callback) (char *), -char **opened_filename, char **compression_program) -+char **opened_filename, char **compression_program, int *is_pipe) ++char **opened_filename, char **compression_program, int *is_pipe) { char *local_opened_filename, *local_compression_program;
[OE-core] [PATCH] AUH: status email indicates the URL of the log folder
Upgrade status email should indicate the URL of the log folder instead of the tar URL [YOCTO #10670] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- upgradehelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index 239fd88..3954e1f 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -616,7 +616,7 @@ class Updater(object): publish_work_url = '' statistics_summary = self.statistics.get_summary( -publish_work_url, os.path.basename(work_tarball)) +publish_work_url, self.uh_work_dir) statistics_file = os.path.join(self.uh_work_dir, "statistics_summary") -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v3] python3-setuptools: upgrade to 29.0.1
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python-setuptools_28.8.0.bb => python-setuptools_29.0.1.bb} | 0 .../{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb}| 0 3 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_28.8.0.bb => python-setuptools_29.0.1.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index d3eef13..e76484a 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42" -SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61" +SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" +SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python-setuptools_29.0.1.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_28.8.0.bb rename to meta/recipes-devtools/python/python-setuptools_29.0.1.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_28.8.0.bb rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] python3-setuptools: upgrade to 29.0.1
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- .../{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb}| 0 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools_28.8.0.bb => python3-setuptools_29.0.1.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index d3eef13..e76484a 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -9,8 +9,8 @@ SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42" -SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61" +SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" +SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_28.8.0.bb rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-setuptools: upgrade to 29.0.1
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 6 +- ...tools_22.0.5.bb => python-setuptools_28.8.0.bb} | 0 ...ools_22.0.5.bb => python3-setuptools_29.0.1.bb} | 0 tatus | 109 + 4 files changed, 112 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_22.0.5.bb => python-setuptools_28.8.0.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_22.0.5.bb => python3-setuptools_29.0.1.bb} (100%) create mode 100644 tatus diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 92ca9a0..e76484a 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -3,14 +3,14 @@ HOMEPAGE = "https://pypi.python.org/pypi/setuptools; SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475" +LIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475" SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a" -SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb" +SRC_URI[md5sum] = "28ecfd0f2574b489b9a18343879a7324" +SRC_URI[sha256sum] = "b539118819a4857378398891fa5366e090690e46b3e41421a1e07d6e9fd8feb0" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python-setuptools_28.8.0.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_22.0.5.bb rename to meta/recipes-devtools/python/python-setuptools_28.8.0.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_29.0.1.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_22.0.5.bb rename to meta/recipes-devtools/python/python3-setuptools_29.0.1.bb diff --git a/tatus b/tatus new file mode 100644 index 000..18b9527 --- /dev/null +++ b/tatus @@ -0,0 +1,109 @@ +[1mdiff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc[m +[1mindex 92ca9a0..d3eef13 100644[m +[1m--- a/meta/recipes-devtools/python/python-setuptools.inc[m +[1m+++ b/meta/recipes-devtools/python/python-setuptools.inc[m +[36m@@ -3,14 +3,14 @@[m [mHOMEPAGE = "https://pypi.python.org/pypi/setuptools;[m + SECTION = "devel/python"[m + LICENSE = "MIT"[m + [m +[31m-LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475"[m +[32m+[m[32mLIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475"[m + [m + SRCNAME = "setuptools"[m + [m + SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz;[m + [m +[31m-SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a"[m +[31m-SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb"[m +[32m+[m[32mSRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42"[m +[32m+[m[32mSRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61"[m + [m + UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools;[m + [m +[1mdiff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python-setuptools_22.0.5.bb[m +[1mdeleted file mode 100644[m +[1mindex 526474c..000[m +[1m--- a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb[m +[1m+++ /dev/null[m +[36m@@ -1,38 +0,0 @@[m +[31m-require python-setuptools.inc[m +[31m-[m +[31m-PROVIDES = "python-distribute"[m +[31m-[m +[31m-DEPENDS += "python"[m +[31m-DEPENDS_class-native += "python-native"[m +[31m-[m +[31m-inherit distutils[m +[31m-[m +[31m-DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${PYTHON_SITEPACKAGES_DIR}"[m +[31m-[m +[31m-RDEPENDS_${PN} = "\[m +[31m- python-stringold \[m +[31m- python-email \[m +[31m- python-shell \[m +[31m- python-distutils \[m +[31m- python-compression \[m +[31m- python-pkgutil \[m +[31m- python-plistlib \[m +[31m- python-numbers \[m +[31m- python-html \[m +[31m- python-netserver \[m
[OE-core] [PATCH V2] texinfo upgrade to 6.3
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../texinfo/texinfo/disable-native-tools.patch | 43 -- .../texinfo/texinfo/dont-depend-on-help2man.patch | 19 --- .../texinfo/texinfo/texinfo-4.12-zlib.patch| 65 +++--- .../texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} | 5 +- 4 files changed, 56 insertions(+), 76 deletions(-) delete mode 100644 meta/recipes-extended/texinfo/texinfo/disable-native-tools.patch rename meta/recipes-extended/texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} (93%) diff --git a/meta/recipes-extended/texinfo/texinfo/disable-native-tools.patch b/meta/recipes-extended/texinfo/texinfo/disable-native-tools.patch deleted file mode 100644 index ab6f165..000 --- a/meta/recipes-extended/texinfo/texinfo/disable-native-tools.patch +++ /dev/null @@ -1,43 +0,0 @@ -We already DEPEND on the native texinfo being present before building so -there isn't any need to try and build the required native texinfo binaries -before cross-compiling. This simplifies the recipe somewhat! - -Upstream-Status: Inappropriate oe specific - -Signed-off-by: Joshua Lock <j...@linux.intel.com> - -Index: texinfo-4.13/configure.ac -=== texinfo-4.13.orig/configure.ac -+++ texinfo-4.13/configure.ac -@@ -100,29 +100,7 @@ AC_CANONICAL_BUILD - # $native_tools is also added to SUBDIRS in the main Makefile.am, - # so that make compiles the native tools first. - # --if test "$cross_compiling" = no; then -- native_tools= --else -- native_tools=tools -- test -d "$native_tools" || mkdir "$native_tools" -- confdir=`(cd "$srcdir";pwd)` -- # Make sure the secondary configure won't fail with -- # "error: source directory already configured". -- rm -f config.status -- AC_MSG_NOTICE([[Doing configure of native tools (${build}).]]) -- cd "$native_tools" || exit 1 -- # Run secondary configure in alternate environment or -- # it gets the wrong CC etc. -- # env -i gives this build host configure a clean environment; -- # consequently, we have to re-initialize $PATH. -- env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \ -- PATH="$PATH" \ -- tools_only=1 \ --${confdir}/configure --build=${build} --host=${build} \ -- --disable-rpath --disable-nls -- cd .. || exit 1 -- AC_MSG_NOTICE([[Continuing with main configure (${host}).]]) --fi -+native_tools= - AC_SUBST(native_tools) - AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]]) - diff --git a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch index 0ce47ec..f418439 100644 --- a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch +++ b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch @@ -1,31 +1,32 @@ -From 6f1f3912fcb900b3a3e6cbe3360306fade333497 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukko...@intel.com> -Date: Thu, 6 Aug 2015 14:55:08 +0300 +From e89b1c57d76f5cf5acbb0d0187374f7a77bce1e2 Mon Sep 17 00:00:00 2001 +From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> +Date: Tue, 29 Nov 2016 13:43:24 -0600 Subject: [PATCH] dont-depend-on-help2man Upstream-Status: Inappropriate Signed-off-by: Marko Lindqvist <cazf...@gmail.com> +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- doc/Makefile.am | 2 +- man/Makefile.am | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am -index 7198a6b..4bba550 100644 +index 39db834..1bb2a4f --- a/doc/Makefile.am +++ b/doc/Makefile.am -@@ -40,7 +40,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ +@@ -38,7 +38,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ # Include our texinfo.tex, not Automake's. EXTRA_DIST = epsf.tex texinfo.tex \ fdl.texi \ - $(man_MANS) $(TXI_XLATE) \ + $(TXI_XLATE) \ -$(refcard_files) + $(refcard_files) texinfo-tex-test.texi \ + texinfo-ja.tex short-sample-ja.texi - if INSTALL_WARNINGS diff --git a/man/Makefile.am b/man/Makefile.am -index a08d603..bdfc9a4 100644 +index 6bfcb3d..a820c96 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -13,24 +13,24 @@ @@ -60,5 +61,5 @@ index a08d603..bdfc9a4 100644 # Maintainers should be able to regenerate. MAINTAINERCLEANFILES = $(man_MANS) -- -2.1.4 +2.9.3 diff --git a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch index 41bd220..f25352c 100644 --- a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch +++ b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zl
[OE-core] [PATCH] texinfo upgrade to 6.3
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../texinfo/texinfo/dont-depend-on-help2man.patch | 19 --- .../texinfo/texinfo/texinfo-4.12-zlib.patch| 65 +++--- .../texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} | 5 +- 3 files changed, 56 insertions(+), 33 deletions(-) rename meta/recipes-extended/texinfo/{texinfo_6.0.bb => texinfo_6.3.bb} (93%) diff --git a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch index 0ce47ec..f418439 100644 --- a/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch +++ b/meta/recipes-extended/texinfo/texinfo/dont-depend-on-help2man.patch @@ -1,31 +1,32 @@ -From 6f1f3912fcb900b3a3e6cbe3360306fade333497 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukko...@intel.com> -Date: Thu, 6 Aug 2015 14:55:08 +0300 +From e89b1c57d76f5cf5acbb0d0187374f7a77bce1e2 Mon Sep 17 00:00:00 2001 +From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> +Date: Tue, 29 Nov 2016 13:43:24 -0600 Subject: [PATCH] dont-depend-on-help2man Upstream-Status: Inappropriate Signed-off-by: Marko Lindqvist <cazf...@gmail.com> +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- doc/Makefile.am | 2 +- man/Makefile.am | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am -index 7198a6b..4bba550 100644 +index 39db834..1bb2a4f --- a/doc/Makefile.am +++ b/doc/Makefile.am -@@ -40,7 +40,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ +@@ -38,7 +38,7 @@ refcard_files = refcard/Makefile refcard/txicmdcheck \ # Include our texinfo.tex, not Automake's. EXTRA_DIST = epsf.tex texinfo.tex \ fdl.texi \ - $(man_MANS) $(TXI_XLATE) \ + $(TXI_XLATE) \ -$(refcard_files) + $(refcard_files) texinfo-tex-test.texi \ + texinfo-ja.tex short-sample-ja.texi - if INSTALL_WARNINGS diff --git a/man/Makefile.am b/man/Makefile.am -index a08d603..bdfc9a4 100644 +index 6bfcb3d..a820c96 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -13,24 +13,24 @@ @@ -60,5 +61,5 @@ index a08d603..bdfc9a4 100644 # Maintainers should be able to regenerate. MAINTAINERCLEANFILES = $(man_MANS) -- -2.1.4 +2.9.3 diff --git a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch index 41bd220..f25352c 100644 --- a/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch +++ b/meta/recipes-extended/texinfo/texinfo/texinfo-4.12-zlib.patch @@ -1,19 +1,22 @@ -From 20e1d8a9481dc13dd1d4d168b90e0ed2ff097b98 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukko...@intel.com> -Date: Thu, 6 Aug 2015 14:29:57 +0300 +From fe4f00459601efe0cfa75d92749a32237800a530 Mon Sep 17 00:00:00 2001 +From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> +Date: Tue, 29 Nov 2016 12:27:17 -0600 Subject: [PATCH] texinfo-4.12-zlib Upstream-Status: Pending + +Signed-off-by: Jussi Kukkonen <jussi.kukko...@intel.com> +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- - install-info/Makefile.in| 2 +- - install-info/install-info.c | 67 +++-- - 2 files changed, 42 insertions(+), 27 deletions(-) + install-info/Makefile.in| 12 ++- + install-info/install-info.c | 79 +++-- + 2 files changed, 49 insertions(+), 42 deletions(-) diff --git a/install-info/Makefile.in b/install-info/Makefile.in -index ad73abb..eaa2153 100644 +index 837d020..ba96579 100644 --- a/install-info/Makefile.in +++ b/install-info/Makefile.in -@@ -241,7 +241,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" +@@ -216,7 +208,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_ginstall_info_OBJECTS = install-info.$(OBJEXT) ginstall_info_OBJECTS = $(am_ginstall_info_OBJECTS) @@ -23,7 +26,7 @@ index ad73abb..eaa2153 100644 ginstall_info_DEPENDENCIES = $(top_builddir)/gnulib/lib/libgnu.a \ $(am__DEPENDENCIES_1) diff --git a/install-info/install-info.c b/install-info/install-info.c -index b454c15..4e39122 100644 +index e58189c..8617787 100644 --- a/install-info/install-info.c +++ b/install-info/install-info.c @@ -22,6 +22,7 @@ @@ -43,7 +46,7 @@ index b454c15..4e39122 100644 open_possibly_compressed_file (char *filename, void (*create_callback) (char *), -char **opened_filename, char **compression_program) -+char **opened_filename, char **compression_program, int *is_pipe) ++char **opened_filename, char **compression_program, int *is_pipe) { char *local_opened_filename, *local_compression_program; int nread; @@ -119,7 +122,7 @@ index b454c15..4e39122 100644
[OE-core] [PATCH] ruby: upgrade to 2.3.1
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/ruby/ruby.inc | 2 +- meta/recipes-devtools/ruby/{ruby_2.2.5.bb => ruby_2.3.1.bb} | 6 -- 2 files changed, 5 insertions(+), 3 deletions(-) rename meta/recipes-devtools/ruby/{ruby_2.2.5.bb => ruby_2.3.1.bb} (86%) diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index fde67e9..f38ebb0 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\ file://COPYING;md5=837b32593517ae48b9c3b5c87a5d288c \ file://BSDL;md5=19aaf65c88a40b508d17ae4be539c4b5\ file://GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263\ -file://LEGAL;md5=c440adb575ba4e6e2344c2630b6a5584\ +file://LEGAL;md5=78e8a29b8cc93e042990dbbb5572b1e1\ " DEPENDS = "ruby-native zlib openssl tcl libyaml db gdbm readline" diff --git a/meta/recipes-devtools/ruby/ruby_2.2.5.bb b/meta/recipes-devtools/ruby/ruby_2.3.1.bb similarity index 86% rename from meta/recipes-devtools/ruby/ruby_2.2.5.bb rename to meta/recipes-devtools/ruby/ruby_2.3.1.bb index 5a64582..299383a 100644 --- a/meta/recipes-devtools/ruby/ruby_2.2.5.bb +++ b/meta/recipes-devtools/ruby/ruby_2.3.1.bb @@ -1,7 +1,7 @@ require ruby.inc -SRC_URI[md5sum] = "bd8e349d4fb2c75d90817649674f94be" -SRC_URI[sha256sum] = "30c4b31697a4ca4ea0c8db8ad30cf45e6690a0f09687e5d483c933c03ca335e3" +SRC_URI[md5sum] = "0d896c2e7fd54f722b399f407e48a4c6" +SRC_URI[sha256sum] = "b87c738cb2032bf4920fef8e3864dc5cf8eae9d89d8d523ce0236945c5797dcd" # it's unknown to configure script, but then passed to extconf.rb # maybe it's not really needed as we're hardcoding the result with @@ -15,6 +15,8 @@ PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind" PACKAGECONFIG[gpm] = "--with-gmp=yes, --with-gmp=no, gmp" PACKAGECONFIG[ipv6] = ",--enable-wide-getaddrinfo," +EXTRA_AUTORECONF += "--exclude=aclocal" + EXTRA_OECONF = "\ --disable-versioned-paths \ --disable-rpath \ -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-setuptools: upgrade to 28.8.0
It is a simultaneous upgrade for python 2 and 3 over setuptools. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 6 +++--- .../{python-setuptools_22.0.5.bb => python-setuptools_28.8.0.bb}| 0 .../{python3-setuptools_22.0.5.bb => python3-setuptools_28.8.0.bb} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python-setuptools_22.0.5.bb => python-setuptools_28.8.0.bb} (100%) rename meta/recipes-devtools/python/{python3-setuptools_22.0.5.bb => python3-setuptools_28.8.0.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 92ca9a0..d3eef13 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -3,14 +3,14 @@ HOMEPAGE = "https://pypi.python.org/pypi/setuptools; SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475" +LIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475" SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a" -SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb" +SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42" +SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python-setuptools_28.8.0.bb similarity index 100% rename from meta/recipes-devtools/python/python-setuptools_22.0.5.bb rename to meta/recipes-devtools/python/python-setuptools_28.8.0.bb diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_22.0.5.bb rename to meta/recipes-devtools/python/python3-setuptools_28.8.0.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-numpy: upgrade to 1.11.2
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> It is a simultaneous upgrade for python 2 and 3 over numpy module. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../python-numpy/{python-numpy_1.11.1.bb => python-numpy_1.11.2.bb} | 4 ++-- .../python-numpy/{python3-numpy_1.11.0.bb => python3-numpy_1.11.2.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/python-numpy/{python-numpy_1.11.1.bb => python-numpy_1.11.2.bb} (95%) rename meta/recipes-devtools/python-numpy/{python3-numpy_1.11.0.bb => python3-numpy_1.11.2.bb} (95%) diff --git a/meta/recipes-devtools/python-numpy/python-numpy_1.11.1.bb b/meta/recipes-devtools/python-numpy/python-numpy_1.11.2.bb similarity index 95% rename from meta/recipes-devtools/python-numpy/python-numpy_1.11.1.bb rename to meta/recipes-devtools/python-numpy/python-numpy_1.11.2.bb index c5af720..dafd7e2 100644 --- a/meta/recipes-devtools/python-numpy/python-numpy_1.11.1.bb +++ b/meta/recipes-devtools/python-numpy/python-numpy_1.11.2.bb @@ -73,8 +73,8 @@ do_compile_prepend_class-target() { FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" -SRC_URI[md5sum] = "2f44a895a8104ffac140c3a70edbd450" -SRC_URI[sha256sum] = "dc4082c43979cc856a2bf352a8297ea109ccb3244d783ae067eb2ee5b0d577cd" +SRC_URI[md5sum] = "03bd7927c314c43780271bf1ab795ebc" +SRC_URI[sha256sum] = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69" # install what is needed for numpy.test() RDEPENDS_${PN} = "python-unittest \ diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb similarity index 95% rename from meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb rename to meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb index 3cca223..c34df6f 100644 --- a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb +++ b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb @@ -73,8 +73,8 @@ do_compile_prepend_class-target() { FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" -SRC_URI[md5sum] = "bc56fb9fc2895aa4961802ffbdb31d0b" -SRC_URI[sha256sum] = "a1d1268d200816bfb9727a7a27b78d8e37ecec2e4d5ebd33eb64e2789e0db43e" +SRC_URI[md5sum] = "03bd7927c314c43780271bf1ab795ebc" +SRC_URI[sha256sum] = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69" # install what is needed for numpy.test() RDEPENDS_${PN} = "python3-unittest \ -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-setuptools: upgrade to 28.8.0
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-setuptools.inc | 6 +++--- .../{python3-setuptools_22.0.5.bb => python3-setuptools_28.8.0.bb} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools_22.0.5.bb => python3-setuptools_28.8.0.bb} (100%) diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc index 92ca9a0..d3eef13 100644 --- a/meta/recipes-devtools/python/python-setuptools.inc +++ b/meta/recipes-devtools/python/python-setuptools.inc @@ -3,14 +3,14 @@ HOMEPAGE = "https://pypi.python.org/pypi/setuptools; SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=134;endline=134;md5=3e8df024d6c1442d18e84acf8fbbc475" +LIC_FILES_CHKSUM = "file://setup.py;beginline=146;endline=146;md5=3e8df024d6c1442d18e84acf8fbbc475" SRCNAME = "setuptools" SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "869f3029dcc66a64ba39875e2a2f044a" -SRC_URI[sha256sum] = "19aad19471052d5daefe96f2c1fa2e88dcdb17488bf8708d7e6356881ea833cb" +SRC_URI[md5sum] = "43d6eb25f60e8a2682a8f826ce9e3f42" +SRC_URI[sha256sum] = "432a1ad4044338c34c2d09b0ff75d509b9849df8cf329f4c1c7706d9c2ba3c61" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/setuptools; diff --git a/meta/recipes-devtools/python/python3-setuptools_22.0.5.bb b/meta/recipes-devtools/python/python3-setuptools_28.8.0.bb similarity index 100% rename from meta/recipes-devtools/python/python3-setuptools_22.0.5.bb rename to meta/recipes-devtools/python/python3-setuptools_28.8.0.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-mako: upgrade to 1.0.6
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/python/python-mako.inc | 4 ++-- .../python/{python3-mako_1.0.4.bb => python3-mako_1.0.6.bb} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-mako_1.0.4.bb => python3-mako_1.0.6.bb} (100%) diff --git a/meta/recipes-devtools/python/python-mako.inc b/meta/recipes-devtools/python/python-mako.inc index 85ec217..10364db 100644 --- a/meta/recipes-devtools/python/python-mako.inc +++ b/meta/recipes-devtools/python/python-mako.inc @@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863" SRC_URI = "https://files.pythonhosted.org/packages/source/M/Mako/Mako-${PV}.tar.gz; -SRC_URI[md5sum] = "c5fc31a323dd4990683d2f2da02d4e20" -SRC_URI[sha256sum] = "fed99dbe4d0ddb27a33ee4910d8708aca9ef1fe854e668387a9ab9a90cbf9059" +SRC_URI[md5sum] = "a28e22a339080316b2acc352b9ee631c" +SRC_URI[sha256sum] = "48559ebd872a8e77f92005884b3d88ffae552812cdf17db6768e5c3be5ebbe0d" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/; UPSTREAM_CHECK_REGEX = "/Mako/(?P(\d+[\.\-_]*)+)" diff --git a/meta/recipes-devtools/python/python3-mako_1.0.4.bb b/meta/recipes-devtools/python/python3-mako_1.0.6.bb similarity index 100% rename from meta/recipes-devtools/python/python3-mako_1.0.4.bb rename to meta/recipes-devtools/python/python3-mako_1.0.6.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-pip: upgrade to 9.0.1
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../python/{python3-pip_8.1.2.bb => python3-pip_9.0.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-pip_8.1.2.bb => python3-pip_9.0.1.bb} (90%) diff --git a/meta/recipes-devtools/python/python3-pip_8.1.2.bb b/meta/recipes-devtools/python/python3-pip_9.0.1.bb similarity index 90% rename from meta/recipes-devtools/python/python3-pip_8.1.2.bb rename to meta/recipes-devtools/python/python3-pip_9.0.1.bb index eefb4cb..6ac94bb 100644 --- a/meta/recipes-devtools/python/python3-pip_8.1.2.bb +++ b/meta/recipes-devtools/python/python3-pip_9.0.1.bb @@ -9,8 +9,8 @@ DEPENDS += "python3 python3-setuptools-native" SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz; -SRC_URI[md5sum] = "87083c0b9867963b29f7aba3613e8f4a" -SRC_URI[sha256sum] = "4d24b03ffa67638a3fa931c09fd9e0273ffa904e95ebebe7d4b1a54c93d7b732" +SRC_URI[md5sum] = "35f01da33009719497f01a4ba69d63c9" +SRC_URI[sha256sum] = "09f243e1a7b461f654c26a725fa373211bb7ff17a9300058b205c61658ca940d" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pip; -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] python3-git: upgrade to 2.1.0
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/python/python-git.inc | 4 ++-- .../python/{python3-git_2.0.7.bb => python3-git_2.1.0.bb} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-git_2.0.7.bb => python3-git_2.1.0.bb} (100%) diff --git a/meta/recipes-devtools/python/python-git.inc b/meta/recipes-devtools/python/python-git.inc index 13c097a..ad41561 100644 --- a/meta/recipes-devtools/python/python-git.inc +++ b/meta/recipes-devtools/python/python-git.inc @@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183" SRC_URI = "https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz; -SRC_URI[md5sum] = "aa0ba9df0abe4c8f35dd7bb9be85d56e" -SRC_URI[sha256sum] = "d8e7adaacceedd3d043e6cd2544f57dbe00c53fc26374880b7cea67f3188aa68" +SRC_URI[md5sum] = "29b1fcf504d080dc7a5e630957e829d7" +SRC_URI[sha256sum] = "3ebda1e6ff1ef68597e41dcd1b99c2a5ae902f4dc2b22ad3533cc89c32b42aad" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/; UPSTREAM_CHECK_REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)" diff --git a/meta/recipes-devtools/python/python3-git_2.0.7.bb b/meta/recipes-devtools/python/python3-git_2.1.0.bb similarity index 100% rename from meta/recipes-devtools/python/python3-git_2.0.7.bb rename to meta/recipes-devtools/python/python3-git_2.1.0.bb -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-git: upgrade to 2.1.0
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/recipes-devtools/python/python-git.inc | 6 +++--- .../python/{python3-git_2.0.7.bb => python3-git_2.1.0.bb} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-devtools/python/{python3-git_2.0.7.bb => python3-git_2.1.0.bb} (100%) diff --git a/meta/recipes-devtools/python/python-git.inc b/meta/recipes-devtools/python/python-git.inc index 13c097a..e0ee73b 100644 --- a/meta/recipes-devtools/python/python-git.inc +++ b/meta/recipes-devtools/python/python-git.inc @@ -8,10 +8,10 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=8b8d26c37c1d5a04f9b0186edbebc183" -SRC_URI = "https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-${PV}.tar.gz; +SRC_URI = "https://pypi.python.org/packages/d7/16/e914d345d7d4e988f9196b9719a99220bad6a5dbd636162f9b5cc35f3bd6/GitPython-${PV}.tar.gz; -SRC_URI[md5sum] = "aa0ba9df0abe4c8f35dd7bb9be85d56e" -SRC_URI[sha256sum] = "d8e7adaacceedd3d043e6cd2544f57dbe00c53fc26374880b7cea67f3188aa68" +SRC_URI[md5sum] = "29b1fcf504d080dc7a5e630957e829d7" +SRC_URI[sha256sum] = "3ebda1e6ff1ef68597e41dcd1b99c2a5ae902f4dc2b22ad3533cc89c32b42aad" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/GitPython/; UPSTREAM_CHECK_REGEX = "/GitPython/(?P(\d+[\.\-_]*)+)" diff --git a/meta/recipes-devtools/python/python3-git_2.0.7.bb b/meta/recipes-devtools/python/python3-git_2.1.0.bb similarity index 100% rename from meta/recipes-devtools/python/python3-git_2.0.7.bb rename to meta/recipes-devtools/python/python3-git_2.1.0.bb -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-pygobject: upgrade to 3.22.0
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../{python3-pygobject_3.20.1.bb => python3-pygobject_3.22.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python/{python3-pygobject_3.20.1.bb => python3-pygobject_3.22.0.bb} (82%) diff --git a/meta/recipes-devtools/python/python3-pygobject_3.20.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb similarity index 82% rename from meta/recipes-devtools/python/python3-pygobject_3.20.1.bb rename to meta/recipes-devtools/python/python3-pygobject_3.22.0.bb index cda16f1..e052f11 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.20.1.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb @@ -13,8 +13,8 @@ SRC_URI = " \ file://0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch \ " -SRC_URI[md5sum] = "4354c6283b135f859563b72457f6a321" -SRC_URI[sha256sum] = "3d261005d6fed6a92ac4c25f283792552f7dad865d1b7e0c03c2b84c04dbd745" +SRC_URI[md5sum] = "ed4117ed5d554d25fd7718807fbf819f" +SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7" S = "${WORKDIR}/${SRCNAME}-${PV}" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] swig: upgrade to 3.0.10
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-devtools/swig/{swig_3.0.8.bb => swig_3.0.10.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/swig/{swig_3.0.8.bb => swig_3.0.10.bb} (58%) diff --git a/meta/recipes-devtools/swig/swig_3.0.8.bb b/meta/recipes-devtools/swig/swig_3.0.10.bb similarity index 58% rename from meta/recipes-devtools/swig/swig_3.0.8.bb rename to meta/recipes-devtools/swig/swig_3.0.10.bb index c1b820e..44c26c4 100644 --- a/meta/recipes-devtools/swig/swig_3.0.8.bb +++ b/meta/recipes-devtools/swig/swig_3.0.10.bb @@ -3,6 +3,6 @@ require ${BPN}.inc SRC_URI += "file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch \ file://0001-configure-use-pkg-config-for-pcre-detection.patch \ " -SRC_URI[md5sum] = "c96a1d5ecb13d38604d7e92148c73c97" -SRC_URI[sha256sum] = "58a475dbbd4a4d7075e5fe86d4e54c9edde39847cdb96a3053d87cb64a23a453" +SRC_URI[md5sum] = "bb4ab8047159469add7d00910e203124" +SRC_URI[sha256sum] = "2939aae39dec06095462f1b95ce1c958ac80d07b926e48871046d17c0094f44c" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] python3-numpy: upgrade to 1.11.2
Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- .../python-numpy/{python3-numpy_1.11.0.bb => python3-numpy_1.11.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/python-numpy/{python3-numpy_1.11.0.bb => python3-numpy_1.11.2.bb} (95%) diff --git a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb similarity index 95% rename from meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb rename to meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb index 3cca223..c34df6f 100644 --- a/meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb +++ b/meta/recipes-devtools/python-numpy/python3-numpy_1.11.2.bb @@ -73,8 +73,8 @@ do_compile_prepend_class-target() { FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" -SRC_URI[md5sum] = "bc56fb9fc2895aa4961802ffbdb31d0b" -SRC_URI[sha256sum] = "a1d1268d200816bfb9727a7a27b78d8e37ecec2e4d5ebd33eb64e2789e0db43e" +SRC_URI[md5sum] = "03bd7927c314c43780271bf1ab795ebc" +SRC_URI[sha256sum] = "04db2fbd64e2e7c68e740b14402b25af51418fc43a59d9e54172b38b906b0f69" # install what is needed for numpy.test() RDEPENDS_${PN} = "python3-unittest \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V3] ptest-runner: recipe update related to minor fix.
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> A minor fix has been published regarding the need of a user of being noticed when some run-ptest script fails. Also Found modifications to ptest unit test stuff * removed unnecessary code from unit test run_timeout_ptest * added test case for run_ptest failure Finally.. New content within contributions section of README.md. [YOCTO #9752] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb index aaa7c59..9d45513 100644 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb @@ -7,8 +7,8 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4" -PV = "2.0+git${SRCPV}" +SRCREV = "e2aa4256745377b784c8691f546041b59f6e046b" +PV = "2.0.1+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2" S = "${WORKDIR}/git" -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] ptest-runner: recipe update related to minor fix.
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> A minor fix has been published regarding the need of a user of being noticed when some run-ptest script fails. We have also modified ptest unit test stuff * removed unnecessary code from unit test run_timeout_ptest * added test case for run_ptest failure Finally.. Added content within contributions section of README.md. [YOCTO #9752] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb index aaa7c59..9d45513 100644 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb @@ -7,8 +7,8 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4" -PV = "2.0+git${SRCPV}" +SRCREV = "e2aa4256745377b784c8691f546041b59f6e046b" +PV = "2.0.1+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2" S = "${WORKDIR}/git" -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] ptest-runner: recipe update related to minor fix.
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> A minor fix has been published regarding the need of a user of being noticed when some run-ptest script fails. [YOCTO #9752] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb index aaa7c59..34d360e 100644 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb @@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4" +SRCREV = "e2aa4256745377b784c8691f546041b59f6e046b" PV = "2.0+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2" -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2] oeqa: Remove linux user utilized for rpm test.
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> When trying to re-test smart rpm tests. A fail arises due to a linux user previously created upon the image. We've added a few lines to delete such user and his home dir when finishing test. [YOCTO #9204] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/lib/oeqa/runtime/rpm.py | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py index 4d03ecb..7f514ca 100644 --- a/meta/lib/oeqa/runtime/rpm.py +++ b/meta/lib/oeqa/runtime/rpm.py @@ -51,12 +51,32 @@ class RpmInstallRemoveTest(oeRuntimeTest): @testcase(1096) @skipUnlessPassed('test_ssh') def test_rpm_query_nonroot(self): -(status, output) = self.target.run('useradd test1') -self.assertTrue(status == 0, msg="Failed to create new user: " + output) -(status, output) = self.target.run('su -c id test1') -self.assertTrue('(test1)' in output, msg="Failed to execute as new user") -(status, output) = self.target.run('su -c "rpm -qa" test1 ') -self.assertEqual(status, 0, msg="status: %s. Cannot run rpm -qa: %s" % (status, output)) + +def set_up_test_user(u): +(status, output) = self.target.run("id -u %s" % u) +if status == 0: +pass +else: +(status, output) = self.target.run("useradd %s" % u) +self.assertTrue(status == 0, msg="Failed to create new user: " + output) + +def exec_as_test_user(u): +(status, output) = self.target.run("su -c id %s" % u) +self.assertTrue("({0})".format(u) in output, msg="Failed to execute as new user") +(status, output) = self.target.run("su -c \"rpm -qa\" %s " % u) +self.assertEqual(status, 0, msg="status: %s. Cannot run rpm -qa: %s" % (status, output)) + +def unset_up_test_user(u): +(status, output) = self.target.run("userdel -r %s" % u) +self.assertTrue(status == 0, msg="Failed to erase user: %s" % output) + +tuser = 'test1' + +try: +set_up_test_user(tuser) +exec_as_test_user(tuser) +finally: +unset_up_test_user(tuser) @testcase(195) @skipUnlessPassed('test_rpm_install') -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] oeqa: Remove linux user utilized for rpm test.
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> When trying to re-test smart rpm tests. A fail arises due to a linux user previously created upon the image. W've added a few lines to delete such user and his home dir when finishing test. [YOCTO #9204] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/lib/oeqa/runtime/rpm.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py index 4d03ecb..285f39b 100644 --- a/meta/lib/oeqa/runtime/rpm.py +++ b/meta/lib/oeqa/runtime/rpm.py @@ -51,12 +51,15 @@ class RpmInstallRemoveTest(oeRuntimeTest): @testcase(1096) @skipUnlessPassed('test_ssh') def test_rpm_query_nonroot(self): -(status, output) = self.target.run('useradd test1') +test_user = 'test1' +(status, output) = self.target.run("useradd %s" % test_user) self.assertTrue(status == 0, msg="Failed to create new user: " + output) -(status, output) = self.target.run('su -c id test1') +(status, output) = self.target.run("su -c id %s" % test_user) self.assertTrue('(test1)' in output, msg="Failed to execute as new user") -(status, output) = self.target.run('su -c "rpm -qa" test1 ') +(status, output) = self.target.run("su -c \"rpm -qa\" %s " % test_user) self.assertEqual(status, 0, msg="status: %s. Cannot run rpm -qa: %s" % (status, output)) +(status, output) = self.target.run("userdel -r %s" % test_user) +self.assertTrue(status == 0, msg="Failed to erase user: %s" % output) @testcase(195) @skipUnlessPassed('test_rpm_install') -- 2.9.3 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V1] unzip: fixes strange output
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This fixes commit 763a3d424bccf559a8d6add3dc1f2746c82f2933 Output was strange when using unzip to extract zip file. This patch fixed so. [YOCTO #9551] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../unzip/unzip/fix-security-format.patch | 198 - 1 file changed, 78 insertions(+), 120 deletions(-) diff --git a/meta/recipes-extended/unzip/unzip/fix-security-format.patch b/meta/recipes-extended/unzip/unzip/fix-security-format.patch index c82f502..8e9b06c 100644 --- a/meta/recipes-extended/unzip/unzip/fix-security-format.patch +++ b/meta/recipes-extended/unzip/unzip/fix-security-format.patch @@ -9,131 +9,89 @@ Upstream-Status: Pending Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> -diff --git a/unzpriv.h b/unzpriv.h -index c8d3eab..85e693a 100644 a/unzpriv.h -+++ b/unzpriv.h -@@ -1006,7 +1006,7 @@ - #define LoadFarStringSmall(x) Qstrfix(x) - #define LoadFarStringSmall2(x) Qstrfix(x) - # else --#define LoadFarString(x)(char *)(x) -+#define LoadFarString(x)"%s",(char *)(x) - #define LoadFarStringSmall(x) (char *)(x) - #define LoadFarStringSmall2(x) (char *)(x) - # endif -diff --git a/fileio.c b/fileio.c -index 36bfea3..ca779c2 100644 a/fileio.c -+++ b/fileio.c -@@ -588,8 +588,8 @@ unsigned readbuf(__G__ buf, size) /* return number of bytes read into buf */ - else if (G.incnt < 0) { - /* another hack, but no real harm copying same thing twice */ - (*G.message)((zvoid *), -- (uch *)LoadFarString(ReadError), /* CANNOT use slide */ -- (ulg)strlen(LoadFarString(ReadError)), 0x401); -+ (uch *)(char*)(ReadError), /* CANNOT use slide */ -+ (ulg)strlen((char*)(ReadError)), 0x401); - return 0; /* discarding some data; better than lock-up */ - } - /* buffer ALWAYS starts on a block boundary: */ -@@ -631,8 +631,8 @@ int readbyte(__G) /* refill inbuf and return a byte if available, else EOF */ - } else if (G.incnt < 0) { /* "fail" (abort, retry, ...) returns this */ - /* another hack, but no real harm copying same thing twice */ - (*G.message)((zvoid *), -- (uch *)LoadFarString(ReadError), -- (ulg)strlen(LoadFarString(ReadError)), 0x401); -+ (uch *)(char*)(ReadError), -+ (ulg)strlen((char*)(ReadError)), 0x401); - echon(); - #ifdef WINDLL - longjmp(dll_error_return, 1); -@@ -1356,7 +1356,7 @@ int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) - ++((Uz_Globs *)pG)->lines; - if (((Uz_Globs *)pG)->lines >= ((Uz_Globs *)pG)->height) - (*((Uz_Globs *)pG)->mpause)((zvoid *)pG, -- LoadFarString(MorePrompt), 1); -+ (char*)(MorePrompt), 1); - } - #endif /* MORE */ - if (MSG_STDERR(flag) && ((Uz_Globs *)pG)->UzO.tflag && -@@ -1416,7 +1416,7 @@ int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) - ((Uz_Globs *)pG)->sol = TRUE; - q = p + 1; - (*((Uz_Globs *)pG)->mpause)((zvoid *)pG, -- LoadFarString(MorePrompt), 1); -+ (char*)(MorePrompt), 1); +diff --git a/extract.c b/extract.c +index 7cd9123..25c5a62 100644 +--- a/extract.c b/extract.c +@@ -475,7 +475,7 @@ int extract_or_test_files(__G)/* return PK-type error code */ + Info(slide, 0x401, ((char *)slide, + LoadFarString(CentSigMsg), j + blknum*DIR_BLKSIZ + 1)); + Info(slide, 0x401, ((char *)slide, +- LoadFarString(ReportMsg))); ++ "%s",LoadFarString(ReportMsg))); + error_in_archive = PK_BADERR; } + reached_end = TRUE; /* ...so no more left to do */ +@@ -754,8 +754,8 @@ int extract_or_test_files(__G)/* return PK-type error code */ + + #ifndef SFX + if (no_endsig_found) { /* just to make sure */ +-Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg))); +-Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg))); ++Info(slide, 0x401, ((char *)slide, "%s", LoadFarString(EndSigMsg))); ++Info(slide, 0x401, ((char *)slide, "%s", LoadFarString(ReportMsg))); + if (!error_in_archive) /* don't overwrite stronger error */ + error_in_archive = PK_WARN; + } +diff --git a/list.c b/list.c +index 15e0011..0b484f6 100644 +--- a/list.c b/list.c +@@ -181,7 +181,7 @@ int list_files(__G)/* return PK-type error code */ + Info(slide,
[OE-core] [PATCH V2] xorg-xserver: upgrade xserver version from 1.18.3 to 1.18.4
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> >From version 1.18.3 to 1.18.4 modesetting driver has suffered several changes. One of this changes allow mouse works as expected with xf86-video-modesetting driver when system startup upon beaglebone. [YOCTO #9828] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../xorg-xserver/{xserver-xorg_1.18.3.bb => xserver-xorg_1.18.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_1.18.3.bb => xserver-xorg_1.18.4.bb} (86%) diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb similarity index 86% rename from meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb rename to meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb index 27098f1..6700565 100644 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb @@ -1,8 +1,8 @@ require xserver-xorg.inc SRC_URI += "file://musl-arm-inb-outb.patch" -SRC_URI[md5sum] = "043d720bf2472a65bb8f0daa97f83dfa" -SRC_URI[sha256sum] = "ea739c22517cdbe2b5f7c0a5fd05fe8a10ac0629003e71c0c7862f4bb60142cd" +SRC_URI[md5sum] = "d4842dfe3bd9a9d062f2fa1df9104a46" +SRC_URI[sha256sum] = "278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8" # These extensions are now integrated into the server, so declare the migration # path for in-place upgrades. -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH V1] xorg-xserver: upgrade xserver version from 1.18.3 to 1.18.4
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> >From version 1.18.3 to 1.18.4 modesetting driver has suffered several changes. One of this changes allow mouse works as expected with xf86-video-modesetting driver when system startup upon beaglebone. [YOCTO #9828] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- .../xorg-xserver/xserver-xorg_1.18.3.bb| 27 -- .../xorg-xserver/xserver-xorg_1.18.4.bb| 27 ++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb deleted file mode 100644 index 27098f1..000 --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.3.bb +++ /dev/null @@ -1,27 +0,0 @@ -require xserver-xorg.inc - -SRC_URI += "file://musl-arm-inb-outb.patch" -SRC_URI[md5sum] = "043d720bf2472a65bb8f0daa97f83dfa" -SRC_URI[sha256sum] = "ea739c22517cdbe2b5f7c0a5fd05fe8a10ac0629003e71c0c7862f4bb60142cd" - -# These extensions are now integrated into the server, so declare the migration -# path for in-place upgrades. - -RREPLACES_${PN} = "${PN}-extension-dri \ -${PN}-extension-dri2 \ -${PN}-extension-record \ -${PN}-extension-extmod \ -${PN}-extension-dbe \ - " -RPROVIDES_${PN} = "${PN}-extension-dri \ -${PN}-extension-dri2 \ -${PN}-extension-record \ -${PN}-extension-extmod \ -${PN}-extension-dbe \ - " -RCONFLICTS_${PN} = "${PN}-extension-dri \ -${PN}-extension-dri2 \ -${PN}-extension-record \ -${PN}-extension-extmod \ -${PN}-extension-dbe \ - " diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb new file mode 100644 index 000..6700565 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.18.4.bb @@ -0,0 +1,27 @@ +require xserver-xorg.inc + +SRC_URI += "file://musl-arm-inb-outb.patch" +SRC_URI[md5sum] = "d4842dfe3bd9a9d062f2fa1df9104a46" +SRC_URI[sha256sum] = "278459b2c31d61a15655d95a72fb79930c480a6bb8cf9226e48a07df8b1d31c8" + +# These extensions are now integrated into the server, so declare the migration +# path for in-place upgrades. + +RREPLACES_${PN} = "${PN}-extension-dri \ +${PN}-extension-dri2 \ +${PN}-extension-record \ +${PN}-extension-extmod \ +${PN}-extension-dbe \ + " +RPROVIDES_${PN} = "${PN}-extension-dri \ +${PN}-extension-dri2 \ +${PN}-extension-record \ +${PN}-extension-extmod \ +${PN}-extension-dbe \ + " +RCONFLICTS_${PN} = "${PN}-extension-dri \ +${PN}-extension-dri2 \ +${PN}-extension-record \ +${PN}-extension-extmod \ +${PN}-extension-dbe \ + " -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v1] unzip: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids unzip fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9551] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../unzip/unzip/fix-security-format.patch | 139 + meta/recipes-extended/unzip/unzip_6.0.bb | 1 + 3 files changed, 140 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/unzip/unzip/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index febedfa..fc4c581 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -104,7 +104,6 @@ SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -SECURITY_STRINGFORMAT_pn-unzip = "" TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" diff --git a/meta/recipes-extended/unzip/unzip/fix-security-format.patch b/meta/recipes-extended/unzip/unzip/fix-security-format.patch new file mode 100644 index 000..c82f502 --- /dev/null +++ b/meta/recipes-extended/unzip/unzip/fix-security-format.patch @@ -0,0 +1,139 @@ +unzip: Fixing security formatting issues + +Fix security formatting issues related to sprintf parameters expeted. + +[YOCTO #9551] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9551] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/unzpriv.h b/unzpriv.h +index c8d3eab..85e693a 100644 +--- a/unzpriv.h b/unzpriv.h +@@ -1006,7 +1006,7 @@ + #define LoadFarStringSmall(x) Qstrfix(x) + #define LoadFarStringSmall2(x) Qstrfix(x) + # else +-#define LoadFarString(x)(char *)(x) ++#define LoadFarString(x)"%s",(char *)(x) + #define LoadFarStringSmall(x) (char *)(x) + #define LoadFarStringSmall2(x) (char *)(x) + # endif +diff --git a/fileio.c b/fileio.c +index 36bfea3..ca779c2 100644 +--- a/fileio.c b/fileio.c +@@ -588,8 +588,8 @@ unsigned readbuf(__G__ buf, size) /* return number of bytes read into buf */ + else if (G.incnt < 0) { + /* another hack, but no real harm copying same thing twice */ + (*G.message)((zvoid *), +- (uch *)LoadFarString(ReadError), /* CANNOT use slide */ +- (ulg)strlen(LoadFarString(ReadError)), 0x401); ++ (uch *)(char*)(ReadError), /* CANNOT use slide */ ++ (ulg)strlen((char*)(ReadError)), 0x401); + return 0; /* discarding some data; better than lock-up */ + } + /* buffer ALWAYS starts on a block boundary: */ +@@ -631,8 +631,8 @@ int readbyte(__G) /* refill inbuf and return a byte if available, else EOF */ + } else if (G.incnt < 0) { /* "fail" (abort, retry, ...) returns this */ + /* another hack, but no real harm copying same thing twice */ + (*G.message)((zvoid *), +- (uch *)LoadFarString(ReadError), +- (ulg)strlen(LoadFarString(ReadError)), 0x401); ++ (uch *)(char*)(ReadError), ++ (ulg)strlen((char*)(ReadError)), 0x401); + echon(); + #ifdef WINDLL + longjmp(dll_error_return, 1); +@@ -1356,7 +1356,7 @@ int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) + ++((Uz_Globs *)pG)->lines; + if (((Uz_Globs *)pG)->lines >= ((Uz_Globs *)pG)->height) + (*((Uz_Globs *)pG)->mpause)((zvoid *)pG, +- LoadFarString(MorePrompt), 1); ++ (char*)(MorePrompt), 1); + } + #endif /* MORE */ + if (MSG_STDERR(flag) && ((Uz_Globs *)pG)->UzO.tflag && +@@ -1416,7 +1416,7 @@ int UZ_EXP UzpMessagePrnt(pG, buf, size, flag) + ((Uz_Globs *)pG)->sol = TRUE; + q = p + 1; + (*((Uz_Globs *)pG)->mpause)((zvoid *)pG, +- LoadFarString(MorePrompt), 1); ++ (char*)(MorePrompt), 1); + } + } + INCSTR(p); +@@ -2176,7 +2176,7 @@ int do_string(__G__ length, option) /* return PK-type error code */ + (*G.message)((zvoid *), slide, (ulg)(q-slide), 0); + q = slide; + if (pause && G.extract_flag) /* don't pause for list/test */ +-(*G.mpause)((zvoid *), LoadFarString(QuitPrompt), 0); ++
[OE-core] [PATCH v3] makedevs: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids makedevs fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9549] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../makedevs/makedevs/fix-security-format.patch| 63 ++ meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..dc210a0 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" -SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" diff --git a/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch new file mode 100644 index 000..140eb14 --- /dev/null +++ b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch @@ -0,0 +1,63 @@ +makedevs: Fixing security formatting issues + +Fix security formatting issues related to printing without NULL argument + +makedevs.c: In function 'main': +makedevs.c:513:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ +makedevs.c:528:4: error: format not a string literal and no format arguments [-Werror=format-security] +printf(helptext); +^ +makedevs.c:556:4: error: format not a string literal and no format arguments [-Werror=format-security] +fprintf(stderr, helptext); +^ +makedevs.c:562:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ + +[YOCTO #9549] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9549] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/makedevs.c b/makedevs.c +index 771f33e..7471f3f 100644 +--- a/makedevs.c b/makedevs.c +@@ -510,7 +510,7 @@ int main(int argc, char **argv) + umask (0); + + if (argc==1) { +- fprintf(stderr, helptext); ++ fputs( helptext , stderr ); + exit(1); + } + +@@ -525,7 +525,7 @@ int main(int argc, char **argv) + error_msg_and_die("%s: not a proper device table file", optarg); + break; + case 'h': +- printf(helptext); ++ puts(helptext); + exit(0); + case 'r': + case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ +@@ -553,13 +553,13 @@ int main(int argc, char **argv) + printf("%s: %s\n", app_name, VERSION); + exit(0); + default: +- fprintf(stderr, helptext); ++ fputs(helptext,stderr); + exit(1); + } + } + + if (argv[optind] != NULL) { +- fprintf(stderr, helptext); ++ fputs(helptext,stderr); + exit(1); + } + diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb index 92d5870..41b8bec 100644 --- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb @@ -3,6 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" SECTION = "base" SRC_URI = "file://makedevs.c \ + file://fix-security-format.patch \ file://COPYING.patch" S = "${WORKDIR}" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v3] stat: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids stat fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9550] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../stat/stat-3.3/fix-security-format.patch| 68 ++ meta/recipes-extended/stat/stat_3.3.bb | 1 + 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/stat/stat-3.3/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..5ae6dd8 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -105,7 +105,6 @@ SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" SECURITY_STRINGFORMAT_pn-zip = "" diff --git a/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch new file mode 100644 index 000..18f9f34 --- /dev/null +++ b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch @@ -0,0 +1,68 @@ +stat: Fixing security formatting issues + +Fix security formatting issues related to printf without NULL argument + +stat.c: In function 'print_human_access': +stat.c:292:13: error: format not a string literal and no format arguments [-Werror=format-security] + printf (access); + ^ +stat.c: In function 'print_human_time': +stat.c:299:57: error: format not a string literal and no format arguments [-Werror=format-security] + if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); + ^ +stat.c: In function 'print_it': +stat.c:613:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ +stat.c:642:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ + +[YOCTO #9550] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9550] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/stat.c b/stat.c +index 1ed07a9..2be6f62 100644 +--- a/stat.c b/stat.c +@@ -289,15 +289,15 @@ void print_human_access(struct stat *statbuf) + default: + access[0] = '?'; + } +-printf (access); ++fputs(access,stdout); + } + + void print_human_time(time_t *t) + { + char str[40]; + +- if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); +- else printf("Cannot calculate human readable time, sorry"); ++ if (strftime(str, 40, "%c", localtime(t)) > 0) fputs(str,stdout); ++ else fputs("Cannot calculate human readable time, sorry",stdout); + } + + /* print statfs info */ +@@ -610,7 +610,7 @@ void print_it(char *masterformat, char *filename, + { + strcpy (pformat, "%"); + *m++ = '\0'; +- printf(b); ++ fputs(b,stdout); + + /* copy all format specifiers to our format string */ + while (isdigit(*m) || strchr("#0-+. I", *m)) +@@ -639,7 +639,7 @@ void print_it(char *masterformat, char *filename, + } + else + { +- printf(b); ++ fputs(b,stdout); + b = NULL; + } + } diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb index a5ece07..0697c73 100644 --- a/meta/recipes-extended/stat/stat_3.3.bb +++ b/meta/recipes-extended/stat/stat_3.3.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \ file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \ + file://fix-security-format.patch \ file://fix-error-return.patch" SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v3] zip: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids zip recipe fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9552] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../zip/zip-3.0/fix-security-format.patch | 42 ++ meta/recipes-extended/zip/zip.inc | 3 +- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/zip/zip-3.0/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..bb1a398 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -107,7 +107,6 @@ SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" -SECURITY_STRINGFORMAT_pn-zip = "" TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" diff --git a/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch new file mode 100644 index 000..fe29d41 --- /dev/null +++ b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch @@ -0,0 +1,42 @@ +zip: Fixing security formatting issues + +Fix security formatting issues related to printing without NULL argument + +zip.c: In function 'help_extended': +zip.c:1031:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(text[i]); + ^ +zip.c: In function 'version_info': +zip.c:1228:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(cryptnote[i]); + ^ + +[YOCTO #9552] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9552] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/zip.c b/zip.c +index 439821f..d7da768 100644 +--- a/zip.c b/zip.c +@@ -1028,7 +1028,7 @@ local void help_extended() + + for (i = 0; i < sizeof(text)/sizeof(char *); i++) + { +-printf(text[i]); ++fputs(text[i],stdout); + putchar('\n'); + } + #ifdef DOS +@@ -1225,7 +1225,7 @@ local void version_info() + CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE); + for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++) + { +-printf(cryptnote[i]); ++fputs(cryptnote[i],stdout); + putchar('\n'); + } + ++i; /* crypt support means there IS at least one compilation option */ diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc index 6221c5e..21985a4 100644 --- a/meta/recipes-extended/zip/zip.inc +++ b/meta/recipes-extended/zip/zip.inc @@ -5,7 +5,8 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" -SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" +SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz \ +file://fix-security-format.patch" EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \ 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] meta:recipes-devtools: makedevs: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids makedevs fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9549] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../makedevs/makedevs/fix-security-format.patch| 63 ++ meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..dc210a0 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" -SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" diff --git a/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch new file mode 100644 index 000..140eb14 --- /dev/null +++ b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch @@ -0,0 +1,63 @@ +meta: recipes-devtools: makedevs: Fixing security formatting issues + +Fix security formatting issues related to printing without NULL argument + +makedevs.c: In function 'main': +makedevs.c:513:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ +makedevs.c:528:4: error: format not a string literal and no format arguments [-Werror=format-security] +printf(helptext); +^ +makedevs.c:556:4: error: format not a string literal and no format arguments [-Werror=format-security] +fprintf(stderr, helptext); +^ +makedevs.c:562:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ + +[YOCTO #9549] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9549] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/makedevs.c b/makedevs.c +index 771f33e..7471f3f 100644 +--- a/makedevs.c b/makedevs.c +@@ -510,7 +510,7 @@ int main(int argc, char **argv) + umask (0); + + if (argc==1) { +- fprintf(stderr, helptext); ++ fputs( helptext , stderr ); + exit(1); + } + +@@ -525,7 +525,7 @@ int main(int argc, char **argv) + error_msg_and_die("%s: not a proper device table file", optarg); + break; + case 'h': +- printf(helptext); ++ puts(helptext); + exit(0); + case 'r': + case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ +@@ -553,13 +553,13 @@ int main(int argc, char **argv) + printf("%s: %s\n", app_name, VERSION); + exit(0); + default: +- fprintf(stderr, helptext); ++ fputs(helptext,stderr); + exit(1); + } + } + + if (argv[optind] != NULL) { +- fprintf(stderr, helptext); ++ fputs(helptext,stderr); + exit(1); + } + diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb index 92d5870..41b8bec 100644 --- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb @@ -3,6 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" SECTION = "base" SRC_URI = "file://makedevs.c \ + file://fix-security-format.patch \ file://COPYING.patch" S = "${WORKDIR}" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] meta:recipes-extended: stat: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids stat fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9550] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../stat/stat-3.3/fix-security-format.patch| 68 ++ meta/recipes-extended/stat/stat_3.3.bb | 1 + 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/stat/stat-3.3/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..5ae6dd8 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -105,7 +105,6 @@ SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" SECURITY_STRINGFORMAT_pn-zip = "" diff --git a/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch new file mode 100644 index 000..18f9f34 --- /dev/null +++ b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch @@ -0,0 +1,68 @@ +meta: recipes-extended: Fixing security formatting issues on stat + +Fix security formatting issues related to printf without NULL argument + +stat.c: In function 'print_human_access': +stat.c:292:13: error: format not a string literal and no format arguments [-Werror=format-security] + printf (access); + ^ +stat.c: In function 'print_human_time': +stat.c:299:57: error: format not a string literal and no format arguments [-Werror=format-security] + if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); + ^ +stat.c: In function 'print_it': +stat.c:613:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ +stat.c:642:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ + +[YOCTO #9550] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9550] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/stat.c b/stat.c +index 1ed07a9..2be6f62 100644 +--- a/stat.c b/stat.c +@@ -289,15 +289,15 @@ void print_human_access(struct stat *statbuf) + default: + access[0] = '?'; + } +-printf (access); ++fputs(access,stdout); + } + + void print_human_time(time_t *t) + { + char str[40]; + +- if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); +- else printf("Cannot calculate human readable time, sorry"); ++ if (strftime(str, 40, "%c", localtime(t)) > 0) fputs(str,stdout); ++ else fputs("Cannot calculate human readable time, sorry",stdout); + } + + /* print statfs info */ +@@ -610,7 +610,7 @@ void print_it(char *masterformat, char *filename, + { + strcpy (pformat, "%"); + *m++ = '\0'; +- printf(b); ++ fputs(b,stdout); + + /* copy all format specifiers to our format string */ + while (isdigit(*m) || strchr("#0-+. I", *m)) +@@ -639,7 +639,7 @@ void print_it(char *masterformat, char *filename, + } + else + { +- printf(b); ++ fputs(b,stdout); + b = NULL; + } + } diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb index a5ece07..0697c73 100644 --- a/meta/recipes-extended/stat/stat_3.3.bb +++ b/meta/recipes-extended/stat/stat_3.3.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \ file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \ + file://fix-security-format.patch \ file://fix-error-return.patch" SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH v2] meta:recipes-extended: zip: fix security issues
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids zip recipe fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9552] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../zip/zip-3.0/fix-security-format.patch | 42 ++ meta/recipes-extended/zip/zip.inc | 3 +- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/zip/zip-3.0/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..bb1a398 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -107,7 +107,6 @@ SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" -SECURITY_STRINGFORMAT_pn-zip = "" TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" diff --git a/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch new file mode 100644 index 000..fe29d41 --- /dev/null +++ b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch @@ -0,0 +1,42 @@ +meta: recipes-extended: Fixing security formatting issues on zip + +Fix security formatting issues related to printing without NULL argument + +zip.c: In function 'help_extended': +zip.c:1031:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(text[i]); + ^ +zip.c: In function 'version_info': +zip.c:1228:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(cryptnote[i]); + ^ + +[YOCTO #9552] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9552] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/zip.c b/zip.c +index 439821f..d7da768 100644 +--- a/zip.c b/zip.c +@@ -1028,7 +1028,7 @@ local void help_extended() + + for (i = 0; i < sizeof(text)/sizeof(char *); i++) + { +-printf(text[i]); ++fputs(text[i],stdout); + putchar('\n'); + } + #ifdef DOS +@@ -1225,7 +1225,7 @@ local void version_info() + CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE); + for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++) + { +-printf(cryptnote[i]); ++fputs(cryptnote[i],stdout); + putchar('\n'); + } + ++i; /* crypt support means there IS at least one compilation option */ diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc index 6221c5e..21985a4 100644 --- a/meta/recipes-extended/zip/zip.inc +++ b/meta/recipes-extended/zip/zip.inc @@ -5,7 +5,8 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" -SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" +SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz \ +file://fix-security-format.patch" EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \ 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-extended: stat fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids stat fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9550] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../stat/stat-3.3/fix-security-format.patch| 68 ++ meta/recipes-extended/stat/stat_3.3.bb | 1 + 3 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/stat/stat-3.3/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..5ae6dd8 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -105,7 +105,6 @@ SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" SECURITY_STRINGFORMAT_pn-zip = "" diff --git a/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch new file mode 100644 index 000..18f9f34 --- /dev/null +++ b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch @@ -0,0 +1,68 @@ +meta: recipes-extended: Fixing security formatting issues on stat + +Fix security formatting issues related to printf without NULL argument + +stat.c: In function 'print_human_access': +stat.c:292:13: error: format not a string literal and no format arguments [-Werror=format-security] + printf (access); + ^ +stat.c: In function 'print_human_time': +stat.c:299:57: error: format not a string literal and no format arguments [-Werror=format-security] + if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); + ^ +stat.c: In function 'print_it': +stat.c:613:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ +stat.c:642:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ + +[YOCTO #9550] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9550] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/stat.c b/stat.c +index 1ed07a9..2be6f62 100644 +--- a/stat.c b/stat.c +@@ -289,15 +289,15 @@ void print_human_access(struct stat *statbuf) + default: + access[0] = '?'; + } +-printf (access); ++fputs(access,stdout); + } + + void print_human_time(time_t *t) + { + char str[40]; + +- if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); +- else printf("Cannot calculate human readable time, sorry"); ++ if (strftime(str, 40, "%c", localtime(t)) > 0) fputs(str,stdout); ++ else fputs("Cannot calculate human readable time, sorry",stdout); + } + + /* print statfs info */ +@@ -610,7 +610,7 @@ void print_it(char *masterformat, char *filename, + { + strcpy (pformat, "%"); + *m++ = '\0'; +- printf(b); ++ fputs(b,stdout); + + /* copy all format specifiers to our format string */ + while (isdigit(*m) || strchr("#0-+. I", *m)) +@@ -639,7 +639,7 @@ void print_it(char *masterformat, char *filename, + } + else + { +- printf(b); ++ fputs(b,stdout); + b = NULL; + } + } diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb index a5ece07..0697c73 100644 --- a/meta/recipes-extended/stat/stat_3.3.bb +++ b/meta/recipes-extended/stat/stat_3.3.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \ file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \ + file://fix-security-format.patch \ file://fix-error-return.patch" SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-extended: zip fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids zip recipe fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9552] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../zip/zip-3.0/fix-security-format.patch | 42 ++ meta/recipes-extended/zip/zip.inc | 3 +- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/zip/zip-3.0/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..bb1a398 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -107,7 +107,6 @@ SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" -SECURITY_STRINGFORMAT_pn-zip = "" TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" diff --git a/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch new file mode 100644 index 000..b745c6b --- /dev/null +++ b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch @@ -0,0 +1,42 @@ +meta: recipes-extended: Fixing security formatting issues on zip + +Fix security formatting issues related to printing without NULL argument + +zip.c: In function 'help_extended': +zip.c:1031:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(text[i]); + ^ +zip.c: In function 'version_info': +zip.c:1228:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(cryptnote[i]); + ^ + +[YOCTO #9552] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9552] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/zip.c b/zip.c +index 439821f..2ef57e3 100644 +--- a/zip.c b/zip.c +@@ -1028,7 +1028,7 @@ local void help_extended() + + for (i = 0; i < sizeof(text)/sizeof(char *); i++) + { +-printf(text[i]); ++printf( text[i] , NULL ); + putchar('\n'); + } + #ifdef DOS +@@ -1225,7 +1225,7 @@ local void version_info() + CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE); + for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++) + { +-printf(cryptnote[i]); ++printf( cryptnote[i] , NULL ); + putchar('\n'); + } + ++i; /* crypt support means there IS at least one compilation option */ diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc index 6221c5e..fac3a9f 100644 --- a/meta/recipes-extended/zip/zip.inc +++ b/meta/recipes-extended/zip/zip.inc @@ -5,7 +5,8 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" -SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" +SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz \ + file://fix-security-format.patch" EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \ 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-extended: zip fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids zip recipe fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9552] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../zip/zip-3.0/fix-security-format.patch | 42 ++ meta/recipes-extended/zip/zip.inc | 3 +- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/zip/zip-3.0/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..bb1a398 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -107,7 +107,6 @@ SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" -SECURITY_STRINGFORMAT_pn-zip = "" TARGET_CFLAGS_append_class-target = " ${SECURITY_CFLAGS}" TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" diff --git a/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch new file mode 100644 index 000..b745c6b --- /dev/null +++ b/meta/recipes-extended/zip/zip-3.0/fix-security-format.patch @@ -0,0 +1,42 @@ +meta: recipes-extended: Fixing security formatting issues on makedevs + +Fix security formatting issues related to printing without NULL argument + +zip.c: In function 'help_extended': +zip.c:1031:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(text[i]); + ^ +zip.c: In function 'version_info': +zip.c:1228:5: error: format not a string literal and no format arguments [-Werror=format-security] + printf(cryptnote[i]); + ^ + +[YOCTO #9552] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9552] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/zip.c b/zip.c +index 439821f..2ef57e3 100644 +--- a/zip.c b/zip.c +@@ -1028,7 +1028,7 @@ local void help_extended() + + for (i = 0; i < sizeof(text)/sizeof(char *); i++) + { +-printf(text[i]); ++printf( text[i] , NULL ); + putchar('\n'); + } + #ifdef DOS +@@ -1225,7 +1225,7 @@ local void version_info() + CR_MAJORVER, CR_MINORVER, CR_BETA_VER, CR_VERSION_DATE); + for (i = 0; i < sizeof(cryptnote)/sizeof(char *); i++) + { +-printf(cryptnote[i]); ++printf( cryptnote[i] , NULL ); + putchar('\n'); + } + ++i; /* crypt support means there IS at least one compilation option */ diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc index 6221c5e..fac3a9f 100644 --- a/meta/recipes-extended/zip/zip.inc +++ b/meta/recipes-extended/zip/zip.inc @@ -5,7 +5,8 @@ SECTION = "console/utils" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" -SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" +SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz \ + file://fix-security-format.patch" EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \ 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \ -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-devtools: makedevs fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids makedevs fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9549] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../makedevs/makedevs/fix-security-format.patch| 63 ++ meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..dc210a0 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" -SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" diff --git a/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch new file mode 100644 index 000..669f77a --- /dev/null +++ b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch @@ -0,0 +1,63 @@ +meta: recipes-devtools: Fixing security formatting issues on makedevs + +Fix security formatting issues related to printing without NULL argument + +makedevs.c: In function 'main': +makedevs.c:513:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ +makedevs.c:528:4: error: format not a string literal and no format arguments [-Werror=format-security] +printf(helptext); +^ +makedevs.c:556:4: error: format not a string literal and no format arguments [-Werror=format-security] +fprintf(stderr, helptext); +^ +makedevs.c:562:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ + +[YOCTO #9549] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9549] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/makedevs.c b/makedevs.c +index 771f33e..be69a0c 100644 +--- a/makedevs.c b/makedevs.c +@@ -510,7 +510,7 @@ int main(int argc, char **argv) + umask (0); + + if (argc==1) { +- fprintf(stderr, helptext); ++ fprintf(stderr,helptext,NULL); + exit(1); + } + +@@ -525,7 +525,7 @@ int main(int argc, char **argv) + error_msg_and_die("%s: not a proper device table file", optarg); + break; + case 'h': +- printf(helptext); ++ printf(helptext,NULL); + exit(0); + case 'r': + case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ +@@ -553,13 +553,13 @@ int main(int argc, char **argv) + printf("%s: %s\n", app_name, VERSION); + exit(0); + default: +- fprintf(stderr, helptext); ++ fprintf(stderr, helptext,NULL); + exit(1); + } + } + + if (argv[optind] != NULL) { +- fprintf(stderr, helptext); ++ fprintf(stderr, helptext,NULL); + exit(1); + } + diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb index 92d5870..41b8bec 100644 --- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb @@ -3,6 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" SECTION = "base" SRC_URI = "file://makedevs.c \ + file://fix-security-format.patch \ file://COPYING.patch" S = "${WORKDIR}" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-extended: stat fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids stat fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9550] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../stat/stat-3.3/fix-security-format.patch| 77 ++ meta/recipes-extended/stat/stat_3.3.bb | 1 + 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-extended/stat/stat-3.3/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..5ae6dd8 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -105,7 +105,6 @@ SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" -SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" SECURITY_STRINGFORMAT_pn-zip = "" diff --git a/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch new file mode 100644 index 000..7d9f8df --- /dev/null +++ b/meta/recipes-extended/stat/stat-3.3/fix-security-format.patch @@ -0,0 +1,77 @@ +meta: recipes-extended: Fixing security formatting issues on stat + +Fix security formatting issues related to printf without NULL argument + +stat.c: In function 'print_human_access': +stat.c:292:13: error: format not a string literal and no format arguments [-Werror=format-security] + printf (access); + ^ +stat.c: In function 'print_human_time': +stat.c:299:57: error: format not a string literal and no format arguments [-Werror=format-security] + if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); + ^ +stat.c: In function 'print_it': +stat.c:613:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ +stat.c:642:6: error: format not a string literal and no format arguments [-Werror=format-security] + printf(b); + ^ + +[YOCTO #9550] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9550] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/stat.c b/stat.c +index 1ed07a9..351ab54 100644 +--- a/stat.c b/stat.c +@@ -21,6 +21,8 @@ + + #include "fs.h" + ++#define __PRINT(STR) printf (STR,NULL) ++ + void print_human_type(unsigned short mode) + { + switch (mode & S_IFMT) +@@ -289,15 +291,15 @@ void print_human_access(struct stat *statbuf) + default: + access[0] = '?'; + } +-printf (access); ++__PRINT(access); + } + + void print_human_time(time_t *t) + { + char str[40]; + +- if (strftime(str, 40, "%c", localtime(t)) > 0) printf(str); +- else printf("Cannot calculate human readable time, sorry"); ++ if (strftime(str, 40, "%c", localtime(t)) > 0) __PRINT(str); ++ else __PRINT("Cannot calculate human readable time, sorry"); + } + + /* print statfs info */ +@@ -610,7 +612,7 @@ void print_it(char *masterformat, char *filename, + { + strcpy (pformat, "%"); + *m++ = '\0'; +- printf(b); ++ __PRINT(b); + + /* copy all format specifiers to our format string */ + while (isdigit(*m) || strchr("#0-+. I", *m)) +@@ -639,7 +641,7 @@ void print_it(char *masterformat, char *filename, + } + else + { +- printf(b); ++ __PRINT(b); + b = NULL; + } + } diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb index a5ece07..0697c73 100644 --- a/meta/recipes-extended/stat/stat_3.3.bb +++ b/meta/recipes-extended/stat/stat_3.3.bb @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \ file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \ + file://fix-security-format.patch \ file://fix-error-return.patch" SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] meta:recipes-devtools: makedevs fix security gaps
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This patch avoids makedevs fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security). [YOCTO #9549] Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> --- meta/conf/distro/include/security_flags.inc| 1 - .../makedevs/makedevs/fix-security-format.patch| 63 ++ meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 7a91cec..dc210a0 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" -SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = "" diff --git a/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch new file mode 100644 index 000..669f77a --- /dev/null +++ b/meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch @@ -0,0 +1,63 @@ +meta: recipes-extended: Fixing security formatting issues on makedevs + +Fix security formatting issues related to printing without NULL argument + +makedevs.c: In function 'main': +makedevs.c:513:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ +makedevs.c:528:4: error: format not a string literal and no format arguments [-Werror=format-security] +printf(helptext); +^ +makedevs.c:556:4: error: format not a string literal and no format arguments [-Werror=format-security] +fprintf(stderr, helptext); +^ +makedevs.c:562:3: error: format not a string literal and no format arguments [-Werror=format-security] + fprintf(stderr, helptext); + ^ + +[YOCTO #9549] +[https://bugzilla.yoctoproject.org/show_bug.cgi?id=9549] + +Upstream-Status: Pending + +Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@intel.com> + +diff --git a/makedevs.c b/makedevs.c +index 771f33e..be69a0c 100644 +--- a/makedevs.c b/makedevs.c +@@ -510,7 +510,7 @@ int main(int argc, char **argv) + umask (0); + + if (argc==1) { +- fprintf(stderr, helptext); ++ fprintf(stderr,helptext,NULL); + exit(1); + } + +@@ -525,7 +525,7 @@ int main(int argc, char **argv) + error_msg_and_die("%s: not a proper device table file", optarg); + break; + case 'h': +- printf(helptext); ++ printf(helptext,NULL); + exit(0); + case 'r': + case 'd': /* for compatibility with mkfs.jffs, genext2fs, etc... */ +@@ -553,13 +553,13 @@ int main(int argc, char **argv) + printf("%s: %s\n", app_name, VERSION); + exit(0); + default: +- fprintf(stderr, helptext); ++ fprintf(stderr, helptext,NULL); + exit(1); + } + } + + if (argv[optind] != NULL) { +- fprintf(stderr, helptext); ++ fprintf(stderr, helptext,NULL); + exit(1); + } + diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb index 92d5870..41b8bec 100644 --- a/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb @@ -3,6 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" SECTION = "base" SRC_URI = "file://makedevs.c \ + file://fix-security-format.patch \ file://COPYING.patch" S = "${WORKDIR}" -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] distro_check: Allows to use proxy vars of OS env
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This improve allows to fetch values from OS env. Covering an scenario where proxy variables have no value within data storage. Signed-off-by: Edwin Plauchu <edwin.plauchu.cama...@linux.intel.com> --- meta/lib/oe/distro_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 8655a6f..6e87323 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py @@ -11,7 +11,7 @@ def create_socket(url, d): def get_proxies(d): proxies = {} for key in ['http', 'https', 'ftp', 'ftps', 'no', 'all']: -proxy = d.getVar(key + '_proxy', True) +proxy = os.environ.get( key + '_proxy' ) or d.getVar(key + '_proxy', True) if proxy: proxies[key] = proxy return proxies -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] [PATCH] Allows to use proxy vars of OS env
From: Edwin Plauchu <edwin.plauchu.cama...@intel.com> This improve allows to fetch values from OS env. Covering an scenario where proxy variables have no value within data storage. --- meta/lib/oe/distro_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 8655a6f..6e87323 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py @@ -11,7 +11,7 @@ def create_socket(url, d): def get_proxies(d): proxies = {} for key in ['http', 'https', 'ftp', 'ftps', 'no', 'all']: -proxy = d.getVar(key + '_proxy', True) +proxy = os.environ.get( key + '_proxy' ) or d.getVar(key + '_proxy', True) if proxy: proxies[key] = proxy return proxies -- 1.9.1 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core