Sync from SUSE:SLFO:Main policycoreutils revision 092acdb09faa7838dfc2bcefcf8e5a07

This commit is contained in:
2025-02-26 11:48:40 +01:00
parent cba4aa977b
commit b7b13ad913
29 changed files with 579 additions and 650 deletions

View File

@@ -1,9 +1,189 @@
-------------------------------------------------------------------
Wed Oct 25 10:00:36 UTC 2023 - (null) Hu <cathy.hu@suse.com>
Tue Feb 4 07:22:41 UTC 2025 - Robert Frohl <rfrohl@suse.com>
- Update to version 3.8
https://github.com/SELinuxProject/selinux/releases/tag/3.8
* policycoreutils: introduce unsetfiles
* Code improvements and bug fixes
- For a more in depth list of changes see
https://github.com/SELinuxProject/selinux/releases/download/3.8/shortlog-3.8.txt
- Update make_targets.patch
- keyring: Update Petr Lautrbach <lautrbach@redhat.com>
* removed 0xBC3905F235179CF1 (expired: 2024-10-25)
* added 0xFB4C685B5DC1C13E (expires: 2026-11-04)
-------------------------------------------------------------------
Tue Jan 21 11:14:32 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop manually generated typelib(Gtk) Requires: this was the
minimal fix to eliminate usage of pythonj-gtk, but the python
code references more typelibs; hence add gobject-introspection
BuildRequires in order to inspect the code for typelib()
dependencies.
- Replace python3-gobject Requires for python3-gobject-Gdk: as this
is a GUI application, we do need to Gdk bridge too.
-------------------------------------------------------------------
Tue Jan 21 04:36:00 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Replace python-gtk Requires for -gui with introspection typelib for Gtk 3
-------------------------------------------------------------------
Mon Jul 1 08:10:53 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
- Update to version 3.7
https://github.com/SELinuxProject/selinux/releases/tag/3.7
User-visible changes:
* audit2allow -C for CIL output mode
* sepolgen: adjust parse for refpolicy
* Bugfixes:
* fixfiles: drop unnecessary \ line endings
* setfiles: avoid unsigned integer underflow
* python/semanage: Do not sort local fcontext definitions
* python/semanage: Allow modifying records on "add"
- Refresh get_os_version.patch
-------------------------------------------------------------------
Tue May 28 10:42:49 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
- Rework packaging to modern python packaging as we need
policycoreutils-python-tools as build dependency for python311-setools
- General:
- python version for scripts is now set to python311, deprecating python3.6
on 15.4 + 15.5
- replaced python3 dependencies with corresponding dependencies
- moved %{_localstatedir}/lib/selinux out of the python-policycoreutils
rpm and into policycoreutils-python-utils as it does not belong
into a module and causes conflicts when module is built for multiple
python versions
- Factory-specific changes:
- python-policycoreutils module is now built for python310, python311,
python312 instead of python3
- added %python3_fix_shebang to set the shebang to the current python
- 15.4 and 15.5 specific changes
- python-policycoreutils module is now built for python311 instead
of python3
- added %python311_fix_shebang to set the shebang to python311, this
is currently a dirty hack since the python3_fix_shebang_path macro
does not exist in <=15.5 so far
- 15.4 specific changes
- policycoreutils-devel requires python3-distro still, as there
is no python311-distro package
-------------------------------------------------------------------
Fri Mar 15 14:56:14 UTC 2024 - Cathy Hu <cathy.hu@suse.com>
- exclude %python3_fix_shebang for distros <=15.4 to avoid build
failure
-------------------------------------------------------------------
Wed Mar 13 10:42:05 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang macro, [bsc#1212476]
-------------------------------------------------------------------
Tue Dec 19 12:31:33 UTC 2023 - Cathy Hu <cathy.hu@suse.com>
- Update to version 3.6
https://github.com/SELinuxProject/selinux/releases/tag/3.6
* Add notself support for neverallow rules
* Improve man pages
* man pages: Remove the Russian translations
* Add notself and other support to CIL
* Add support for deny rules
* Translations updated from
https://translate.fedoraproject.org/projects/selinux/
* Bug fixes
- Remove keys from keyring since they expired:
- E853C1848B0185CF42864DF363A8AD4B982C4373
Petr Lautrbach <plautrba@redhat.com>
- 63191CE94183098689CAB8DB7EF137EC935B0EAF
Jason Zaman <jasonzaman@gmail.com>
- Add key to keyring:
- B8682847764DF60DF52D992CBC3905F235179CF1
Petr Lautrbach <lautrbach@redhat.com>
- Remove reproducible-build.patch since it is upstream now
- Fix issues in get_os_version.patch
-------------------------------------------------------------------
Mon Dec 4 13:15:36 UTC 2023 - Cathy Hu <cathy.hu@suse.com>
- Re-add "Obsoletes: policycoreutils-python <= 2.6" to avoid file
conflicts with /usr/share/bash-completion/completions/setsebool
of older policycoreutils-python-2.6
-------------------------------------------------------------------
Mon Nov 27 10:29:23 UTC 2023 - Hu <cathy.hu@suse.com>
- Change deprecated `%patch1 -p1` syntax to supported `%patch -P1 -p1`
(bsc#1216669)
-------------------------------------------------------------------
Wed Oct 25 08:02:37 UTC 2023 - Hu <cathy.hu@suse.com>
- Add reproducible-build.patch to make the output of "sepolicy manpage"
deterministic (bsc#1216452)
-------------------------------------------------------------------
Fri Oct 6 08:59:35 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Move dbus configuration file to /usr/share instead of /etc
-------------------------------------------------------------------
Fri Jul 21 09:19:46 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Add policycoreutils-rpmlintrc to suppress spurious rpmlint warnings
-------------------------------------------------------------------
Tue Jul 18 16:29:01 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Fix newrole debuginfo broken by mistaken 'noarch'
-------------------------------------------------------------------
Mon Jul 10 16:19:34 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Add GUI and DBUS subpackages
* Remove files now provided in upstream tarballs:
- Drop system-config-selinux.png
- Drop system-config-selinux.desktop
- Drop system-config-selinux.pam
- Drop system-config-selinux.console
- Drop selinux-polgengui.desktop
- Drop selinux-polgengui.console
- Refactor spec file
* Remove empty sandbox package definition
-------------------------------------------------------------------
Thu Jun 29 13:20:42 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
- Only recommend policycoreutils-devel. The requires causes build issues
and this can be used with a policy from a different source
- Required fixed python3-selinux, not version dependend sub-packages
-------------------------------------------------------------------
Mon Jun 26 08:38:19 UTC 2023 - William Brown <william.brown@suse.com>
- Recommend setools-console as these cli tools compliment policycoreutils
for analysis and debugging of policy issues
-------------------------------------------------------------------
Mon Jun 26 07:15:17 UTC 2023 - William Brown <william.brown@suse.com>
- Add requires for policycoreutils-devel for selinux-policy-devel as
policycoreutils-devel requires this
-------------------------------------------------------------------
Wed Jun 21 10:55:18 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
- Adjust python requirement for newer SLES versions
-------------------------------------------------------------------
Mon Jun 19 17:36:54 UTC 2023 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Add Leap compatibility symlinks between /usr/sbin and /sbin (bsc#1210482)
- Refresh GPG keyring
-------------------------------------------------------------------
Tue May 9 09:08:51 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>