From a88f7f8ec06f7e7f715a6510bf8ca567ea2a665cfcc0fdb089e4d6df60ca0c3f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 11 Jun 2009 12:56:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setroubleshoot-plugins?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + setroubleshoot-plugins-2.0.16.tar.bz2 | 3 ++ setroubleshoot-plugins.changes | 6 +++ setroubleshoot-plugins.spec | 73 +++++++++++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 setroubleshoot-plugins-2.0.16.tar.bz2 create mode 100644 setroubleshoot-plugins.changes create mode 100644 setroubleshoot-plugins.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/setroubleshoot-plugins-2.0.16.tar.bz2 b/setroubleshoot-plugins-2.0.16.tar.bz2 new file mode 100644 index 0000000..cfb09b8 --- /dev/null +++ b/setroubleshoot-plugins-2.0.16.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6de1ecc7c96d7371ee6c3d2030f05a09a82c17bee6dc3849e9367172e3191942 +size 663432 diff --git a/setroubleshoot-plugins.changes b/setroubleshoot-plugins.changes new file mode 100644 index 0000000..08b6734 --- /dev/null +++ b/setroubleshoot-plugins.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Jun 10 17:11:34 CEST 2009 - prusnak@suse.cz + +- initial version 2.0.16 + * based on Fedora package + diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec new file mode 100644 index 0000000..acab132 --- /dev/null +++ b/setroubleshoot-plugins.spec @@ -0,0 +1,73 @@ +# +# spec file for package setroubleshot-plugins +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: setroubleshoot-plugins +Version: 2.0.16 +Release: 1 +Url: https://fedorahosted.org/setroubleshoot +License: GPL v2 or later +Group: Applications/System +Summary: Helps troubleshoot SELinux problems +Source: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +BuildRequires: perl-XML-Parser intltool gettext python fdupes +%py_requires +Requires: dbus-1 +Requires: setroubleshoot-server >= 2.0.4 +Requires: policycoreutils >= 2.0.35 + +%description +This package provides a set of analysis plugins for use with +setroubleshoot. Each plugin has the capacity to analyze SELinux AVC +data and system data to provide user friendly reports describing how +to interpret SELinux AVC denials. + +%prep +%setup -q + +%build +%configure +make %{?jobs:-j%jobs} + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc +%find_lang %{name} +%fdupes $RPM_BUILD_ROOT%{_datadir}/locale +%fdupes $RPM_BUILD_ROOT%{_datadir}/setroubleshoot/plugins + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || : + +%postun +if [ "$1" -eq 0 ]; then + dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || : +fi + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog README +%dir %{_datadir}/setroubleshoot +%{_datadir}/setroubleshoot/plugins + +%changelog