]>
Commit | Line | Data |
---|---|---|
d72edc75 | 1 | Summary: SELinux policy compiler |
3f401ecf | 2 | Summary(pl.UTF-8): Kompilator polityki SELinux |
d72edc75 | 3 | Name: checkpolicy |
fc65ada2 | 4 | Version: 3.6 |
fdbe3ee6 | 5 | Release: 1 |
d5ec4dc8 | 6 | License: GPL v2 |
d72edc75 | 7 | Group: Development |
5557f205 | 8 | #Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases |
fc65ada2 JP |
9 | Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz |
10 | # Source0-md5: ae3c281bc0dc43e8a9b335821580eaaa | |
5557f205 | 11 | URL: https://github.com/SELinuxProject/selinux/wiki |
75696de7 JB |
12 | BuildRequires: bison |
13 | BuildRequires: flex | |
fc65ada2 | 14 | BuildRequires: libselinux-devel >= 3.6 |
ba8b52c6 | 15 | # it uses libsepol symbols not exported in shared library |
fc65ada2 | 16 | BuildRequires: libsepol-static >= 3.6 |
d72edc75 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
66f0bcb1 | 20 | Security-enhanced Linux is a patch of the Linux kernel and a number of |
21 | utilities with enhanced security functionality designed to add | |
d72edc75 | 22 | mandatory access controls to Linux. The Security-enhanced Linux kernel |
23 | contains new architectural components originally developed to improve | |
24 | the security of the Flask operating system. These architectural | |
25 | components provide general support for the enforcement of many kinds | |
26 | of mandatory access control policies, including those based on the | |
27 | concepts of Type Enforcement, Role-based Access Control, and | |
28 | Multi-level Security. | |
29 | ||
30 | This package contains checkpolicy, the SELinux policy compiler. Only | |
31 | required for building policies. | |
32 | ||
c8064eaa JR |
33 | %description -l pl.UTF-8 |
34 | Security-enhanced Linux jest prototypem jądra Linuksa i wielu | |
35 | aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa. | |
36 | Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie | |
37 | obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje | |
38 | również jak taką kontrolę można dodać do istniejącego systemu typu | |
39 | Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie | |
40 | opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego | |
41 | Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów | |
42 | polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type | |
43 | Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i | |
a0b8a772 JB |
44 | zabezpieczeniach wielopoziomowych. |
45 | ||
46 | Ten pakiet zawiera checkpolicy - kompilator polityki SELinux. Jest | |
47 | wymagany do zbudowania polityki. | |
d72edc75 | 48 | |
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
75696de7 JB |
53 | %{__make} \ |
54 | CC="%{__cc}" \ | |
357aa427 | 55 | CFLAGS="%{rpmcflags} %{rpmcppflags} -pipe" \ |
e30bac91 JB |
56 | YACC="bison -y" \ |
57 | LIBDIR=%{_libdir} | |
d72edc75 | 58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
a0b8a772 JB |
61 | |
62 | %{__make} install \ | |
df6d873a | 63 | DESTDIR=$RPM_BUILD_ROOT |
d72edc75 | 64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
4216e810 JB |
70 | %attr(755,root,root) %{_bindir}/checkmodule |
71 | %attr(755,root,root) %{_bindir}/checkpolicy | |
72 | %{_mandir}/man8/checkmodule.8* | |
73 | %{_mandir}/man8/checkpolicy.8* |