Commit Graph

648 Commits

Author SHA1 Message Date
Petr Lautrbach
a04749d4a1 Drop with_python3 conditional since we always build with python3 2018-05-25 10:48:14 +02:00
Petr Lautrbach
9d8d73f1cb SELinux userspace 2.8-rc3 release candidate 2018-05-14 19:00:16 +02:00
Petr Lautrbach
a6498c9056 SELinux userspace 2.8-rc2 release candidate 2018-05-04 15:51:15 +02:00
Petr Lautrbach
036a8af3d6 SELinux userspace 2.8-rc1 release candidate 2018-04-23 13:21:56 +02:00
Petr Lautrbach
680bec3de6 libselinux-2.7-13
- build: Replace PYSITEDIR with PYTHONLIBDIR
2018-03-21 16:24:25 +01:00
Petr Lautrbach
e46a333963 libselinux-2.7-12
- Correct manpages regarding removable_context
- build: follow standard semantics for DESTDIR and PREFIX
2018-03-13 12:39:22 +01:00
Petr Lautrbach
06aa87814b 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
14ddc687bf Spec file cleanup
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/
2018-02-16 10:36:11 +01:00
Petr Lautrbach
1fc8681969 Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-14 17:10:44 +01:00
Igor Gnatenko
02227fd6bc
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
1b3c6bbbd4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:18:27 +00:00
Igor Gnatenko
dac90fe60c
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 18:19:15 +01:00
Iryna Shcherbina
4b7d70a876 Update Python 2 dependency declarations to new packaging standards 2018-01-09 19:00:06 +01:00
Mamoru TASAKA
6ec46c15c4 F-28: rebuild for ruby25 2018-01-05 15:54:43 +09:00
Petr Lautrbach
d82747496c libselinux-2.7-6.fc28
- Rebuild with libsepol-2.7-3
2017-11-22 12:22:34 +01:00
Petr Lautrbach
ae0a5e8355 tests: Drop selinux_restorecon
selinux_restorecon utility was dropped in upstream release 2.7
2017-11-01 08:27:06 +01:00
Dalibor Pospisil
2c7ab04eb8 tests/selabel-functions: fixed condition for older Fedora and older rhel, newer versions convered by the else branch 2017-11-01 08:23:10 +01:00
Rachel Sibley
aba7ab1e5f Initial commit for downstream tests to be run using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Docker

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS=docker:docker.io/library/fedora:26 TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags container tests.yml

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/libselinux/pull-request/1
2017-10-31 21:18:48 +01:00
Petr Lautrbach
f2f46ec91f libselinux-2.7-5.fc28
- Drop golang bindings
- Add support for pcre2 to pkgconfig definition
2017-10-20 10:50:59 +02:00
Petr Šabata
85e255c58e Enable the python3 subpackages on EL
Signed-off-by: Petr Šabata <contyk@redhat.com>
2017-09-27 13:47:47 +02:00
Petr Lautrbach
baf50b274a Require pcre2 instead of pcre 2017-09-26 21:24:15 +02:00
Igor Gnatenko
3cd1123bc3 remove %clean section
Again, it is not needed since EL5.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-01 09:27:36 +02:00
Igor Gnatenko
61aa00d32a simplify python2/python3/devel filelists
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-01 09:27:20 +02:00
Igor Gnatenko
e1a61a52a3 remove defattr
It is default since... forever.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-01 09:25:17 +02:00
Igor Gnatenko
6cd863ee67 remove BuildRoot tag
It's not needed since EL5.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-01 09:22:50 +02:00
Igor Gnatenko
f47837476b no need to BuildRequire pkgconfig
It's completely useless.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-09-01 09:22:29 +02:00
Zbigniew Jędrzejewski-Szmek
a12937f334 Bump release 2017-08-19 16:46:16 -04:00
Zbigniew Jędrzejewski-Szmek
90861efd1e Also add Provides for the old name without %_isa 2017-08-19 16:44:54 -04:00
Zbigniew Jędrzejewski-Szmek
7b100f12bd Python 3 binary package renamed to python3-libselinux 2017-08-12 08:26:21 -04:00
Zbigniew Jędrzejewski-Szmek
36400b895d Python 2 binary package renamed to python2-libselinux 2017-08-12 08:22:51 -04:00
Petr Lautrbach
2f49e06f77 libselinux-2.7-1
- use pcre2 instead of pcre1
- Update to upstream release 2017-08-04
2017-08-07 13:56:34 +02:00
Fedora Release Engineering
64cffb51b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:15:13 +00:00
Petr Lautrbach
e8da680b55 Use /run instead of /var/run
Follow the guidelines for tmpfiles.d
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1476798
2017-08-02 10:52:20 +02:00
Florian Weimer
6979f56e01 Rebuild with binutils fix for ppc64le (#1475636) 2017-07-29 20:38:47 +02:00
Petr Lautrbach
81b36a1832 libselinux-2.6-8
- Always unmount selinuxfs for SELINUX=disabled
2017-07-28 14:05:22 +02:00
Fedora Release Engineering
54afe11ce5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:41:55 +00:00
Petr Lautrbach
ea9eee161e libselinux-2.6-6
- Don't finalize mount state in selinux_set_policy_root()
see https://marc.info/?l=selinux&m=149323750632253&w=2

- Follow upstream and rename _selinux.so to _selinux.cpython-36m-x86_64-linux-gnu.so
2017-04-28 11:57:59 +02:00
Petr Lautrbach
5239c15656 libselinux-2.6-5
- Fix setfiles progress indicator
2017-04-06 16:37:12 +02:00
Petr Lautrbach
7f0ad327e8 libselinux-2.6-4
- Fix segfault in selinux_restorecon_sb() (#1433577)
- Change matchpathcon usage to match with matchpathcon manpage
- Fix a corner case getsebool return value
2017-03-22 10:15:36 +01:00
Petr Lautrbach
26ed72a248 libselinux-2.6-3
- Fix 'semanage boolean -m' to modify active value
2017-03-14 12:12:35 +01:00
Petr Lautrbach
2f333570bb libselinux-2.6-2
- Fix FTBFS - fatal error (#1427902)
2017-03-02 13:19:30 +01:00
Petr Lautrbach
6146f71749 libselinux-2.6-1
- Update to upstream release 2016-10-14
2017-02-20 12:29:31 +01:00
Fedora Release Engineering
08297986e5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:26:14 +00:00
Stephen Gallagher
899f0c50fa Add missing %license macro 2017-02-09 13:47:37 +01:00
Vít Ondruch
202367a2aa Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.4 2017-01-13 14:16:06 +01:00
Petr Lautrbach
7039bfb757 libselinux-2.5-15
libselinux: Rewrite restorecon() python method

When the restorecon method was added to the libselinux swig python
bindings, there was no libselinux restorecon implementation and it
he had to call matchpathcon() which is deprecated in favor of
selabel_lookup().

The new restorecon method uses selinux_restorecon method from libselinux
and which is exported by the previous commit.

https://github.com/SELinuxProject/selinux/issues/29
https://github.com/fedora-selinux/selinux/pull/35

Fixes:
>>> selinux.restorecon('/var/lib', recursive=True)
Traceback (most recent call last):
  File "/usr/lib64/python3.5/site-packages/selinux/__init__.py", line 114, in restorecon
    status, context = matchpathcon(path, mode)
FileNotFoundError: [Errno 2] No such file or directory
2017-01-11 13:40:29 +01:00
Charalampos Stratakis
1fdaaa8476 Rebuild for Python 3.6 2016-12-11 14:56:01 +01:00
Petr Lautrbach
75cfa0f249 libselinux-2.5-13
- Fix pointer handling in realpath_not_final (#1376598)
2016-11-22 17:10:41 +01:00
Petr Lautrbach
5ad771ed68 libselinux-2.5-12
- Fix -Wsign-compare warnings
- Drop unused stdio_ext.h header file
- Kill logging check for selinux_enabled()
- Drop usage of _D_ALLOC_NAMLEN
- Add openrc_contexts functions
- Fix redefinition of XATTR_NAME_SELINUX
- Correct error path to always try text
- Clean up process_file()
- Handle NULL pcre study data
- Fix in tree compilation of utils that depend on libsepol
2016-10-04 08:23:03 +02:00
Petr Lautrbach
1eb2b767ff libselinux-2.5-11
- Rebuilt with libsepol-2.5-9
2016-08-01 12:08:32 +02:00