]> git.pld-linux.org Git - packages/selinux-sandbox.git/blame - selinux-sandbox.spec
- split from policycoreutils
[packages/selinux-sandbox.git] / selinux-sandbox.spec
CommitLineData
caf1e72f
JB
1# TODO: install and package init script?
2Summary: SELinux sandbox utilities
3Summary(pl.UTF-8): Narzędzia do obsługi piaskownic SELinuksa
4Name: selinux-sandbox
5Version: 2.7
6Release: 1
7License: GPL v2
8Group: Applications/System
9#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
10Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/%{name}-%{version}.tar.gz
11# Source0-md5: 7360e9dc7b1757b7f82face655982bfa
12Patch0: %{name}-init.patch
13URL: https://github.com/SELinuxProject/selinux/wiki
14BuildRequires: libcap-ng-devel
15BuildRequires: libselinux-devel >= 2.7
16BuildRequires: rpm-pythonprov
17Requires: libselinux >= 2.7
18# uses "policycoreutils" translations domain
19Requires: policycoreutils >= 2.7
20Requires: python-selinux >= 2.7
21Requires: python-sepolicy >= 2.7
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Security-enhanced Linux is a patch of the Linux kernel and a number of
26utilities with enhanced security functionality designed to add
27mandatory access controls to Linux. The Security-enhanced Linux kernel
28contains new architectural components originally developed to improve
29the security of the Flask operating system. These architectural
30components provide general support for the enforcement of many kinds
31of mandatory access control policies, including those based on the
32concepts of Type Enforcement, Role-based Access Control, and
33Multi-level Security.
34
35This package contains SELinux sandbox utilities.
36
37%description -l pl.UTF-8
38Security-enhanced Linux jest prototypem jądra Linuksa i wielu
39aplikacji użytkowych o funkcjach podwyższonego bezpieczeństwa.
40Zaprojektowany jest tak, aby w prosty sposób ukazać znaczenie
41obowiązkowej kontroli dostępu dla społeczności linuksowej. Ukazuje
42również jak taką kontrolę można dodać do istniejącego systemu typu
43Linux. Jądro SELinux zawiera nowe składniki architektury pierwotnie
44opracowane w celu ulepszenia bezpieczeństwa systemu operacyjnego
45Flask. Te elementy zapewniają ogólne wsparcie we wdrażaniu wielu typów
46polityk obowiązkowej kontroli dostępu, włączając te wzorowane na: Type
47Enforcement (TE), kontroli dostępu opartej na rolach (RBAC) i
48zabezpieczeniach wielopoziomowych.
49
50Ten pakiet zawiera narzędzia do obsługi piaskownic SELinuksa.
51
52%prep
53%setup -q
54%patch0 -p1
55
56%build
57CFLAGS="%{rpmcflags} %{rpmcppflags}" \
58%{__make} \
59 CC="%{__cc}" \
60 LDFLAGS="%{rpmldflags}"
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
68#install -Dp sandbox.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sandbox
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%files
74%defattr(644,root,root,755)
75%attr(755,root,root) %{_bindir}/sandbox
76%attr(755,root,root) %{_sbindir}/seunshare
77#%attr(754,root,root) /etc/rc.d/init.d/sandbox
78%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sandbox
79%dir %{_datadir}/sandbox
80%attr(755,root,root) %{_datadir}/sandbox/*.sh
81%attr(755,root,root) %{_datadir}/sandbox/start
82%{_mandir}/man5/sandbox.5*
83%{_mandir}/man8/sandbox.8*
84%{_mandir}/man8/seunshare.8*
This page took 0.119096 seconds and 4 git commands to generate.