diff options
| author | Armin Kuster <akuster808@gmail.com> | 2021-07-29 16:31:12 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2021-08-01 08:47:08 -0700 |
| commit | 11a67b861af74d59ccfd609d6d943e966ccff731 (patch) | |
| tree | ce619cf42798050439a4c04ed471ed293f17ede4 /recipes-core | |
| parent | d3a484abf81fc196389480df89cf5c82d13e6381 (diff) | |
| download | meta-security-11a67b861af74d59ccfd609d6d943e966ccff731.tar.gz | |
meta-security: Convert to new override syntax
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-core')
| -rw-r--r-- | recipes-core/initrdscripts/initramfs-framework.inc | 14 | ||||
| -rw-r--r-- | recipes-core/packagegroup/packagegroup-core-security.bb | 34 |
2 files changed, 24 insertions, 24 deletions
diff --git a/recipes-core/initrdscripts/initramfs-framework.inc b/recipes-core/initrdscripts/initramfs-framework.inc index 12010bf..1a724d6 100644 --- a/recipes-core/initrdscripts/initramfs-framework.inc +++ b/recipes-core/initrdscripts/initramfs-framework.inc | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/initramfs-framework-dm:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/initramfs-framework-dm:" |
| 2 | 2 | ||
| 3 | SRC_URI_append = "\ | 3 | SRC_URI:append = "\ |
| 4 | file://dmverity \ | 4 | file://dmverity \ |
| 5 | " | 5 | " |
| 6 | 6 | ||
| 7 | do_install_append() { | 7 | do_install:append() { |
| 8 | # dm-verity | 8 | # dm-verity |
| 9 | install ${WORKDIR}/dmverity ${D}/init.d/80-dmverity | 9 | install ${WORKDIR}/dmverity ${D}/init.d/80-dmverity |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | PACKAGES_append = " initramfs-module-dmverity" | 12 | PACKAGES:append = " initramfs-module-dmverity" |
| 13 | 13 | ||
| 14 | SUMMARY_initramfs-module-dmverity = "initramfs dm-verity rootfs support" | 14 | SUMMARY:initramfs-module-dmverity = "initramfs dm-verity rootfs support" |
| 15 | RDEPENDS_initramfs-module-dmverity = "${PN}-base" | 15 | RDEPENDS:initramfs-module-dmverity = "${PN}-base" |
| 16 | FILES_initramfs-module-dmverity = "/init.d/80-dmverity" | 16 | FILES:initramfs-module-dmverity = "/init.d/80-dmverity" |
diff --git a/recipes-core/packagegroup/packagegroup-core-security.bb b/recipes-core/packagegroup/packagegroup-core-security.bb index 37473d1..c76b3de 100644 --- a/recipes-core/packagegroup/packagegroup-core-security.bb +++ b/recipes-core/packagegroup/packagegroup-core-security.bb | |||
| @@ -16,7 +16,7 @@ PACKAGES = "\ | |||
| 16 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ | 16 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | RDEPENDS_packagegroup-core-security = "\ | 19 | RDEPENDS:packagegroup-core-security = "\ |
| 20 | packagegroup-security-utils \ | 20 | packagegroup-security-utils \ |
| 21 | packagegroup-security-scanners \ | 21 | packagegroup-security-scanners \ |
| 22 | packagegroup-security-audit \ | 22 | packagegroup-security-audit \ |
| @@ -26,8 +26,8 @@ RDEPENDS_packagegroup-core-security = "\ | |||
| 26 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ | 26 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | SUMMARY_packagegroup-security-utils = "Security utilities" | 29 | SUMMARY:packagegroup-security-utils = "Security utilities" |
| 30 | RDEPENDS_packagegroup-security-utils = "\ | 30 | RDEPENDS:packagegroup-security-utils = "\ |
| 31 | checksec \ | 31 | checksec \ |
| 32 | ding-libs \ | 32 | ding-libs \ |
| 33 | ecryptfs-utils \ | 33 | ecryptfs-utils \ |
| @@ -46,46 +46,46 @@ RDEPENDS_packagegroup-security-utils = "\ | |||
| 46 | ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \ | 46 | ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \ |
| 47 | " | 47 | " |
| 48 | 48 | ||
| 49 | SUMMARY_packagegroup-security-scanners = "Security scanners" | 49 | SUMMARY:packagegroup-security-scanners = "Security scanners" |
| 50 | RDEPENDS_packagegroup-security-scanners = "\ | 50 | RDEPENDS:packagegroup-security-scanners = "\ |
| 51 | isic \ | 51 | isic \ |
| 52 | nikto \ | 52 | nikto \ |
| 53 | checksecurity \ | 53 | checksecurity \ |
| 54 | ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 riscv64", "", " clamav clamav-daemon clamav-freshclam",d)} \ | 54 | ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 riscv64", "", " clamav clamav-daemon clamav-freshclam",d)} \ |
| 55 | " | 55 | " |
| 56 | RDEPENDS_packagegroup-security-scanners_remove_libc-musl = "clamav clamav-daemon clamav-freshclam" | 56 | RDEPENDS:packagegroup-security-scanners:remove:libc-musl = "clamav clamav-daemon clamav-freshclam" |
| 57 | 57 | ||
| 58 | SUMMARY_packagegroup-security-audit = "Security Audit tools " | 58 | SUMMARY:packagegroup-security-audit = "Security Audit tools " |
| 59 | RDEPENDS_packagegroup-security-audit = " \ | 59 | RDEPENDS:packagegroup-security-audit = " \ |
| 60 | buck-security \ | 60 | buck-security \ |
| 61 | redhat-security \ | 61 | redhat-security \ |
| 62 | " | 62 | " |
| 63 | 63 | ||
| 64 | SUMMARY_packagegroup-security-hardening = "Security Hardening tools" | 64 | SUMMARY:packagegroup-security-hardening = "Security Hardening tools" |
| 65 | RDEPENDS_packagegroup-security-hardening = " \ | 65 | RDEPENDS:packagegroup-security-hardening = " \ |
| 66 | bastille \ | 66 | bastille \ |
| 67 | " | 67 | " |
| 68 | 68 | ||
| 69 | SUMMARY_packagegroup-security-ids = "Security Intrusion Detection systems" | 69 | SUMMARY:packagegroup-security-ids = "Security Intrusion Detection systems" |
| 70 | RDEPENDS_packagegroup-security-ids = " \ | 70 | RDEPENDS:packagegroup-security-ids = " \ |
| 71 | samhain-standalone \ | 71 | samhain-standalone \ |
| 72 | ${@bb.utils.contains_any("TUNE_FEATURES", "ppc7400 riscv32 riscv64", "", " suricata",d)} \ | 72 | ${@bb.utils.contains_any("TUNE_FEATURES", "ppc7400 riscv32 riscv64", "", " suricata",d)} \ |
| 73 | ossec-hids \ | 73 | ossec-hids \ |
| 74 | aide \ | 74 | aide \ |
| 75 | " | 75 | " |
| 76 | 76 | ||
| 77 | RDEPENDS_packagegroup-security-ids_remove_libc-musl = "ossec-hids" | 77 | RDEPENDS:packagegroup-security-ids:remove:libc-musl = "ossec-hids" |
| 78 | 78 | ||
| 79 | SUMMARY_packagegroup-security-mac = "Security Mandatory Access Control systems" | 79 | SUMMARY:packagegroup-security-mac = "Security Mandatory Access Control systems" |
| 80 | RDEPENDS_packagegroup-security-mac = " \ | 80 | RDEPENDS:packagegroup-security-mac = " \ |
| 81 | ${@bb.utils.contains("DISTRO_FEATURES", "tomoyo", "ccs-tools", "",d)} \ | 81 | ${@bb.utils.contains("DISTRO_FEATURES", "tomoyo", "ccs-tools", "",d)} \ |
| 82 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \ | 82 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \ |
| 83 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack", "",d)} \ | 83 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack", "",d)} \ |
| 84 | " | 84 | " |
| 85 | 85 | ||
| 86 | RDEPENDS_packagegroup-security-mac_remove_mipsarch = "apparmor" | 86 | RDEPENDS:packagegroup-security-mac:remove:mipsarch = "apparmor" |
| 87 | 87 | ||
| 88 | RDEPENDS_packagegroup-meta-security-ptest-packages = "\ | 88 | RDEPENDS:packagegroup-meta-security-ptest-packages = "\ |
| 89 | ptest-runner \ | 89 | ptest-runner \ |
| 90 | samhain-standalone-ptest \ | 90 | samhain-standalone-ptest \ |
| 91 | ${@bb.utils.contains_any("TUNE_FEATURES", "ppc7400 riscv32 riscv64", "", " suricata-ptest",d)} \ | 91 | ${@bb.utils.contains_any("TUNE_FEATURES", "ppc7400 riscv32 riscv64", "", " suricata-ptest",d)} \ |
