Skip to contentSkip to conversation

packagegroup-core-security: add more pkgs to base group

PATCH In review akuster 2 participants 4 messages Sep 16, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/2 packagegroup-core-security: add more pkgs to base group

---
 .../packagegroup/packagegroup-core-security.bb  | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
recipes-core/packagegroup/packagegroup-core-security.bb +13 -4
index 6aa0d6c..1d01800 100644
@@ -9,6 +9,8 @@ PACKAGES = "\
     packagegroup-core-security \
     packagegroup-security-utils \
     packagegroup-security-scanners \
+    packagegroup-security-audit \
+    packagegroup-security-hardening \
     packagegroup-security-ids  \
     packagegroup-security-mac  \
     "
@@ -16,6 +18,8 @@ PACKAGES = "\
 RDEPENDS_packagegroup-core-security = "\
     packagegroup-security-utils \
     packagegroup-security-scanners \
+    packagegroup-security-audit \
+    packagegroup-security-hardening \
     packagegroup-security-ids  \
     packagegroup-security-mac  \
     "
@@ -23,18 +27,23 @@ RDEPENDS_packagegroup-core-security = "\
 SUMMARY_packagegroup-security-utils = "Security utilities"
 RDEPENDS_packagegroup-security-utils = "\
     checksec \
+    ding-libs \
+    ecryptfs-utils \
+    fscryptctl \
+    keyutils \
     nmap \
     pinentry \
+    python3-privacyidea \
+    python3-fail2ban \
     python3-scapy \
-    ding-libs \
-    keyutils \
     ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 ", "", " libseccomp",d)} \
-    ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd", "",d)} \
-    ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils", "",d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd google-authenticator-libpam", "",d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \
     "
 
 SUMMARY_packagegroup-security-scanners = "Security scanners"
 RDEPENDS_packagegroup-security-scanners = "\
+    isic \
     nikto \
     checksecurity \
     ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 riscv64", "", " clamav clamav-freshclam clamav-cvd",d)} \
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 apparmor: exclude mips, not supported

---
 recipes-mac/AppArmor/apparmor_2.13.4.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-mac/AppArmor/apparmor_2.13.4.bb +2 -0
index 552cac7..dcdc1f7 100644
@@ -30,6 +30,8 @@ S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
 
+COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
+
 inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages systemd features_check
 REQUIRED_DISTRO_FEATURES = "apparmor"
 
Signature · 1 line
2.17.1
#2 lore raw

Re: [yocto] [meta-security][PATCH 2/2] apparmor: exclude mips, not supported

title says mips but it actually is for mips64 only it seems.

Quoted 25 lines · akuster
---
 recipes-mac/AppArmor/apparmor_2.13.4.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-mac/AppArmor/apparmor_2.13.4.bb +2 -1
index 552cac7..dcdc1f7 100644
@@ -30,6 +30,8 @@ S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
 
+COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
+
 inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages systemd features_check
 REQUIRED_DISTRO_FEATURES = "apparmor"
 
--

2.17.1

author
#3 lore raw

Re: [yocto] [meta-security][PATCH 2/2] apparmor: exclude mips, not supported

Quoted 1 line · Khem Raj

title says mips but it actually is for mips64 only it seems.

right. easy to fix when I commit. Have not built qemumip so its unknown at this time.

-armin

Quoted 26 lines · akuster
Quoted 24 lines
---
 recipes-mac/AppArmor/apparmor_2.13.4.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-mac/AppArmor/apparmor_2.13.4.bb +2 -1
index 552cac7..dcdc1f7 100644
@@ -30,6 +30,8 @@ S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
 
+COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"
+
 inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages systemd features_check
 REQUIRED_DISTRO_FEATURES = "apparmor"
 
--

2.17.1