Summary: SELinux policy compiler Summary(pl): Kompilator polityki SELinux Name: checkpolicy Version: 1.0 Release: 1 License: Public domain (uncopyrighted) Group: Development # Source0-md5: 7b69ecafb4b8dd8313dae0e5fadc960e Source0: http://www.nsa.gov/selinux/lk/%{name}-%{version}.tgz BuildRequires: bison BuildRequires: flex BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement, Role-based Access Control, and Multi-level Security. This package contains checkpolicy, the SELinux policy compiler. Only required for building policies. %description -l pl Security-enhanced Linux jest prototypem jądra Linuksa i wielu aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa. Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie mandatowej kontroli dostępu dla społeczności Linuksowej. Ukazuje również jak taką kontrolę można dodać do istniejącego systemu typu Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów polityk mandatowej kontroli dostępu, włączając te wzorowane na: Type Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i zabezpieczeniach wielopoziomowych. Ten pakiet zawiera checkpolicy - kompilator polityki SELinux. Jest wymagany do zbudowania polityki. %prep %setup -q %build %{__make} \ CC="%{__cc}" \ CFLAGS="%{rpmcflags} -pipe -include global.h -I. -Iinclude" \ YACC="bison -y" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/checkpolicy