Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
checkpolicy
checkpolicy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File checkpolicy.spec of Package checkpolicy
# # spec file for package checkpolicy # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libsepol_ver 2.6 Name: checkpolicy Version: 2.6 Release: 0 Summary: SELinux policy compiler License: GPL-2.0+ Group: Productivity/Security Url: https://github.com/SELinuxProject/selinux Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014/%{name}-%{version}.tar.gz BuildRequires: bison BuildRequires: flex BuildRequires: libselinux-devel BuildRequires: libsepol-devel-static >= %{libsepol_ver} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description checkpolicy is the SELinux policy compiler. It uses libsepol to generate the binary policy. (Security-enhanced Linux is a feature of the kernel and some utilities that implement mandatory access control policies, such as Type Enforcement, Role-based Access Control and Multi-Level Security.) %prep %setup -q %build make %{?_smp_mflags} clean make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" %{?_smp_mflags} cd test make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} make LIBDIR="%{_libdir}" DESTDIR=%{buildroot} install install test/dismod %{buildroot}%{_bindir}/sedismod install test/dispol %{buildroot}%{_bindir}/sedispol %files %defattr(-,root,root) %doc COPYING ChangeLog %{_bindir}/checkpolicy %{_bindir}/checkmodule %{_bindir}/sedismod %{_bindir}/sedispol %{_mandir}/man8/checkmodule.8%{ext_man} %{_mandir}/man8/checkpolicy.8%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor