Commit Graph

364 Commits

Author SHA1 Message Date
Petr Lautrbach 15ab9bf126 Use FMF filter instead of listing tests manually
There is a feature in the Standard Test Roles which allows to use an FMF filter
instead of listing all tests manually. All tier one selinux tests are selected
as well.
2019-11-11 10:17:28 +01:00
Miro Hrončok 194ca16bb8 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:56:07 +02:00
Zbigniew Jędrzejewski-Szmek f44cd3fc4f Rebuilt for Python 3.8 2019-08-18 11:22:25 +02:00
Petr Lautrbach f5a63af326 libsemanage-2.9-3
- Drop python2-libsemanage (#1738466)
2019-08-13 21:39:57 +02:00
Petr Lautrbach 077b89e12c Drop python2-libsemanage
https://bugzilla.redhat.com/show_bug.cgi?id=1738466
2019-08-13 21:39:57 +02:00
Petr Lautrbach 261ead2b51 Use %set_build_flags 2019-08-13 21:39:57 +02:00
Petr Lautrbach 04b65113f0 Use separate patches instead of one big libsemanage-fedora.patch 2019-08-13 21:39:57 +02:00
Fedora Release Engineering 079ba207f7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:21:28 +00:00
Petr Lautrbach 9519c0d906 SELinux userspace 2.9 release 2019-03-18 17:08:38 +01:00
Petr Lautrbach 09c83ba581 SELinux userspace 2.9-rc2 release 2019-03-11 16:37:29 +01:00
Fedora Release Engineering 3232cd5592 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:12:10 +00:00
Petr Lautrbach 64eaf02621 SELinux userspace 2.9-rc1 release candidate 2019-01-30 09:57:30 +01:00
Petr Lautrbach eac1dd7964 libsemanage-2.8-8
- Always set errno to 0 before calling getpwent()
- Set selinux policy root around calls to selinux_boolean_sub
2019-01-21 17:34:55 +01:00
Petr Lautrbach 89f6442710 libsemanage-2.8-7
- genhomedircon - improve handling large groups
2018-12-10 17:50:04 +01:00
Petr Lautrbach e4348e485a libsemanage-2.8-6
- Fix RESOURCE_LEAK and USE_AFTER_FREE coverity scan defects
2018-11-13 10:45:59 +01:00
Petr Lautrbach ac9030677f ustr is not used by libsemanage since Dec 2016 2018-09-17 23:58:40 +02:00
Petr Lautrbach 610584a4f1 libsemanage-2.8-5
- Include user name in ROLE_REMOVE audit events
2018-09-17 14:33:45 +02:00
Petr Lautrbach 0e04653dfb libsemanage-2.8-4
- Reset umask before creating directories (#1186422)
2018-09-04 09:20:24 +02:00
Petr Lautrbach c5af50ed1a Use %{__python2} macro to build python2 packages
${__python} and /usr/bin/python are not available anymore.

Fixes:
make[1]: /usr/bin/python: Command not found
Please specify at least one package name on the command line.
cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I../include -D_GNU_SOURCE -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow -Wno-unused-parameter  -fPIC -DSHARED -c -o semanageswig_wrap.lo semanageswig_wrap.c
semanageswig_wrap.c:149:11: fatal error: Python.h: No such file or directory
 # include <Python.h>
           ^~~~~~~~~~
compilation terminated.
2018-07-23 13:51:55 +02:00
Fedora Release Engineering fd362e344c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:49:04 +00:00
Petr Lautrbach 3eb8f0c347 Revert "Enable expand-check in semanage.conf"
There are several update issues which need to be soled first before we
enable this in a stable release.

For more information see
https://bugzilla.redhat.com/show_bug.cgi?id=1319652#c25

This reverts commit e2707be9e1.
2018-06-27 09:34:21 +02:00
Miro Hrončok d115724f07 Rebuilt for Python 3.7 2018-06-19 10:46:32 +02:00
Petr Lautrbach eb9f231d85 libsemanage-2.8-1
- SELinux userspace 2.8 release
2018-05-25 11:08:02 +02:00
Petr Lautrbach 44b16b07be SELinux userspace 2.8-rc3 release candidate 2018-05-14 19:09:55 +02:00
Petr Lautrbach 645a0288ba tests: Enable libsemanage/sanity-tests
See
4a64622189
fc51578a21
2018-05-14 17:12:37 +02:00
Petr Lautrbach c9917ec265 SELinux userspace 2.8-rc2 release candidate 2018-05-04 16:06:05 +02:00
Petr Lautrbach 55e1d5666f It's rc1, not rc 2018-04-23 13:51:55 +02:00
Petr Lautrbach cbe3dcf724 Use rcversion in autosetup macro 2018-04-23 13:44:28 +02:00
Petr Lautrbach c269741e8c Fix unclosed macro 2018-04-23 13:37:18 +02:00
Petr Lautrbach 83146340e2 SELinux userspace 2.8-rc1 release candidate 2018-04-23 13:29:53 +02:00
Petr Lautrbach 98072fcc3f Drop unused make-rhat-patches.sh 2018-03-26 13:47:55 +02:00
Petr Lautrbach f6d6ab77cd Drop unused libsemanage-genhomedircon.patch 2018-03-26 13:45:50 +02:00
Petr Lautrbach 2ce185aded libsemanage-2.7-12
- build: Replace PYSITEDIR with PYTHONLIBDIR
- direct_api.c: Fix iterating over array (#1557468)
2018-03-21 16:37:35 +01:00
Petr Lautrbach 84ddaa3113 libsemanage-2.7-11
- Revert "remove access() check to make setuid programs work" (#1557468)
2018-03-16 23:09:01 +01:00
Petr Lautrbach 4d223ca33e libsemanage-2.7-10
* Tue Mar 13 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-10
- properly check return value of iterate function
- Use umask(0077) for fopen() write operations
- Return commit number if save-previous false
- Allow tmp files to be kept if a compile fails
- build: follow standard semantics for DESTDIR and PREFIX
- Improve warning for installing disabled module
- silence clang static analyzer report
- remove access() check to make setuid programs work
2018-03-13 12:58:59 +01:00
Petr Lautrbach c2480beb80 tests: Temporary disable selinux/libsemanage/semanage-seuser-functions
https://src.fedoraproject.org/tests/selinux/pull-request/2
2018-03-13 12:49:32 +01:00
Petr Lautrbach ae81a4006d List gcc in BuildRequires
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
2018-02-19 13:37:46 +01:00
Petr Lautrbach 94c9eab7de Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:36:41 +01:00
Petr Lautrbach 7f678106e9 Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-14 17:22:08 +01:00
Igor Gnatenko 2f3b1427a3
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:07:07 +01:00
Igor Gnatenko b9d7aeb4a2
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:59 +01:00
Fedora Release Engineering d2e26de15b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:18:51 +00:00
Igor Gnatenko c8678b5827
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 18:22:37 +01:00
Petr Lautrbach 9be262bc6e Drop with_python3 and use python2_sitearch macros
Fixes:
error: File not found: /home/user/rpmbuild/BUILDROOT/libsemanage-2.7-6.fc28.x86_64/_semanage.so
error: File not found: /home/user/rpmbuild/BUILDROOT/libsemanage-2.7-6.fc28.x86_64/semanage.py*
2018-01-22 20:08:33 +01:00
Iryna Shcherbina b590caa247 Update Python 2 dependency declarations to new packaging standards 2018-01-09 19:00:41 +01:00
Petr Lautrbach 6561fe9a7f libsemanage-2.7-5.fc28
- free genhomedircon fallback user
- Rebuild with libsepol-2.7-3 and libselinux-2.7-6
2017-11-22 15:24:39 +01:00
Serhii Turivny 7e4d093f54 Add CI tests using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Classic

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml

https://src.fedoraproject.org/rpms/libsemanage/pull-request/2
2017-11-13 16:38:16 +01:00
Petr Lautrbach 3c53b37adc libsemanage-2.7-4.fc28
- Add support for listing fcontext.homedirs file (#1409813)
2017-10-20 11:04:35 +02:00
Zbigniew Jędrzejewski-Szmek 7378d3b052 Add Provides for the old names without %_isa 2017-08-20 09:37:30 -04:00
Zbigniew Jędrzejewski-Szmek ce307ec889 Python 3 binary package renamed to python3-libsemanage 2017-08-12 08:31:05 -04:00