1 Summary: SELinux tools for managing policy
2 Summary(pl): Narzêdzia do zarz±dzania polityk± SELinux
8 #Source0: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tar.bz2
9 #Source0Download: http://www.tresys.com/selinux/selinux_policy_tools.html
10 Source0: http://www.tresys.com/Downloads/selinux-tools/%{name}-%{version}.tar.bz2
11 # Source0-md5: 3f03b184d1e50735bba6084212abcf74
12 Patch0: %{name}-opt.patch
13 URL: http://www.tresys.com/selinux/selinux_policy_tools.html
16 BuildRequires: libglade2-devel >= 2.0
17 BuildRequires: libselinux-devel
18 BuildRequires: perl-base
19 BuildRequires: sqlite3-devel >= 3.0.8
20 BuildRequires: tk-devel
22 Requires: policy-sources
23 Requires: policycoreutils
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This package contains some tools and libraries for Security-enhanced
29 Linux (a project with enhanced security functionality designed to add
30 mandatory access controls to Linux). This package includes the
32 - apol: The GUI-based policy analysis tool.
33 - sepcut: A basic GUI-based policy configuration, browsing, editing,
34 and testing tool, intended to provide a complete, single user
35 interface for viewing the source files of a policy, configuring
36 policy program modules, editing policy files, and making and testing
38 - seuser: A GUI and command line user manager tool for SELinux. This
39 is a tool that actually manages a portion of a running policy (i.e.,
41 - seuser scripts: A set of shell scripts: seuseradd, seusermod, and
42 seuserdel. These scripts combine the functions of the associated s*
43 commands with seuser to provide a single interface to manage users
46 And the following tool which can serve as building blocks for the
47 development of additional tools:
48 - awish: A version of the Tcl/Tk wish interpreter that includes the
49 setools libraries. It's used to test SELinux GUIs (apol and seuser
50 have the interpreter compiled within them). One could conceivably
51 write one's own GUI tools using Tcl/Tk as extended via awish.
52 - libapol: The main policy.conf analysis library, which is the core
53 library for all our tools.
54 - libseuser: The primary logic used for seuser.
57 Ten pakiet zawiera narzêdzia i biblioteki dla Linuksa w wersji
58 Security-enhanced (jest to projekt z rozszerzon± funkcjonalno¶ci±
59 zwi±zan± z bezpieczeñstwem opracowan± w celu dodania mandatowej
60 kontroli dostêpu do Linuksa). Ten pakiet zawiera nastêpuj±ce
62 - apol - narzêdzie do analizy polityki z graficznym interfejsem.
63 - sepcut - podstawowe graficzne narzêdzie do konfiguracji,
64 przegl±dania, edycji i testowania polityki, maj±ce zapewniæ
65 kompletny interfejs do przegl±dania plików ¼ród³owych polityki,
66 konfigurowania modu³ów programu polityki, edycji plików polityki
67 oraz tworzenia i testowania polityki.
68 - seuser - graficzne oraz dzia³aj±ce z linii poleceñ narzêdzie do
69 zarz±dzania u¿ytkownikami dla SELinuksa. Jest to narzêdzie
70 zarz±dzaj±ce czê¶ci± funkcjonuj±cej polityki (czyli kontami
72 - skrypty seuser - zbiór skryptów pow³oki: seuseradd, seusermod oraz
73 seuserdel. £±cz± one funkcjonalno¶æ poleceñ s* z seuser, aby
74 zapewniæ pojedynczy interfejs do zarz±dzania u¿ytkownikami w
76 - libapol - g³ówna biblioteka analizy policy.conf, która jest rdzeniem
77 wszystkich narzêdzi z setools.
78 - libseuser - podstawowa logika u¿ywana przez seuser.
80 Pakiet zawiera tak¿e narzêdzie mog±ce s³u¿yæ jako czê¶æ do budowania
81 innych narzêdzi - jest to awish, czyli wersja interpretera wish z
82 Tcl/Tk zawieraj±ca biblioteki setools. Jest u¿ywany do testowania
83 GUI dla SELinuksa (apol i seuser maj± interpreter wkompilowany).
84 Mo¿na pisaæ w³asne graficzne narzêdzia przy u¿yciu awisha.
87 Summary: Header files for setools libraries
88 Summary(pl): Pliki nag³ówkowe bibliotek setools
89 Group: Development/Libraries
90 Requires: %{name} = %{version}-%{release}
93 Header files for setools libraries: libapol, libseaudit, libsefs,
96 %description devel -l pl
97 Pliki nag³ówkowe bibliotek setools: libapol, libseaudit, libsefs,
101 Summary: Static setools libraries
102 Summary(pl): Statyczne bibliotek setools
103 Group: Development/Libraries
104 Requires: %{name}-devel = %{version}-%{release}
107 Static setools libraries.
109 %description static -l pl
110 Statyczne bibliotek setools.
122 TCL_LIBS="-ltk -ltcl -lfl -lm -ldl"
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT%{_bindir}
129 DESTDIR=$RPM_BUILD_ROOT \
130 SHARED_LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir}
133 rm -rf $RPM_BUILD_ROOT
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_bindir}/*
138 %attr(755,root,root) %{_libdir}/lib*.so.*.*
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/lib*.so
144 %{_includedir}/setools
147 %defattr(644,root,root,755)