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