diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-07-24 11:12:10 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-07-25 09:00:39 -0700 |
commit | 5af1689eae9e857a40cb92793fa6355a9d82c520 (patch) | |
tree | 25b47988936c0ef6e432d6e2ccdb6ed6b434a576 /recipes-core | |
parent | 5392cb9baaf7bb0e3fd530c79ec44757bbde5569 (diff) | |
download | meta-security-5af1689eae9e857a40cb92793fa6355a9d82c520.tar.gz |
security packagegroups: move to recipes-core
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/packagegroup/packagegroup-core-security-ptest.bb | 28 | ||||
-rw-r--r-- | recipes-core/packagegroup/packagegroup-core-security.bb | 68 |
2 files changed, 96 insertions, 0 deletions
diff --git a/recipes-core/packagegroup/packagegroup-core-security-ptest.bb b/recipes-core/packagegroup/packagegroup-core-security-ptest.bb new file mode 100644 index 0000000..cf34ded --- /dev/null +++ b/recipes-core/packagegroup/packagegroup-core-security-ptest.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "Security ptest packagegroup" | ||
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 features_check | ||
7 | |||
8 | REQUIRED_DISTRO_FEATURES = "ptest" | ||
9 | |||
10 | PACKAGES = "\ | ||
11 | ${PN} \ | ||
12 | " | ||
13 | |||
14 | ALLOW_EMPTY_${PN} = "1" | ||
15 | |||
16 | SUMMARY_${PN} = "Security packages with ptests" | ||
17 | RDEPENDS_${PN} = " \ | ||
18 | ptest-runner \ | ||
19 | samhain-standalone-ptest \ | ||
20 | keyutils-ptest \ | ||
21 | libseccomp-ptest \ | ||
22 | python3-scapy-ptest \ | ||
23 | suricata-ptest \ | ||
24 | tripwire-ptest \ | ||
25 | python3-fail2ban-ptest \ | ||
26 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor-ptest", "",d)} \ | ||
27 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack-ptest", "",d)} \ | ||
28 | " | ||
diff --git a/recipes-core/packagegroup/packagegroup-core-security.bb b/recipes-core/packagegroup/packagegroup-core-security.bb new file mode 100644 index 0000000..e0a9d05 --- /dev/null +++ b/recipes-core/packagegroup/packagegroup-core-security.bb | |||
@@ -0,0 +1,68 @@ | |||
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 \ | ||
12 | packagegroup-security-ids \ | ||
13 | packagegroup-security-mac \ | ||
14 | " | ||
15 | |||
16 | RDEPENDS_packagegroup-core-security = "\ | ||
17 | packagegroup-security-utils \ | ||
18 | packagegroup-security-scanners \ | ||
19 | packagegroup-security-ids \ | ||
20 | packagegroup-security-mac \ | ||
21 | " | ||
22 | |||
23 | SUMMARY_packagegroup-security-utils = "Security utilities" | ||
24 | RDEPENDS_packagegroup-security-utils = "\ | ||
25 | checksec \ | ||
26 | nmap \ | ||
27 | pinentry \ | ||
28 | python3-scapy \ | ||
29 | ding-libs \ | ||
30 | keyutils \ | ||
31 | libseccomp \ | ||
32 | ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd", "",d)} \ | ||
33 | ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils", "",d)} \ | ||
34 | " | ||
35 | |||
36 | SUMMARY_packagegroup-security-scanners = "Security scanners" | ||
37 | RDEPENDS_packagegroup-security-scanners = "\ | ||
38 | nikto \ | ||
39 | checksecurity \ | ||
40 | clamav \ | ||
41 | clamav-freshclam \ | ||
42 | clamav-cvd \ | ||
43 | " | ||
44 | |||
45 | SUMMARY_packagegroup-security-audit = "Security Audit tools " | ||
46 | RDEPENDS_packagegroup-security-audit = " \ | ||
47 | buck-security \ | ||
48 | redhat-security \ | ||
49 | " | ||
50 | |||
51 | SUMMARY_packagegroup-security-hardening = "Security Hardening tools" | ||
52 | RDEPENDS_packagegroup-security-hardening = " \ | ||
53 | bastille \ | ||
54 | " | ||
55 | |||
56 | SUMMARY_packagegroup-security-ids = "Security Intrusion Detection systems" | ||
57 | RDEPENDS_packagegroup-security-ids = " \ | ||
58 | tripwire \ | ||
59 | samhain-standalone \ | ||
60 | suricata \ | ||
61 | " | ||
62 | |||
63 | SUMMARY_packagegroup-security-mac = "Security Mandatory Access Control systems" | ||
64 | RDEPENDS_packagegroup-security-mac = " \ | ||
65 | ${@bb.utils.contains("DISTRO_FEATURES", "tomoyo", "ccs-tools", "",d)} \ | ||
66 | ${@bb.utils.contains("DISTRO_FEATURES", "apparmor", "apparmor", "",d)} \ | ||
67 | ${@bb.utils.contains("DISTRO_FEATURES", "smack", "smack", "",d)} \ | ||
68 | " | ||