rpms/setroubleshoot/F-7 .cvsignore, 1.71, 1.72 setroubleshoot.spec, 1.86, 1.87 sources, 1.82, 1.83 setroubleshoot-autogen.patch, 1.1, NONE
John Dennis (jdennis)
fedora-extras-commits at redhat.com
Thu Aug 23 17:18:00 UTC 2007
- Previous message (by thread): rpms/kernel/devel patch-2.6.23-rc3-git6.bz2.sign, NONE, 1.1 .cvsignore, 1.672, 1.673 kernel.spec, 1.113, 1.114 sources, 1.635, 1.636 upstream, 1.557, 1.558 linux-2.6-powerpc-generic-suspend-1-remove-dead-code.patch, 1.1, NONE patch-2.6.23-rc3-git5.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/ocsinventory-ipdiscover/F-7 ocsinventory-ipdiscover.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jdennis
Update of /cvs/pkgs/rpms/setroubleshoot/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25114
Modified Files:
.cvsignore setroubleshoot.spec sources
Removed Files:
setroubleshoot-autogen.patch
Log Message:
update to latest upstream
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/F-7/.cvsignore,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- .cvsignore 25 Apr 2007 17:21:13 -0000 1.71
+++ .cvsignore 23 Aug 2007 17:17:27 -0000 1.72
@@ -1 +1 @@
-setroubleshoot-1.9.5.tar.gz
+setroubleshoot-1.10.0.tar.gz
Index: setroubleshoot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/F-7/setroubleshoot.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- setroubleshoot.spec 7 May 2007 18:57:47 -0000 1.86
+++ setroubleshoot.spec 23 Aug 2007 17:17:27 -0000 1.87
@@ -1,37 +1,42 @@
Summary: Helps troubleshoot SELinux problems
Name: setroubleshoot
-Version: 1.9.4
-Release: 2%{?dist}
+Version: 1.10.0
+Release: 1%{?dist}
License: GPL
Group: Applications/System
-URL: http://www.redhat.com/
+URL: https://hosted.fedoraproject.org/projects/setroubleshoot
Source0: %{name}-%{version}.tar.gz
Source1: setroubleshoot.init
Source2: setroubleshoot.logrotate
-Patch0: setroubleshoot-autogen.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl-XML-Parser
Requires: %{name}-server = %{version}-%{release}
+Requires: %{name}-plugins
Requires: pygtk2 >= 2.9.2
Requires: gnome-python2, gnome-python2-canvas
-Requires: usermode, rhpl
BuildRequires: desktop-file-utils
Requires: gnome-python2-gtkhtml2
+Requires: dbus
+Requires: dbus-python
+Requires: libxml2-python
Requires(post): /usr/bin/update-desktop-database
+Requires(post): dbus
Requires(postun): /usr/bin/update-desktop-database
+Requires(postun): dbus
Requires: notify-python
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define pkgpythondir %{python_sitelib}/%{name}
%define pkgdocdir %{_datadir}/doc/%{name}-%{version}
+%define pkgguidir %{_datadir}/%{name}/gui
%define pkgdatadir %{_datadir}/%{name}
%define pkglibexecdir %{_prefix}/libexec/%{name}
%define pkgvardatadir %{_localstatedir}/lib/%{name}
%define pkgrundir %{_localstatedir}/run/%{name}
%define pkgconfigdir %{_sysconfdir}/%{name}
%define pkglogdir %{_localstatedir}/log/%{name}
+%define pkgdatabase %{pkgvardatadir}/audit_listener_database.xml
%description
setroubleshoot gui. Application that allows you to view setroubleshoot-server
@@ -42,18 +47,21 @@
to user preference. The same tools can be run on existing log files.
%files
+%{pkgguidir}
%{_sysconfdir}/xdg/autostart/*
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/sealert.service
%{_datadir}/icons/hicolor
+%dir %attr(0755,root,root) %{pkgpythondir}
%{pkgpythondir}/browser.py*
-%{pkgpythondir}/gui_utils.py*
%{pkgpythondir}/email_dialog.py*
+%{pkgpythondir}/gui_utils.py*
%post
/usr/bin/update-desktop-database %{_datadir}/applications
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
@@ -62,7 +70,6 @@
%prep
%setup -q
-%patch0 -p1 -b .autogen
%build
%configure
@@ -73,7 +80,8 @@
make DESTDIR=%{buildroot} install
%{__install} -D -m755 %{SOURCE1} %{buildroot}/etc/rc.d/init.d/%{name}
%{__install} -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
-touch %{buildroot}%{pkgvardatadir}/audit_listener_database.xml
+desktop-file-install --vendor="" --dir=%{buildroot}%{_datadir}/applications %{buildroot}/%{_datadir}/applications/%{name}.desktop
+touch %{buildroot}%{pkgdatabase}
touch %{buildroot}%{pkgvardatadir}/email_alert_recipients
%find_lang %{name}
@@ -81,11 +89,18 @@
Summary: SELinux troubleshoot server
Group: Applications/System
+Requires: %{name}-plugins
Requires: audit >= 1.2.6-3
Requires: audit-libs-python >= 1.2.6-3
Requires: libselinux >= 1.30.15-1
+Requires: pygobject2
+Requires: dbus-python
+Requires: libxml2-python
+Requires: libselinux-python
+Requires: audit-libs-python
+Requires: libuser
-BuildRequires: intltool gettext python
+BuildRequires: python
Requires(post): /sbin/chkconfig
Requires(post): /sbin/service
@@ -100,7 +115,10 @@
to user preference. The same tools can be run on existing log files.
%post server
-[ -f %{pkgvardatadir}/database.xml ] && chmod 644 %{pkgvardatadir}/database.xml
+if [ -f %{pkgdatabase} ]; then
+ chown root:root %{pkgdatabase} >/dev/null 2>&1 || :
+ chmod 600 %{pkgdatabase} >/dev/null 2>&1 || :
+fi
/sbin/chkconfig --add %{name}
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
@@ -122,11 +140,13 @@
%{_bindir}/*
%{_sbindir}/*
%dir %attr(0755,root,root) %{pkgconfigdir}
+%dir %attr(0755,root,root) %{pkgpythondir}
%{pkgpythondir}/Plugin.py*
%{pkgpythondir}/__init__.py*
%{pkgpythondir}/access_control.py*
%{pkgpythondir}/analyze.py*
%{pkgpythondir}/avc_audit.py*
+%{pkgpythondir}/avc_auparse.py*
%{pkgpythondir}/config.py*
%{pkgpythondir}/email_alert.py*
%{pkgpythondir}/errcode.py*
@@ -141,18 +161,56 @@
%config %{pkgconfigdir}/%{name}.cfg
%dir %{pkglogdir}
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%config %{_sysconfdir}/dbus-1/system.d/setroubleshootd.conf
%dir %{pkgrundir}
%dir %{pkgvardatadir}
-%ghost %attr(0644,root,root) %{pkgvardatadir}/audit_listener_database.xml
+%ghost %attr(0600,root,root) %{pkgdatabase}
%ghost %attr(0644,root,root) %{pkgvardatadir}/email_alert_recipients
%{_mandir}/man8/sealert.8.gz
-
-/etc/rc.d/init.d/%{name}
+%attr(0755,root,root) /etc/rc.d/init.d/%{name}
%changelog
+* Thu Aug 23 2007 John Dennis <jdennis at redhat.com> - 1.10.0-1
+
+ - move all plugins and their translations to independent package
+ - wrap XML generation inside try/except
+ - correct how access list is obtained in avc_auparse.py
+ - add try/except around top level of AnalyzeThread.run so exceptions
+ in the thread get reported and the analysis thread does not just die.
+ - also add try/except around LogfileThread.process_logfile
+ - add new function assure_file_ownership_permissions()
+ - server now forces it's database file permissions/ownership to be 0600 root:root
+ - rpm now forces the server's database file permissions/ownership to be 0600 root:root
+ - Resolves Bug #251545: Review Request: setroubleshoot-plugins - analysis plugins for setroubleshoot
+ - clean up some other rpmlint warnings in setroubleshoot.spec
+ - fix missing install of setroubleshoot icon and sym link to it
+ - Resolves Bug #251551, setroubleshoot shows up in in wrong desktop menu
+ also run desktop-file-install in rpm install
+ - add /etc/dbus-1/system.d/setroubleshootd.conf dbus configuration file
+ - Resolves Bug #250979, Bug #250932 Missing dependencies
+ - Restore plugins/Makefile.am which got nuked somehow
+ - remove dus.dbus_bindings.bus_name_has_owner(), deprecated as of F7
+ - wrap rpm transactions in try/except
+
+* Tue Jun 12 2007 John Dennis <jdennis at redhat.com> - 1.9.7-1
+ - Resolves Bug# 241739, this bug is the lead bug for several bug reports,
+ all consequences of the same problem, setroubleshootd/sealert when run
+ in a non latin language environment because of incompatibilities in
+ i18n encoding between components.
+
+* Wed May 30 2007 John Dennis <jdennis at redhat.com> - 1.9.6-1
+ - add avc_auparse.py, now has option to use audit parsing library instead of
+ built-in audit parsing.
+ - fix bug in log file scanning and detail display update
+ - Resolves Bug# 238516, python pkg directory not owned
+
* Mon May 7 2007 John Dennis <jdennis at redhat.com> - 1.9.4-2
- Resolves bug# 233760, fix autogen problem resulting in /usr/local prefix
+* Wed Apr 25 2007 Dan Walsh <dwalsh at redhat.com> - 1.9.5-1
+ - Update translations
+ - Fix mislabeled file
+
* Mon Mar 19 2007 Dan Walsh <dwalsh at redhat.com> - 1.9.4-1
- Remove disable_trans boolean
- Check for paths in filesystem before suggesting chcon -R
@@ -695,7 +753,7 @@
- fix allow_execmod plugin to report better data.
* Mon Jun 26 2006 John Dennis <jdennis at redhat.com> - 0.3-1
- - add missing /var/log directory %files section in spec file,
+ - add missing /var/log directory files section in spec file,
and add logrotate script
* Mon Jun 26 2006 John Dennis <jdennis at redhat.com> - 0.2-1
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/setroubleshoot/F-7/sources,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- sources 7 May 2007 19:36:47 -0000 1.82
+++ sources 23 Aug 2007 17:17:27 -0000 1.83
@@ -1 +1 @@
-dcbe7f3db18ec3f30583897b562b5cb8 setroubleshoot-1.9.4.tar.gz
+f9aa965a3f3278e2c593fd757a064312 setroubleshoot-1.10.0.tar.gz
--- setroubleshoot-autogen.patch DELETED ---
- Previous message (by thread): rpms/kernel/devel patch-2.6.23-rc3-git6.bz2.sign, NONE, 1.1 .cvsignore, 1.672, 1.673 kernel.spec, 1.113, 1.114 sources, 1.635, 1.636 upstream, 1.557, 1.558 linux-2.6-powerpc-generic-suspend-1-remove-dead-code.patch, 1.1, NONE patch-2.6.23-rc3-git5.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/ocsinventory-ipdiscover/F-7 ocsinventory-ipdiscover.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list