diff options
Diffstat (limited to 'meta-oe/recipes-security')
| -rw-r--r-- | meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch | 8 | ||||
| -rw-r--r-- | meta-oe/recipes-security/audit/audit/0001-m4-update-ax_prog_cc_for_build.m4-to-latest.patch | 196 | ||||
| -rw-r--r-- | meta-oe/recipes-security/audit/audit_4.1.4.bb (renamed from meta-oe/recipes-security/audit/audit_4.1.3.bb) | 5 | ||||
| -rw-r--r-- | meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb (renamed from meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb) | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-security/nmap/nmap_7.92.bb | 6 | ||||
| -rw-r--r-- | meta-oe/recipes-security/nmap/nmap_7.95.bb | 6 | ||||
| -rw-r--r-- | meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb (renamed from meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_git.bb) | 6 |
9 files changed, 211 insertions, 22 deletions
diff --git a/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch b/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch index f37fbf63a7..087b31cc21 100644 --- a/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch +++ b/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 4f78fcb8728cd4bf31175b3fa610a5c003e915d1 Mon Sep 17 00:00:00 2001 | 1 | From 14e49fe508a150d99ac18e35887b7d75e84c47d8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> | 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> |
| 3 | Date: Sun, 19 Jul 2015 02:42:58 +0900 | 3 | Date: Sun, 19 Jul 2015 02:42:58 +0900 |
| 4 | Subject: [PATCH] Fixed swig host contamination issue | 4 | Subject: [PATCH] Fixed swig host contamination issue |
| @@ -19,7 +19,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
| 19 | 2 files changed, 3 insertions(+), 2 deletions(-) | 19 | 2 files changed, 3 insertions(+), 2 deletions(-) |
| 20 | 20 | ||
| 21 | diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am | 21 | diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am |
| 22 | index 428e40fa..f4dd45bc 100644 | 22 | index f8f6db18..171e96a6 100644 |
| 23 | --- a/bindings/swig/python3/Makefile.am | 23 | --- a/bindings/swig/python3/Makefile.am |
| 24 | +++ b/bindings/swig/python3/Makefile.am | 24 | +++ b/bindings/swig/python3/Makefile.am |
| 25 | @@ -23,6 +23,7 @@ | 25 | @@ -23,6 +23,7 @@ |
| @@ -30,8 +30,8 @@ index 428e40fa..f4dd45bc 100644 | |||
| 30 | LIBS = $(top_builddir)/lib/libaudit.la | 30 | LIBS = $(top_builddir)/lib/libaudit.la |
| 31 | SWIG_FLAGS = -python | 31 | SWIG_FLAGS = -python |
| 32 | SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES) | 32 | SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES) |
| 33 | @@ -35,7 +36,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li | 33 | @@ -34,7 +35,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li |
| 34 | _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la | 34 | _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la $(PYTHON3_LIBS) |
| 35 | nodist__audit_la_SOURCES = audit_wrap.c | 35 | nodist__audit_la_SOURCES = audit_wrap.c |
| 36 | audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i | 36 | audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i |
| 37 | - swig -o audit_wrap.c ${SWIG_FLAGS} ${SWIG_INCLUDES} ${srcdir}/../src/auditswig.i | 37 | - swig -o audit_wrap.c ${SWIG_FLAGS} ${SWIG_INCLUDES} ${srcdir}/../src/auditswig.i |
diff --git a/meta-oe/recipes-security/audit/audit/0001-m4-update-ax_prog_cc_for_build.m4-to-latest.patch b/meta-oe/recipes-security/audit/audit/0001-m4-update-ax_prog_cc_for_build.m4-to-latest.patch new file mode 100644 index 0000000000..cf322b8e1a --- /dev/null +++ b/meta-oe/recipes-security/audit/audit/0001-m4-update-ax_prog_cc_for_build.m4-to-latest.patch | |||
| @@ -0,0 +1,196 @@ | |||
| 1 | From 3da79b330527b5f9d6e6243c8ba12968810965a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
| 3 | Date: Fri, 10 Apr 2026 14:53:41 +0200 | ||
| 4 | Subject: [PATCH] m4: update ax_prog_cc_for_build.m4 to latest | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | After the autoconf update to 2.73 this was using -std=gnu23 | ||
| 10 | even on hosts with gcc-13 which doesn't support it: | ||
| 11 | |||
| 12 | ac_cv_prog_ac_ct_CC_FOR_BUILD='gcc ' | ||
| 13 | ac_cv_prog_cc_c23=-std=gnu23 | ||
| 14 | ac_cv_prog_cc_g=yes | ||
| 15 | ac_cv_prog_cc_stdc=-std=gnu23 | ||
| 16 | |||
| 17 | Leading to: | ||
| 18 | gcc -std=gnu23 -DHAVE_CONFIG_H -I. -I../../sources/audit-4.1.4/lib -I.. -I. -I../../sources/audit-4.1.4 -I../../sources/audit-4.1.4/auparse -I../../sources/audit-4.1.4/common -isystem/audit/4.1.4/recipe-sysroot-native/usr/include '-DTABLE_H="fieldtab.h"' -isystem/audit/4.1.4/recipe-sysroot-native/usr/include -O2 -pipe -c -o gen_fieldtabs_h-gen_tables.o `test -f 'gen_tables.c' || echo '../../sources/audit-4.1.4/lib/'`gen_tables.c | ||
| 19 | gcc: error: unrecognized command-line option â-std=gnu23â; did you mean â-std=gnu2xâ? | ||
| 20 | |||
| 21 | Needs the updated ac_cv_prog_cc_c23 from: | ||
| 22 | https://github.com/autoconf-archive/autoconf-archive/commit/8a970ce96721f516fef4226e5eca8da341159765 | ||
| 23 | |||
| 24 | Upstream-Status: Submitted [https://github.com/linux-audit/audit-userspace/pull/524] | ||
| 25 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 26 | --- | ||
| 27 | m4/ax_prog_cc_for_build.m4 | 100 +++++++++++++++++++++++++++---------- | ||
| 28 | 1 file changed, 75 insertions(+), 25 deletions(-) | ||
| 29 | |||
| 30 | diff --git a/m4/ax_prog_cc_for_build.m4 b/m4/ax_prog_cc_for_build.m4 | ||
| 31 | index 77fd346a..4d1de993 100644 | ||
| 32 | --- a/m4/ax_prog_cc_for_build.m4 | ||
| 33 | +++ b/m4/ax_prog_cc_for_build.m4 | ||
| 34 | @@ -1,5 +1,5 @@ | ||
| 35 | # =========================================================================== | ||
| 36 | -# http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html | ||
| 37 | +# https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html | ||
| 38 | # =========================================================================== | ||
| 39 | # | ||
| 40 | # SYNOPSIS | ||
| 41 | @@ -32,28 +32,32 @@ | ||
| 42 | # and this notice are preserved. This file is offered as-is, without any | ||
| 43 | # warranty. | ||
| 44 | |||
| 45 | -#serial 8 | ||
| 46 | +#serial 26 | ||
| 47 | |||
| 48 | AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD]) | ||
| 49 | AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl | ||
| 50 | AC_REQUIRE([AC_PROG_CC])dnl | ||
| 51 | AC_REQUIRE([AC_PROG_CPP])dnl | ||
| 52 | -AC_REQUIRE([AC_EXEEXT])dnl | ||
| 53 | -AC_REQUIRE([AC_CANONICAL_HOST])dnl | ||
| 54 | +AC_REQUIRE([AC_CANONICAL_BUILD])dnl | ||
| 55 | |||
| 56 | dnl Use the standard macros, but make them use other variable names | ||
| 57 | dnl | ||
| 58 | pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl | ||
| 59 | pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl | ||
| 60 | +pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl | ||
| 61 | +pushdef([ac_cv_prog_cc_c99], ac_cv_build_prog_cc_c99)dnl | ||
| 62 | +pushdef([ac_cv_prog_cc_c11], ac_cv_build_prog_cc_c11)dnl | ||
| 63 | +pushdef([ac_cv_prog_cc_c23], ac_cv_build_prog_cc_c23)dnl | ||
| 64 | +pushdef([ac_cv_prog_cc_stdc], ac_cv_build_prog_cc_stdc)dnl | ||
| 65 | pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl | ||
| 66 | pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl | ||
| 67 | pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl | ||
| 68 | -pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl | ||
| 69 | -pushdef([ac_cv_objext], ac_cv_build_objext)dnl | ||
| 70 | +pushdef([ac_prog_cc_stdc], ac_build_prog_cc_stdc)dnl | ||
| 71 | pushdef([ac_exeext], ac_build_exeext)dnl | ||
| 72 | pushdef([ac_objext], ac_build_objext)dnl | ||
| 73 | pushdef([CC], CC_FOR_BUILD)dnl | ||
| 74 | pushdef([CPP], CPP_FOR_BUILD)dnl | ||
| 75 | +pushdef([GCC], GCC_FOR_BUILD)dnl | ||
| 76 | pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl | ||
| 77 | pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl | ||
| 78 | pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl | ||
| 79 | @@ -67,27 +71,58 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl | ||
| 80 | pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl | ||
| 81 | pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl | ||
| 82 | pushdef([ac_cv_host_os], ac_cv_build_os)dnl | ||
| 83 | -pushdef([ac_cpp], ac_build_cpp)dnl | ||
| 84 | -pushdef([ac_compile], ac_build_compile)dnl | ||
| 85 | -pushdef([ac_link], ac_build_link)dnl | ||
| 86 | +pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl | ||
| 87 | +pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl | ||
| 88 | +pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl | ||
| 89 | +pushdef([cross_compiling], cross_compiling_build)dnl | ||
| 90 | +dnl | ||
| 91 | +dnl These variables are problematic to rename by M4 macros, so we save | ||
| 92 | +dnl their values in alternative names, and restore the values later. | ||
| 93 | +dnl | ||
| 94 | +dnl _AC_COMPILER_EXEEXT and _AC_COMPILER_OBJEXT internally call | ||
| 95 | +dnl AC_SUBST which prevents the renaming of EXEEXT and OBJEXT | ||
| 96 | +dnl variables. It's not a good idea to rename ac_cv_exeext and | ||
| 97 | +dnl ac_cv_objext either as they're related. | ||
| 98 | +dnl Renaming ac_exeext and ac_objext is safe though. | ||
| 99 | +dnl | ||
| 100 | +ac_cv_host_exeext=$ac_cv_exeext | ||
| 101 | +AS_VAR_SET_IF([ac_cv_build_exeext], | ||
| 102 | + [ac_cv_exeext=$ac_cv_build_exeext], | ||
| 103 | + [AS_UNSET([ac_cv_exeext])]) | ||
| 104 | +ac_cv_host_objext=$ac_cv_objext | ||
| 105 | +AS_VAR_SET_IF([ac_cv_build_objext], | ||
| 106 | + [ac_cv_objext=$ac_cv_build_objext], | ||
| 107 | + [AS_UNSET([ac_cv_objext])]) | ||
| 108 | +dnl | ||
| 109 | +dnl ac_cv_c_compiler_gnu is used in _AC_LANG_COMPILER_GNU (called by | ||
| 110 | +dnl AC_PROG_CC) indirectly. | ||
| 111 | +dnl | ||
| 112 | +ac_cv_host_c_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 113 | +AS_VAR_SET_IF([ac_cv_build_c_compiler_gnu], | ||
| 114 | + [ac_cv_c_compiler_gnu=$ac_cv_build_c_compiler_gnu], | ||
| 115 | + [AS_UNSET([ac_cv_c_compiler_gnu])]) | ||
| 116 | + | ||
| 117 | +cross_compiling_build=no | ||
| 118 | |||
| 119 | -save_cross_compiling=$cross_compiling | ||
| 120 | -save_ac_tool_prefix=$ac_tool_prefix | ||
| 121 | -cross_compiling=no | ||
| 122 | -ac_tool_prefix= | ||
| 123 | +ac_build_tool_prefix= | ||
| 124 | +AS_IF([test -n "$build"], [ac_build_tool_prefix="$build-"], | ||
| 125 | + [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"]) | ||
| 126 | |||
| 127 | +AC_LANG_PUSH([C]) | ||
| 128 | AC_PROG_CC | ||
| 129 | +_AC_COMPILER_EXEEXT | ||
| 130 | +_AC_COMPILER_OBJEXT | ||
| 131 | AC_PROG_CPP | ||
| 132 | -AC_EXEEXT | ||
| 133 | |||
| 134 | -ac_tool_prefix=$save_ac_tool_prefix | ||
| 135 | -cross_compiling=$save_cross_compiling | ||
| 136 | +BUILD_EXEEXT=$ac_cv_exeext | ||
| 137 | +BUILD_OBJEXT=$ac_cv_objext | ||
| 138 | |||
| 139 | dnl Restore the old definitions | ||
| 140 | dnl | ||
| 141 | -popdef([ac_link])dnl | ||
| 142 | -popdef([ac_compile])dnl | ||
| 143 | -popdef([ac_cpp])dnl | ||
| 144 | +popdef([cross_compiling])dnl | ||
| 145 | +popdef([am_cv_prog_cc_c_o])dnl | ||
| 146 | +popdef([am_cv_CC_dependencies_compiler_type])dnl | ||
| 147 | +popdef([ac_tool_prefix])dnl | ||
| 148 | popdef([ac_cv_host_os])dnl | ||
| 149 | popdef([ac_cv_host_vendor])dnl | ||
| 150 | popdef([ac_cv_host_cpu])dnl | ||
| 151 | @@ -101,24 +136,39 @@ popdef([host])dnl | ||
| 152 | popdef([LDFLAGS])dnl | ||
| 153 | popdef([CPPFLAGS])dnl | ||
| 154 | popdef([CFLAGS])dnl | ||
| 155 | +popdef([GCC])dnl | ||
| 156 | popdef([CPP])dnl | ||
| 157 | popdef([CC])dnl | ||
| 158 | popdef([ac_objext])dnl | ||
| 159 | popdef([ac_exeext])dnl | ||
| 160 | -popdef([ac_cv_objext])dnl | ||
| 161 | -popdef([ac_cv_exeext])dnl | ||
| 162 | +popdef([ac_prog_cc_stdc])dnl | ||
| 163 | popdef([ac_cv_prog_cc_g])dnl | ||
| 164 | popdef([ac_cv_prog_cc_cross])dnl | ||
| 165 | popdef([ac_cv_prog_cc_works])dnl | ||
| 166 | +popdef([ac_cv_prog_cc_stdc])dnl | ||
| 167 | +popdef([ac_cv_prog_cc_c23])dnl | ||
| 168 | +popdef([ac_cv_prog_cc_c11])dnl | ||
| 169 | +popdef([ac_cv_prog_cc_c99])dnl | ||
| 170 | +popdef([ac_cv_prog_cc_c89])dnl | ||
| 171 | popdef([ac_cv_prog_gcc])dnl | ||
| 172 | popdef([ac_cv_prog_CPP])dnl | ||
| 173 | +dnl | ||
| 174 | +ac_cv_exeext=$ac_cv_host_exeext | ||
| 175 | +EXEEXT=$ac_cv_host_exeext | ||
| 176 | +ac_cv_objext=$ac_cv_host_objext | ||
| 177 | +OBJEXT=$ac_cv_host_objext | ||
| 178 | +ac_cv_c_compiler_gnu=$ac_cv_host_c_compiler_gnu | ||
| 179 | +ac_compiler_gnu=$ac_cv_host_c_compiler_gnu | ||
| 180 | + | ||
| 181 | +dnl restore global variables ac_ext, ac_cpp, ac_compile, | ||
| 182 | +dnl ac_link, ac_compiler_gnu (dependent on the current | ||
| 183 | +dnl language after popping): | ||
| 184 | +AC_LANG_POP([C]) | ||
| 185 | |||
| 186 | dnl Finally, set Makefile variables | ||
| 187 | dnl | ||
| 188 | -BUILD_EXEEXT=$ac_build_exeext | ||
| 189 | -BUILD_OBJEXT=$ac_build_objext | ||
| 190 | -AC_SUBST(BUILD_EXEEXT)dnl | ||
| 191 | -AC_SUBST(BUILD_OBJEXT)dnl | ||
| 192 | +AC_SUBST([BUILD_EXEEXT])dnl | ||
| 193 | +AC_SUBST([BUILD_OBJEXT])dnl | ||
| 194 | AC_SUBST([CFLAGS_FOR_BUILD])dnl | ||
| 195 | AC_SUBST([CPPFLAGS_FOR_BUILD])dnl | ||
| 196 | AC_SUBST([LDFLAGS_FOR_BUILD])dnl | ||
diff --git a/meta-oe/recipes-security/audit/audit_4.1.3.bb b/meta-oe/recipes-security/audit/audit_4.1.4.bb index 12636045d4..e349ee76d0 100644 --- a/meta-oe/recipes-security/audit/audit_4.1.3.bb +++ b/meta-oe/recipes-security/audit/audit_4.1.4.bb | |||
| @@ -7,12 +7,13 @@ SECTION = "base" | |||
| 7 | LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later" | 7 | LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https \ | 10 | SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https;tag=v${PV} \ |
| 11 | file://0001-Fixed-swig-host-contamination-issue.patch \ | 11 | file://0001-Fixed-swig-host-contamination-issue.patch \ |
| 12 | file://0001-m4-update-ax_prog_cc_for_build.m4-to-latest.patch \ | ||
| 12 | file://auditd \ | 13 | file://auditd \ |
| 13 | " | 14 | " |
| 14 | 15 | ||
| 15 | SRCREV = "dfda9708910e4e72412e68d638087b29522df386" | 16 | SRCREV = "07eea50408d28c953d4048dfef3da6556ce4b569" |
| 16 | 17 | ||
| 17 | inherit autotools python3targetconfig update-rc.d systemd | 18 | inherit autotools python3targetconfig update-rc.d systemd |
| 18 | 19 | ||
diff --git a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb index 0db94b40fa..7e63435e90 100644 --- a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.1.bb +++ b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.11.2.bb | |||
| @@ -8,7 +8,7 @@ DEPENDS = "libcap" | |||
| 8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
| 9 | https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ | 9 | https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ |
| 10 | " | 10 | " |
| 11 | SRC_URI[sha256sum] = "c1b7455a1283b1295879a46d5f001dfd088c0bb0f238abb5e128b3583a246f71" | 11 | SRC_URI[sha256sum] = "69abc30005d2186baf7737feacd8da35633b93cf5af38838ecff17c5f8e924f6" |
| 12 | 12 | ||
| 13 | inherit meson bash-completion github-releases manpages pkgconfig | 13 | inherit meson bash-completion github-releases manpages pkgconfig |
| 14 | 14 | ||
diff --git a/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb b/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb index 86f45656f6..2e7503cd42 100644 --- a/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb +++ b/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb | |||
| @@ -44,6 +44,8 @@ EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \ | |||
| 44 | NO_GLIBC_KEYERR=1 \ | 44 | NO_GLIBC_KEYERR=1 \ |
| 45 | " | 45 | " |
| 46 | 46 | ||
| 47 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" | ||
| 48 | |||
| 47 | do_install () { | 49 | do_install () { |
| 48 | oe_runmake DESTDIR=${D} install | 50 | oe_runmake DESTDIR=${D} install |
| 49 | } | 51 | } |
diff --git a/meta-oe/recipes-security/nmap/nmap_7.92.bb b/meta-oe/recipes-security/nmap/nmap_7.92.bb index 98969fe001..33767dfb96 100644 --- a/meta-oe/recipes-security/nmap/nmap_7.92.bb +++ b/meta-oe/recipes-security/nmap/nmap_7.92.bb | |||
| @@ -59,8 +59,4 @@ do_install:append() { | |||
| 59 | 59 | ||
| 60 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" | 60 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" |
| 61 | 61 | ||
| 62 | RDEPENDS:${PN} += " \ | 62 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'ndiff', 'python3-difflib python3-asyncio python3-xml', '', d)}" |
| 63 | python3-difflib \ | ||
| 64 | python3-asyncio \ | ||
| 65 | python3-xml \ | ||
| 66 | " | ||
diff --git a/meta-oe/recipes-security/nmap/nmap_7.95.bb b/meta-oe/recipes-security/nmap/nmap_7.95.bb index a892c1e910..8841a8cd78 100644 --- a/meta-oe/recipes-security/nmap/nmap_7.95.bb +++ b/meta-oe/recipes-security/nmap/nmap_7.95.bb | |||
| @@ -59,8 +59,4 @@ do_install:append() { | |||
| 59 | 59 | ||
| 60 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" | 60 | FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" |
| 61 | 61 | ||
| 62 | RDEPENDS:${PN} += " \ | 62 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'ndiff', 'python3-difflib python3-asyncio python3-xml', '', d)}" |
| 63 | python3-difflib \ | ||
| 64 | python3-asyncio \ | ||
| 65 | python3-xml \ | ||
| 66 | " | ||
diff --git a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb index ae196946d9..662519d5b2 100644 --- a/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb +++ b/meta-oe/recipes-security/spdm-emu/spdm-emu_git.bb | |||
| @@ -34,7 +34,7 @@ def get_spdm_multiarch(d): | |||
| 34 | if target_arch in multiarch_options: | 34 | if target_arch in multiarch_options: |
| 35 | return multiarch_options[target_arch] | 35 | return multiarch_options[target_arch] |
| 36 | 36 | ||
| 37 | bb.fatal("unsupported architecture '%s'" % target_arch) | 37 | bb.parse.SkipRecipe("unsupported architecture '%s'" % target_arch) |
| 38 | 38 | ||
| 39 | EXTRA_OECMAKE += "\ | 39 | EXTRA_OECMAKE += "\ |
| 40 | -DARCH=${@get_spdm_multiarch(d)} \ | 40 | -DARCH=${@get_spdm_multiarch(d)} \ |
diff --git a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_git.bb b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb index e239770584..a86869e752 100644 --- a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_git.bb +++ b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_26.33.0420460.bb | |||
| @@ -8,10 +8,8 @@ BUGTRACKER = "https://github.com/speed47/spectre-meltdown-checker/issues" | |||
| 8 | LICENSE = "GPL-3.0-only" | 8 | LICENSE = "GPL-3.0-only" |
| 9 | LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4" | 9 | LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4" |
| 10 | 10 | ||
| 11 | PV = "0.46+git" | 11 | SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master;tag=v${PV}" |
| 12 | 12 | SRCREV = "1c067add59115190e8d87313ff5899b29bff0ff3" | |
| 13 | SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master" | ||
| 14 | SRCREV = "a20641fbad57f37da6093203484ca28769e5bb64" | ||
| 15 | 13 | ||
| 16 | # binutils: readelf,objdump might be used for deeper analysis | 14 | # binutils: readelf,objdump might be used for deeper analysis |
| 17 | # coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases | 15 | # coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases |
