Commit Graph

244 Commits

Author SHA1 Message Date
Fedora Release Engineering 392fa03072 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:25:45 +00:00
Python Maint 17d137e658 Rebuilt for Python 3.11 2022-06-16 13:34:36 +02:00
Petr Lautrbach d8501aad3c setools-4.4.0-7
- Update required userspace versions to 3.4
- Drop unnecessary Recommends
2022-06-15 16:12:50 +02:00
Petr Lautrbach 69eb1aef5e Update required userspace versions to 3.4 2022-06-15 16:10:55 +02:00
Petr Lautrbach 8b928d80e8 Drop unnecessary Recommends 2022-06-15 16:10:55 +02:00
Python Maint 9a9e7b5d7e Rebuilt for Python 3.11 2022-06-13 16:03:16 +02:00
Fedora Release Engineering 493b35df7b - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 00:43:52 +00:00
Petr Lautrbach c77a77e39c Add seinfo-consistent-output test
Check whether different 2 or more runs of same seinfo commands produce
same output
2021-11-23 15:53:17 +01:00
Aleksandra Fedorova cd558df935 setools package is allowed to be empty
Configure rpminspect to recognize setools as meta-package which is allowed to be empty.
2021-11-19 15:46:49 +01:00
Petr Lautrbach 5785621283 setools-4.4.0-4
- Make seinfo output predictable
  https://github.com/SELinuxProject/setools/issues/65
2021-11-19 12:56:24 +01:00
Petr Lautrbach 396291943b Make seinfo output predictable
https://github.com/SELinuxProject/setools/issues/65
2021-11-19 12:55:09 +01:00
Fedora Release Engineering d6eb24d48f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:24:51 +00:00
Python Maint d39a6454a2 Rebuilt for Python 3.10 2021-06-04 21:14:41 +02:00
Petr Lautrbach f7e6d7dcb5 SETools 4.4.0 release 2021-03-08 18:01:35 +01:00
Fedora Release Engineering 041e7a130b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:15:12 +00:00
Petr Lautrbach d085b2403d Rebuild with SELinux userspace release 3.2-rc1
And update to 16c0696
2021-01-21 11:38:48 +01:00
Petr Lautrbach b028c6a81b setools-4.4.0-0.2.20201102git05e90ee.fc34
- Fix imports in /usr/bin/sedta

Fixes:
    $ sedta
    Traceback (most recent call last):
      File "/usr/bin/sedta", line 28, in <module>
        def print_transition(trans: setools.DomainTransition) -> None:
    AttributeError: module 'setools' has no attribute 'DomainTransition'
2020-12-10 17:12:14 +01:00
Ondrej Mosnacek 3c028107aa Depend on git-core instead of full git
See:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GS7GOUITUEASRELL7SKGLVJLGS3ZVJ45/

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2020-11-03 17:07:00 +01:00
Petr Lautrbach 8840b49782 setools-4.4.0-0.1.20201102git05e90ee
- Update to 05e90ee
- Add /usr/bin/sechecker
- Adapt to new libsepol filename transition structures
- Rebuild with libsepol.so.2
2020-11-03 16:07:11 +01:00
Fedora Release Engineering 1396e21e63 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:02:07 +00:00
Fedora Release Engineering 8ea3353198 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:35:00 +00:00
Petr Lautrbach e1c3bd6193 setools-4.3.0-3
- rebuild with SELinux userspace 3.1 release
2020-07-16 12:22:20 +02:00
Vit Mojzis 4d63e5997c tests: Add Regression/The-setools-package-doesn-t-install-any-tools
Make sure setools requires setools-console and setools-gui and not vice
versa.
2020-05-29 18:08:14 +02:00
Miro Hrončok c62a76dec8 Rebuilt for Python 3.9 2020-05-26 03:50:16 +02:00
Petr Lautrbach 8e66d37730 Enable gating
https://docs.fedoraproject.org/en-US/ci/gating/
2020-04-03 09:35:35 +02:00
Petr Lautrbach 7a283c335f SETools 4.3.0 release
- Revised sediff method for TE rules. This drastically reduced memory and run time.
- Added infiniband context support to seinfo, sediff, and apol.
- Added apol configuration for location of Qt assistant.
- Fixed sediff issue where properties header would display when not requested.
- Fixed sediff issue with type_transition file name comparison.
- Fixed permission map socket sendto information flow direction.
- Added methods to TypeAttribute class to make it a complete Python collection.
- Genfscon now will look up classes rather than using fixed values which
    were dropped from libsepol.
2020-04-02 16:14:55 +02:00
Petr Lautrbach bb087c8236 setools-4.2.2-5
- setools requires -console, -console-analyses and -gui packages (#1794314)
2020-03-23 20:51:22 +01:00
Fedora Release Engineering 7f0685b7c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:16:58 +00:00
Petr Lautrbach b8e16f5ac1 tests: Add local Sanity/sedta to the testsuite 2019-10-22 10:49:40 +02:00
Milos Malik b5ddd6cd6d Add new test for sedta utility
Basic test which covers the sedta tool.

- test invalid values
- test transitivity, reflexivity, non-existent relation etc
2019-10-22 09:06:14 +02:00
Miro Hrončok 2598e73c59 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:38:40 +02:00
Miro Hrončok 5f644f84d1 Rebuilt for Python 3.8 2019-08-19 11:05:46 +02:00
Petr Lautrbach 1d41610e25 Add initial set of tests
- Tier1 SELinux components tests for Sanity
- policycoreutils and checkpolicy tests as they depend and use SETools
2019-08-02 15:51:33 +02:00
Vit Mojzis 082b752534 SETools 4.2.2 release
- Replaced the Python/SWIG/static-linked-libsepol policyrep module with
   a Cython implementation. This will have performance and memory-usage
   improvements and breaks the static linking to libsepol.
- Significant memory usage reduction in sediff (approximately 60%,
   depending on the policies).
- Added support for SCTP portcons
- Updated permission maps
- Support for Python 2.7 was dropped
- Drop python2 subpackage (4.2.0 no longer supports python2)
- Require userspace release 2.9
- setools-gui requires python3-setools
- Add Requires for python[23]-setuptools - no longer required (just recommended) by python[23] (#1623371)
- Fixed performance regressions
- Made further memory usage improvements
- Fixed build issues with clean target and runtime_library_dirs
- Revised package structure to make policyrep a module of the setools
  package
- Symbol names are now available as the name attribute
  (e.g. Boolean.name, Type.name, etc.)
- Fixed some apol layouts to increase the size of text fields
- Move constraint expression to its own class
- Made Conditional.evaluate() more useful and added
  BaseTERule.enabled() method to determine if a rule is enabled
- Restored missing statement() methods in some policyrep classes
- Fixed NULL pointer dereference when iterating over type attributes when the policy has none
- Added xdp_socket permission mapping
- SELinuxPolicy: Create a map of aliases on policy load
- Remove source policy references from man pages, as loading source policies
  is no longer supported.
- Fix a performance regression in alias loading after alias dereferencing
  fixes in 4.2.1
2019-08-02 15:50:17 +02:00
Fedora Release Engineering 5443cd02b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:07:24 +00:00
Miro Hrončok aae45ee479 https://fedoraproject.org/wiki/Changes/Python_Extension_Flags 2019-02-13 01:09:32 +01:00
Fedora Release Engineering 0818b3952b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:14:20 +00:00
Vit Mojzis ec182abe69 setools-4.1.1-13
- Add Requires for python[23]-setuptools - no longer required (just recommended)
  by python[23] (#1623371)
2018-08-29 13:45:37 +02:00
Petr Lautrbach 618f976e7b Rebuild 2018-08-23 12:20:26 +02:00
Petr Lautrbach fd63d73041 setools-gui requires python3-setools 2018-08-23 12:19:02 +02:00
Petr Lautrbach b2615bd52c setools-4.1.1-12
- Fix SCTP patch - https://github.com/SELinuxProject/setools/issues/9
- Update URL to SELinuxProject/setools
- Require userspace release 2.8
2018-08-22 18:08:05 +02:00
Petr Lautrbach 56ba584672 Fix SCTP patch
Fixes:
Failed to load default permission map: /usr/lib64/python3.6/site-packages/setools/perm_map:391:Invalid class declaration: ['sendto', 'w', '10']

https://github.com/SELinuxProject/setools/issues/9
2018-08-22 18:03:39 +02:00
Petr Lautrbach 950d0d171f Fix rpmlint errors and warnings
setools.spec:95: W: unversioned-explicit-obsoletes setools-libs-tcl
setools.spec:170: W: macro-in-comment %doc
setools.spec:173: W: macro-in-comment %{python2_sitelib}
setools.spec:179: W: macro-in-comment %doc
setools.spec:181: W: macro-in-comment %{python3_sitelib}
setools.spec: E: specfile-error warning: Macro expanded in comment on line 173: %{python2_sitelib}/*
setools.spec: E: specfile-error
setools.spec: E: specfile-error warning: Macro expanded in comment on line 181: %{python3_sitelib}/*
2018-07-23 21:28:26 +02:00
Fedora Release Engineering 3bb977d8b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:00:08 +00:00
Miro Hrončok a5d7dbf23d Rebuilt for Python 3.7 2018-06-19 11:27:24 +02:00
Petr Lautrbach 9ad7d4e48a s/plautrba@workstation/plautrba@redhat.com/ 2018-06-14 13:27:08 +02:00
Petr Lautrbach f73658f908 setools-4.1.1-9
- Move gui python files to -gui subpackage
2018-06-14 13:06:05 +02:00
Petr Lautrbach afb5e45daa Move gui python files to -gui subpackage 2018-06-14 11:04:59 +02:00
Vit Mojzis efa4712a7b setools-4.1.1-8
- Add support for SCTP protocol
2018-04-27 10:37:12 +02:00
Iryna Shcherbina 2dcce95b10 Update Python 2 dependency declarations to new packaging standards 2018-04-26 22:50:41 +02:00