102 lines
2.7 KiB
RPMSpec
102 lines
2.7 KiB
RPMSpec
Summary: SELinux policy compiler
|
|
Name: checkpolicy
|
|
Version: 1.12
|
|
Release: 1
|
|
License: GPL
|
|
Group: Development/System
|
|
Source: http://www.nsa.gov/selinux/archives/checkpolicy-%{version}.tgz
|
|
Prefix: %{_prefix}
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
BuildRequires: byacc flex
|
|
Patch: checkpolicy-netlink.patch
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1 -b .netlink
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
|
make DESTDIR="${RPM_BUILD_ROOT}" install
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/checkpolicy
|
|
%{_mandir}/man8/checkpolicy.8.gz
|
|
|
|
%changelog
|
|
* Wed Jun 16 2004 Dan Walsh <dwalsh@redhat.com> 1.12-1
|
|
- Update to latest from NSA
|
|
|
|
* Wed Jun 16 2004 Dan Walsh <dwalsh@redhat.com> 1.10-5
|
|
- Add nlclass patch
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Fri Jun 4 2004 Dan Walsh <dwalsh@redhat.com> 1.10-3
|
|
- Add BuildRequires flex
|
|
|
|
* Thu Apr 8 2004 Dan Walsh <dwalsh@redhat.com> 1.10-2
|
|
- Add BuildRequires byacc
|
|
|
|
* Thu Apr 8 2004 Dan Walsh <dwalsh@redhat.com> 1.10-1
|
|
- Upgrade to the latest from NSA
|
|
|
|
* Mon Mar 15 2004 Dan Walsh <dwalsh@redhat.com> 1.8-1
|
|
- Upgrade to the latest from NSA
|
|
|
|
* Mon Feb 24 2004 Dan Walsh <dwalsh@redhat.com> 1.6-1
|
|
- Upgrade to the latest from NSA
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Tue Jan 20 2004 Dan Walsh <dwalsh@redhat.com> 1.4-6
|
|
- Add typealias patch
|
|
|
|
* Tue Jan 20 2004 Dan Walsh <dwalsh@redhat.com> 1.4-5
|
|
- Update excludetypes with negset-final patch
|
|
|
|
* Wed Jan 14 2004 Dan Walsh <dwalsh@redhat.com> 1.4-4
|
|
- Add excludetypes patch
|
|
|
|
* Wed Jan 14 2004 Dan Walsh <dwalsh@redhat.com> 1.4-3
|
|
- Add Colin Walter's lineno patch
|
|
|
|
* Wed Jan 7 2004 Dan Walsh <dwalsh@redhat.com> 1.4-2
|
|
- Remove check for roles transition
|
|
|
|
* Sat Dec 6 2003 Dan Walsh <dwalsh@redhat.com> 1.4-1
|
|
- upgrade to 1.4
|
|
|
|
* Wed Oct 1 2003 Dan Walsh <dwalsh@redhat.com> 1.2-1
|
|
- upgrade to 1.2
|
|
|
|
* Thu Aug 28 2003 Dan Walsh <dwalsh@redhat.com> 1.1-2
|
|
- upgrade to 1.1
|
|
|
|
* Mon Jun 2 2003 Dan Walsh <dwalsh@redhat.com> 1.0-1
|
|
- Initial version
|
|
|