Commit Graph

344 Commits

Author SHA1 Message Date
Paul Moore b7910e8fb5 libsemanage-2.8-2
* Tue Jun 26 2018 Vit Mojzis <vmojzis@redhat.com> - 2.8-2
- Disable expand-check
2018-06-26 16:04:39 -04:00
Petr Lautrbach c13a8a5e2c 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-05-31 11:30:17 +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
Zbigniew Jędrzejewski-Szmek d47f691a28 Python 2 binary package renamed to python2-libsemanage 2017-08-12 08:27:02 -04:00
Petr Lautrbach 0b7304dd79 libsemanage-2.7-1
- Update to upstream release 2017-08-04
- Use 'sefcontext_compile -r' when it's run during SELinux policy build
2017-08-07 14:47:19 +02:00
Fedora Release Engineering 700682cb8e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:15:26 +00:00
Fedora Release Engineering b4d18a403e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:42:04 +00:00
Petr Lautrbach df2d1e28f9 libsemanage-2.6-4
- Follow upstream and rename _semanage.so to _semanage.cpython-36m-x86_64-linux-gnu.so
2017-04-28 12:30:00 +02:00
Petr Lautrbach 4a5295e883 libsemanage-2.6-3
* Tue Apr 18 2017 Petr Lautrbach <plautrba@redhat.com> - 2.6-3
- Do not list duplicate port entries after setting a boolean (#1439875)
2017-04-18 10:46:14 +02:00
Petr Lautrbach 513da381ab libsemanage-2.6-2
- Fix FTBFS - fatal error (#1427903)
2017-03-02 13:22:13 +01:00
Petr Lautrbach 88e75bd275 libsemanage-2.6-1.1
- Update to upstream release 2016-10-14
2017-02-20 12:30:35 +01:00
Fedora Release Engineering cbaff59d90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:26:25 +00:00
Charalampos Stratakis 4ae37e78d2 Rebuild for Python 3.6 2016-12-11 15:48:45 +01:00
Petr Lautrbach 3c4165cda9 libsemanage-2.5-8
- Fixes bug preventing the installation of base modules
- make distclean target work
- Do not always print a module name warning
- Use pp module name instead of filename when installing module
- tests: Do not force using gcc
- genhomedircon: remove hardcoded refpolicy strings
- genhomedircon: add support for %group syntax
- genhomedircon: generate contexts for logins mapped to the default
ser
- Validate and compile file contexts before installing
- Swap tcp and udp protocol numbers
2016-10-04 08:30:58 +02:00
Petr Lautrbach c84bff920a libsemanage-2.5-7.fc26
- Rebuilt with libsepol-2.5-9 and libselinux-2.5-11
2016-08-01 12:23:34 +02:00
Fedora Release Engineering c5131cee74 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 07:46:16 +00:00
Petr Lautrbach b007211697 libsemanage-2.5-5
- Sort object files for deterministic linking order
- Support overriding Makefile RANLIB
- Respect CC and PKG_CONFIG environment variable
2016-06-23 12:57:59 +02:00
Petr Lautrbach 71e0cd6576 libsemanage-2.5-4
- Fix multiple spelling errors
- genhomedircon: %{USERID} and %{USERNAME} support and code cleanup
2016-05-06 16:17:18 +02:00
Petr Lautrbach 2041bbce99 libsemanage-2.5-3
- Enable expand-check by default (#1319652)
2016-03-21 11:19:57 +01:00
Petr Lautrbach e2707be9e1 Enable expand-check in semanage.conf
libsepol was fixed before release 2.4 and expand-check=1 doesn't make a
big time penalty. On the other hand, it's helpful to make it enabled by
default.

Resolves: rhbz#1319652
2016-03-21 11:15:45 +01:00
Petr Lautrbach ef444a88f3 libsemanage-2.5-2
- Use fully versioned arch-specific requires
2016-02-28 19:59:56 +01:00
Petr Lautrbach 5f5cd53c1b Use fully versioned arch-specific requires
https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
2016-02-28 19:58:49 +01:00
Petr Lautrbach 83d1ec7678 libsemanage-2.5-1
- Update to upstream release 2016-02-23
2016-02-23 22:19:58 +01:00