2022-04-13 11:34:37 +00:00
|
|
|
%global libsepolver 3.4-0
|
2016-08-01 12:01:10 +00:00
|
|
|
|
2015-07-29 07:19:38 +00:00
|
|
|
Name: secilc
|
2022-04-13 11:34:37 +00:00
|
|
|
Version: 3.4
|
2022-05-10 16:28:59 +00:00
|
|
|
Release: 0.rc3.1%{?dist}
|
2015-07-29 07:19:38 +00:00
|
|
|
Summary: The SELinux CIL Compiler
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
2022-05-10 16:28:59 +00:00
|
|
|
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.4-rc3/secilc-3.4-rc3.tar.gz
|
|
|
|
# fedora-selinux/selinux: git format-patch -N 3.4-rc3 -- secilc
|
2019-11-12 07:41:35 +00:00
|
|
|
# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
|
|
|
|
# Patch list start
|
|
|
|
# Patch list end
|
2021-08-05 18:40:50 +00:00
|
|
|
Requires: libsepol >= %{libsepolver}
|
2018-02-19 12:37:47 +00:00
|
|
|
BuildRequires: gcc
|
2020-12-14 11:13:55 +00:00
|
|
|
BuildRequires: make
|
2020-07-10 18:31:10 +00:00
|
|
|
BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc-pdf, texlive-mdwtools
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
|
|
|
described on the CIL design wiki into a kernel binary policy file.
|
|
|
|
Please see the CIL Design Wiki at:
|
|
|
|
http://github.com/SELinuxProject/cil/wiki/
|
|
|
|
for more information about the goals and features on the CIL language.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for the SELinux CIL Compiler
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
The SELinux CIL Compiler is a compiler that converts the CIL language as
|
|
|
|
described on the CIL design wiki into a kernel binary policy file.
|
|
|
|
Please see the CIL Design Wiki at:
|
|
|
|
http://github.com/SELinuxProject/cil/wiki/
|
|
|
|
for more information about the goals and features on the CIL language.
|
|
|
|
|
|
|
|
%prep
|
2022-05-10 16:28:59 +00:00
|
|
|
%autosetup -p 2 -n secilc-%{version}-rc3
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2019-03-11 16:31:01 +00:00
|
|
|
%set_build_flags
|
2019-03-19 10:19:04 +00:00
|
|
|
make %{?_smp_mflags} LIBSEPOL_STATIC=%{_libdir}/libsepol.a
|
2015-07-29 07:19:38 +00:00
|
|
|
pushd docs
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2016-02-21 12:54:22 +00:00
|
|
|
make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LIBDIR="%{buildroot}%{_libdir}" install
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/secilc
|
2017-08-07 15:20:52 +00:00
|
|
|
%{_bindir}/secil2conf
|
2021-07-29 05:07:25 +00:00
|
|
|
%{_bindir}/secil2tree
|
2015-07-29 07:19:38 +00:00
|
|
|
%{_mandir}/man8/secilc.8.gz
|
2017-08-07 15:20:52 +00:00
|
|
|
%{_mandir}/man8/secil2conf.8.gz
|
2021-07-29 05:07:25 +00:00
|
|
|
%{_mandir}/man8/secil2tree.8.gz
|
2016-02-21 12:54:22 +00:00
|
|
|
%license COPYING
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%files doc
|
2016-02-21 12:54:22 +00:00
|
|
|
%doc docs/html
|
|
|
|
%doc docs/pdf
|
|
|
|
%license COPYING
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-05-10 16:28:59 +00:00
|
|
|
* Tue May 10 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc3.1
|
|
|
|
- SELinux userspace 3.4-rc3 release
|
|
|
|
|
2022-04-22 08:56:22 +00:00
|
|
|
* Fri Apr 22 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc2.1
|
|
|
|
- SELinux userspace 3.4-rc2 release
|
|
|
|
|
2022-04-13 11:34:37 +00:00
|
|
|
* Wed Apr 13 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-0.rc1.1
|
|
|
|
- SELinux userspace 3.4-rc1 release
|
|
|
|
|
2022-01-22 00:38:25 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-22 13:50:00 +00:00
|
|
|
* Fri Oct 22 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-1
|
|
|
|
- SELinux userspace 3.3 release
|
|
|
|
|
2021-10-11 09:03:26 +00:00
|
|
|
* Mon Oct 11 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-0.rc3.1
|
|
|
|
- SELinux userspace 3.3-rc3 release
|
|
|
|
|
2021-09-29 18:19:44 +00:00
|
|
|
* Wed Sep 29 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-0.rc2.1
|
|
|
|
- SELinux userspace 3.3-rc2 release
|
|
|
|
|
2021-08-05 18:40:50 +00:00
|
|
|
* Wed Aug 4 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-4.1
|
2021-08-04 12:28:58 +00:00
|
|
|
- Require libsepol version same or bigger as it was used to build this package
|
|
|
|
|
2021-07-29 05:07:25 +00:00
|
|
|
* Thu Jul 29 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-3
|
|
|
|
- Rebase on upstream commit 32611aea6543
|
|
|
|
- Introduce secil2tree program
|
|
|
|
|
2021-07-23 17:19:36 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-08 16:49:27 +00:00
|
|
|
* Mon Mar 8 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-1
|
|
|
|
- SELinux userspace 3.2 release
|
|
|
|
|
2021-01-27 20:10:44 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-0.rc1.1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-22 08:46:57 +00:00
|
|
|
* Fri Jan 22 2021 Petr Lautrbach <plautrba@redhat.com> - 3.2-0.rc1.1
|
|
|
|
- SELinux userspace 3.2-rc1 release
|
|
|
|
|
2020-11-20 14:35:49 +00:00
|
|
|
* Fri Nov 20 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-3
|
|
|
|
- Rebuilt with libsepol.so.2
|
|
|
|
- cil_network_labeling_statements: fixes nodecon examples
|
|
|
|
- cil_access_vector_rules: allowx, auditallowx and dontauditx fixes
|
|
|
|
- secilc/docs: document expandtypeattribute
|
|
|
|
- Update the cil docs to match the current behaviour.
|
|
|
|
|
2020-07-29 10:30:15 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 18:31:10 +00:00
|
|
|
* Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1
|
|
|
|
- SELinux userspace 3.1 release
|
|
|
|
|
2020-01-30 23:10:43 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-06 09:37:27 +00:00
|
|
|
* Fri Dec 6 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-1
|
|
|
|
- SELinux userspace 3.0 release
|
|
|
|
|
2019-11-12 07:41:35 +00:00
|
|
|
* Tue Nov 12 2019 Petr Lautrbach <plautrba@redhat.com> - 3.0-0.rc1.1
|
|
|
|
- SELinux userspace 3.0-rc1 release candidate
|
|
|
|
|
2019-07-26 23:02:19 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-19 10:19:04 +00:00
|
|
|
* Tue Mar 19 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-1
|
|
|
|
- SELinux userspace 2.9 release
|
|
|
|
|
2019-03-11 16:31:01 +00:00
|
|
|
* Mon Mar 11 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-0.rc2.1
|
|
|
|
- SELinux userspace 2.9-rc2 release
|
|
|
|
|
2019-02-02 15:09:26 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-0.rc1.1.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-30 09:28:27 +00:00
|
|
|
* Fri Jan 25 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-0.rc1.1
|
|
|
|
- SELinux userspace 2.9-rc1 release
|
|
|
|
|
2018-07-14 05:55:46 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-25 10:56:42 +00:00
|
|
|
* Fri May 25 2018 Petr Lautrbach <plautrba@workstation> - 2.8-1
|
|
|
|
- SELinux userspace 2.8 release
|
|
|
|
|
2018-05-15 08:58:30 +00:00
|
|
|
* Tue May 15 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc3.1
|
|
|
|
- SELinux userspace 2.8-rc3 release candidate
|
|
|
|
|
2018-04-23 14:49:53 +00:00
|
|
|
* Mon Apr 23 2018 Petr Lautrbach <plautrba@redhat.com> - 2.8-0.rc1.1
|
|
|
|
- SELinux userspace 2.8-rc1 release candidate
|
|
|
|
|
2018-03-13 16:12:16 +00:00
|
|
|
* Tue Mar 13 2018 Petr Lautrbach <plautrba@redhat.com> - 2.7-5
|
|
|
|
- build: follow standard semantics for DESTDIR and PREFIX
|
|
|
|
- Describe multiple-decls in secilc.8.xml
|
|
|
|
|
2018-02-09 16:27:41 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-22 15:22:32 +00:00
|
|
|
* Wed Nov 22 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-3
|
|
|
|
- Rebuild with libsepol-2.7-3
|
|
|
|
|
2017-10-20 12:20:33 +00:00
|
|
|
* Fri Oct 20 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-2
|
|
|
|
- Fixed bad reference in roleattribute
|
|
|
|
- cil: Add ability to redeclare types[attributes]
|
|
|
|
|
2017-08-07 15:20:52 +00:00
|
|
|
* Mon Aug 07 2017 Petr Lautrbach <plautrba@redhat.com> - 2.7-1
|
|
|
|
- Update to upstream release 2017-08-04
|
|
|
|
|
2017-08-03 08:19:31 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 18:23:28 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-15 12:49:09 +00:00
|
|
|
* Wed Feb 15 2017 Petr Lautrbach <plautrba@redhat.com> - 2.6-1
|
|
|
|
- Update to upstream release 2016-10-14
|
|
|
|
|
2017-02-11 13:17:08 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-10-04 06:57:46 +00:00
|
|
|
* Tue Oct 04 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-6
|
|
|
|
- Rebuilt with libsepol-2.5-10
|
|
|
|
|
2016-08-01 12:01:10 +00:00
|
|
|
* Mon Aug 01 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-5
|
|
|
|
- Rebuilt with libsepol-2.5-9
|
|
|
|
|
2016-06-23 11:57:09 +00:00
|
|
|
* Thu Jun 23 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-4
|
|
|
|
- Rebuilt with libsepol-2.5-7
|
|
|
|
|
2016-05-11 09:17:54 +00:00
|
|
|
* Wed May 11 2016 Petr Lautrbach <plautrba@redhat.com> - 2.5-3
|
|
|
|
- Rebuilt with libsepol-2.5-6
|
|
|
|
|
2016-04-08 19:52:40 +00:00
|
|
|
* Fri Apr 08 2016 - 2.5-2
|
|
|
|
- Add documentation and test rule for portcon dccp protocol
|
|
|
|
|
2016-02-23 21:52:48 +00:00
|
|
|
* Tue Feb 23 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-1
|
|
|
|
- Update to upstream release 2016-02-23
|
|
|
|
|
2016-02-21 12:54:22 +00:00
|
|
|
* Sun Feb 21 2016 Petr Lautrbach <plautrba@redhat.com> 2.5-0.1.rc1
|
|
|
|
- Update to upstream rc1 release 2016-01-07
|
|
|
|
|
2016-02-04 23:49:36 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-09-01 18:43:32 +00:00
|
|
|
* Tue Sep 01 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.4-6
|
|
|
|
- tell make where libsepol.a is to fix FTBFS on non-x86 64-bit archs - rhbz#1249522
|
|
|
|
|
2015-07-29 07:19:38 +00:00
|
|
|
* Wed Jul 29 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-5
|
|
|
|
- secilc-doc do not need the base package
|
2015-07-29 07:22:04 +00:00
|
|
|
- Fedora package review https://bugzilla.redhat.com/show_bug.cgi?id=1245270
|
2015-07-29 07:19:38 +00:00
|
|
|
|
|
|
|
* Thu Jul 23 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-4
|
|
|
|
- add license file
|
|
|
|
|
|
|
|
* Wed Jul 22 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-3
|
|
|
|
- remove unnecessary dependencies
|
|
|
|
- don't build libsepol
|
|
|
|
|
|
|
|
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-2
|
|
|
|
- make secilc-doc package noarch
|
|
|
|
|
|
|
|
* Tue Jul 21 2015 Petr Lautrbach <plautrba@redhat.com> 2.4-1
|
|
|
|
- initial build based on libsepol-2.4 sources
|