public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: profiles/, profiles/features/selinux/, ...
@ 2021-01-08 20:46 Theo Anderson
  0 siblings, 0 replies; only message in thread
From: Theo Anderson @ 2021-01-08 20:46 UTC (permalink / raw
  To: gentoo-commits

commit:     09d628a305fd9c6b97e6568562df254ab73bdb95
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Fri Jan  8 20:38:39 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Fri Jan  8 20:38:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=09d628a3

sys-block/systemd-swap: fix package.mask (introduce feature masking)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 metadata/layout.conf                                                 | 4 ++++
 profiles/arch.list                                                   | 1 +
 profiles/arches.desc                                                 | 1 +
 profiles/default/linux/amd64/17.1/hardened/selinux/parent            | 2 ++
 .../default/linux/amd64/17.1/no-multilib/hardened/selinux/parent     | 2 ++
 profiles/default/linux/amd64/17.1/selinux/parent                     | 2 ++
 profiles/default/linux/x86/17.0/hardened/selinux/parent              | 2 ++
 profiles/default/linux/x86/17.0/selinux/parent                       | 2 ++
 profiles/{ => features/selinux}/package.mask                         | 2 +-
 profiles/profiles.desc                                               | 5 +++++
 10 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/metadata/layout.conf b/metadata/layout.conf
index 4962033a..474114e7 100644
--- a/metadata/layout.conf
+++ b/metadata/layout.conf
@@ -11,3 +11,7 @@ sign-manifests = false
 
 # Let's start with new EAPIs if possible
 eapis-banned = 0 1 2 3 4 5
+
+# Part of ability to mask features in overlays
+# https://trofi.github.io/posts/201-masking-a-package-in-gentoo-overlay.html
+profile-formats = portage-2

diff --git a/profiles/arch.list b/profiles/arch.list
new file mode 100644
index 00000000..136c05e0
--- /dev/null
+++ b/profiles/arch.list
@@ -0,0 +1 @@
+hidden

diff --git a/profiles/arches.desc b/profiles/arches.desc
new file mode 100644
index 00000000..08285f15
--- /dev/null
+++ b/profiles/arches.desc
@@ -0,0 +1 @@
+hidden  testing

diff --git a/profiles/default/linux/amd64/17.1/hardened/selinux/parent b/profiles/default/linux/amd64/17.1/hardened/selinux/parent
new file mode 100644
index 00000000..285d54a1
--- /dev/null
+++ b/profiles/default/linux/amd64/17.1/hardened/selinux/parent
@@ -0,0 +1,2 @@
+gentoo:default/linux/amd64/17.1/hardened/selinux
+:features/selinux

diff --git a/profiles/default/linux/amd64/17.1/no-multilib/hardened/selinux/parent b/profiles/default/linux/amd64/17.1/no-multilib/hardened/selinux/parent
new file mode 100644
index 00000000..71943202
--- /dev/null
+++ b/profiles/default/linux/amd64/17.1/no-multilib/hardened/selinux/parent
@@ -0,0 +1,2 @@
+gentoo:default/linux/amd64/17.1/no-multilib/hardened/selinux
+:features/selinux

diff --git a/profiles/default/linux/amd64/17.1/selinux/parent b/profiles/default/linux/amd64/17.1/selinux/parent
new file mode 100644
index 00000000..d81c16d4
--- /dev/null
+++ b/profiles/default/linux/amd64/17.1/selinux/parent
@@ -0,0 +1,2 @@
+gentoo:default/linux/amd64/17.1/selinux
+:features/selinux

diff --git a/profiles/default/linux/x86/17.0/hardened/selinux/parent b/profiles/default/linux/x86/17.0/hardened/selinux/parent
new file mode 100644
index 00000000..a5268223
--- /dev/null
+++ b/profiles/default/linux/x86/17.0/hardened/selinux/parent
@@ -0,0 +1,2 @@
+gentoo:default/linux/x86/17.0/hardened/selinux
+:features/selinux

diff --git a/profiles/default/linux/x86/17.0/selinux/parent b/profiles/default/linux/x86/17.0/selinux/parent
new file mode 100644
index 00000000..ff294ced
--- /dev/null
+++ b/profiles/default/linux/x86/17.0/selinux/parent
@@ -0,0 +1,2 @@
+gentoo:default/linux/x86/17.0/selinux
+:features/selinux

diff --git a/profiles/package.mask b/profiles/features/selinux/package.mask
similarity index 60%
rename from profiles/package.mask
rename to profiles/features/selinux/package.mask
index 0fe36181..b5ea3a42 100644
--- a/profiles/package.mask
+++ b/profiles/features/selinux/package.mask
@@ -1,3 +1,3 @@
-# Theo Anderson <telans@posteo.de> (2020-12-06)
+# Theo Anderson <telans@posteo.de> (2021-01-04)
 # SELinux profiles do not support systemd
 >=sys-block/systemd-swap-4.4.0

diff --git a/profiles/profiles.desc b/profiles/profiles.desc
new file mode 100644
index 00000000..e1efe75e
--- /dev/null
+++ b/profiles/profiles.desc
@@ -0,0 +1,5 @@
+hidden  default/linux/amd64/17.1/selinux                        stable
+hidden  default/linux/amd64/17.1/hardened/selinux               stable
+hidden  default/linux/amd64/17.1/no-multilib/hardened/selinux   stable
+hidden  default/linux/x86/17.0/selinux                          stable
+hidden  default/linux/x86/17.0/hardened/selinux                 stable


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-08 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08 20:46 [gentoo-commits] repo/proj/guru:dev commit in: profiles/, profiles/features/selinux/, Theo Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox