Commit Graph

224 Commits

Author SHA1 Message Date
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
Petr Lautrbach
02d7a5d1d7 Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:42:01 +01:00
Fedora Release Engineering
3a754fee08 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 16:32:55 +00:00
Petr Lautrbach
1924f09170 setools-python2 requires python2-enum34
Fixes:
>>> import setools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/setools/__init__.py", line 31, in <module>
    from . import policyrep
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/__init__.py", line 26, in <module>
    from .bounds import BoundsRuletype
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/bounds.py", line 24, in <module>
    from .util import PolicyEnum
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/util.py", line 21, in <module>
    from enum import Enum
ImportError: No module named enum
2017-09-04 18:13:55 +02:00
Zbigniew Jędrzejewski-Szmek
7672531487 Add Provides for the old name without %_isa 2017-08-20 10:42:50 -04:00
Zbigniew Jędrzejewski-Szmek
051ad0ff37 Python 3 binary package renamed to python3-setools 2017-08-19 13:53:53 -04:00
Zbigniew Jędrzejewski-Szmek
be3765e54a Python 2 binary package renamed to python2-setools 2017-08-19 13:52:46 -04:00
Petr Lautrbach
5739cf73a2 setools-4.1.1-2
- bswap_* macros are defined in byteswap.h

Fixes ImportError on s390x:
/usr/lib64/python3.6/site-packages/setools/policyrep/_qpol.cpython-36m-s390x-linux-gnu.so: undefined symbol: bswap_32
2017-08-10 08:59:30 +02:00
Petr Lautrbach
13a8a83732 setools-4.1.1-1 2017-08-07 18:11:14 +02:00
Fedora Release Engineering
4006d5c5b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:21:21 +00:00
Fedora Release Engineering
869ecbd188 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:28:12 +00:00
Tomas Tomecek
ccf0ebfefc add explicit BR on py{2,3} setuptools
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
2017-05-30 11:49:45 +02:00
Petr Lautrbach
7bfe6fa0af setools-python{,3} packages should have a weak dependency on libselinux-python{,3}
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447747

For more information about weak dependencies see
https://fedoraproject.org/wiki/Packaging:WeakDependencies
2017-05-22 09:01:15 +02:00
Petr Lautrbach
e236753025 Require libsepol version at least 2.6 for build 2017-02-23 13:18:02 +01:00
Petr Lautrbach
526a5264e3 setools-4.1.0-2
- Move dependency on networkx to -gui and -console-analyses
- Ship sedta and seinfoflow in setools-console-analyses
2017-02-23 12:43:31 +01:00
Petr Lautrbach
d570700ddd Do not export/use setools.InfoFlowAnalysis and setools.DomainTransitionAnalysis
dta and infoflow modules require networkx which brings lot of dependencies.
These dependencies are not necessary for setools module itself as it's
used in policycoreutils.

Therefore it's better to use setools.infoflow.InfoFlowAnalysis and
setools.dta.DomainTransitionAnalysis and let the package containing
sedta and seinfoflow to require python3-networkx

Added new subpackage setools-console-analyses
2017-02-23 11:03:03 +01:00
Petr Lautrbach
fdd5e434b3 Do not use -Werror during build
There are new warnings when setools are built with gcc 7 therefore we
want to suppress -Werror for now

Fixes:
libqpol/policy_extend.c: In function ‘policy_extend’:
libqpol/policy_extend.c:161:27: error: ‘%04zd’ directive output may be truncated writing between 4 and 10 bytes into a region of size 5 [-Werror=format-truncation=]
    snprintf(buff, 9, "@ttr%04zd", i + 1);
                           ^~~~~
libqpol/policy_extend.c:161:22: note: directive argument in the range [1, 4294967295]
    snprintf(buff, 9, "@ttr%04zd", i + 1);
                      ^~~~~~~~~~~
In file included from /usr/include/stdio.h:939:0,
                 from /usr/include/sepol/policydb/policydb.h:53,
                 from libqpol/policy_extend.c:29:
/usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 9 and 15 bytes into a destination of size 9
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
error: command 'gcc' failed with exit status 1
2017-02-23 10:56:01 +01:00
Petr Lautrbach
442c972d4b Use %autosetup -S git 2017-02-23 10:54:52 +01:00
Petr Lautrbach
12efca860a setools.spec files cleanup
- drop %{with python3}
- build python3 sources in setools-x.y.z and python2 in
setools-x.y.z-python2
- clean %{buildroot}%{_bindir} before installing python3 sources
2017-02-23 10:51:31 +01:00
Petr Lautrbach
d5a84f04a0 setools-4.1.0-1
- New upstream release
2017-02-15 13:56:51 +01:00
Fedora Release Engineering
2123a2995d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:19:58 +00:00
Petr Lautrbach
1299b6abea setools-3.3.8-12
- Rebuilt with libsepol-2.5-6
2016-05-11 10:20:57 +02:00
Petr Lautrbach
362ac1c345 setools-3.3.8-11
- Rebuilt with libsepol-2.5-5
2016-05-02 09:44:51 +02:00
Petr Lautrbach
04f559dd9d setools-3.3.8-10.fc24
- libqpol: Skip types when building type attribute map (#1291336)
- Rebase for SELinuxProject userspace release 2016-01-07
2016-02-21 12:08:24 +01:00
Petr Lautrbach
a34c9ef118 libqpol: Skip types when building type attribute map
Fixes: rhbz#1291336
2016-02-21 12:04:14 +01:00
Fedora Release Engineering
26a78c68ba - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 23:52:58 +00:00
Petr Lautrbach
a4af57962c Rebase to the latest setools3 sources
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1266520
2016-01-29 15:36:50 +01:00
Petr Lautrbach
e46f55812d use %global instead of %define in setools.spec 2016-01-29 15:02:14 +01:00
Dan Horák
300f5dde54 - Add patch for libsepool 2.4 support 2016-01-29 14:01:11 +01:00
Dennis Gilmore
07282d3796 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 00:40:21 +00:00
Kalev Lember
4424caacde Rebuilt for GCC 5 C++11 ABI change 2015-05-02 17:42:55 +02:00
Peter Robinson
5e80f4b5b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 02:02:54 +00:00
Tom Callaway
a8a75e40d8 fix license handling 2014-08-04 01:48:51 -04:00
Dennis Gilmore
364e31e4d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:10:54 -05:00
Jaroslav Škarvada
80eec9ca44 - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:39:19 +02:00
Miroslav Grepl
ed27604c5e Add 0012-Fix-configure.ac-to-use-SWIG-3.0.0.patch 2014-04-13 21:25:39 +02:00
Miroslav Grepl
90685bf953 Fix spec file 2014-04-11 19:03:50 +02:00
Miroslav Grepl
665320d083 * Fri Apr 11 2013 Miroslav Grepl <mgrepl@redhat.com> - 3.3.8-1
- Update to upstream
2014-04-11 19:03:04 +02:00
Dan Walsh
abcfd7caf6 Cleanup Destop files. 2013-09-16 13:53:46 -04:00
Dennis Gilmore
75dffcc440 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 09:12:26 -05:00
Dan Walsh
7d9f204bf2 Fix help message on sesearch -D 2013-07-19 06:49:49 -04:00
Dan Walsh
3caf5ed4b7 Remove --default and --audit from sesearch
- Make -D == --dontaudit in sesearch
2013-06-15 08:19:19 -04:00
Dan Walsh
4dcc6b1421 Add alias support to seinfo -t 2013-03-28 13:42:19 -04:00
Dan Walsh
87ef079e2e Add alias support to seinfo -t 2013-03-28 13:32:30 -04:00
Kalev Lember
a71f281069 Obsolete the removed setools-libs-python subpackage 2013-03-26 22:48:34 +01:00
Dan Walsh
87688b7eb6 Drop support for python bindings 2013-03-25 11:44:34 -04:00
Dan Walsh
33f5961ddc Drop support for python bindings 2013-03-24 06:43:48 -04:00
Dan Walsh
9bac5f8821 Rebuild using pristine source from Tresys 2013-01-30 11:37:44 -05:00
Dan Walsh
100f5e541c Apply swig patch to make apol work again. 2013-01-30 10:01:26 -05:00
Dan Walsh
aa84f5eb45 Apply swig patch to make apol work again. 2013-01-29 19:18:07 -05:00
Dan Walsh
cb2ae8409a Rebuild with new tool chain 2013-01-07 10:48:55 -05:00
Dan Walsh
5edcaf9a0f Rebuild with new tool chain 2013-01-07 10:32:34 -05:00
Dan Horák
0f518147af use autoreconf to rebuild all autotooled files (FTBFS) 2012-08-20 17:55:29 +02:00
Dennis Gilmore
4f89cbfc62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 14:25:04 -05:00
Dan Walsh
cfe6f2a173 mgrepl patch to Fix swig coding style for structures related to SWIG changes 2012-07-11 15:08:27 -04:00
Dan Walsh
b606c9e8b9 Fix to build with latest swig 2012-07-11 14:07:04 -04:00
Dan Walsh
ac50bae989 Rebuild to get latest libsepol which fixes the file_name transition problems
- Use selinux_current_policy_path to read by default policy
2012-07-10 21:44:14 -04:00
Dan Walsh
8254901347 Rebuild to get latest libsepol which fixes the file_name transition problems
- Use selinux_current_policy_path to read by default policy
2012-04-23 21:59:15 -04:00
Dennis Gilmore
89fdab0b96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 21:51:05 -06:00
Dan Walsh
69cc68edef Rebuild to use latest libsepol 2011-12-20 17:03:40 +00:00
Dan Walsh
66ba7d047b Add ftrule*h in apol and qpol 2011-10-26 16:58:38 -04:00
Dan Walsh
db984892b1 Fix output to match input in policy 2011-09-29 09:30:56 -04:00
Dan Walsh
0fd1802836 Fix to build with latest libsepol
Show filename transition files
2011-09-20 17:12:38 -04:00
Dan Walsh
26a7d40fae Rebuild for new sepol 2011-04-21 12:07:11 -04:00
Dan Walsh
b0a687f698 Rebuild for new sepol 2011-04-15 14:21:17 -04:00
Dan Walsh
b7aa74df7e Rebuild for new sepol 2011-04-15 14:20:18 -04:00
Dan Walsh
52c9820670 Rebuild for new sepol 2011-03-30 14:41:50 -04:00
Dennis Gilmore
f1f2c585e9 switch in -fPIC in Makefile.am in prep stage Makefiles were being re-written in %build 2011-02-27 21:38:04 -06:00
Dennis Gilmore
2456e82a5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:19:47 -06:00
Dan Walsh
26765faa8a - Exit seinfo and sesearch with proper status 2011-01-06 16:55:56 -05:00
Dan Walsh
c4d0d7f207 - Exit seinfo and sesearch with proper status 2011-01-06 15:29:52 -05:00
Dan Walsh
df18a215bf - Rebuild for new libxml2 2010-11-05 07:32:27 -04:00
Dan Walsh
f4279f323b - Rebuild for new libxml2 2010-11-05 07:30:34 -04:00
Dan Walsh
764e7165c1 - Return None when no records match python setools.sesearch 2010-10-14 14:25:23 -04:00
dmalcolm
277093cf8e - fixup configure.ac to expect SWIG 2.0.0; bump the python version to 2.7
in patch 1
2010-07-26 21:47:56 +00:00
dmalcolm
019b809b55 - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 06:29:33 +00:00
Chris PeBenito
1a39aa9a37 Fix missing dependencies in setools. 2010-05-12 14:48:40 +00:00
Chris PeBenito
d01ce99af6 New upstream release of setools. 2010-05-12 14:29:18 +00:00
Daniel J Walsh
766fa2156a - Add python bindings for sesearch and seinfo 2009-08-11 18:44:15 +00:00
Daniel J Walsh
e55346adf3 - Add python bindings for sesearch and seinfo 2009-08-11 17:47:17 +00:00
Daniel J Walsh
00fe000e7a - Add python bindings for sesearch and seinfo 2009-08-11 14:47:50 +00:00
Daniel J Walsh
a73038c66b - Fix qpol install of include files 2009-07-28 13:43:02 +00:00
Jesse Keating
a557fc8f31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 04:12:01 +00:00
Chris PeBenito
308e8fe717 setools: new upstream release. 2009-07-22 18:59:21 +00:00
Dan Horák
291bbd5bd8 - don't expect that java-devel resolves as gcj 2009-04-05 09:15:02 +00:00
Dan Horák
d683c5dcc8 - add support for s390x 2009-04-05 07:44:17 +00:00
Jesse Keating
cba68df959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 00:36:06 +00:00
Ignacio Vazquez-Abrams
a9842a5f27 Rebuild for Python 2.6 2008-12-04 18:17:48 +00:00
Michael Schwendt
9f6d8eabfd - Include %tcllibdir directory in -libs-tcl package. 2008-12-01 20:20:37 +00:00
Ignacio Vazquez-Abrams
48f6d617a3 Rebuild for Python 2.6 2008-11-29 17:21:10 +00:00
Dennis Gilmore
377efb089b allow building on sparc and s390 2008-09-18 03:11:00 +00:00
Chris PeBenito
910015e91a setools: update to upstream version 3.3.5. 2008-08-26 14:23:07 +00:00
Chris PeBenito
a3b839f0d7 setools: bump to upstream bugfix release 3.3.4, which fixes gcc 4.3, glibc
2.7, tcl 8.5, and libsepol 2.0.20 issues.
2008-04-02 13:34:41 +00:00
Jesse Keating
388a574fc9 - Autorebuild for GCC 4.3 2008-02-19 17:54:47 +00:00
Chris PeBenito
a9b6fd0a3d rebuild for policy 22. 2008-01-29 16:22:36 +00:00
Chris PeBenito
2b5615f38d bump rawhide setools to newest upstream release. 2007-11-28 20:03:41 +00:00
Chris PeBenito
6b66578ae9 bump to fix incorrect explicit libstdc++ requiring. 2007-10-18 15:08:40 +00:00
Chris PeBenito
63b3b19ee7 update rawhide setools to 3.3.1. 2007-10-17 18:08:46 +00:00