* [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02
@ 2018-01-17 15:25 Richard Purdie
2018-01-17 15:25 ` [PATCH 2/4] lttng-ust: upgrade 2.9.1 -> 2.10.1 Richard Purdie
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Richard Purdie @ 2018-01-17 15:25 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/recipes-devtools/nasm/{nasm_2.13.01.bb => nasm_2.13.02.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/nasm/{nasm_2.13.01.bb => nasm_2.13.02.bb} (80%)
diff --git a/meta/recipes-devtools/nasm/nasm_2.13.01.bb b/meta/recipes-devtools/nasm/nasm_2.13.02.bb
similarity index 80%
rename from meta/recipes-devtools/nasm/nasm_2.13.01.bb
rename to meta/recipes-devtools/nasm/nasm_2.13.02.bb
index bf18cd6..15672ab 100644
--- a/meta/recipes-devtools/nasm/nasm_2.13.01.bb
+++ b/meta/recipes-devtools/nasm/nasm_2.13.02.bb
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe"
SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 "
-SRC_URI[md5sum] = "1f7d4662040d24351df7d6719ed4f97a"
-SRC_URI[sha256sum] = "08f97baf0a7f892128c6413cfa93b69dc5825fbbd06c70928aea028835d198fa"
+SRC_URI[md5sum] = "f301c7ce89f28af9319edaf917365f61"
+SRC_URI[sha256sum] = "8d3028d286be7c185ba6ae4c8a692fc5438c129b2a3ffad60cbdcedd2793bbbe"
inherit autotools-brokensep
--
2.7.4
^ permalink raw reply related [flat|nested] 8+ messages in thread* [PATCH 2/4] lttng-ust: upgrade 2.9.1 -> 2.10.1 2018-01-17 15:25 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie @ 2018-01-17 15:25 ` Richard Purdie 2018-01-17 15:25 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie 2018-01-17 15:25 ` [PATCH 4/4] subversion: upgrade 1.9.6 -> 1.9.7 Richard Purdie 2 siblings, 0 replies; 8+ messages in thread From: Richard Purdie @ 2018-01-17 15:25 UTC (permalink / raw) To: openembedded-core Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/recipes-kernel/lttng/{lttng-ust_2.9.1.bb => lttng-ust_2.10.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-kernel/lttng/{lttng-ust_2.9.1.bb => lttng-ust_2.10.1.bb} (90%) diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.9.1.bb b/meta/recipes-kernel/lttng/lttng-ust_2.10.1.bb similarity index 90% rename from meta/recipes-kernel/lttng/lttng-ust_2.9.1.bb rename to meta/recipes-kernel/lttng/lttng-ust_2.10.1.bb index 03da4ca..d79a479 100644 --- a/meta/recipes-kernel/lttng/lttng-ust_2.9.1.bb +++ b/meta/recipes-kernel/lttng/lttng-ust_2.10.1.bb @@ -23,8 +23,8 @@ PE = "2" SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \ file://lttng-ust-doc-examples-disable.patch \ " -SRC_URI[md5sum] = "5a5636fc3d9aa370f65b25a802a79e6e" -SRC_URI[sha256sum] = "b891d267cdbbbd11cf34751f66c21c4a7fdc0eec3c1b53be2c40dca073b7daa4" +SRC_URI[md5sum] = "4863cc2f9f0a070b42438bb646bbba06" +SRC_URI[sha256sum] = "07cc3c0b71e7b77f1913d5b7f340a78a9af414440e4662712aef2d635b88ee9d" CVE_PRODUCT = "ust" -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 2018-01-17 15:25 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie 2018-01-17 15:25 ` [PATCH 2/4] lttng-ust: upgrade 2.9.1 -> 2.10.1 Richard Purdie @ 2018-01-17 15:25 ` Richard Purdie 2018-01-17 15:23 ` Alexander Kanavin 2018-01-17 15:25 ` [PATCH 4/4] subversion: upgrade 1.9.6 -> 1.9.7 Richard Purdie 2 siblings, 1 reply; 8+ messages in thread From: Richard Purdie @ 2018-01-17 15:25 UTC (permalink / raw) To: openembedded-core LICENSE file contains a list of files and addtional files were added to the list, license was unchanged. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- .../lttng/{lttng-modules_2.9.5.bb => lttng-modules_2.10.4.bb} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename meta/recipes-kernel/lttng/{lttng-modules_2.9.5.bb => lttng-modules_2.10.4.bb} (82%) diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb b/meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb similarity index 82% rename from meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb rename to meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb index 61d9744..dd695f8 100644 --- a/meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb +++ b/meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb @@ -2,9 +2,10 @@ SECTION = "devel" SUMMARY = "Linux Trace Toolkit KERNEL MODULE" DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" LICENSE = "LGPLv2.1 & GPLv2 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=362844633a08753bd96ab322a6c7f9f6 \ +LIC_FILES_CHKSUM = "file://LICENSE;md5=c4613d1f8a9587bd7b366191830364b3 \ file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ - file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" + file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad \ + " inherit module @@ -15,8 +16,8 @@ SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ " -SRC_URI[md5sum] = "af97aaaf86133fd783bb9937dc3b4d59" -SRC_URI[sha256sum] = "3f4e82ceb1c3c1875ec1fe89fba08294ed7feec2161339a5a71a066b27fc3e22" +SRC_URI[md5sum] = "832452b321a4df6836549e72d05b2ce9" +SRC_URI[sha256sum] = "f918e3b890f378f47a9ba8710ff52590e9b1d9c63b12a0e64d138e2e2e1b3c8a" export INSTALL_MOD_DIR="kernel/lttng-modules" -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 2018-01-17 15:25 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie @ 2018-01-17 15:23 ` Alexander Kanavin 2018-01-17 16:41 ` Richard Purdie 0 siblings, 1 reply; 8+ messages in thread From: Alexander Kanavin @ 2018-01-17 15:23 UTC (permalink / raw) To: Richard Purdie, openembedded-core On 01/17/2018 05:25 PM, Richard Purdie wrote: > LICENSE file contains a list of files and addtional files were added to > the list, license was unchanged. I'd like to standardize this to a tag, and so the license change text mentions a tag. Something like Otavio did: License-checksum-change: added new contributors The idea is to make the automatic check for this more reliable so we don't have to ask contributors to explain the license changes all the time. Alex ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 2018-01-17 15:23 ` Alexander Kanavin @ 2018-01-17 16:41 ` Richard Purdie 2018-01-17 16:57 ` Otavio Salvador 0 siblings, 1 reply; 8+ messages in thread From: Richard Purdie @ 2018-01-17 16:41 UTC (permalink / raw) To: Alexander Kanavin, openembedded-core On Wed, 2018-01-17 at 17:23 +0200, Alexander Kanavin wrote: > On 01/17/2018 05:25 PM, Richard Purdie wrote: > > > > LICENSE file contains a list of files and addtional files were > > added to > > the list, license was unchanged. > I'd like to standardize this to a tag, and so the license change > text > mentions a tag. Something like Otavio did: > > License-checksum-change: added new contributors > > The idea is to make the automatic check for this more reliable so we > don't have to ask contributors to explain the license changes all the > time. I'd suggest we use the form: License-Change: Copyright years updates which is shorter and is more similar in style to Upstream-Status: for example... Cheers, Richard ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 2018-01-17 16:41 ` Richard Purdie @ 2018-01-17 16:57 ` Otavio Salvador 0 siblings, 0 replies; 8+ messages in thread From: Otavio Salvador @ 2018-01-17 16:57 UTC (permalink / raw) To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer On Wed, Jan 17, 2018 at 2:41 PM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > On Wed, 2018-01-17 at 17:23 +0200, Alexander Kanavin wrote: >> On 01/17/2018 05:25 PM, Richard Purdie wrote: >> > >> > LICENSE file contains a list of files and addtional files were >> > added to >> > the list, license was unchanged. >> I'd like to standardize this to a tag, and so the license change >> text >> mentions a tag. Something like Otavio did: >> >> License-checksum-change: added new contributors >> >> The idea is to make the automatic check for this more reliable so we >> don't have to ask contributors to explain the license changes all the >> time. > > I'd suggest we use the form: > > License-Change: Copyright years updates > > which is shorter and is more similar in style to Upstream-Status: for > example... I prefer it too; if it is agreed I can resend the patch adopting it. License-Update: Added new contributors would be accurate as well. License-Change communicates me that it was due a change in the license (GPL-2 to GPL-3 or similar). Update is more general. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 4/4] subversion: upgrade 1.9.6 -> 1.9.7 2018-01-17 15:25 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie 2018-01-17 15:25 ` [PATCH 2/4] lttng-ust: upgrade 2.9.1 -> 2.10.1 Richard Purdie 2018-01-17 15:25 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie @ 2018-01-17 15:25 ` Richard Purdie 2 siblings, 0 replies; 8+ messages in thread From: Richard Purdie @ 2018-01-17 15:25 UTC (permalink / raw) To: openembedded-core Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- .../subversion/subversion/CVE-2017-9800.patch | 136 --------------------- .../{subversion_1.9.6.bb => subversion_1.9.7.bb} | 5 +- 2 files changed, 2 insertions(+), 139 deletions(-) delete mode 100644 meta/recipes-devtools/subversion/subversion/CVE-2017-9800.patch rename meta/recipes-devtools/subversion/{subversion_1.9.6.bb => subversion_1.9.7.bb} (95%) diff --git a/meta/recipes-devtools/subversion/subversion/CVE-2017-9800.patch b/meta/recipes-devtools/subversion/subversion/CVE-2017-9800.patch deleted file mode 100644 index 0599c2b..0000000 --- a/meta/recipes-devtools/subversion/subversion/CVE-2017-9800.patch +++ /dev/null @@ -1,136 +0,0 @@ ------------------------------------------------------------------------- -r1804691 | danielsh | 2017-08-10 11:14:13 -0700 (Thu, 10 Aug 2017) | 18 lines - -Fix CVE-2017-9800. - -See: https://subversion.apache.org/security/CVE-2017-0800-advisory.txt - -* subversion/libsvn_ra_svn/client.c - (svn_ctype.h): Include. - (find_tunnel_agent): Pass a "--" end-of-options guard to ssh. - Expect the 'hostinfo' parameter to be URI-decoded. - (is_valid_hostinfo): New. - (ra_svn_open): Validate the hostname before using it. - -* subversion/libsvn_subr/config_file.c - (svn_config_ensure): Update the example configuration likewise. - -Patch by: philip -Review by: danielsh - stsp - astieger (earlier version) - -Upstream-Status: Backport -http://svn.apache.org/viewvc?view=revision&sortby=rev&revision=1804691 - -CVE: CVE-2017-9800 - -Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> ---- -Index: subversion/libsvn_subr/config_file.c -=================================================================== ---- subversion/libsvn_subr/config_file.c (revision 1804690) -+++ subversion/libsvn_subr/config_file.c (revision 1804691) -@@ -1448,12 +1448,12 @@ - "### passed to the tunnel agent as <user>@<hostname>.) If the" NL - "### built-in ssh scheme were not predefined, it could be defined" NL - "### as:" NL -- "# ssh = $SVN_SSH ssh -q" NL -+ "# ssh = $SVN_SSH ssh -q --" NL - "### If you wanted to define a new 'rsh' scheme, to be used with" NL - "### 'svn+rsh:' URLs, you could do so as follows:" NL -- "# rsh = rsh" NL -+ "# rsh = rsh --" NL - "### Or, if you wanted to specify a full path and arguments:" NL -- "# rsh = /path/to/rsh -l myusername" NL -+ "# rsh = /path/to/rsh -l myusername --" NL - "### On Windows, if you are specifying a full path to a command," NL - "### use a forward slash (/) or a paired backslash (\\\\) as the" NL - "### path separator. A single backslash will be treated as an" NL -Index: subversion/libsvn_ra_svn/client.c -=================================================================== ---- subversion/libsvn_ra_svn/client.c (revision 1804690) -+++ subversion/libsvn_ra_svn/client.c (revision 1804691) -@@ -46,6 +46,7 @@ - #include "svn_props.h" - #include "svn_mergeinfo.h" - #include "svn_version.h" -+#include "svn_ctype.h" - - #include "svn_private_config.h" - -@@ -398,7 +399,7 @@ - * versions have it too. If the user is using some other ssh - * implementation that doesn't accept it, they can override it - * in the [tunnels] section of the config. */ -- val = "$SVN_SSH ssh -q"; -+ val = "$SVN_SSH ssh -q --"; - } - - if (!val || !*val) -@@ -443,7 +444,7 @@ - for (n = 0; cmd_argv[n] != NULL; n++) - argv[n] = cmd_argv[n]; - -- argv[n++] = svn_path_uri_decode(hostinfo, pool); -+ argv[n++] = hostinfo; - argv[n++] = "svnserve"; - argv[n++] = "-t"; - argv[n] = NULL; -@@ -811,7 +812,33 @@ - } - - -+/* A simple whitelist to ensure the following are valid: -+ * user@server -+ * [::1]:22 -+ * server-name -+ * server_name -+ * 127.0.0.1 -+ * with an extra restriction that a leading '-' is invalid. -+ */ -+static svn_boolean_t -+is_valid_hostinfo(const char *hostinfo) -+{ -+ const char *p = hostinfo; - -+ if (p[0] == '-') -+ return FALSE; -+ -+ while (*p) -+ { -+ if (!svn_ctype_isalnum(*p) && !strchr(":.-_[]@", *p)) -+ return FALSE; -+ -+ ++p; -+ } -+ -+ return TRUE; -+} -+ - static svn_error_t *ra_svn_open(svn_ra_session_t *session, - const char **corrected_url, - const char *url, -@@ -844,8 +871,18 @@ - || (callbacks->check_tunnel_func && callbacks->open_tunnel_func - && !callbacks->check_tunnel_func(callbacks->tunnel_baton, - tunnel)))) -- SVN_ERR(find_tunnel_agent(tunnel, uri.hostinfo, &tunnel_argv, config, -- result_pool)); -+ { -+ const char *decoded_hostinfo; -+ -+ decoded_hostinfo = svn_path_uri_decode(uri.hostinfo, result_pool); -+ -+ if (!is_valid_hostinfo(decoded_hostinfo)) -+ return svn_error_createf(SVN_ERR_BAD_URL, NULL, _("Invalid host '%s'"), -+ uri.hostinfo); -+ -+ SVN_ERR(find_tunnel_agent(tunnel, decoded_hostinfo, &tunnel_argv, -+ config, result_pool)); -+ } - else - tunnel_argv = NULL; - - ------------------------------------------------------------------------- diff --git a/meta/recipes-devtools/subversion/subversion_1.9.6.bb b/meta/recipes-devtools/subversion/subversion_1.9.7.bb similarity index 95% rename from meta/recipes-devtools/subversion/subversion_1.9.6.bb rename to meta/recipes-devtools/subversion/subversion_1.9.7.bb index 532edeb..57735f7 100644 --- a/meta/recipes-devtools/subversion/subversion_1.9.6.bb +++ b/meta/recipes-devtools/subversion/subversion_1.9.7.bb @@ -15,11 +15,10 @@ SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ file://serf.m4-Regex-modified-to-allow-D-in-paths.patch \ file://0001-Fix-libtool-name-in-configure.ac.patch \ file://serfmacro.patch \ - file://CVE-2017-9800.patch;striplevel=0 \ " -SRC_URI[md5sum] = "f27e00338d4a9f7f9aec9d4a3f8b418b" -SRC_URI[sha256sum] = "dbcbc51fb634082f009121f2cb64350ce32146612787ffb0f7ced351aacaae19" +SRC_URI[md5sum] = "05b0c677681073920f938c1f322e0be2" +SRC_URI[sha256sum] = "c3b118333ce12e501d509e66bb0a47bcc34d053990acab45559431ac3e491623" LIC_FILES_CHKSUM = "file://LICENSE;md5=af81ae49ba359e70626c05e9bf313709" -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 @ 2018-01-17 15:22 Richard Purdie 2018-01-17 15:22 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie 0 siblings, 1 reply; 8+ messages in thread From: Richard Purdie @ 2018-01-17 15:22 UTC (permalink / raw) To: openembedded-core Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/recipes-devtools/nasm/nasm_2.13.01.bb | 28 ---------------------------- meta/recipes-devtools/nasm/nasm_2.13.02.bb | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 meta/recipes-devtools/nasm/nasm_2.13.01.bb create mode 100644 meta/recipes-devtools/nasm/nasm_2.13.02.bb diff --git a/meta/recipes-devtools/nasm/nasm_2.13.01.bb b/meta/recipes-devtools/nasm/nasm_2.13.01.bb deleted file mode 100644 index bf18cd6..0000000 --- a/meta/recipes-devtools/nasm/nasm_2.13.01.bb +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "General-purpose x86 assembler" -SECTION = "devel" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe" - -SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 " - -SRC_URI[md5sum] = "1f7d4662040d24351df7d6719ed4f97a" -SRC_URI[sha256sum] = "08f97baf0a7f892128c6413cfa93b69dc5825fbbd06c70928aea028835d198fa" - -inherit autotools-brokensep - -do_configure_prepend () { - if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then - mv ${S}/aclocal.m4 ${S}/acinclude.m4 - fi -} - -do_install() { - install -d ${D}${bindir} - install -d ${D}${mandir}/man1 - - oe_runmake 'INSTALLROOT=${D}' install -} - -BBCLASSEXTEND = "native" - -DEPENDS = "groff-native" diff --git a/meta/recipes-devtools/nasm/nasm_2.13.02.bb b/meta/recipes-devtools/nasm/nasm_2.13.02.bb new file mode 100644 index 0000000..15672ab --- /dev/null +++ b/meta/recipes-devtools/nasm/nasm_2.13.02.bb @@ -0,0 +1,28 @@ +SUMMARY = "General-purpose x86 assembler" +SECTION = "devel" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=90904486f8fbf1861cf42752e1a39efe" + +SRC_URI = "http://www.nasm.us/pub/nasm/releasebuilds/${PV}/nasm-${PV}.tar.bz2 " + +SRC_URI[md5sum] = "f301c7ce89f28af9319edaf917365f61" +SRC_URI[sha256sum] = "8d3028d286be7c185ba6ae4c8a692fc5438c129b2a3ffad60cbdcedd2793bbbe" + +inherit autotools-brokensep + +do_configure_prepend () { + if [ -f ${S}/aclocal.m4 ] && [ ! -f ${S}/acinclude.m4 ]; then + mv ${S}/aclocal.m4 ${S}/acinclude.m4 + fi +} + +do_install() { + install -d ${D}${bindir} + install -d ${D}${mandir}/man1 + + oe_runmake 'INSTALLROOT=${D}' install +} + +BBCLASSEXTEND = "native" + +DEPENDS = "groff-native" -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 2018-01-17 15:22 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie @ 2018-01-17 15:22 ` Richard Purdie 0 siblings, 0 replies; 8+ messages in thread From: Richard Purdie @ 2018-01-17 15:22 UTC (permalink / raw) To: openembedded-core LICENSE file contains a list of files and addtional files were added to the list, license was unchanged. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb | 35 +++++++++++++++++++++++ meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb | 34 ---------------------- 2 files changed, 35 insertions(+), 34 deletions(-) create mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb delete mode 100644 meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb b/meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb new file mode 100644 index 0000000..dd695f8 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules_2.10.4.bb @@ -0,0 +1,35 @@ +SECTION = "devel" +SUMMARY = "Linux Trace Toolkit KERNEL MODULE" +DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" +LICENSE = "LGPLv2.1 & GPLv2 & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c4613d1f8a9587bd7b366191830364b3 \ + file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ + file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad \ + " + +inherit module + +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux' + +SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ + file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ + file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ +" + +SRC_URI[md5sum] = "832452b321a4df6836549e72d05b2ce9" +SRC_URI[sha256sum] = "f918e3b890f378f47a9ba8710ff52590e9b1d9c63b12a0e64d138e2e2e1b3c8a" + +export INSTALL_MOD_DIR="kernel/lttng-modules" + +EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" + +do_install_append() { + # Delete empty directories to avoid QA failures if no modules were built + find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; +} + +python do_package_prepend() { + if not os.path.exists(os.path.join(d.getVar('D'), d.getVar('nonarch_base_libdir')[1:], 'modules')): + bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) +} + diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb b/meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb deleted file mode 100644 index 61d9744..0000000 --- a/meta/recipes-kernel/lttng/lttng-modules_2.9.5.bb +++ /dev/null @@ -1,34 +0,0 @@ -SECTION = "devel" -SUMMARY = "Linux Trace Toolkit KERNEL MODULE" -DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" -LICENSE = "LGPLv2.1 & GPLv2 & MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=362844633a08753bd96ab322a6c7f9f6 \ - file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ - file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" - -inherit module - -COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux' - -SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ - file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ - file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ -" - -SRC_URI[md5sum] = "af97aaaf86133fd783bb9937dc3b4d59" -SRC_URI[sha256sum] = "3f4e82ceb1c3c1875ec1fe89fba08294ed7feec2161339a5a71a066b27fc3e22" - -export INSTALL_MOD_DIR="kernel/lttng-modules" - -EXTRA_OEMAKE += "KERNELDIR='${STAGING_KERNEL_DIR}'" - -do_install_append() { - # Delete empty directories to avoid QA failures if no modules were built - find ${D}/${nonarch_base_libdir} -depth -type d -empty -exec rmdir {} \; -} - -python do_package_prepend() { - if not os.path.exists(os.path.join(d.getVar('D'), d.getVar('nonarch_base_libdir')[1:], 'modules')): - bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) -} - -- 2.7.4 ^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-17 16:57 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-01-17 15:25 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie 2018-01-17 15:25 ` [PATCH 2/4] lttng-ust: upgrade 2.9.1 -> 2.10.1 Richard Purdie 2018-01-17 15:25 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie 2018-01-17 15:23 ` Alexander Kanavin 2018-01-17 16:41 ` Richard Purdie 2018-01-17 16:57 ` Otavio Salvador 2018-01-17 15:25 ` [PATCH 4/4] subversion: upgrade 1.9.6 -> 1.9.7 Richard Purdie -- strict thread matches above, loose matches on Subject: below -- 2018-01-17 15:22 [PATCH 1/4] nasm: upgrade 2.13.01 -> 2.13.02 Richard Purdie 2018-01-17 15:22 ` [PATCH 3/4] lttng-modules: upgrade 2.9.5 -> 2.10.4 Richard Purdie
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.