- Switch to C Based applet
- Use dbus for messaging. Only run setroubleshoot when
This commit is contained in:
parent
5e6842c9ec
commit
8487dd0e50
@ -4,3 +4,4 @@ setroubleshoot-2.0.9.tar.gz
|
|||||||
setroubleshoot-2.0.10.tar.gz
|
setroubleshoot-2.0.10.tar.gz
|
||||||
setroubleshoot-2.0.11.tar.gz
|
setroubleshoot-2.0.11.tar.gz
|
||||||
setroubleshoot-2.0.12.tar.gz
|
setroubleshoot-2.0.12.tar.gz
|
||||||
|
setroubleshoot-2.1.1.tar.gz
|
||||||
|
@ -1,15 +1,13 @@
|
|||||||
Summary: Helps troubleshoot SELinux problems
|
Summary: Helps troubleshoot SELinux problems
|
||||||
Name: setroubleshoot
|
Name: setroubleshoot
|
||||||
Version: 2.0.12
|
Version: 2.1.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: https://fedorahosted.org/setroubleshoot
|
URL: https://fedorahosted.org/setroubleshoot
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: setroubleshoot.init
|
|
||||||
Source2: setroubleshoot.logrotate
|
Source2: setroubleshoot.logrotate
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
Requires: %{name}-server = %{version}-%{release}
|
Requires: %{name}-server = %{version}-%{release}
|
||||||
Requires: %{name}-plugins >= 2.0.4
|
Requires: %{name}-plugins >= 2.0.4
|
||||||
@ -20,8 +18,8 @@ Requires: gnome-python2-gtkhtml2
|
|||||||
Requires: dbus
|
Requires: dbus
|
||||||
Requires: dbus-python
|
Requires: dbus-python
|
||||||
Requires: libxml2-python
|
Requires: libxml2-python
|
||||||
Requires(post): /usr/bin/update-desktop-database
|
Requires(post): /usr/bin/update-desktop-database
|
||||||
Requires(post): dbus
|
Requires(post): dbus
|
||||||
Requires(postun): /usr/bin/update-desktop-database
|
Requires(postun): /usr/bin/update-desktop-database
|
||||||
Requires(postun): dbus
|
Requires(postun): dbus
|
||||||
Requires: notify-python
|
Requires: notify-python
|
||||||
@ -60,6 +58,7 @@ about the problem and help track its resolution. Alerts can be configured
|
|||||||
to user preference. The same tools can be run on existing log files.
|
to user preference. The same tools can be run on existing log files.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{pkgguidir}
|
%{pkgguidir}
|
||||||
%{_sysconfdir}/xdg/autostart/*
|
%{_sysconfdir}/xdg/autostart/*
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
@ -70,6 +69,7 @@ to user preference. The same tools can be run on existing log files.
|
|||||||
%{pkgpythondir}/email_dialog.py*
|
%{pkgpythondir}/email_dialog.py*
|
||||||
%{pkgpythondir}/gui_utils.py*
|
%{pkgpythondir}/gui_utils.py*
|
||||||
%{pkgpythondir}/run_cmd.py*
|
%{pkgpythondir}/run_cmd.py*
|
||||||
|
%{_bindir}/seapplet
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
/usr/bin/update-desktop-database %{_datadir}/applications
|
||||||
@ -92,7 +92,6 @@ make
|
|||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
%{__install} -D -m755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/%{name}
|
|
||||||
%{__install} -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
%{__install} -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
touch %{buildroot}%{pkgdatabase}
|
touch %{buildroot}%{pkgdatabase}
|
||||||
@ -111,13 +110,12 @@ Requires: pygobject2
|
|||||||
Requires: dbus-python
|
Requires: dbus-python
|
||||||
Requires: libxml2-python
|
Requires: libxml2-python
|
||||||
Requires: libselinux-python
|
Requires: libselinux-python
|
||||||
Requires: audit-libs-python
|
Requires: rpm-python
|
||||||
|
|
||||||
BuildRequires: intltool gettext python
|
BuildRequires: intltool gettext python
|
||||||
|
|
||||||
Requires(post): /sbin/chkconfig
|
Requires(post): /sbin/chkconfig
|
||||||
Requires(post): /sbin/service
|
Requires(post): /sbin/service
|
||||||
|
|
||||||
Requires(preun): /sbin/chkconfig
|
Requires(preun): /sbin/chkconfig
|
||||||
Requires(preun): /sbin/service
|
Requires(preun): /sbin/service
|
||||||
|
|
||||||
@ -132,23 +130,26 @@ if [ -f %{pkgdatabase} ]; then
|
|||||||
chown root:root %{pkgdatabase} >/dev/null 2>&1
|
chown root:root %{pkgdatabase} >/dev/null 2>&1
|
||||||
chmod 600 %{pkgdatabase} >/dev/null 2>&1
|
chmod 600 %{pkgdatabase} >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
/sbin/chkconfig --add %{name}
|
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||||
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
|
|
||||||
|
|
||||||
%preun server
|
%postun server
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/service %{name} stop >/dev/null 2>&1
|
/sbin/service auditd reload >/dev/null 2>&1 || :
|
||||||
/sbin/chkconfig --del %{name} || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%triggerun server -- %{name}-server < 2.1.1
|
||||||
|
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
||||||
|
chkconfig --del %{name} || :
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files server -f %{name}.lang
|
%files server -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc %{pkgdocdir}
|
%doc %{pkgdocdir}
|
||||||
%{_bindir}/*
|
%{_bindir}/sealert
|
||||||
%{_sbindir}/*
|
%{_sbindir}/sedispatch
|
||||||
|
%{_sbindir}/setroubleshootd
|
||||||
%dir %attr(0755,root,root) %{pkgconfigdir}
|
%dir %attr(0755,root,root) %{pkgconfigdir}
|
||||||
%dir %attr(0755,root,root) %{pkgpythondir}
|
%dir %attr(0755,root,root) %{pkgpythondir}
|
||||||
%{pkgpythondir}/Plugin.py*
|
%{pkgpythondir}/Plugin.py*
|
||||||
@ -173,28 +174,32 @@ rm -rf %{buildroot}
|
|||||||
%config %{pkgconfigdir}/%{name}.cfg
|
%config %{pkgconfigdir}/%{name}.cfg
|
||||||
%dir %{pkglogdir}
|
%dir %{pkglogdir}
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/setroubleshootd.conf
|
%config %{_sysconfdir}/dbus-1/system.d/org.fedoraproject.Setroubleshootd.conf
|
||||||
%dir %{pkgrundir}
|
%dir %{pkgrundir}
|
||||||
%dir %{pkgvardatadir}
|
%dir %{pkgvardatadir}
|
||||||
%ghost %attr(0600,root,root) %{pkgdatabase}
|
%ghost %attr(0600,root,root) %{pkgdatabase}
|
||||||
%ghost %attr(0644,root,root) %{pkgvardatadir}/email_alert_recipients
|
%ghost %attr(0644,root,root) %{pkgvardatadir}/email_alert_recipients
|
||||||
%{_mandir}/man8/sealert.8.gz
|
%{_mandir}/man8/sealert.8.gz
|
||||||
%attr(0755,root,root) /etc/rc.d/init.d/%{name}
|
/etc/audisp/plugins.d/sedispatch.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 16 2009 Dan Walsh <dwalsh@redhat.com> - 2.1.1-1
|
||||||
|
- Switch to C Based applet
|
||||||
|
- Use dbus for messaging. Only run setroubleshoot when
|
||||||
|
|
||||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.12-2
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.12-2
|
||||||
- Rebuild for Python 2.6
|
- Rebuild for Python 2.6
|
||||||
|
|
||||||
* Wed Oct 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.12-1
|
* Wed Oct 15 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.12-1
|
||||||
- Update to upstream
|
- Update to upstream
|
||||||
- 2008-10-06 Dan Walsh <dwalsh@redhat.com>
|
- 2008-10-06 Dan Walsh <dwalsh@redhat.com>
|
||||||
- remove .png from desktop files
|
- remove .png from desktop files
|
||||||
|
|
||||||
* Mon Sep 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.11-1
|
* Mon Sep 22 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.11-1
|
||||||
- Update to upstream
|
- Update to upstream
|
||||||
- 2008-10-22 <jdennis@redhat.com>
|
- 2008-10-22 <jdennis@redhat.com>
|
||||||
- Fix pruning code
|
- Fix pruning code
|
||||||
- Fix time stamps
|
- Fix time stamps
|
||||||
|
|
||||||
* Wed Sep 10 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.10-2
|
* Wed Sep 10 2008 Dan Walsh <dwalsh@redhat.com> - 2.0.10-2
|
||||||
- Fix requires line to gnome-python2-gnome
|
- Fix requires line to gnome-python2-gnome
|
||||||
@ -210,14 +215,14 @@ rm -rf %{buildroot}
|
|||||||
- Update translations
|
- Update translations
|
||||||
|
|
||||||
* Thu Feb 21 2008 <jdennis@redhat.com> - 2.0.6-1
|
* Thu Feb 21 2008 <jdennis@redhat.com> - 2.0.6-1
|
||||||
- add dialog to run a command in the background, capture it's stdout & stderr
|
- add dialog to run a command in the background, capture it's stdout & stderr
|
||||||
report it's status, kill it, and pass it a pseudo terminal for password prompts
|
report it's status, kill it, and pass it a pseudo terminal for password prompts
|
||||||
- separate the fix command into it's own section in formatted alerts
|
- separate the fix command into it's own section in formatted alerts
|
||||||
- add UI for running the fix command, enable only if there is a single selection
|
- add UI for running the fix command, enable only if there is a single selection
|
||||||
and the selected alert has a fix command
|
and the selected alert has a fix command
|
||||||
- add a config parameters 'run_fix_cmd_enable' to control if fix commands
|
- add a config parameters 'run_fix_cmd_enable' to control if fix commands
|
||||||
can be run, defaults to False
|
can be run, defaults to False
|
||||||
- Resolve bug #431380: prevent notify popups while setroubleshoot is open
|
- Resolve bug #431380: prevent notify popups while setroubleshoot is open
|
||||||
|
|
||||||
* Wed Feb 6 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
|
* Wed Feb 6 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
|
||||||
- allow sealert -l lookup to accept * wildcard
|
- allow sealert -l lookup to accept * wildcard
|
||||||
|
Loading…
Reference in New Issue
Block a user