17
0

204 Commits

Author SHA256 Message Date
da5bded591 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
5a1d1a39ef 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
22629b9778 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
279cf6d97b 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
f46e19ede0 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
7468d33916 Toolchain 3.9 update
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=205
2025-07-18 12:03:55 +00:00
Hu
99eb89816c 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
Hu
de58b9588c 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
8dd2cfc1a9 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
cdfc726ddc - Remove misleading comment from spec file about reuqires for
policycoreutils-devel

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=203
2025-05-26 12:09:44 +00:00
97a266d2d1 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
e5ccd22eec - 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/package/show/security:SELinux/policycoreutils?expand=0&rev=201
2025-05-06 15:10:24 +00:00
1fb5a07885 - Properly exclude gui.py file (bsc#1242096)
- Added Recommends for policycoreutils-devel to the gui package

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=200
2025-05-06 12:10:38 +00:00
c5f495039a 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
02c0af5ec6 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
6bf87c88cb 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
803c3bff15 - Move gui.py file to gui sub-package to prevent policycoreutil python
packages from having excessive requirements

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=197
2025-04-29 09:40:49 +00:00
c07fde0448 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
3d40f38320 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=195 2025-03-07 14:39:19 +00:00
40aeb463eb 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
b36ecda6ea 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
9846a97bfb 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
6af2f0aea8 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
1cd97950d3 - 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/package/show/security:SELinux/policycoreutils?expand=0&rev=190
2025-01-22 13:11:34 +00:00
Hu
271da7401a - Replace python-gtk Requires for -gui with introspection typelib for Gtk 3
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=189
2025-01-21 12:35:04 +00:00
38c24464aa 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
717e9a8d11 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
d212a6c435 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
b06c94aae9 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
2a559cffff 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
9cc467ef64 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
5782c2a5e9 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
cc4ceafdc1 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
7071952ee6 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
8c1b50821f 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
693b354253 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
Hu
1476db79a2 Accepting request 1129099 from home:cahu:branches:security:SELinux
- Change deprecated `%patch1 -p1` syntax to supported `%patch -P1 -p1`
  (bsc#1216669)

OBS-URL: https://build.opensuse.org/request/show/1129099
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=177
2023-11-27 12:07:09 +00:00
257a1a835e Accepting request 1120220 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1120220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=71
2023-10-26 15:12:09 +00:00
9bf534e0fd Accepting request 1120214 from home:cahu:branches:security:SELinux
- Add reproducible-build.patch to make the output of "sepolicy manpage"
  deterministic (bsc#1216452)

OBS-URL: https://build.opensuse.org/request/show/1120214
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=175
2023-10-25 09:38:40 +00:00
7f267a63f0 Accepting request 1116005 from security:SELinux
- Move dbus configuration file to /usr/share instead of /etc
- Add policycoreutils-rpmlintrc to suppress spurious rpmlint warnings
- Fix newrole debuginfo broken by mistaken 'noarch'
- 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

OBS-URL: https://build.opensuse.org/request/show/1116005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=70
2023-10-08 10:16:41 +00:00
015e5372cc Accepting request 1116004 from home:fbonazzi:branches:security:SELinux
- Move dbus configuration file to /usr/share instead of /etc

OBS-URL: https://build.opensuse.org/request/show/1116004
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=173
2023-10-06 09:36:10 +00:00
df48d92df4 Accepting request 1099920 from home:fbonazzi:branches:security:SELinux
- Add policycoreutils-rpmlintrc to suppress spurious rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/1099920
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=172
2023-07-21 13:47:31 +00:00
683df2c504 Accepting request 1099310 from home:fbonazzi:branches:security:SELinux
- Fix newrole debuginfo broken by mistaken 'noarch'

OBS-URL: https://build.opensuse.org/request/show/1099310
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=171
2023-07-19 06:09:35 +00:00
bc6b711135 Accepting request 1099069 from home:fbonazzi:branches:security:SELinux2
- 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

OBS-URL: https://build.opensuse.org/request/show/1099069
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=170
2023-07-17 15:02:25 +00:00
5e506bfc06 Accepting request 1096746 from security:SELinux
- 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

OBS-URL: https://build.opensuse.org/request/show/1096746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=69
2023-07-05 13:30:34 +00:00
b6949294e7 - Only recommend policycoreutils-devel. The requires causes build issues
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=168
2023-07-04 09:58:42 +00:00
8a112f4703 Accepting request 1096708 from home:jsegitz:branches:security:SELinux
- Only recommend policycoreutils-devel. The recommends causes build issues
  and this can be used with a policy from a different source
- Required fixed python3-selinux, not version dependend sub-packages

OBS-URL: https://build.opensuse.org/request/show/1096708
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=167
2023-07-04 09:22:46 +00:00
65fb428a89 Accepting request 1095397 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1095397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/policycoreutils?expand=0&rev=68
2023-06-29 15:27:41 +00:00
8b5fa6d6db Accepting request 1095362 from home:firstyear:branches:security:SELinux
- Recommend setools-console as these cli tools compliment policycoreutils
  for analysis and debugging of policy issues

OBS-URL: https://build.opensuse.org/request/show/1095362
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=165
2023-06-26 10:32:56 +00:00
6a7e085eaa Accepting request 1095338 from home:firstyear:branches:security:SELinux
- Add requires for policycoreutils-devel for selinux-policy-devel as
  policycoreutils-devel requires this

OBS-URL: https://build.opensuse.org/request/show/1095338
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/policycoreutils?expand=0&rev=164
2023-06-26 07:54:39 +00:00