Petr Lautrbach
65687b17c1
SELinux userspace 3.2 release
...
Also simplify the build using source directory snapshot provided with
the release, see
https://github.com/SELinuxProject/selinux/releases/tag/3.2
2021-03-08 16:41:05 +01:00
Zbigniew Jędrzejewski-Szmek
2304844e56
Rebuilt for updated systemd-rpm-macros
...
See https://pagure.io/fesco/issue/2583 .
2021-03-02 16:13:03 +01:00
Petr Lautrbach
8c9bb8afaf
SELinux userspace 3.2-rc2 release
2021-02-05 11:18:47 +01:00
Fedora Release Engineering
3ec9603c09
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:23:48 +00:00
Petr Lautrbach
b96da65939
SELinux userspace 3.2-rc1 release
...
https://lore.kernel.org/selinux/87a6t36bpp.fsf@redhat.com/T/#u
2021-01-20 20:44:33 +01:00
Petr Lautrbach
d56dce0a5d
policycoreutils-3.1-8
...
- Fix BuildRequires to libsemanage-devel
2020-11-24 10:47:54 +01:00
Petr Lautrbach
b0ed1f8d21
policycoreutils-3.1-7
...
- python/sepolicy: allow to override manpage date
- selinux_config(5): add a note that runtime disable is deprecated
2020-11-20 15:10:04 +01:00
Petr Lautrbach
f052664e78
policycoreutils-3.1-6
...
- Require latest setools
2020-11-09 10:52:54 +01:00
Petr Lautrbach
7a6b569fa6
Add make to BuildRequires
2020-11-04 20:30:35 +01:00
Petr Lautrbach
f978fdc2d2
Depend on git-core instead of git
2020-11-03 15:38:08 +01:00
Petr Lautrbach
98cfe16c02
policycoreutils-3.1-5
...
- Build with libsepol.so.1 and libsemanage.so.2
- Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file
- fixfiles: correctly restore context of mountpoints
- sepolgen: print extended permissions in hexadecimal
2020-11-01 14:17:42 +01:00
Petr Lautrbach
c65daa990e
Rebase on db0f2f382e31 at SELinuxProject
...
- Build with libsepol.so.1 and libsemanage.so.2
- Set X-GNOME-HiddenUnderSystemd=true in restorecond.desktop file
- fixfiles: correctly restore context of mountpoints
- sepolgen: print extended permissions in hexadecimal
2020-11-01 14:17:42 +01:00
Fedora Release Engineering
d151b2c053
- Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:10:58 +00:00
Fedora Release Engineering
f853c76a5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 22:48:53 +00:00
Tom Stellard
a73719697a
Use make macros
...
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-14 02:51:56 +00:00
Petr Lautrbach
50de5507f3
policycoreutils-3.1-1
...
- SELinux userspace 3.1 release
2020-07-10 20:25:54 +02:00
Petr Lautrbach
2af2f550d6
Move sandbox utility from python-utils to sandbox subpackage ( #1627079 )
2020-07-10 15:51:12 +02:00
Petr Lautrbach
44dfe0fd37
policycoreutils-3.0-4
...
- policycoreutils-dbus requires python3-gobject-base
Fixes:
$ gdbus introspect --system -d org.selinux -o /
Error: Timeout was reached
2020-06-01 09:16:08 +02:00
Miro Hrončok
efa9d6cac8
Rebuilt for Python 3.9
2020-05-23 06:15:07 +02:00
Fedora Release Engineering
c00b4867ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 09:30:00 +00:00
Petr Lautrbach
7ccd1ee567
SELinux userspace 3.0 release
2019-12-06 09:36:45 +01:00
Petr Lautrbach
da2585a281
SELinux userspace 3.0-rc1 release candidate
2019-11-11 11:45:22 +01:00
Petr Lautrbach
d4e16d7c7d
policycoreutils-2.9-7.fc32
...
- semanage: Do not use default s0 range in "semanage login -a" (#1312283 )
2019-09-04 07:48:15 +02:00
Petr Lautrbach
bfe01763d9
semanage: Do not use default s0 range in "semanage login -a"
...
Using the "s0" default means that new login mappings are always added with "s0"
range instead of the range of SELinux user.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1312283
2019-09-04 07:48:15 +02:00
Petr Lautrbach
757b820a2b
policycoreutils-2.9-6.fc32
...
- gui: Fix remove module in system-config-selinux (#1740936 )
2019-08-29 10:09:52 +02:00
Petr Lautrbach
d6f96f416d
gui: Fix remove module in system-config-selinux
...
When a user tried to remove a policy module with priority other than 400 via
GUI, it failed with a message:
libsemanage.semanage_direct_remove_key: Unable to remove module somemodule at priority 400. (No such file or directory).
This is fixed by calling "semodule -x PRIORITY -r NAME" instead of
"semodule -r NAME".
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1740936
2019-08-29 10:08:55 +02:00
Petr Lautrbach
a2e668e9c9
policycoreutils-2.9-5.fc32
2019-08-23 13:42:11 +02:00
Petr Lautrbach
5ea7b37cde
policycoreutils-2.9-5.fc32
...
- fixfiles: Fix unbound variable problem
2019-08-23 13:29:36 +02:00
Miro Hrončok
78ffe5c66e
Rebuilt for Python 3.8
2019-08-16 04:45:37 +02:00
Petr Lautrbach
2dc66df8a9
policycoreutils-2.9-3.fc31
...
- Drop python2-policycoreutils
- Update ru man page translations
2019-08-05 19:25:53 +02:00
Petr Lautrbach
21fff37ccc
fixfiles: Fix [-B] [-F] onboot and force full relabel when SELinux is disabled
2019-08-05 19:25:53 +02:00
Petr Lautrbach
61d9b74e3d
Update ru man page translations
...
https://github.com/SELinuxProject/selinux/pull/145
2019-08-05 19:25:53 +02:00
Petr Lautrbach
d01ff1b97d
Raise requires libaudit version to 3.0 at least
2019-08-05 19:25:53 +02:00
Petr Lautrbach
88ef143cf4
Drop python2-policycoreutils
...
It requires python2-setools which is not available anymore, see
https://bugzilla.redhat.com/show_bug.cgi?id=1734789
2019-08-05 19:25:53 +02:00
Petr Lautrbach
18e735df1b
Use separate patches instead of *-fedora.patch'es
...
Using patches from git makes it clean which changes are included in Fedora
New workflow:
1. clone https://github.com/fedora-selinux/selinux
2. create patchset
$ git format-patch 20190315 -- policycoreutils python gui sandbox dbus semodule-utils restorecond
3. update spec file
$ for j in [0-9]*.patch; do printf "Patch%s: %s\n" ${j/-*/} $j; done
# deleted: restorecond-fedora.patch
2019-08-05 19:25:53 +02:00
Petr Lautrbach
d98f342921
Fix perms on newrole so that objcopy can process it
...
Fixes:
File usr/bin/newrole is not stripped on all architectures (have [.gnu_debugdata])
2019-08-05 08:30:04 +02:00
Fedora Release Engineering
d378c732b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:05:20 +00:00
Petr Lautrbach
f62c86f32c
SELinux userspace 2.9 release
2019-03-18 17:55:40 +01:00
Petr Lautrbach
8478235a3c
SELinux userspace 2.9-rc2 release
2019-03-11 17:03:46 +01:00
Fedora Release Engineering
67598f5a41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 04:35:56 +00:00
Petr Lautrbach
a21e2f9484
SELinux userspace 2.9-rc1 release candidate
2019-01-30 10:09:38 +01:00
Petr Lautrbach
3a6c8251f5
policycoreutils-2.8-17
...
- python2-policycoreutils requires python2-ipaddress (#1669230 )
2019-01-25 08:52:32 +01:00
Petr Lautrbach
ea40a6c901
policycoreutils-2.8-16
...
- restorecond: Install DBUS service file with 644 permissions
2019-01-22 14:22:37 +01:00
Petr Lautrbach
e3a75fa174
policycoreutils-2.8-15
...
- setsebool: support use of -P on SELinux-disabled hosts
- sepolicy: initialize mislabeled_files in __init__()
- audit2allow: use local sepolgen-ifgen-attr-helper for tests
- audit2allow: allow using audit2why as non-root user
- audit2allow/sepolgen-ifgen: show errors on stderr
- audit2allow/sepolgen-ifgen: add missing \n to error message
- sepolgen: close /etc/selinux/sepolgen.conf after parsing it
- sepolicy: Make policy files sorting more robust
- semanage: Load a store policy and set the store SELinux policy root
2019-01-21 17:56:37 +01:00
Petr Lautrbach
9c1b897074
policycoreutils-2.8-14
...
- chcat: fix removing categories on users with Fedora default setup
- semanage: Include MCS/MLS range when exporting local customizations
- semanage: Start exporting "ibendport" and "ibpkey" entries
- semanage: do not show "None" levels when using a non-MLS policy
- sepolicy: Add sepolicy.load_store_policy(store)
- semanage: import sepolicy only when it's needed
- semanage: move valid_types initialisations to class constructors
2018-12-20 10:30:25 +01:00
Petr Lautrbach
a56e58893b
policycoreutils-2.8-13
...
- chcat: use check_call instead of getstatusoutput
- Use matchbox-window-manager instead of openbox
- Use ipaddress python module instead of IPy
- semanage: Fix handling of -a/-e/-d/-r options
- semanage: Use standard argparse.error() method
2018-12-10 18:00:15 +01:00
Petr Lautrbach
3183fc4035
policycoreutils-2.8-12
...
- sepolicy,semanage: replace aliases with corresponding type names
- sepolicy-generate: Handle more reserved port types
2018-11-13 13:42:49 +01:00
Petr Lautrbach
d0a54fbf96
policycoreutils-2.8-11
...
- sepolicy: Fix get_real_type_name to handle query failure properly
- sepolicy: search() for dontaudit rules as well
2018-10-16 12:11:18 +02:00
Petr Lautrbach
06ebc75d30
policycoreutils-2.8-10
...
- semanage: "semanage user" does not use -s, fix documentation
- semanage: add a missing space in ibendport help
- sepolicy: Update to work with setools-4.2.0
2018-10-02 09:39:49 +02:00
Petr Lautrbach
6456a752da
policycoreutils-2.8-9
...
- semanage: Stop rejecting aliases in semanage commands
- sepolicy: Stop rejecting aliases in sepolicy commands
- sepolicy: Fix "info" to search aliases as well
- setfiles: Improve description of -d switch
2018-09-14 21:54:29 +02:00
Petr Lautrbach
9d43d20386
policycoreutils-2.8-8
...
- Update translations
2018-09-13 12:49:48 +02:00
Petr Lautrbach
dbb0324fb0
Move setsebool bash-completion to policycoreutils ( #1598499 )
2018-09-10 22:39:25 +02:00
Petr Lautrbach
2001cdc01d
libselinux-2.8-4
...
- Fix typo in newrole.1 manpage
- sepolgen: print all AV rules correctly
- sepolgen: fix access vector initialization
- Add xperms support to audit2allow
- semanage: Stop logging loginRecords changes
- semanage: Fix logger class definition
- semanage: Replace bare except with specific one
- semanage: fix Python syntax of catching several exceptions
- sepolgen: return NotImplemented instead of raising it
- sepolgen: fix refpolicy parsing of "permissive"
2018-09-04 09:32:10 +02:00
Petr Lautrbach
03a027dfaa
Split translations into sub-tarballs
...
https://github.com/fedora-selinux/selinux/issues/43
2018-08-07 17:33:39 +02:00
Petr Lautrbach
0da684cc41
policycoreutils-2.8-6.fc29
...
- Use split translation files
https://github.com/fedora-selinux/selinux/issues/43
2018-08-06 14:47:07 +02:00
Petr Lautrbach
1a9e2c70e4
Use new translation files structure
...
https://github.com/fedora-selinux/selinux/issues/43
2018-08-06 14:38:57 +02:00
Petr Lautrbach
2e1ddce936
Build with python3 by default
...
Since this [1] change, there's no /usr/bin/python anymore
[1] https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
2018-07-18 22:39:08 +02:00
Petr Lautrbach
2f16dd5c7d
cgroup support was removed from sandbox in 2.4 release long time ago
2018-07-18 13:04:23 +02:00
Petr Lautrbach
748028495e
Disable automatic compilation of Python files in extra directories
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IDDR65FMKZYZYLL6DGFEKFACC55PELW3/
https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
2018-07-16 14:47:02 +02:00
Petr Lautrbach
7505971712
Do not use symlinks to enable selinux-autorelabel-mark.service
...
The service should be enabled using `systemd preset`
https://bugzilla.redhat.com/show_bug.cgi?id=1589720
2018-07-16 13:35:12 +02:00
Fedora Release Engineering
3a5478fbe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 22:42:19 +00:00
Miro Hrončok
ed5913bed9
Rebuilt for Python 3.7
2018-07-02 18:24:39 +02:00
Petr Lautrbach
c1291665a7
policycoreutils-2.8-3.fc29
...
- selinux-autorelabel: Use plymouth --quit rather then --hide-splash (#1592221 )
- selinux-autorelabel: Increment boot_indeterminate grub environment variable (#1592221 )
2018-06-18 11:23:27 +02:00
Miro Hrončok
426ef33d7b
Rebuilt for Python 3.7
2018-06-15 22:47:46 +02:00
Petr Lautrbach
e02a588654
policycoreutils-2.8-1
...
- SELinux userspace 2.8 release
2018-05-25 11:45:50 +02:00
Petr Lautrbach
dafef9cd56
policycoreutils-2.8-0.rc3.2
...
- selinux-autorelabel: set UEFI boot order (BootNext) same as BootCurrent
- selinux-autorelabel: synchronize cached writes before reboot (#1385272 )
2018-05-22 07:55:28 +02:00
Petr Lautrbach
b05095b2d3
SELinux userspace 2.8-rc3 release candidate
2018-05-15 09:51:02 +02:00
Petr Lautrbach
b1b5b44bff
SELinux userspace 2.8-rc2 release candidate
2018-05-04 16:20:03 +02:00
Petr Lautrbach
6545ae2ada
SELinux userspace 2.8-rc1 release candidate
2018-04-23 14:31:24 +02:00
Petr Lautrbach
1d2d2bc1ce
Drop python2 sepolicy gui files from policycoreutils-gui
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1566618
2018-04-19 09:13:06 +02:00
Iryna Shcherbina
6035a0be1e
Update Python 2 dependency declarations to new packaging standards
2018-04-19 09:12:05 +02:00
Petr Lautrbach
3581fc76d3
policycoreutils-2.7-18
...
- Move semodule_* utilities to policycoreutils package (#1562549 )
2018-04-03 12:15:10 +02:00
Petr Lautrbach
a707f868c5
Move semodule_* utilities to policycoreutils package
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1562549
2018-04-03 12:12:50 +02:00
Petr Lautrbach
3b2c0121a0
policycoreutils-2.7-17
...
- semanage/seobject.py: Fix undefined store check (#1559174 )
2018-03-22 13:10:25 +01:00
Petr Lautrbach
e7588169c3
Since python subpackages are noarch now, use provides without %_isa
2018-03-21 17:54:54 +01:00
Petr Lautrbach
389ac0b9c7
Require libsepol-2.7-6, libselinux-2.7-13, libsemanage-2.7-12
2018-03-21 16:53:03 +01:00
Petr Lautrbach
320398f39a
policycoreutils-2.7-16
...
- Build python only subpackages as noarch
- Move semodule_package to policycoreutils-devel
2018-03-16 17:10:02 +01:00
Petr Lautrbach
ebb2c5bfea
Build python only subpackages as noarch
...
policycoreutils-dbus.noarch.rpm
policycoreutils-gui.noarch.rpm
policycoreutils-python-utils.noarch.rpm
python3-policycoreutils.noarch.rpm
python2-policycoreutils.noarch.rpm
2018-03-16 17:05:10 +01:00
Petr Lautrbach
8f22730766
Move semodule_package to policycoreutils-devel
...
It's not a python utility and other semodule_* tools live there.
2018-03-16 17:03:10 +01:00
Petr Lautrbach
38ab1da754
policycoreutils-2.7-15
...
- sepolicy: Fix translated strings with parameters
- sepolicy: Support non-MLS policy
- sepolicy: Initialize policy.ports as a dict in generate.py
- gui/polgengui.py: Use stop_emission_by_name instead of emit_stop_by_name
- Minor update for bash completion
- semodule_package: fix semodule_unpackage man page
- gui/semanagePage: Close "edit" and "add" dialogues when successfull
- gui/fcontextPage: Set default object class in addDialog\
- sepolgen: fix typo in PolicyGenerator
- build: follow standard semantics for DESTDIR and PREFIX
2018-03-13 14:43:27 +01:00
Petr Lautrbach
3b55d7f197
policycoreutils-2.7-14
...
- Use Fedora RPM build flags
https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1548740
2018-02-26 10:48:36 +01:00
Petr Lautrbach
005a370f1c
-gui requires gtk3 and python3-gobject at least
2018-02-20 12:44:11 +01:00
Petr Lautrbach
d3d971ba91
Fix mangling python shebangs
...
- use pathfix.py instead of sed
- clean up '*~' files
Fixes:
policycoreutils has broken dependencies in the rawhide tree:
On i386:
python2-policycoreutils-2.7-11.fc28.i686 requires /usr/bin/python22
On armhfp:
python2-policycoreutils-2.7-11.fc28.armv7hl requires /usr/bin/python22
2018-02-20 12:38:53 +01:00
Petr Lautrbach
2c47aaddd8
List gcc in BuildRequires
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
2018-02-19 13:37:46 +01:00
Miro Hrončok
c6b051c966
python3: suffix -> prefix
2018-02-19 11:56:26 +01:00
Petr Lautrbach
b11cdd32ec
Spec file cleanup
...
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:19:01 +01:00
Petr Lautrbach
1bb4ee0d45
policycoreutils-2.7-11.f28
...
- Rewrite selinux-polgengui to use Gtk3
- Drop python2 and gnome-python2 from gui Requires
2018-02-15 21:34:05 +01:00
Petr Lautrbach
b16a211432
Drop python2 and gnome-python2 from gui Requires
...
It should not be needed anymore
2018-02-15 21:29:23 +01:00
Petr Lautrbach
203045ec1e
gui: Several python 3 related fixes from fedora-selinux/selinux
...
- gui/polgengui.py: Fix sepolicy.generate import in polgengui.py
- gui/polgengui.py: Convert polgen.glade to Builder format polgen.ui
- python/sepolicy: Use list instead of map
- python/sepolicy: Do not use types.BooleanType
2018-02-15 21:29:23 +01:00
Petr Lautrbach
7ef4db2ba4
Use /usr/bin/python2 and other "avoid Python 2" improvements
...
https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-02-15 21:29:23 +01:00
Fedora Release Engineering
f81f64ddb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:31:13 +00:00
Petr Lautrbach
dfb5be5ac0
policycoreutils-2.7-9.fc28
...
- audit-libs-python was renamed to audit-libs-python2
- Use python2_sitearch and python2_sitelib macro
2018-01-31 10:51:43 +01:00
Petr Lautrbach
d6b46ca1c4
audit-libs-python was renamed to audit-libs-python2
2018-01-24 17:55:20 +01:00
Petr Lautrbach
1083f0e66f
Use python2_sitearch and python2_sitelib macros
...
Fixes:
/usr/bin/python: can't open file '/usr/lib/rpm/python-macro-helper': [Errno 2] No such file or directory
2018-01-23 09:02:27 +01:00
Igor Gnatenko
846a16972b
Remove obsolete scriptlets
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:00:01 +01:00
Petr Lautrbach
3cd3d543c6
policycoreutils-2.7-7.fc28
...
- semanage: bring semanageRecords.set_reload back to seobject.py
(#1527745 )
2017-12-20 10:31:18 +01:00
Petr Lautrbach
c33737fa2a
Fix most of rpmlint warnings
...
Known issues:
policycoreutils.spec: W: invalid-url Source14: sepolicy-icons.tgz
The value should be a valid, public HTTP, HTTPS, or FTP URL.
policycoreutils.spec: W: invalid-url Source12:
policycoreutils_man_ru2.tar.bz2
The value should be a valid, public HTTP, HTTPS, or FTP URL.
2017-12-13 18:33:19 +01:00
Petr Lautrbach
24037d1412
policycoreutils-2.7-6.fc28
...
- semanage: make seobject.py backward compatible
- Own %{pythonX_sitelib}/site-packages/sepolicy directories (#1522942 )
2017-12-13 18:15:36 +01:00
Petr Lautrbach
629a62a8a9
Own %{pythonX_sitelib}/site-packages/sepolicy directories
...
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1522942
2017-12-13 17:14:18 +01:00
Petr Lautrbach
bd497b9fd6
policycoreutils-2.7-5.fc28
...
- sepolicy: Fix sepolicy manpage
- semanage: Update Infiniband code to work on python3
- semanage: Fix export of ibendport entries
- semanage: Enforce noreload only if it's requested by -N option
2017-11-22 15:39:07 +01:00