SPECS: policycoreutils.spec - moved restorecond to subpackage

qboosh qboosh at pld-linux.org
Sat Dec 9 21:59:05 CET 2006


Author: qboosh                       Date: Sat Dec  9 20:59:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved restorecond to subpackage

---- Files affected:
SPECS:
   policycoreutils.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/policycoreutils.spec
diff -u SPECS/policycoreutils.spec:1.36 SPECS/policycoreutils.spec:1.37
--- SPECS/policycoreutils.spec:1.36	Fri Nov 24 00:50:06 2006
+++ SPECS/policycoreutils.spec	Sat Dec  9 21:58:59 2006
@@ -77,6 +77,25 @@
 %description tools-perl -l pl
 Zestaw narzędzi i skryptów policycoreutils napisanych w Perlu.
 
+%package restorecond
+Summary:	restorecond - daemon which corrects contexts of newly created files
+Summary(pl):	restorecond - demon poprawiający konteksty nowo tworzonych plików
+Group:		Daemons
+Requires:	%{name} = %{version}-%{release}
+Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
+
+%description restorecond
+restorecond daemon uses inotify to watch files listed in the
+/etc/selinux/restorecond.conf, when they are created, this daemon will
+make sure they have the correct file context associated with the
+policy.
+
+%description restorecond -l pl
+Demon restorecond używa inotify do śledzenia plików wymienionych w
+pliku /etc/selinux/restorecond.conf, aby przy ich tworzeniu upewnić
+się, że mają przypisane właściwe konteksty plików z polityki.
+
 %prep
 %setup -q
 
@@ -124,7 +143,6 @@
 %attr(755,root,root) %{_sbindir}/genhomedircon
 %attr(755,root,root) %{_sbindir}/load_policy
 %attr(755,root,root) %{_sbindir}/open_init_pty
-%attr(755,root,root) %{_sbindir}/restorecond
 %attr(755,root,root) %{_sbindir}/run_init
 %attr(755,root,root) %{_sbindir}/semanage
 %attr(755,root,root) %{_sbindir}/semodule
@@ -133,25 +151,45 @@
 %{py_sitescriptdir}/*.py[co]
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/newrole
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/run_init
-%attr(754,root,root) /etc/rc.d/init.d/restorecond
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/selinux/restorecond.conf
 %config(missingok) /etc/security/console.apps/*
 %config(noreplace) %verify(not md5 mtime size) /etc/sestatus.conf
 %{_mandir}/man1/newrole.1*
 %{_mandir}/man1/secon.1*
-%{_mandir}/man8/*
+%{_mandir}/man8/audit2why.8*
+%{_mandir}/man8/chcat.8*
+%{_mandir}/man8/fixfiles.8*
+%{_mandir}/man8/genhomedircon.8*
+%{_mandir}/man8/load_policy.8*
+%{_mandir}/man8/open_init_pty.8*
+%{_mandir}/man8/restorecon.8*
+%{_mandir}/man8/run_init.8*
+%{_mandir}/man8/semanage.8*
+%{_mandir}/man8/semodule*.8*
+%{_mandir}/man8/sestatus.8*
+%{_mandir}/man8/setfiles.8*
+%{_mandir}/man8/setsebool.8*
 
 %files tools-perl
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/audit2allow
 %{_mandir}/man1/audit2allow.1*
 
+%files restorecond
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/restorecond
+%attr(754,root,root) /etc/rc.d/init.d/restorecond
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/selinux/restorecond.conf
+%{_mandir}/man8/restorecond.8*
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2006/12/09 20:58:59  qboosh
+- moved restorecond to subpackage
+
 Revision 1.36  2006/11/23 23:50:06  qboosh
 - updated files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/policycoreutils.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list