rpms/policycoreutils/devel policycoreutils-rhat.patch,1.230,1.231

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 11 20:58:48 UTC 2006


Author: dwalsh

Update of /cvs/dist/rpms/policycoreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23605

Modified Files:
	policycoreutils-rhat.patch 
Log Message:
* Mon Sep 11 2006 Dan Walsh <dwalsh at redhat.com> 1.30.28-7
- Make restorecon return the number of changes files if you use the -n flag


policycoreutils-rhat.patch:
 audit2allow/audit2allow      |    2 -
 audit2allow/avc.py           |    2 -
 newrole/newrole.c            |    1 
 restorecon/restorecon.8      |   11 ++++++---
 restorecon/restorecon.c      |   48 +++++++++++++++++++++++--------------------
 restorecond/restorecond.init |    6 ++---
 scripts/chcat                |    2 -
 scripts/fixfiles             |   12 +++++-----
 scripts/genhomedircon        |    2 -
 secon/Makefile               |    4 +--
 semanage/semanage            |    2 -
 semanage/semanage.8          |    4 +--
 semanage/seobject.py         |    2 -
 setfiles/setfiles.8          |    6 ++---
 setfiles/setfiles.c          |   28 ++++++++-----------------
 15 files changed, 65 insertions(+), 67 deletions(-)

Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- policycoreutils-rhat.patch	11 Sep 2006 14:29:14 -0000	1.230
+++ policycoreutils-rhat.patch	11 Sep 2006 20:58:46 -0000	1.231
@@ -313,6 +313,21 @@
  # Copyright (C) 2005 Red Hat 
  # see file 'COPYING' for use and warranty information
  #
+diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/semanage/semanage.8 policycoreutils-1.30.28/semanage/semanage.8
+--- nsapolicycoreutils/semanage/semanage.8	2006-08-28 16:58:18.000000000 -0400
++++ policycoreutils-1.30.28/semanage/semanage.8	2006-09-11 16:02:25.000000000 -0400
+@@ -88,9 +88,9 @@
+ # View SELinux user mappings
+ $ semanage user -l
+ # Allow joe to login as staff_u
+-$ semanage login -a -s staff_u
++$ semanage login -a -s staff_u joe
+ # Add file-context for everything under /web (used by restorecon)
+-$ semanage fcontext -a -t httpd_sys_content_t '/web(/.*)?'
++$ semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
+ # Allow Apache to listen on port 81
+ $ semanage port -a -t http_port_t -p tcp 81
+ .fi
 diff --exclude-from=exclude --exclude='*.po' -N -u -r nsapolicycoreutils/semanage/seobject.py policycoreutils-1.30.28/semanage/seobject.py
 --- nsapolicycoreutils/semanage/seobject.py	2006-08-28 16:58:18.000000000 -0400
 +++ policycoreutils-1.30.28/semanage/seobject.py	2006-09-08 09:12:12.000000000 -0400




More information about the fedora-cvs-commits mailing list