From 1d97cf48d8ec98da527e96a1c9043fe2f2e63fbd20e9e091bf90018032993b5b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 11 Nov 2020 09:14:13 +0000 Subject: [PATCH] Accepting request 847447 from home:kukuk:branches:system:install:head - Add selinux pattern OBS-URL: https://build.opensuse.org/request/show/847447 OBS-URL: https://build.opensuse.org/package/show/system:install:head/patterns-base?expand=0&rev=157 --- patterns-base.changes | 5 +++++ patterns-base.spec | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/patterns-base.changes b/patterns-base.changes index 27a7393..aaa2f51 100644 --- a/patterns-base.changes +++ b/patterns-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 2 11:00:09 UTC 2020 - Thorsten Kukuk + +- Add selinux pattern + ------------------------------------------------------------------- Tue Oct 20 10:33:19 UTC 2020 - Dominique Leuenberger diff --git a/patterns-base.spec b/patterns-base.spec index c8598cd..c7b03e6 100644 --- a/patterns-base.spec +++ b/patterns-base.spec @@ -204,7 +204,7 @@ Recommends: libgnomesu Recommends: openssh-askpass-gnome %description basic_desktop -This pattern installs a rather basic desktop (icewm) +This pattern installs a rather basic desktop (icewm) %files basic_desktop %dir %{_docdir}/patterns @@ -615,6 +615,37 @@ This pattern holds files required for booting the system ################################################################################ +%if 0%{?is_opensuse} +%package selinux +%pattern_basetechnologies +Summary: SELinux +Group: Metapackages +Provides: pattern() = selinux +Provides: pattern-icon() = pattern-selinux +Provides: pattern-order() = 1110 +Provides: pattern-visible() +Requires: pattern() = minimal_base + +Recommends: checkpolicy +Recommends: container-selinux +Requires: policycoreutils +Recommends: restorecond +Requires: selinux-policy +Recommends: selinux-policy-targeted +Requires: selinux-autorelabel +Requires: selinux-tools + +%description selinux +Security-Enhanced Linux (SELinux) provides a mechanism for supporting access control security policies, including mandatory access controls (MAC). +Its architecture strives to separate enforcement of security decisions from the security policy, and streamlines the amount of software involved with security policy enforcement. + +%files selinux +%dir %{_docdir}/patterns +%{_docdir}/patterns/selinux.txt +%endif + +################################################################################ + %package sw_management %pattern_basetechnologies Summary: Software Management @@ -963,7 +994,7 @@ mkdir -p %{buildroot}%{_docdir}/patterns for i in apparmor base enhanced_base minimal_base \ sw_management x11 x11_enhanced; do %else -for i in apparmor base enhanced_base minimal_base sw_management x11 x11_enhanced; do +for i in apparmor base enhanced_base minimal_base sw_management x11 x11_enhanced; do %endif echo "This file marks the pattern $i to be installed." \ >"%{buildroot}%{_docdir}/patterns/$i.txt" @@ -974,7 +1005,7 @@ done # These packages don't generate a 32bit pattern for i in \ %if 0%{?is_opensuse} -basesystem bootloader basic_desktop console documentation transactional_base update_test \ +basesystem bootloader basic_desktop console documentation selinux transactional_base update_test \ %else %ifnarch s390 s390x 32bit \