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://tresys.com/files/setools/%{name}-%{version}.tar.bz2
11 # Source0-md5: fcb16faa702a3e0b51276803bd736401
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: pkgconfig
20 BuildRequires: sqlite3-devel >= 3.0.8
21 BuildRequires: tk-devel
23 Requires: policy-sources
24 Requires: policycoreutils
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This package contains some tools and libraries for Security-enhanced
30 Linux (a project with enhanced security functionality designed to add
31 mandatory access controls to Linux). This package includes the
33 - apol: The GUI-based policy analysis tool.
34 - sepcut: A basic GUI-based policy configuration, browsing, editing,
35 and testing tool, intended to provide a complete, single user
36 interface for viewing the source files of a policy, configuring policy
37 program modules, editing policy files, and making and testing the
39 - seuser: A GUI and command line user manager tool for SELinux. This
40 is a tool that actually manages a portion of a running policy (i.e.,
42 - seuser scripts: A set of shell scripts: seuseradd, seusermod, and
43 seuserdel. These scripts combine the functions of the associated s*
44 commands with seuser to provide a single interface to manage users in
47 And the following tool which can serve as building blocks for the
48 development of additional tools:
49 - awish: A version of the Tcl/Tk wish interpreter that includes the
50 setools libraries. It's used to test SELinux GUIs (apol and seuser
51 have the interpreter compiled within them). One could conceivably
52 write one's own GUI tools using Tcl/Tk as extended via awish.
53 - libapol: The main policy.conf analysis library, which is the core
54 library for all our tools.
55 - libseuser: The primary logic used for seuser.
58 Ten pakiet zawiera narzêdzia i biblioteki dla Linuksa w wersji
59 Security-enhanced (jest to projekt z rozszerzon± funkcjonalno¶ci±
60 zwi±zan± z bezpieczeñstwem opracowan± w celu dodania mandatowej
61 kontroli dostêpu do Linuksa). Ten pakiet zawiera nastêpuj±ce
63 - apol - narzêdzie do analizy polityki z graficznym interfejsem.
64 - sepcut - podstawowe graficzne narzêdzie do konfiguracji,
65 przegl±dania, edycji i testowania polityki, maj±ce zapewniæ kompletny
66 interfejs do przegl±dania plików ¼ród³owych polityki, konfigurowania
67 modu³ów programu polityki, edycji plików polityki oraz tworzenia i
69 - seuser - graficzne oraz dzia³aj±ce z linii poleceñ narzêdzie do
70 zarz±dzania u¿ytkownikami dla SELinuksa. Jest to narzêdzie
71 zarz±dzaj±ce czê¶ci± funkcjonuj±cej polityki (czyli kontami
73 - skrypty seuser - zbiór skryptów pow³oki: seuseradd, seusermod oraz
74 seuserdel. £±cz± one funkcjonalno¶æ poleceñ s* z seuser, aby zapewniæ
75 pojedynczy interfejs do zarz±dzania u¿ytkownikami w SELinuksie.
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 GUI
83 dla SELinuksa (apol i seuser maj± interpreter wkompilowany). Mo¿na
84 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}
131 rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/docs
134 rm -rf $RPM_BUILD_ROOT
136 %post -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
141 %defattr(644,root,root,755)
142 %doc KNOWN-BUGS README apol/*.txt seaudit/seaudit_help.txt
143 %attr(755,root,root) %{_bindir}/*
144 %attr(755,root,root) %{_sbindir}/*
145 %attr(755,root,root) %{_libdir}/lib*.so.*.*
146 %{_datadir}/%{name}-%{version}
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/lib*.so
155 %defattr(644,root,root,755)