Commit Graph

89 Commits

Author SHA256 Message Date
Ana Guerrero
ea2c187284 Accepting request 1178336 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1178336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=50
2024-06-04 10:50:26 +00:00
Hu
f101acefb2 Accepting request 1177606 from home:cahu:security:SELinux:fixleapbuild
- Rework packaging to modern python packaging
  - python-setools module now builds for python310, python311, python312
    for tw and builds for python311 in 15.4 + 15.5
  - setools-console scripts will use python311 as default in factory, 15.4
    and 15.5 
  - moved %dir %{_docdir}/%{name}/ and %{_docdir}/%{name}/* out of the
    python-setools module into setools-console as it does not belong in there
    and causes conflicts between python versions
  - moved %{python_sitearch}/setoolsgui from setools-gui into the
    python-setools module for multiversion build

OBS-URL: https://build.opensuse.org/request/show/1177606
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=105
2024-06-03 13:59:28 +00:00
Ana Guerrero
5b1c14c8c4 Accepting request 1171339 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1171339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=49
2024-05-02 21:42:58 +00:00
Johannes Segitz
102582abc7 Accepting request 1171337 from home:fbonazzi:branches:security:SELinux
- Update to version 4.5.1:
  - Correct annotations of NetworkX types to make it optional again.
  -  Fix packaging issue for apol's style sheet (apol.css).
- Drop 0001-Make-networkx-optional-again-Fixes-125.patch fixed upstream
- Change networkx Requires to Suggests

OBS-URL: https://build.opensuse.org/request/show/1171337
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=103
2024-05-02 11:01:21 +00:00
Ana Guerrero
1c05bb0a4c Accepting request 1168880 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1168880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=48
2024-04-19 17:13:14 +00:00
Johannes Segitz
1bf18c7b28 Accepting request 1168868 from home:cahu:security:SELinux:policytest2
- Fix build for 15.4 and 15.5:
  - Minimum required python version is 3.11, so building only for python311 
  - Remove dependency for networkx: 0001-Make-networkx-optional-again-Fixes-125.patch 
- Update to version 4.5.0:
  - User Visible Changes
    * Add graphical results for information flow analysis and domain
      transition analysis, available in apol, sedta, and seinfoflow.
    * Add tooltips, What's This?, and detail popups in apol to help
      cross-referencing query and analysis results along with
      context-sensitive help.
  - Under The Hood Changes
    * Rework apol to fully generate the UI programmatically.
    * Update apol to PyQt6
    * Replace deprecated uses of pkg_resources and distutils.
    * Begin adding unit tests for apol UI.
  - Updated Dependencies
    SETools now higher minimum versions of the following dependencies:
    * Python 3.10
    * NetworkX 2.6
    * PyQt6
    * Cython 0.29.14
  - New Dependencies
    * pygraphviz (for seinfoflow, sedta, apol)

OBS-URL: https://build.opensuse.org/request/show/1168868
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=101
2024-04-18 13:51:47 +00:00
Ana Guerrero
59a6b51bc9 Accepting request 1132435 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1132435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=47
2023-12-11 20:49:47 +00:00
Johannes Segitz
ef6218b175 Accepting request 1132434 from home:jsegitz:branches:security:SELinux
- Update to version 4.4.4:
  * Update for compiling with libsepol 3.6.

OBS-URL: https://build.opensuse.org/request/show/1132434
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=99
2023-12-11 08:28:18 +00:00
Ana Guerrero
795c1e96ee Accepting request 1115882 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1115882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=46
2023-10-06 19:12:07 +00:00
Hu
1c067173f4 Accepting request 1115870 from home:cahu:branches:security:SELinux
Add missing reference bsc#1200649 to changelog

OBS-URL: https://build.opensuse.org/request/show/1115870
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=97
2023-10-05 15:22:53 +00:00
Dominique Leuenberger
89711056fa Accepting request 1102155 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1102155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=45
2023-08-04 13:02:58 +00:00
Johannes Segitz
d56eee7d81 Accepting request 1101719 from home:fbonazzi:branches:security:SELinux
- Update to version 4.4.3:
  * Fix compilation with Cython 3.0.0.
  * Improve man pages.
  * Remove neverallow options in sediff.
  * Add -r option to seinfoflow to get flows into the source type.
  * Reject a rule with no permissions as invalid policy.

OBS-URL: https://build.opensuse.org/request/show/1101719
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=95
2023-08-03 11:19:58 +00:00
Ana Guerrero
1ac4cfbcf7 Accepting request 1099111 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1099111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=44
2023-07-19 17:09:45 +00:00
Johannes Segitz
9b3cfd1f26 Accepting request 1098586 from home:shunghsiyu:branches:security:SELinux
Add python3-setuptools as a runtime requirement of python3-setools (boo#1213305)

OBS-URL: https://build.opensuse.org/request/show/1098586
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=93
2023-07-17 15:00:50 +00:00
Dominique Leuenberger
bd9995d336 Accepting request 1082988 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1082988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=43
2023-04-27 17:59:33 +00:00
Johannes Segitz
9ae288d38d Accepting request 1082976 from home:fbonazzi:branches:security:SELinux
- Update to version 4.4.2:
  * Make NetworkX optional. sedta and seinfoflow tools, along with the
    equivalent analyses in apol require NetworkX.
  * Remove neverallow options in sesearch and apol. These are not usable
    since they are removed in the final binary policy.
- Drop make_networkx_optional.patch, now merged upstream

OBS-URL: https://build.opensuse.org/request/show/1082976
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=91
2023-04-26 11:36:22 +00:00
Dominique Leuenberger
d0da89cb66 Accepting request 1063510 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1063510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=42
2023-02-07 17:48:27 +00:00
Johannes Segitz
7a9a7c36d5 Accepting request 1063460 from home:fbonazzi:branches:security:SELinux
- Update to version 4.4.1:
  * Replace deprecated NetworkX function use in information flow and domain
    transition analysis. This function was removed in NetworkX 3.0.
  * Fix bug in apol copy and cut functions when copying from a tree view.
  * Fix bug with extended permission set construction when a range includes
    0x0.
  * Add sesearch -Sp option for permission subset match.
  * Fix error in man page description for sesearch -ep option.
  * Improve output stability in constraint, common, class, role, and user
    queries.
  * Updated permission map.
  * Fix bug in sechecker parsing of multiline values.
  * Other code cleanups not visible to users.

OBS-URL: https://build.opensuse.org/request/show/1063460
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=89
2023-02-06 19:11:22 +00:00
Dominique Leuenberger
7cb5f93ea8 Accepting request 1001362 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1001362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=41
2022-09-07 09:05:22 +00:00
Johannes Segitz
f4490c61ae Accepting request 1001361 from home:jsegitz:branches:security:SELinux
OBS-URL: https://build.opensuse.org/request/show/1001361
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=87
2022-09-06 06:46:14 +00:00
Johannes Segitz
581661343f Accepting request 1001198 from home:jsegitz:branches:security:SELinux
- Add make_networkx_optional.patch to cut down installation requirements

OBS-URL: https://build.opensuse.org/request/show/1001198
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=86
2022-09-05 06:41:50 +00:00
Johannes Segitz
e9cb7e6fed Accepting request 1000891 from home:jsegitz:branches:security:SELinux
- Added README.SUSE and drop recommend for python3-networkx altogether
  (bsc#1202676)

OBS-URL: https://build.opensuse.org/request/show/1000891
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=85
2022-09-02 12:53:45 +00:00
Dominique Leuenberger
7194bafe2e Accepting request 956807 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/956807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=40
2022-02-25 20:24:46 +00:00
Johannes Segitz
46eb5c010e Accepting request 956666 from home:shunghsiyu:branches:openSUSE:Factory
Make dependency on python3-networkx optional.

python3-network pulls in python38-matplotlib and python38-scipy, which then pulls in various mathematical and graphical libraries that are not needed on a minimal server environment (e.g. MicroOS).

While sedta will not work without python3-networkx, with this patch (already merged upstream https://github.com/SELinuxProject/setools/pull/68) it will emit an error message pointing user to install python3-networkx instead of throwing ImportError.

Further more, by default zypper install recommended packages as well, so general users are unlikely to even notice the difference. It only makes a difference if recommends are disabled; either explicitly by giving --no-recommends to zypper or setting solver.onlyRequires=true in zypp.conf, the latter is what MicroOS does.

OBS-URL: https://build.opensuse.org/request/show/956666
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=84
2022-02-22 15:38:03 +00:00
Dominique Leuenberger
437ddb5fc6 Accepting request 898578 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/898578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=39
2021-06-11 20:29:57 +00:00
Johannes Segitz
0dba65a9d5 Accepting request 898351 from home:dimstar:Factory
- Fix dependency of python3-setools: require python3, not python
  (which is python2).

  gh#openSUSE/python-rpm-macros#73
- Fix setools-gui dependencies, we are using python-qt5 and not
  * Fixed sediff issue where properties header would display when not
  * Added methods to TypeAttribute class to make it a complete Python
  * Genfscon now will look up classes rather than using fixed values
  * Support for Python 2.7 was dropped
- Deleted setools-3.3.7-libselinux-2.3.patch, we have a
- Add setools-swig-2x.patch: correctly detect swig 2.x

OBS-URL: https://build.opensuse.org/request/show/898351
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=82
2021-06-09 05:13:16 +00:00
Dominique Leuenberger
77c43bd6d5 Accepting request 878583 from security:SELinux
big toolchain update, please stage together. so versions change, so this has high potential to break stuff. Probably best to stage it isolated

OBS-URL: https://build.opensuse.org/request/show/878583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=38
2021-03-24 15:08:52 +00:00
Johannes Segitz
67e04a1493 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=80 2021-03-12 07:59:19 +00:00
Johannes Segitz
4ef7198fa3 Accepting request 846882 from home:mcepl:branches:security:SELinux
Resubmit the update.

OBS-URL: https://build.opensuse.org/request/show/846882
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=79
2020-11-10 13:40:14 +00:00
Dominique Leuenberger
59042827b3 Accepting request 846428 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/846428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=37
2020-11-09 12:56:32 +00:00
Johannes Segitz
8af179d5d8 Accepting request 845832 from home:mcepl:branches:security:SELinux
OBS-URL: https://build.opensuse.org/request/show/845832
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=77
2020-11-06 10:40:07 +00:00
Dominique Leuenberger
29e57f12e9 Accepting request 843145 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/843145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=36
2020-10-24 13:14:58 +00:00
Johannes Segitz
2512b7fb23 Accepting request 843140 from home:kukuk:selinux
- Cleanup BuildRequires
- Fix setools-gui dependencies, we are using python-qt5 and not 
  tcl/tk

OBS-URL: https://build.opensuse.org/request/show/843140
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=75
2020-10-21 08:17:37 +00:00
Dominique Leuenberger
9f4faa1b76 Accepting request 823571 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/823571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=35
2020-08-06 15:28:56 +00:00
Johannes Segitz
847204cde2 Accepting request 823546 from home:kukuk:selinux
- python3-setools needs python3-networkx

OBS-URL: https://build.opensuse.org/request/show/823546
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=73
2020-07-30 12:23:01 +00:00
Dominique Leuenberger
1389b93696 Accepting request 791204 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/791204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=34
2020-04-05 18:49:56 +00:00
Johannes Segitz
0a2e869863 Accepting request 791203 from home:jsegitz:branches:security:SELinux
- Update to the upstream version 4.3.0:
  * 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
- Dropped python3.8-compat.patch

OBS-URL: https://build.opensuse.org/request/show/791203
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=71
2020-04-03 13:08:27 +00:00
Dominique Leuenberger
a79eac8fae Accepting request 747293 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/747293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=33
2019-11-13 12:13:37 +00:00
Johannes Segitz
05e359c230 Accepting request 744477 from home:mcepl:branches:security:SELinux
- Add python3.8-compat.patch to allow build with Python 3.8
  Still doesn't work perfectly because of gh#SELinuxProject/setools#31
  (I had to remove -Werror)

- Update to the upstream version 4.2.2:
  - Remove source policy references from man pages, as loading
    source policies is no longer supported.
  - Fixed a performance regression in alias loading after alias
    dereferencing fixes in 4.2.1.

OBS-URL: https://build.opensuse.org/request/show/744477
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=69
2019-11-11 07:10:34 +00:00
Stephan Kulow
81ff671598 Accepting request 671815 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/671815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=32
2019-02-06 13:06:30 +00:00
Johannes Segitz
e04835ddc2 Accepting request 671814 from home:jsegitz:branches:security:SELinux
- Update to 4.2.1
  * Set SIGPIPE handler for CLI tools.
  * Fixed alias dereferencing in TypeQuery and type, category, and
    sensitivity lookups.
  * Fixed sediff bug for rendering modified nodecons.
  * Fixed devicetreecon count output.
  * Fixed policy target platform check.
  * Fixed bug in creating permission set intersection in apol.
- Provide python-setools

OBS-URL: https://build.opensuse.org/request/show/671814
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=67
2019-02-05 10:31:49 +00:00
Dominique Leuenberger
6b7d922d47 Accepting request 657421 from security:SELinux
OBS-URL: https://build.opensuse.org/request/show/657421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=31
2018-12-12 16:30:52 +00:00
Johannes Segitz
77000e5e1d Accepting request 657418 from home:jsegitz:branches:security:SELinux
- Changed requires of console subpackage to python3-setools

OBS-URL: https://build.opensuse.org/request/show/657418
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=65
2018-12-12 09:16:42 +00:00
Johannes Segitz
4d58a6f918 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=64 2018-12-06 14:43:39 +00:00
Johannes Segitz
c3ca742302 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=63 2018-11-23 15:27:19 +00:00
Dominique Leuenberger
9c4ef4362a Accepting request 615934 from security:SELinux
- Added warning.patch in former change to prevent warnings from
  stopping the build

- Upgrade to 4.1.1

- Update to version 4.0.1. SETools was reimplemented in Python.
- Doesn't build
  * setools-libs
  * setools-java
  * setools-tcl
  * setools-devel
  anymore since the files are not povided anymore
- Dropped
  * add-to-header-define_cond_filename_trans.patch
  * implicit-fortify-decl.patch
  * setools-3.3.5-javacflags.patch
  * setools-3.3.5-nonvoid.patch
  * setools-3.3.5-strcmp.patch
  * setools-am121.patch
  * setools-libsepol.patch
  * setools-setup_py-prefix.patch
  * setools-swig-2.0.7.patch
  * setools-swig-2x.patch
  * setools-tclass.patch

OBS-URL: https://build.opensuse.org/request/show/615934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=30
2018-06-29 20:24:47 +00:00
Johannes Segitz
6bdea58a92 - Added warning.patch in former change to prevent warnings from
stopping the build

OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=61
2018-06-11 08:22:15 +00:00
Johannes Segitz
7c1c4b8894 Accepting request 609011 from home:mcepl:SELinux
Rebase to 4.1.1

OBS-URL: https://build.opensuse.org/request/show/609011
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=60
2018-05-23 08:42:50 +00:00
Johannes Segitz
3307f1be7a Accepting request 559322 from home:jsegitz:branches:security:SELinux
- Update to version 4.0.1. SETools was reimplemented in Python.
- Doesn't build and obsoletes
  * setools-libs
  * setools-java
  * setools-tcl
  * setools-devel
  anymore since the files are not povided anymore
- Dropped
  * add-to-header-define_cond_filename_trans.patch
  * implicit-fortify-decl.patch
  * setools-3.3.5-javacflags.patch
  * setools-3.3.5-nonvoid.patch
  * setools-3.3.5-strcmp.patch
  * setools-am121.patch
  * setools-libsepol.patch
  * setools-setup_py-prefix.patch
  * setools-swig-2.0.7.patch
  * setools-swig-2x.patch
  * setools-tclass.patch

OBS-URL: https://build.opensuse.org/request/show/559322
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=59
2017-12-22 12:36:48 +00:00
Dominique Leuenberger
b763017a2f Accepting request 531744 from security:SELinux
1

OBS-URL: https://build.opensuse.org/request/show/531744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=29
2017-10-06 09:04:41 +00:00