From e55e8c4b6b59382db79923cc18b49299a148ed50 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 11 Oct 2021 10:04:38 +0200 Subject: [PATCH] SELinux userspace 3.3-rc3 release Resolves: rhbz#2003551 --- .gitignore | 1 + ...DARD_FILE_CONTEXT-section-in-man-pages.patch | 2 +- policycoreutils.spec | 17 ++++++++++------- sources | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index aa8f499..e93e031 100644 --- a/.gitignore +++ b/.gitignore @@ -338,3 +338,4 @@ policycoreutils-2.0.83.tgz /semodule-utils-3.2-rc2.tar.gz /selinux-3.2.tar.gz /selinux-3.3-rc2.tar.gz +/selinux-3.3-rc3.tar.gz diff --git a/0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch b/0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch index 048b0b2..73b45fd 100644 --- a/0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch +++ b/0002-Fix-STANDARD_FILE_CONTEXT-section-in-man-pages.patch @@ -28,7 +28,7 @@ index 2f847abb87e2..dccd778ed4be 100755 if len(mpaths) == 0: @@ -799,12 +802,12 @@ SELinux %(domainname)s policy is very flexible allowing users to setup their %(d SELinux defines the file context types for the %(domainname)s, if you wanted to - store files with these types in a diffent paths, you need to execute the semanage command to sepecify alternate labeling and then use restorecon to put the labels on disk. + store files with these types in a diffent paths, you need to execute the semanage command to specify alternate labeling and then use restorecon to put the labels on disk. -.B semanage fcontext -a -t %(type)s '/srv/%(domainname)s/content(/.*)?' +.B semanage fcontext -a -t %(type)s '/srv/my%(domainname)s_content(/.*)?' diff --git a/policycoreutils.spec b/policycoreutils.spec index 827733e..8d81359 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -1,7 +1,7 @@ %global libauditver 3.0 -%global libsepolver 3.3-0.rc2 -%global libsemanagever 3.3-0.rc2 -%global libselinuxver 3.3-0.rc2 +%global libsepolver 3.3-0.rc3 +%global libsemanagever 3.3-0.rc3 +%global libselinuxver 3.3-0.rc3 %global generatorsdir %{_prefix}/lib/systemd/system-generators @@ -11,10 +11,10 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 3.3 -Release: 0.rc2.2%{?dist} +Release: 0.rc3.1%{?dist} License: GPLv2 # https://github.com/SELinuxProject/selinux/wiki/Releases -Source0: https://github.com/SELinuxProject/selinux/releases/download/3.3-rc2/selinux-3.3-rc2.tar.gz +Source0: https://github.com/SELinuxProject/selinux/releases/download/3.3-rc3/selinux-3.3-rc3.tar.gz URL: https://github.com/SELinuxProject/selinux Source13: system-config-selinux.png Source14: sepolicy-icons.tgz @@ -28,7 +28,7 @@ Source21: python-po.tgz Source22: gui-po.tgz Source23: sandbox-po.tgz # https://github.com/fedora-selinux/selinux -# $ git format-patch -N 3.3-rc2 -- policycoreutils python gui sandbox dbus semodule-utils restorecond +# $ git format-patch -N 3.3-rc3 -- policycoreutils python gui sandbox dbus semodule-utils restorecond # $ for j in [0-9]*.patch; do printf "Patch%s: %s\n" ${j/-*/} $j; done # Patch list start Patch0001: 0001-sandbox-add-reset-to-Xephyr-as-it-works-better-with-.patch @@ -84,7 +84,7 @@ load_policy to load policies, setfiles to label filesystems, newrole to switch roles. %prep -p /usr/bin/bash -%autosetup -n selinux-%{version}-rc2 -p 1 +%autosetup -n selinux-%{version}-rc3 -p 1 cp %{SOURCE13} gui/ tar -xvf %{SOURCE14} -C python/sepolicy/ @@ -475,6 +475,9 @@ The policycoreutils-restorecond package contains the restorecond service. %systemd_postun_with_restart restorecond.service %changelog +* Mon Oct 11 2021 Petr Lautrbach - 3.3-0.rc3.1 +- SELinux userspace 3.3-rc3 release + * Wed Sep 29 2021 Vit Mojzis - 3.3-0.rc2.2 - Update translations (#2003127) diff --git a/sources b/sources index 26d9bd4..25e57ed 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (selinux-3.3-rc2.tar.gz) = fbf4371280e7bc8aeb119cce49eaa365dd79cd8c65903369161561a408bf05398eff52ba28ee21d6ca8256dbc7ff402f2c32c71b739bb9d8d4355b1e216f3d23 +SHA512 (selinux-3.3-rc3.tar.gz) = 239a10ce5ab31233dbd4fccf3668c2643df66e6b19065a0e57396a2b277cf4769985292613df67011b82afa25ff8dbd02123bd09d59cd8984b8b5d4d572284bc SHA512 (gui-po.tgz) = 106d4da5069bdff2d090907d4debefd1d76019754c678771d75078c2d0925f88f3439c92d5cfed54d865a546da8e3ca7d2aa57dbd4842e1d83eac04bf7672b28 SHA512 (policycoreutils-po.tgz) = 91a2f79b3a40cc0814c63c0c9e2a5fa68e54b89a720e473ff9dd53825dc6b66b996ba30d923176db9b93f5cdc4beb550027b52b4869ee9a3cb32a1c7e58ae229 SHA512 (python-po.tgz) = d9eda837ff06e0836f6f67dad0df9fe95a71e8d27740e3ea2aa8bf9e49707d7ccf2582c93ffef789be691b67b4df1a0b30e5beb98248efc62d3605f04f14cd1d