Commit Graph

39 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Johannes Segitz
8a22b227e3 Accepting request 530069 from home:coolo:branches:openSUSE:Factory
- Move to minimum java target of 1.6, 1.5 is no longer supported

OBS-URL: https://build.opensuse.org/request/show/530069
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=57
2017-10-05 13:56:04 +00:00
Johannes Segitz
f630095156 Accepting request 506436 from home:jsegitz:setools
- Added implicit-fortify-decl.patch to prevent warnings about implicit
  declarations

OBS-URL: https://build.opensuse.org/request/show/506436
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=55
2017-06-27 09:29:02 +00:00
Johannes Segitz
ba83dff5d8 Accepting request 422158 from home:jsegitz:branches:security:SELinux
- Deleted setools-3.3.7-libselinux-2.3.patch, we have a 
  current libselinux now

OBS-URL: https://build.opensuse.org/request/show/422158
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=53
2016-08-25 15:49:00 +00:00
Johannes Segitz
8402509152 Accepting request 416659 from home:jsegitz:branches:security:SELinux
- Patch to work with current libsepol, libselinux
  Added: setools-tclass.patch

OBS-URL: https://build.opensuse.org/request/show/416659
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=52
2016-08-03 08:12:13 +00:00
Johannes Segitz
c0e199bb34 Accepting request 292382 from home:posophe:branches:security:SELinux
update

OBS-URL: https://build.opensuse.org/request/show/292382
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=50
2015-03-23 08:20:39 +00:00
Johannes Segitz
0bc5b38da6 Accepting request 235465 from home:oertel:branches:security:SELinux
- add patch: setools-3.3.7-libselinux-2.3.patch
  fix build with libselinux-2.3

OBS-URL: https://build.opensuse.org/request/show/235465
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=48
2014-05-27 07:23:25 +00:00
Michal Vyskocil
0b2c1c28dc Accepting request 203214 from home:vitezslav_cizek:branches:security:SELinux
- don't fail if there are no never-allow rules in the policy
- remove dangling symlink /usr/bin/seaudit (bnc#812285)
  * added 0003-Since-we-do-not-ship-neverallow-rules-all-always-fai.patch

OBS-URL: https://build.opensuse.org/request/show/203214
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=46
2013-10-14 10:52:29 +00:00
Vítězslav Čížek
ea9558b823 Accepting request 198868 from home:pgajdos
- javapackages-tools in buildrequires

OBS-URL: https://build.opensuse.org/request/show/198868
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=44
2013-09-13 11:19:43 +00:00
2efea94087 Accepting request 162516 from home:vitezslav_cizek:branches:security:SELinux
- added patches:
  * 0006-Changes-to-support-named-file_trans-rules.patch
  * 0007-Remove-unused-variables.patch
    - these two add support for named file trans rules
  * add-to-header-define_cond_filename_trans.patch
    - add missing define_cond_filename_trans() declaration

OBS-URL: https://build.opensuse.org/request/show/162516
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=42
2013-04-04 07:27:45 +00:00
Michal Vyskocil
f18c31deef Accepting request 139262 from home:coolo:branches:openSUSE:Factory
- add explicit buildrequire on libbz2-devel

OBS-URL: https://build.opensuse.org/request/show/139262
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=40
2012-10-25 11:42:38 +00:00
bff2aa4e2a Accepting request 131878 from home:namtrac:branches:security:SELinux
- Add setools-3.3.6-libsepol.patch to fix compilation with new
  libsepol

OBS-URL: https://build.opensuse.org/request/show/131878
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=38
2012-08-28 19:44:09 +00:00
dcfa47b2d8 - removed 2 upstream patches
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=37
2012-08-07 12:47:01 +00:00
fe224635fe - updated to version 3.3.7
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=36
2012-08-05 15:44:53 +00:00
Ismail Dönmez
6640ec73c7 Accepting request 126959 from home:coolo:branches:openSUSE:Factory
- add setools-am121.patch to fix build with automake 1.12.1

OBS-URL: https://build.opensuse.org/request/show/126959
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=33
2012-07-03 09:35:39 +00:00
f7a50cc0ff - fix build with swig-2.0.7 (untested, though)
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=29
2012-06-14 10:02:19 +00:00
Michal Vyskocil
c12cd34358 Accepting request 104540 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard

OBS-URL: https://build.opensuse.org/request/show/104540
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=27
2012-02-13 15:04:09 +00:00
Vítězslav Čížek
ff684d2055 Accepting request 93215 from home:coolo:removelibtool
add libtool to buildrequires

OBS-URL: https://build.opensuse.org/request/show/93215
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setools?expand=0&rev=25
2011-11-23 09:46:50 +00:00
Sascha Peilicke
eeb7c5361c Accepting request 71668 from security:SELinux
Add setools-swig-2x.patch to correctly detect swig 2.x (forwarded request 71385 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/71668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=9
2011-05-30 08:44:57 +00:00
OBS User autobuild
c81443a124 Accepting request 34373 from security:SELinux
Copy from security:SELinux/setools based on submit request 34373 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/34373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=4
2010-03-09 16:07:02 +00:00
OBS User autobuild
1b7a36d2e1 Accepting request 20120 from security:SELinux
Copy from security:SELinux/setools based on submit request 20120 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/20120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=2
2009-09-10 11:10:53 +00:00
OBS User autobuild
f0c00e6242 Accepting request 14277 from security:SELinux
Copy from security:SELinux/setools based on submit request 14277 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/14277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=1
2009-08-11 15:57:05 +00:00