Name: setools Version: 3.2 Release: 1 License: GPL URL: http://oss.tresys.com/projects/setools BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source: setools-%{version}.tar.bz2 AutoReqProv: no Summary: Policy analysis tools for SELinux. Group: System Environment/Base # disable auto dependency generation because they are explicitly listed %define __find_requires %{nil} %description SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. The following are included: apol Tcl/Tk-based policy analysis tool awish customized wish interpreter libapol policy analysis library libapol-tcl bindings between apol and libapol libpoldiff semantic policy difference library libqpol library that abstracts policy internals libseaudit parse and filter SELinux audit messages in log files libsefs SELinux filesystem database library seaudit audit log analysis tools: seaudit and seaudit-report sechecker SELinux policy checking tool secmds command line tools: seinfo, sesearch, findcon, replcon, indexcon, and searchcon sediff semantic policy difference tools: sediff and sediffx %package libs License: LGPL Summary: Policy analysis support libraries for SELinux. Group: System Environment/Libraries Requires: libselinux >= 1.30 libsepol >= 1.12.27 libxml2 Provides: libqpol = 1.1 libapol = 3.1 libpoldiff = 1.1 libsefs = 3.0.2 libseaudit = 4.0.0 BuildPrereq: flex, bison, pkgconfig BuildRequires: libselinux-devel >= 1.30 libsepol-devel >= 1.12.27 libxml2-devel BuildRequires: tk-devel >= 8.4.9 tcl-devel >= 8.4.9 BuildRequires: gtk2-devel >= 2.4 libglade2-devel libxml2-devel Prereq: /sbin/ldconfig Conflicts: setools %description libs SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This package includes the following run-time libraries: libapol policy analysis library libpoldiff semantic policy difference library libqpol library that abstracts policy internals libseaudit parse and filter SELinux audit messages in log files libsefs SELinux filesystem database library %package devel Summary: Policy analysis development files for SELinux. Group: System Environment/Libraries Requires: libselinux-devel >= 1.30 libsepol-devel >= 1.12.27 libxml2-devel Requires: %{name} = %{version}-%{release} sqlite-devel %description devel SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This package includes header files and archives for the following libraries: libapol policy analysis library libapol-tcl bindings between apol and libapol libpoldiff semantic policy difference library libqpol library that abstracts policy internals libseaudit parse and filter SELinux audit messages in log files libsefs SELinux filesystem database library %package console AutoReqProv: no Summary: Policy analysis command-line tools for SELinux. Group: System Environment/Base Requires: libqpol >= 1.1 libapol >= 3.1 libpoldiff >= 1.1 libsefs >= 3.0 libseaudit >= 4.0 Requires: libselinux >= 1.30 %description console SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This package includes the following console tools: seaudit-report audit log analysis tool sechecker SELinux policy checking tool secmds command line tools: seinfo, sesearch, findcon, replcon, indexcon, and searchcon sediff semantic policy difference tool %package gui AutoReqProv: no Summary: Policy analysis graphical tools for SELinux. Group: System Environment/Base Requires: libqpol >= 1.1 libapol >= 3.1 libpoldiff >= 1.1 libsefs >= 3.0 libseaudit >= 4.0 Requires: tcl >= 8.4.9 tk >= 8.4.9 bwidget >= 1.8 Requires: glib >= 1.2 gtk2 >= 2.4 gdk-pixbuf libxml2 libglade2 Requires: %{name} = %{version}-%{release} %description gui SETools is a collection of graphical tools, command-line tools, and libraries designed to facilitate SELinux policy analysis. This package includes the following graphical tools: apol Tcl/Tk-based policy analysis tool awish customized wish interpreter seaudit audit log analysis tool sediffx semantic policy difference tool %prep %setup -q %build %configure --disable-bwidget-check --disable-selinux-check make %install rm -rf ${RPM_BUILD_ROOT} %makeinstall rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib*so mkdir -p ${RPM_BUILD_ROOT}/usr/share/pixmaps install -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d install -m 644 packages/rpm/seaudit.pam ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/seaudit install -d -m 755 ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps install -m 644 packages/rpm/seaudit.console ${RPM_BUILD_ROOT}%{_sysconfdir}/security/console.apps/seaudit install -d -m 755 ${RPM_BUILD_ROOT}%{_datadir}/applications install -m 664 packages/rpm/apol.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/apol.desktop install -m 664 packages/rpm/seaudit.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/seaudit.desktop install -m 664 packages/rpm/sediffx.desktop ${RPM_BUILD_ROOT}%{_datadir}/applications/sediffx.desktop install -m 664 apol/apol.png ${RPM_BUILD_ROOT}/usr/share/pixmaps/apol.png install -m 664 seaudit/seaudit.png ${RPM_BUILD_ROOT}/usr/share/pixmaps/seaudit.png install -m 664 sediff/sediffx.png ${RPM_BUILD_ROOT}/usr/share/pixmaps/sediffx.png cd $RPM_BUILD_ROOT/%{_bindir}/ ln -sf consolehelper seaudit %clean rm -rf ${RPM_BUILD_ROOT} %files libs %defattr(-,root,root) %{_libdir}/libqpol.so.* %{_libdir}/libapol.so.* %{_libdir}/libpoldiff.so.* %{_libdir}/libsefs.so.* %{_libdir}/libseaudit.so.* %{_datadir}/setools-%{version}/seaudit-report.conf %{_datadir}/setools-%{version}/seaudit-report.css %doc AUTHORS ChangeLog COPYING COPYING.GPL COPYING.LGPL KNOWN-BUGS NEWS README %files devel %{_libdir}/libqpol.a %{_libdir}/libapol.a %{_libdir}/libpoldiff.a %{_libdir}/libsefs.a %{_libdir}/libseaudit.a %{_libdir}/libapol-tcl.a %dir %{_includedir}/qpol %{_includedir}/qpol/*.h %dir %{_includedir}/apol %{_includedir}/apol/*.h %dir %{_includedir}/poldiff %{_includedir}/poldiff/*.h %dir %{_includedir}/sefs %{_includedir}/sefs/*.h %dir %{_includedir}/seaudit %{_includedir}/seaudit/*.h %files console %{_bindir}/seinfo %{_bindir}/sesearch %{_bindir}/indexcon %{_bindir}/findcon %{_bindir}/replcon %{_bindir}/searchcon %{_bindir}/sechecker %{_bindir}/sediff %{_bindir}/seaudit-report %{_datadir}/setools-%{version}/sechecker-profiles/all-checks.sechecker %{_datadir}/setools-%{version}/sechecker-profiles/analysis-checks.sechecker %{_datadir}/setools-%{version}/sechecker-profiles/devel-checks.sechecker %{_datadir}/setools-%{version}/sechecker-profiles/sechecker.dtd %{_datadir}/setools-%{version}/sechecker_help.txt %{_datadir}/setools-%{version}/seaudit-report-service %{_mandir}/man1/findcon.1.gz %{_mandir}/man1/indexcon.1.gz %{_mandir}/man1/replcon.1.gz %{_mandir}/man1/searchcon.1.gz %{_mandir}/man1/sechecker.1.gz %{_mandir}/man1/sediff.1.gz %{_mandir}/man1/seinfo.1.gz %{_mandir}/man1/sesearch.1.gz %{_mandir}/man8/seaudit-report.8.gz %files gui %{_bindir}/seaudit %{_bindir}/sediffx %{_bindir}/apol %{_bindir}/awish %{_datadir}/setools-%{version}/sediff_help.txt %{_datadir}/setools-%{version}/sediffx.glade %{_datadir}/setools-%{version}/sediffx.png %{_datadir}/setools-%{version}/sediffx-small.png %{_datadir}/setools-%{version}/apol_help.txt %{_datadir}/setools-%{version}/domaintrans_help.txt %{_datadir}/setools-%{version}/file_relabel_help.txt %{_datadir}/setools-%{version}/infoflow_help.txt %{_datadir}/setools-%{version}/types_relation_help.txt %{_datadir}/setools-%{version}/apol_perm_mapping_ver12 %{_datadir}/setools-%{version}/apol_perm_mapping_ver15 %{_datadir}/setools-%{version}/apol_perm_mapping_ver16 %{_datadir}/setools-%{version}/apol_perm_mapping_ver17 %{_datadir}/setools-%{version}/apol_perm_mapping_ver18 %{_datadir}/setools-%{version}/apol_perm_mapping_ver19 %{_datadir}/setools-%{version}/apol_perm_mapping_ver20 %{_datadir}/setools-%{version}/apol_perm_mapping_ver21 %{_datadir}/setools-%{version}/apol.gif %{_datadir}/setools-%{version}/apol.tcl %{_datadir}/setools-%{version}/seaudit.glade %{_datadir}/setools-%{version}/seaudit_help.txt %{_datadir}/setools-%{version}/seaudit.png %{_datadir}/setools-%{version}/seaudit-small.png %{_datadir}/setools-%{version}/dot_seaudit %{_mandir}/man1/apol.1.gz %{_mandir}/man1/sediffx.1.gz %{_mandir}/man8/seaudit.8.gz %{_sbindir}/seaudit %config(noreplace) %{_sysconfdir}/pam.d/seaudit %config(noreplace) %{_sysconfdir}/security/console.apps/seaudit %{_datadir}/applications/apol.desktop %{_datadir}/applications/seaudit.desktop %{_datadir}/applications/sediffx.desktop %attr(0644,root,root) /usr/share/pixmaps/apol.png %attr(0644,root,root) /usr/share/pixmaps/seaudit.png %attr(0644,root,root) /usr/share/pixmaps/sediffx.png %post libs /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Mon Apr 30 2007 Dan Walsh 3.2-1 - Start shipping the rest of the setools command line apps * Tue Feb 20 2007 Dan Walsh 3.1-3 - Fix conflict with tcl/init.tcl * Wed Feb 14 2007 Dan Walsh 3.1-2 - Fix permissions on shared libraries * Tue Feb 13 2007 Dan Walsh 3.1-1 - Upgrade to upstream * Thu Feb 1 2007 Dan Walsh 3.0-3 - Rebuild with newer libtk * Wed Dec 13 2006 Adam Jackson 3.0-2 - Rebuild with dist tag, fixes 6 to 7 upgrades. * Thu Oct 26 2006 Dan Walsh 3.0-2 - Build on rawhide * Sun Oct 15 2006 Dan Walsh 3.0-1 - Update to upstream * Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control - rebuild * Tue May 23 2006 Dan Walsh 2.4-2 - Remove sqlite include directory * Wed May 3 2006 Dan Walsh 2.4-1 - Update from upstream * Mon Apr 10 2006 Dan Walsh 2.3-3 - Fix help - Add icons * Tue Mar 21 2006 Dan Walsh 2.3-2 - Remove console apps for sediff, sediffx and apol * Fri Feb 10 2006 Jesse Keating - 2.3-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.3-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 31 2006 Dan Walsh 2.3-1 - Update from upstream * apol: added new MLS components tab for sensitivities, levels, and categories. Changed users tab to support ranges and default levels. added range transition tab for searching range Transition rules. added new tab for network context components. added new tab for file system context components. * libapol: added binpol support for MLS, network contexts, and file system contexts. * seinfo: added command line options for MLS components. added command line options for network contexts and file system contexts. * sesearch: added command line option for searching for rules by conditional boolean name. * seaudit: added new column in the log view for the 'comm' field found in auditd log files. added filters for the 'comm' field and 'message' field. * manpages: added manpages for all tools. * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Wed Dec 14 2005 Dan Walsh 2.2-4 - Fix dessktop files - Apply fixes from bkyoung * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Nov 3 2005 Dan Walsh 2.2-3 - Move more gui files out of base into gui * Thu Nov 3 2005 Dan Walsh 2.2-2 - Move sediff from gui to main package * Thu Nov 3 2005 Dan Walsh 2.2-1 - Upgrade to upstream version * Thu Oct 13 2005 Dan Walsh 2.1.3-1 - Upgrade to upstream version * Mon Oct 10 2005 Tomas Mraz 2.1.2-3 - use include instead of pam_stack in pam config * Thu Sep 1 2005 Dan Walsh 2.1.2-2 - Fix spec file * Thu Sep 1 2005 Dan Walsh 2.1.2-1 - Upgrade to upstream version * Thu Aug 18 2005 Florian La Roche - do not package debug files into the -devel package * Wed Aug 17 2005 Jeremy Katz - 2.1.1-3 - rebuild against new cairo * Wed May 25 2005 Dan Walsh 2.1.1-0 - Upgrade to upstream version * Mon May 23 2005 Bill Nottingham 2.1.0-5 - put libraries in the right place (also puts debuginfo in the right package) - add %%defattr for -devel too * Thu May 12 2005 Dan Walsh 2.1.0-4 - Move sepcut to gui apps. * Fri May 6 2005 Dan Walsh 2.1.0-3 - Fix Missing return code. * Wed Apr 20 2005 Dan Walsh 2.1.0-2 - Fix requires line * Tue Apr 19 2005 Dan Walsh 2.1.0-1 - Update to latest from tresys * Tue Apr 5 2005 Dan Walsh 2.0.0-2 - Fix buildrequires lines in spec file * Tue Mar 2 2005 Dan Walsh 2.0.0-1 - Update to latest from tresys * Mon Nov 29 2004 Dan Walsh 1.5.1-6 - add FALLBACK=true to /etc/security/console.apps/apol * Wed Nov 10 2004 Dan Walsh 1.5.1-3 - Add badtcl patch from Tresys. * Mon Nov 8 2004 Dan Walsh 1.5.1-2 - Apply malloc problem patch provided by Sami Farin * Mon Nov 1 2004 Dan Walsh 1.5.1-1 - Update to latest from Upstream * Wed Oct 6 2004 Dan Walsh 1.4.1-5 - Update tresys patch * Mon Oct 4 2004 Dan Walsh 1.4.1-4 - Fix directory ownership * Thu Jul 8 2004 Dan Walsh 1.4.1-1 - Latest from Tresys * Wed Jun 23 2004 Dan Walsh 1.4-5 - Add build requires libselinux * Tue Jun 22 2004 Dan Walsh 1.4-4 - Add support for policy.18 * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Jun 10 2004 Dan Walsh 1.4-2 - Fix install locations of policy_src_dir * Wed Jun 2 2004 Dan Walsh 1.4-1 - Update to latest from TRESYS. * Tue Jun 1 2004 Dan Walsh 1.3-3 - Make changes to work with targeted/strict policy * Fri Apr 16 2004 Dan Walsh 1.3-2 - Take out requirement for policy file * Fri Apr 16 2004 Dan Walsh 1.3-1 - Fix doc location * Fri Apr 16 2004 Dan Walsh 1.3-1 - Latest from TRESYS * Tue Apr 13 2004 Dan Walsh 1.2.1-8 - fix location of policy.conf file * Tue Apr 6 2004 Dan Walsh 1.2.1-7 - Obsolete setools-devel * Tue Apr 6 2004 Dan Walsh 1.2.1-6 - Fix location of * Tue Apr 6 2004 Dan Walsh 1.2.1-5 - Remove devel libraries - Fix installdir for lib64 * Sat Apr 3 2004 Dan Walsh 1.2.1-4 - Add usr_t file read to policy * Thu Mar 25 2004 Dan Walsh 1.2.1-3 - Use tcl8.4 * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Feb 6 2004 Dan Walsh 1.2.1-1 - New patch * Fri Feb 6 2004 Dan Walsh 1.2-1 - Latest upstream version * Tue Dec 30 2003 Dan Walsh 1.1.1-1 - New version from upstream - Remove seuser.te. Now in policy file. * Tue Dec 30 2003 Dan Walsh 1.1-2 - Add Defattr to devel - move libs to base kit * Fri Dec 19 2003 Dan Walsh 1.1-1 - Update to latest code from tresys - Break into three separate packages for cmdline, devel and gui - Incorporate the tcl patch * Mon Dec 15 2003 Jens Petersen - 1.0.1-3 - apply setools-1.0.1-tcltk.patch to build against tcl/tk 8.4 - buildrequire tk-devel * Thu Nov 20 2003 Dan Walsh 1.0.1-2 - Add Bwidgets to this RPM * Tue Nov 4 2003 Dan Walsh 1.0.1-1 - Upgrade to 1.0.1 * Wed Oct 15 2003 Dan Walsh 1.0-6 - Clean up build * Tue Oct 14 2003 Dan Walsh 1.0-5 - Update with correct seuser.te * Wed Oct 1 2003 Dan Walsh 1.0-4 - Update with final release from Tresys * Mon Jun 2 2003 Dan Walsh 1.0-1 - Initial version