Commit Graph

179 Commits

Author SHA1 Message Date
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
689c214584 Drop unused patches 2017-02-23 08:15:52 +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
f346ebaaf7 Update to upstream 2014-04-11 19:11:25 +02:00
Miroslav Grepl
056d64edc9 Update new sources 2014-04-11 19:10:02 +02:00
Miroslav Grepl
e461113079 Upload new sources 2014-04-11 19:08:18 +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
af4b0ecbe6 Remove --default and --audit from sesearch
- Make -D == --dontaudit in sesearch
2013-06-17 13:42:45 -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
f713292352 Rebuild with new tool chain 2013-01-07 11:44:03 -05:00
Dan Walsh
5ee61040d8 Rebuild with new tool chain 2013-01-07 11:04:14 -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
a9ec97ee18 mgrepl patch to Fix swig coding style for structures related to SWIG changes 2012-07-11 15:19:35 -04: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
97b1266f1f Rebuild to get latest libsepol which fixes the file_name transition problems
- Use selinux_current_policy_path to read by default policy
2012-04-24 07:37:46 -04:00