|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Summary: Helps troubleshoot SELinux problems
|
|
|
|
|
Name: setroubleshoot
|
|
|
|
|
Version: 3.0.38
|
|
|
|
|
Version: 3.1.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Group: Applications/System
|
|
|
|
@ -15,8 +15,7 @@ BuildRequires: libcap-ng-devel
|
|
|
|
|
BuildRequires: intltool gettext python
|
|
|
|
|
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
|
|
|
|
|
Requires: %{name}-server = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-plugins >= 2.0.4
|
|
|
|
|
Requires: pygtk2 >= 2.9.2
|
|
|
|
|
Requires: pygtk2-libglade >= 2.9.2
|
|
|
|
|
Requires: gtk2
|
|
|
|
|
Requires: dbus
|
|
|
|
|
Requires: dbus-python
|
|
|
|
@ -24,7 +23,6 @@ Requires: pygobject2
|
|
|
|
|
Requires: report-gtk
|
|
|
|
|
Requires: polkit
|
|
|
|
|
Requires: yum
|
|
|
|
|
Requires: gnome-python2-gnomekeyring
|
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
|
Requires(post): dbus
|
|
|
|
|
Requires(postun): desktop-file-utils
|
|
|
|
@ -45,7 +43,7 @@ Requires: xdg-utils
|
|
|
|
|
%define pkgrundir %{_localstatedir}/run/%{name}
|
|
|
|
|
%define pkgconfigdir %{_sysconfdir}/%{name}
|
|
|
|
|
%define pkglogdir %{_localstatedir}/log/%{name}
|
|
|
|
|
%global pkgdatabase %{pkgvardatadir}/audit_listener_database.xml
|
|
|
|
|
%global pkgdatabase %{pkgvardatadir}/setroubleshoot_database.xml
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
setroubleshoot GUI. Application that allows you to view setroubleshoot-server
|
|
|
|
@ -59,24 +57,27 @@ to user preference. The same tools can be run on existing log files.
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{pkgguidir}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/autostart/*
|
|
|
|
|
%config %{_datadir}/applications/*.desktop
|
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
|
%{_datadir}/dbus-1/services/sealert.service
|
|
|
|
|
%{_datadir}/icons/hicolor
|
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
|
%dir %attr(0755,root,root) %{pkgpythondir}
|
|
|
|
|
%{pkgpythondir}/browser.py*
|
|
|
|
|
%{pkgpythondir}/gui_utils.py*
|
|
|
|
|
%{_bindir}/seapplet
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/usr/bin/desktop-file-install %{_datadir}/applications 2> /dev/null
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
/usr/bin/update-desktop-database %{_datadir}/applications 2> /dev/null
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
@ -98,16 +99,16 @@ touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
|
|
|
|
|
Summary: SELinux troubleshoot server
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-plugins >= 2.0.4
|
|
|
|
|
Requires: %{name}-plugins >= 3.0.14
|
|
|
|
|
Requires: audit >= 1.2.6-3
|
|
|
|
|
Requires: audit-libs-python >= 1.2.6-3
|
|
|
|
|
Requires: libxml2-python
|
|
|
|
|
Requires: setools-libs-python
|
|
|
|
|
Requires: setools-libs-python >= 3.3.7-19
|
|
|
|
|
Requires: rpm-python
|
|
|
|
|
Requires: libselinux-python >= 1.30.15-1
|
|
|
|
|
Requires: libselinux-python >= 2.1.5-1
|
|
|
|
|
Requires: policycoreutils-python
|
|
|
|
|
BuildRequires: intltool gettext python
|
|
|
|
|
BuildRequires: setools-devel >= 3.3.6-3
|
|
|
|
|
BuildRequires: setools-devel >= 3.3.7-19
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
|
Requires: python-slip-dbus
|
|
|
|
|
|
|
|
|
@ -158,7 +159,6 @@ rm -rf %{buildroot}
|
|
|
|
|
%{pkgpythondir}/email_alert.py*
|
|
|
|
|
%{pkgpythondir}/errcode.py*
|
|
|
|
|
%{pkgpythondir}/html_util.py*
|
|
|
|
|
%{pkgpythondir}/log.py*
|
|
|
|
|
%{pkgpythondir}/rpc.py*
|
|
|
|
|
%{pkgpythondir}/serverconnection.py*
|
|
|
|
|
%{pkgpythondir}/rpc_interfaces.py*
|
|
|
|
@ -203,6 +203,78 @@ Setroubleshoot documentation package
|
|
|
|
|
%{pkgdocdir}/setroubleshoot*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 9 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.11-1
|
|
|
|
|
- Update translations
|
|
|
|
|
- Only check for rpm on target process if is still exists
|
|
|
|
|
|
|
|
|
|
* Sat Mar 17 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.9-1
|
|
|
|
|
- Add file_types as a param to setroubleshoot.utils
|
|
|
|
|
- Update translations
|
|
|
|
|
|
|
|
|
|
* Tue Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.8-1
|
|
|
|
|
- Add missing lanquages, using lang supported by gtk
|
|
|
|
|
|
|
|
|
|
* Tue Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.7-1
|
|
|
|
|
- Add missing lanquages
|
|
|
|
|
|
|
|
|
|
* Thu Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.6-1
|
|
|
|
|
- Remove gnome-keyring requirement
|
|
|
|
|
|
|
|
|
|
* Thu Mar 8 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.5-1
|
|
|
|
|
- Fix potential memory leak in setools
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Thu Mar 1 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.4-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Tue Feb 14 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.3-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
- Fix handling of avc messages, missing \n
|
|
|
|
|
- Default to check for AVC's on login
|
|
|
|
|
|
|
|
|
|
* Mon Jan 23 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.2-1
|
|
|
|
|
- Fix crash caused by switching to syslog, and update trans
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2012 Dan Walsh <dwalsh@redhat.com> - 3.1.1-1
|
|
|
|
|
- remove specific logging and move to syslog
|
|
|
|
|
- Fix handling of AVC messages broken by fix for memory leaks
|
|
|
|
|
|
|
|
|
|
* Tue Jan 17 2012 Dan Walsh <dwalsh@redhat.com> - 3.0.47-1
|
|
|
|
|
- Fixup for memory leaks
|
|
|
|
|
|
|
|
|
|
* Fri Jan 6 2012 Dan Walsh <dwalsh@redhat.com> - 3.0.45-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Fri Dec 23 2011 Rex Dieter <rdieter@fedoraproject.org> 3.0.45-2
|
|
|
|
|
- optimize/update scriptlets
|
|
|
|
|
- don't own icons/hicolor
|
|
|
|
|
- drop %%config tag on applications/*.desktop
|
|
|
|
|
|
|
|
|
|
- Patch from Mgrepl to stop printable from crashing if None is passed in
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Mon Dec 8 2011 <dwalsh@redhat.com> - 3.0.44-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
- Fix memory leak in sedispatch
|
|
|
|
|
|
|
|
|
|
* Mon Dec 5 2011 <dwalsh@redhat.com> - 3.0.43-1
|
|
|
|
|
- Update to latest translations
|
|
|
|
|
|
|
|
|
|
* Fri Nov 11 2011 <dwalsh@redhat.com> - 3.0.42-1
|
|
|
|
|
- Set the gobject prg_name for better integration into the desktop
|
|
|
|
|
|
|
|
|
|
* Fri Nov 4 2011 <dwalsh@redhat.com> - 3.0.41-1
|
|
|
|
|
- Don't report to syslog when sedispatch gets an signal to exit.
|
|
|
|
|
|
|
|
|
|
* Wed Oct 26 2011 <dwalsh@redhat.com> - 3.0.40-1
|
|
|
|
|
- Apply Miroslav patch that rewrites sealert option handling with using optparse. Fixing conflicting options problems.
|
|
|
|
|
|
|
|
|
|
* Fri Aug 26 2011 <dwalsh@redhat.com> - 3.0.38-3
|
|
|
|
|
- Fix requires to include pygtk2-libglade
|
|
|
|
|
|
|
|
|
|
* Mon Aug 8 2011 <dwalsh@redhat.com> - 3.0.38-2
|
|
|
|
|
- Fix path to setroubleshoot xml in spec file
|
|
|
|
|
|
|
|
|
|
* Wed Jul 13 2011 <dwalsh@redhat.com> - 3.0.38-1
|
|
|
|
|
- Remove dependancy on X from sedispatch
|
|
|
|
|
|
|
|
|
|