17
0

280 Commits

Author SHA256 Message Date
44117c40ce Accepting request 1333297 from security:SELinux
bsc#1258173

OBS-URL: https://build.opensuse.org/request/show/1333297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=87
2026-02-16 12:40:53 +00:00
Hu
1e83acd914 - Fix build with latest python-pip bsc#1258173
- Add patch sepolicy-build-isolation.patch

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=208
2026-02-16 09:53:27 +00:00
a67b2be145 Accepting request 1331579 from security:SELinux
3.10 update

OBS-URL: https://build.opensuse.org/request/show/1331579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=86
2026-02-09 10:42:56 +00:00
Hu
e99a9423d4 Accepting request 1331565 from home:cahu:branches:toolchain310
- Update to version 3.10
  https://github.com/SELinuxProject/selinux/releases/tag/3.10
  * setfiles: Add -A option to disable SELINUX_RESTORECON_ADD_ASSOC
  * semanage: Reset active value when deleting boolean customizations
  * python/sepolicy: Add support for DNF5
  * Man page improvments
- keyring: Add key of Jason Zaman <jasonzaman@gmail.com> 
  * added 63191CE94183098689CAB8DB7EF137EC935B0EAF [expires: 2026-02-08]

OBS-URL: https://build.opensuse.org/request/show/1331565
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=207
2026-02-06 10:00:21 +00:00
Hu
9cd17d182e Accepting request 1296590 from home:fos:branches:security:SELinux
- Move /var/lib/sepolgen/perm_map to /usr/share/sepolgen and create a symlink instead (boo#1233024)

OBS-URL: https://build.opensuse.org/request/show/1296590
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=206
2025-07-30 14:29:49 +00:00
eda5747361 Accepting request 1295314 from security:SELinux
- Update to version 3.9
  * setfiles: Add -U option to modify user and role portions
  * semodule: Add [-g PATH |--config=PATH] for an alternate path for the semanage config
  * Updated usr_etc.patch

- Moved /etc/sestatus.conf to /usr/etc.
- This patch is upstream:
  https://github.com/SELinuxProject/selinux/pull/415

OBS-URL: https://build.opensuse.org/request/show/1295314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=85
2025-07-24 16:34:32 +00:00
43a428acb2 Accepting request 1295051 from openSUSE:Factory
https://bugzilla.suse.com/show_bug.cgi?id=1246831

OBS-URL: https://build.opensuse.org/request/show/1295051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=84
2025-07-22 10:20:48 +00:00
186f6b4270 Accepting request 1295051 from openSUSE:Factory
https://bugzilla.suse.com/show_bug.cgi?id=1246831

OBS-URL: https://build.opensuse.org/request/show/1295051
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=84
2025-07-22 10:20:48 +00:00
e773b3dd72 Accepting request 1294371 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1294371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=83
2025-07-20 13:27:55 +00:00
50712bf9c1 Accepting request 1294371 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1294371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=83
2025-07-20 13:27:55 +00:00
1128056927 Accepting request 1294340 from home:jsegitz:branches:security:SELinux_3.9
Toolchain 3.9 update

OBS-URL: https://build.opensuse.org/request/show/1294340
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=205
2025-07-18 12:03:55 +00:00
Hu
c90dd3705a Accepting request 1284745 from home:schubi2
- Moved /etc/sestatus.conf to /usr/etc.
- This patch is upstream:
  https://github.com/SELinuxProject/selinux/pull/415

OBS-URL: https://build.opensuse.org/request/show/1284745
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=204
2025-06-11 11:47:29 +00:00
f5f218be8e Accepting request 1280163 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1280163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=82
2025-05-30 12:26:55 +00:00
e277eed305 Accepting request 1280163 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1280163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=82
2025-05-30 12:26:55 +00:00
e3afa0c7d8 Accepting request 1280162 from home:jsegitz:branches:security:SELinux_policycoreutils
- Remove misleading comment from spec file about reuqires for
  policycoreutils-devel

OBS-URL: https://build.opensuse.org/request/show/1280162
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=203
2025-05-26 12:09:44 +00:00
49861c8506 devel packaging improvments
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=202
2025-05-16 11:52:51 +00:00
203c5cf2f1 Accepting request 1274978 from home:jsegitz:branches:security:SELinux_gui3
- Change Recommends for policycoreutils-devel to the gui package to
  Requires. This causees some system bloat for people that only
  want to use the config GUI, but prevents errors when building
  policy packages

OBS-URL: https://build.opensuse.org/request/show/1274978
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=201
2025-05-06 15:10:24 +00:00
d075812666 Accepting request 1274898 from home:jsegitz:branches:security:SELinux_gui2
- Properly exclude gui.py file (bsc#1242096)
- Added Recommends for policycoreutils-devel to the gui package

OBS-URL: https://build.opensuse.org/request/show/1274898
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=200
2025-05-06 12:10:38 +00:00
e23a0785e0 Accepting request 1273798 from openSUSE:Factory
Revert! Excessive deps on python packages - boo#1242096

OBS-URL: https://build.opensuse.org/request/show/1273798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=81
2025-05-01 13:22:47 +00:00
546ac920a7 Accepting request 1273798 from openSUSE:Factory
Revert! Excessive deps on python packages - boo#1242096

OBS-URL: https://build.opensuse.org/request/show/1273798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=81
2025-05-01 13:22:47 +00:00
bfc6829434 Accepting request 1273378 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1273378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=80
2025-04-30 17:02:42 +00:00
c0cd46340e Accepting request 1273378 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1273378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=80
2025-04-30 17:02:42 +00:00
1204a98a6c Accepting request 1268559 from home:jsegitz:branches:security:SELinux_gui
- Move gui.py file to gui sub-package to prevent policycoreutil python
  packages from having excessive requirements

OBS-URL: https://build.opensuse.org/request/show/1268559
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=197
2025-04-29 09:40:49 +00:00
e0e57e0ae0 Accepting request 1251756 from security:SELinux
- Update to version 3.8.1
  https://github.com/SELinuxProject/selinux/releases/tag/3.8.1
  * no source change

OBS-URL: https://build.opensuse.org/request/show/1251756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=79
2025-03-11 19:44:09 +00:00
e40193e67f Accepting request 1251756 from security:SELinux
- Update to version 3.8.1
  https://github.com/SELinuxProject/selinux/releases/tag/3.8.1
  * no source change

OBS-URL: https://build.opensuse.org/request/show/1251756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=79
2025-03-11 19:44:09 +00:00
Hu
18bcd04c25 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=195 2025-03-07 14:39:19 +00:00
d170382b32 Accepting request 1245835 from security:SELinux
update selinux userspace to 3.8

OBS-URL: https://build.opensuse.org/request/show/1245835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=78
2025-02-14 18:20:13 +00:00
2500e231da Accepting request 1245835 from security:SELinux
update selinux userspace to 3.8

OBS-URL: https://build.opensuse.org/request/show/1245835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=78
2025-02-14 18:20:13 +00:00
63a16b8d68 3.8 with correct keyfiles
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=193
2025-02-14 08:07:24 +00:00
73248d0186 update selinux userspace to 3.8
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=192
2025-02-13 15:04:34 +00:00
dde0537d2c Accepting request 1239527 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1239527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=77
2025-01-22 15:30:42 +00:00
bcc3b993dc Accepting request 1239527 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1239527
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=77
2025-01-22 15:30:42 +00:00
12e196d9fc Accepting request 1239428 from home:dimstar:Factory
- 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.

- Replace python-gtk Requires for -gui with introspection typelib for Gtk 3

The complete dep list of policycoreutils-gui is now:
> rpm -qRp /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/noarch/policycoreutils-gui-3.7-0.noarch.rpm
/bin/sh
/usr/bin/python3
/usr/bin/python3.11
policycoreutils-dbus = 3.7
python3
python3-gobject-Gdk
python3-policycoreutils = 3.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
selinux-policy
setools-console
typelib(GObject)
typelib(Gdk)
typelib(Gtk) = 3.0

OBS-URL: https://build.opensuse.org/request/show/1239428
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=190
2025-01-22 13:11:34 +00:00
Hu
b94cc4bb7f Accepting request 1239135 from home:StevenK:branches:security:SELinux
- Replace python-gtk Requires for -gui with introspection typelib for Gtk 3

OBS-URL: https://build.opensuse.org/request/show/1239135
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=189
2025-01-21 12:35:04 +00:00
afde2da3c2 Accepting request 1185750 from security:SELinux
- 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

OBS-URL: https://build.opensuse.org/request/show/1185750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=76
2024-07-12 15:04:24 +00:00
c4f76783e5 Accepting request 1185750 from security:SELinux
- 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

OBS-URL: https://build.opensuse.org/request/show/1185750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=76
2024-07-12 15:04:24 +00:00
Hu
b89fa3eba6 Accepting request 1184297 from home:cahu:security:SELinux:userspace37
- 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

OBS-URL: https://build.opensuse.org/request/show/1184297
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=187
2024-07-02 09:43:15 +00:00
f4b3446303 Accepting request 1178335 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1178335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=75
2024-06-04 10:50:25 +00:00
c1479277e2 Accepting request 1178335 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1178335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=75
2024-06-04 10:50:25 +00:00
Hu
2cc6abb247 Accepting request 1177624 from home:cahu:security:SELinux:fixleapbuild
- 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

OBS-URL: https://build.opensuse.org/request/show/1177624
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=185
2024-06-03 13:58:22 +00:00
Hu
0b4228cd4b Accepting request 1158255 from home:cahu:branches:security:SELinux
- exclude %python3_fix_shebang for distros <=15.4 to avoid build
  failure

OBS-URL: https://build.opensuse.org/request/show/1158255
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=184
2024-03-15 15:27:22 +00:00
Hu
4bf602f647 Accepting request 1157537 from home:pgajdos
- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1157537
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=183
2024-03-15 10:08:29 +00:00
f40f80da80 Accepting request 1137451 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1137451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=74
2024-01-08 22:43:50 +00:00
b40ab8e852 Accepting request 1137451 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1137451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=74
2024-01-08 22:43:50 +00:00
962aff0a98 Accepting request 1134073 from home:cahu:branches:security:SELinux
- 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

OBS-URL: https://build.opensuse.org/request/show/1134073
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=181
2024-01-07 21:36:06 +00:00
b11d51ac47 Accepting request 1130819 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1130819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=73
2023-12-05 16:02:35 +00:00
9c430e3ec7 Accepting request 1130819 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1130819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=73
2023-12-05 16:02:35 +00:00
Hu
b2eef8b41e Accepting request 1130808 from home:cahu:branches:security:SELinux
- Re-add "Obsoletes: policycoreutils-python <= 2.6" to avoid file
  conflicts with /usr/share/bash-completion/completions/setsebool
  of older policycoreutils-python-2.6

OBS-URL: https://build.opensuse.org/request/show/1130808
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=179
2023-12-04 15:54:30 +00:00
54aaec2385 Accepting request 1129114 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1129114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=72
2023-11-27 21:41:57 +00:00
e59dcff676 Accepting request 1129114 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1129114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=72
2023-11-27 21:41:57 +00:00