SELinux userspace 2.8-rc2 release candidate

This commit is contained in:
Petr Lautrbach 2018-05-04 16:20:03 +02:00
parent 6545ae2ada
commit b1b5b44bff
7 changed files with 51 additions and 41 deletions

7
.gitignore vendored
View File

@ -255,3 +255,10 @@ policycoreutils-2.0.83.tgz
/selinux-python-2.8-rc1.tar.gz
/selinux-sandbox-2.8-rc1.tar.gz
/semodule-utils-2.8-rc1.tar.gz
/policycoreutils-2.8-rc2.tar.gz
/restorecond-2.8-rc2.tar.gz
/selinux-dbus-2.8-rc2.tar.gz
/selinux-gui-2.8-rc2.tar.gz
/selinux-python-2.8-rc2.tar.gz
/selinux-sandbox-2.8-rc2.tar.gz
/semodule-utils-2.8-rc2.tar.gz

View File

@ -1,7 +1,7 @@
diff --git policycoreutils-2.8-rc1/scripts/fixfiles policycoreutils-2.8-rc1/scripts/fixfiles
diff --git policycoreutils-2.8-rc2/scripts/fixfiles policycoreutils-2.8-rc2/scripts/fixfiles
index 1aa330f..7ec0396 100755
--- policycoreutils-2.8-rc1/scripts/fixfiles
+++ policycoreutils-2.8-rc1/scripts/fixfiles
--- policycoreutils-2.8-rc2/scripts/fixfiles
+++ policycoreutils-2.8-rc2/scripts/fixfiles
@@ -108,6 +108,7 @@ exclude_dirs_from_relabelling() {
fullFlag=0
BOOTTIME=""

View File

@ -6,7 +6,7 @@
%global generatorsdir %{_prefix}/lib/systemd/system-generators
%global rcversion rc1
%global rcversion rc2
Summary: SELinux policy core utilities
Name: policycoreutils
@ -14,13 +14,13 @@ Version: 2.8
Release: 0%{?rcversion:.%rcversion}.1%{?dist}
License: GPLv2
# https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/policycoreutils-2.8-rc1.tar.gz
Source1: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/selinux-python-2.8-rc1.tar.gz
Source2: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/selinux-gui-2.8-rc1.tar.gz
Source3: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/selinux-sandbox-2.8-rc1.tar.gz
Source4: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/selinux-dbus-2.8-rc1.tar.gz
Source5: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/semodule-utils-2.8-rc1.tar.gz
Source6: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180419/restorecond-2.8-rc1.tar.gz
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/policycoreutils-2.8-rc2.tar.gz
Source1: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-python-2.8-rc2.tar.gz
Source2: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-gui-2.8-rc2.tar.gz
Source3: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-sandbox-2.8-rc2.tar.gz
Source4: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/selinux-dbus-2.8-rc2.tar.gz
Source5: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/semodule-utils-2.8-rc2.tar.gz
Source6: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180426/restorecond-2.8-rc2.tar.gz
URL: https://github.com/SELinuxProject
Source12: policycoreutils_man_ru2.tar.bz2
Source13: system-config-selinux.png
@ -34,7 +34,7 @@ Source19: selinux-autorelabel-generator.sh
# run:
# HEAD https://github.com/fedora-selinux/selinux/commit/5127dfaae645986169b50a7295d4961a4959006a
# $ for i in policycoreutils selinux-python selinux-gui selinux-sandbox selinux-dbus semodule-utils restorecond; do
# VERSION=2.8-rc1 ./make-fedora-selinux-patch.sh $i
# VERSION=2.8-rc2 ./make-fedora-selinux-patch.sh $i
# done
Patch: policycoreutils-fedora.patch
Patch1: selinux-python-fedora.patch
@ -502,7 +502,10 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
* Mon Apr 23 2018 Petr Lautrbach <plautrba@workstation> - 2.8-0.rc1.1
* Fri May 4 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc2.1
- SELinux userspace 2.8-rc2 release candidate
* Mon Apr 23 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc1.1
- SELinux userspace 2.8-rc1 release candidate
* Thu Apr 19 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-20

View File

@ -1,7 +1,7 @@
diff --git selinux-dbus-2.8-rc1/org.selinux.conf selinux-dbus-2.8-rc1/org.selinux.conf
diff --git selinux-dbus-2.8-rc2/org.selinux.conf selinux-dbus-2.8-rc2/org.selinux.conf
index a350978..1ae079d 100644
--- selinux-dbus-2.8-rc1/org.selinux.conf
+++ selinux-dbus-2.8-rc1/org.selinux.conf
--- selinux-dbus-2.8-rc2/org.selinux.conf
+++ selinux-dbus-2.8-rc2/org.selinux.conf
@@ -12,12 +12,8 @@
<!-- Allow anyone to invoke methods on the interfaces,
@ -16,10 +16,10 @@ index a350978..1ae079d 100644
</policy>
</busconfig>
diff --git selinux-dbus-2.8-rc1/org.selinux.policy selinux-dbus-2.8-rc1/org.selinux.policy
diff --git selinux-dbus-2.8-rc2/org.selinux.policy selinux-dbus-2.8-rc2/org.selinux.policy
index 0126610..9772127 100644
--- selinux-dbus-2.8-rc1/org.selinux.policy
+++ selinux-dbus-2.8-rc1/org.selinux.policy
--- selinux-dbus-2.8-rc2/org.selinux.policy
+++ selinux-dbus-2.8-rc2/org.selinux.policy
@@ -70,9 +70,9 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>

View File

@ -1,7 +1,7 @@
diff --git selinux-python-2.8-rc1/semanage/semanage.8 selinux-python-2.8-rc1/semanage/semanage.8
diff --git selinux-python-2.8-rc2/semanage/semanage.8 selinux-python-2.8-rc2/semanage/semanage.8
index 0bdb90f..0cdcfcc 100644
--- selinux-python-2.8-rc1/semanage/semanage.8
+++ selinux-python-2.8-rc1/semanage/semanage.8
--- selinux-python-2.8-rc2/semanage/semanage.8
+++ selinux-python-2.8-rc2/semanage/semanage.8
@@ -57,9 +57,8 @@ to SELinux user identities (which controls the initial security context
assigned to Linux users when they login and bounds their authorized role set)
as well as security context mappings for various kinds of objects, such
@ -14,10 +14,10 @@ index 0bdb90f..0cdcfcc 100644
while the semanage user command deals with the mapping from SELinux
user identities to authorized role sets. In most cases, only the
former mapping needs to be adjusted by the administrator; the latter
diff --git selinux-python-2.8-rc1/semanage/seobject.py selinux-python-2.8-rc1/semanage/seobject.py
diff --git selinux-python-2.8-rc2/semanage/seobject.py selinux-python-2.8-rc2/semanage/seobject.py
index ac310ea..045eafd 100644
--- selinux-python-2.8-rc1/semanage/seobject.py
+++ selinux-python-2.8-rc1/semanage/seobject.py
--- selinux-python-2.8-rc2/semanage/seobject.py
+++ selinux-python-2.8-rc2/semanage/seobject.py
@@ -2651,7 +2651,7 @@ class booleanRecords(semanageRecords):
self.current_booleans = []
ptype = None
@ -27,10 +27,10 @@ index ac310ea..045eafd 100644
self.modify_local = True
else:
self.modify_local = False
diff --git selinux-python-2.8-rc1/sepolicy/sepolicy/__init__.py selinux-python-2.8-rc1/sepolicy/sepolicy/__init__.py
diff --git selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
index 89346ab..24e3526 100644
--- selinux-python-2.8-rc1/sepolicy/sepolicy/__init__.py
+++ selinux-python-2.8-rc1/sepolicy/sepolicy/__init__.py
--- selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
+++ selinux-python-2.8-rc2/sepolicy/sepolicy/__init__.py
@@ -1160,27 +1160,14 @@ def boolean_desc(boolean):
@ -65,10 +65,10 @@ index 89346ab..24e3526 100644
def reinit():
diff --git selinux-python-2.8-rc1/sepolicy/sepolicy/manpage.py selinux-python-2.8-rc1/sepolicy/sepolicy/manpage.py
diff --git selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
index ed8cb71..8121e5c 100755
--- selinux-python-2.8-rc1/sepolicy/sepolicy/manpage.py
+++ selinux-python-2.8-rc1/sepolicy/sepolicy/manpage.py
--- selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
+++ selinux-python-2.8-rc2/sepolicy/sepolicy/manpage.py
@@ -126,8 +126,33 @@ def gen_domains():
domains.sort()
return domains

View File

@ -1,7 +1,7 @@
diff --git selinux-sandbox-2.8-rc1/sandboxX.sh selinux-sandbox-2.8-rc1/sandboxX.sh
diff --git selinux-sandbox-2.8-rc2/sandboxX.sh selinux-sandbox-2.8-rc2/sandboxX.sh
index eaa500d..4774528 100644
--- selinux-sandbox-2.8-rc1/sandboxX.sh
+++ selinux-sandbox-2.8-rc1/sandboxX.sh
--- selinux-sandbox-2.8-rc2/sandboxX.sh
+++ selinux-sandbox-2.8-rc2/sandboxX.sh
@@ -20,7 +20,7 @@ cat > ~/.config/openbox/rc.xml << EOF
</openbox_config>
EOF

14
sources
View File

@ -1,8 +1,8 @@
SHA512 (policycoreutils_man_ru2.tar.bz2) = 7272801da169b8d7dd3f8b7e368a63a4fbb7ae94599f9384bc450d142e6b2a3805ab542d650cbe9c8978c2d8e5c56ef4c11f361abfefeaf184ec3a4b0d2afb4c
SHA512 (policycoreutils-2.8-rc1.tar.gz) = 252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
SHA512 (restorecond-2.8-rc1.tar.gz) = 9b90485998bbabeb26d1ca197b78dadc2ad4aa15fc3eb30f16809e631009ce07f2a624d8e0c139cb6ea831ff46068de2744168c6ee0414693716b4963c8e3be9
SHA512 (selinux-dbus-2.8-rc1.tar.gz) = bf48553735b9629f29c380fc10f5f484a756cfa36e4d54783639194337ba0f9ff27c9f82cd11240debc282952c0fdb7c1d4440fe82d372fd160a04b62ab26be7
SHA512 (selinux-gui-2.8-rc1.tar.gz) = e39098c751c24252609759124e379db22d28abd005181826ef334d063dfc4f61f65c64a481f25599cb753be768e21ae7f449522bce8c56b82893919674e6eff5
SHA512 (selinux-python-2.8-rc1.tar.gz) = bce5823ac4c24f1bceae9219a07fc9e6192d703e044711f9dfc170946dde411b833cb7a6d0c175e569efcd878a75a8df33dda0498e3da888f60b7adf9d5448a1
SHA512 (selinux-sandbox-2.8-rc1.tar.gz) = 937ecd38e13e97b3d98f2af2825ad459113cdf55116a3aaf6a007d911a69f6f0b03951ab11ced80e521f90da1da53ed8a97815e0336121b27bbdaf78ee2f14c7
SHA512 (semodule-utils-2.8-rc1.tar.gz) = 489ee453a5c0f6bac754f8056f738c32a815fc055daa2c1fc93c63a5e8a4c5cf017e3d687a4ba432bef0a789ed972c1a90bc56487b4014b486c0bf7ca079c565
SHA512 (policycoreutils-2.8-rc2.tar.gz) = ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
SHA512 (restorecond-2.8-rc2.tar.gz) = 5d35576264b59face6130e97223d815df0f114b3e51d9e5008dddbb31a802763b346bf2f69a8ae8271c5dcacf04235e2ed3de305b036b8108b76f4951ff2d126
SHA512 (selinux-dbus-2.8-rc2.tar.gz) = 0b7968d7dc4e150b2ac37d0b7f46d8150af62bcf0685531cc80cc086d31f352053f130ed6460598dc660f879838c15d8e8c9630eb3d9dfe583a65f1723b6210b
SHA512 (selinux-gui-2.8-rc2.tar.gz) = 8b46daeccf9d50e8fc38b93ca73fa58cac15b7c99236631b4369efd49bbffe56cd22d5c791e1df5a04e7525289f8f785035ba7c099345c97aa55a0ded8369af7
SHA512 (selinux-python-2.8-rc2.tar.gz) = 5a3fb2131a12850bfe5beb794083c97507fd3f43d87674cb7050fd33ea181607077a9e004cf983918bb5b349ed22b02f3c681f2a1f72a64ee93bd49fbf40bd32
SHA512 (selinux-sandbox-2.8-rc2.tar.gz) = d203ed2155ec22be1e510fe6f50a4b59883bf1a3813607e71d592d40476a479fbbf531fd4eb1df29c4f92ea306c6c7c3926abf06524f70aa537256c9bc87b1d0
SHA512 (semodule-utils-2.8-rc2.tar.gz) = 31844fcf4389cd20b9164c6a11fdf914e51dc27170e5e083929376840e1135c3193e00a4abdcc24f99b98b815371f63167ade9d6de483f3ae3fdf7b04f76cb2b