Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | DESCRIPTION = "Security packagegroup for Poky" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \ |
| 4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 5 | |
| 6 | inherit packagegroup |
| 7 | |
| 8 | PACKAGES = "\ |
| 9 | packagegroup-core-security \ |
| 10 | packagegroup-security-utils \ |
| 11 | packagegroup-security-scanners \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 12 | packagegroup-security-audit \ |
| 13 | packagegroup-security-hardening \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 14 | packagegroup-security-ids \ |
| 15 | packagegroup-security-mac \ |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 16 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 17 | " |
| 18 | |
| 19 | RDEPENDS_packagegroup-core-security = "\ |
| 20 | packagegroup-security-utils \ |
| 21 | packagegroup-security-scanners \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 22 | packagegroup-security-audit \ |
| 23 | packagegroup-security-hardening \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 24 | packagegroup-security-ids \ |
| 25 | packagegroup-security-mac \ |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 26 | ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-meta-security-ptest-packages", "", d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 27 | " |
| 28 | |
| 29 | SUMMARY_packagegroup-security-utils = "Security utilities" |
| 30 | RDEPENDS_packagegroup-security-utils = "\ |
| 31 | checksec \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 32 | ding-libs \ |
| 33 | ecryptfs-utils \ |
| 34 | fscryptctl \ |
| 35 | keyutils \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 36 | nmap \ |
| 37 | pinentry \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 38 | python3-privacyidea \ |
| 39 | python3-fail2ban \ |
Brad Bishop | 1fdf4aa | 2019-09-09 14:56:41 -0400 | [diff] [blame] | 40 | python3-scapy \ |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 41 | softhsm \ |
| 42 | libest \ |
| 43 | opendnssec \ |
Andrew Geissler | b2fe863 | 2020-08-21 15:57:21 -0500 | [diff] [blame] | 44 | ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 ", "", " libseccomp",d)} \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 45 | ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd google-authenticator-libpam", "",d)} \ |
| 46 | ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 47 | " |
| 48 | |
| 49 | SUMMARY_packagegroup-security-scanners = "Security scanners" |
| 50 | RDEPENDS_packagegroup-security-scanners = "\ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 51 | isic \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 52 | nikto \ |
| 53 | checksecurity \ |
Andrew Geissler | b2fe863 | 2020-08-21 15:57:21 -0500 | [diff] [blame] | 54 | ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 riscv64", "", " clamav clamav-freshclam clamav-cvd",d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 55 | " |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 56 | RDEPENDS_packagegroup-security-scanners_remove_libc-musl = "clamav clamav-freshclam clamav-cvd" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 57 | |
| 58 | SUMMARY_packagegroup-security-audit = "Security Audit tools " |
| 59 | RDEPENDS_packagegroup-security-audit = " \ |
| 60 | buck-security \ |
| 61 | redhat-security \ |
| 62 | " |
| 63 | |
| 64 | SUMMARY_packagegroup-security-hardening = "Security Hardening tools" |
| 65 | RDEPENDS_packagegroup-security-hardening = " \ |
| 66 | bastille \ |
| 67 | " |
| 68 | |
| 69 | SUMMARY_packagegroup-security-ids = "Security Intrusion Detection systems" |
| 70 | RDEPENDS_packagegroup-security-ids = " \ |
| 71 | tripwire \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 72 | samhain-standalone \ |
Andrew Geissler | cc58928 | 2020-09-18 13:34:40 -0500 | [diff] [blame] | 73 | ${@bb.utils.contains_any("TUNE_FEATURES", "ppc7400 riscv32 riscv64", "", " suricata",d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 74 | " |
| 75 | |
| 76 | SUMMARY_packagegroup-security-mac = "Security Mandatory Access Control systems" |
| 77 | RDEPENDS_packagegroup-security-mac = " \ |
| 78 | ${@bb.utils.contains("DISTRO_FEATURES", "tomoyo", "ccs-tools", "",d)} \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 79 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 80 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack", "",d)} \ |
| 81 | " |
Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 82 | |
| 83 | RDEPENDS_packagegroup-meta-security-ptest-packages = "\ |
| 84 | ptest-runner \ |
| 85 | samhain-standalone-ptest \ |
| 86 | libseccomp-ptest \ |
| 87 | python3-scapy-ptest \ |
| 88 | suricata-ptest \ |
| 89 | tripwire-ptest \ |
| 90 | python3-fail2ban-ptest \ |
| 91 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \ |
| 92 | " |