blob: b8ab27df12198dc02cf56e5cd7bcf0313263745d [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301DESCRIPTION = "Security packagegroup for Poky"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
6inherit packagegroup
7
8PACKAGES = "\
9 packagegroup-core-security \
10 packagegroup-security-utils \
11 packagegroup-security-scanners \
12 packagegroup-security-ids \
13 packagegroup-security-mac \
14 ${@bb.utils.contains("MACHINE_FEATURES", "tpm", "packagegroup-security-tpm", "",d)} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-security-ptest", "", d)} \
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053016 "
17
18RDEPENDS_packagegroup-core-security = "\
19 packagegroup-security-utils \
20 packagegroup-security-scanners \
21 packagegroup-security-ids \
22 packagegroup-security-mac \
23 ${@bb.utils.contains("MACHINE_FEATURES", "tpm", "packagegroup-security-tpm", "",d)} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024 ${@bb.utils.contains("DISTRO_FEATURES", "ptest", "packagegroup-security-ptest", "", d)} \
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053025 "
26
27SUMMARY_packagegroup-security-utils = "Security utilities"
28RDEPENDS_packagegroup-security-utils = "\
29 checksec \
30 nmap \
31 pinentry \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032 python-scapy \
33 ding-libs \
34 xmlsec1 \
35 keyutils \
36 libseccomp \
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053037 ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils", "",d)} \
38 "
39
40SUMMARY_packagegroup-security-scanners = "Security scanners"
41RDEPENDS_packagegroup-security-scanners = "\
42 nikto \
43 checksecurity \
44 clamav \
45 "
46
47SUMMARY_packagegroup-security-audit = "Security Audit tools "
48RDEPENDS_packagegroup-security-audit = " \
49 buck-security \
50 redhat-security \
51 "
52
53SUMMARY_packagegroup-security-hardening = "Security Hardening tools"
54RDEPENDS_packagegroup-security-hardening = " \
55 bastille \
56 "
57
58SUMMARY_packagegroup-security-ids = "Security Intrusion Detection systems"
59RDEPENDS_packagegroup-security-ids = " \
60 tripwire \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080061 samhain-standalone \
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053062 suricata \
63 "
64
65SUMMARY_packagegroup-security-mac = "Security Mandatory Access Control systems"
66RDEPENDS_packagegroup-security-mac = " \
67 ${@bb.utils.contains("DISTRO_FEATURES", "tomoyo", "ccs-tools", "",d)} \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080068 ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053069 ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack", "",d)} \
70 "
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080071
72SUMMARY_packagegroup-security-ptest = "Security packages with ptests"
73RDEPENDS_packagegroup-security-ptest = " \
74 samhain-standalone-ptest \
75 xmlsec1-ptest \
76 keyutils-ptest \
77 libseccomp-ptest \
78 python-scapy-ptest \
79 suricata-ptest \
80 tripwire-ptest \
Brad Bishop19323692019-04-05 15:28:33 -040081 python-fail2ban-ptest \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080082 ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor-ptest", "",d)} \
83 ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \
84 ptest-runner \
85 "