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