Blame SOURCES/policycoreutils-fedora.patch

10f7fd
diff --git policycoreutils-2.8/newrole/newrole.1 policycoreutils-2.8/newrole/newrole.1
10f7fd
index 0d9738a..893c42f 100644
10f7fd
--- policycoreutils-2.8/newrole/newrole.1
10f7fd
+++ policycoreutils-2.8/newrole/newrole.1
10f7fd
@@ -44,7 +44,7 @@ specified by that range.  If the
10f7fd
 or
10f7fd
 .B --preserve-environment
10f7fd
 option is specified, the shell with the new SELinux context will preserve environment variables,
10f7fd
-otherwise a new minimal enviroment is created.
10f7fd
+otherwise a new minimal environment is created.
10f7fd
 .PP
10f7fd
 Additional arguments
10f7fd
 .I ARGS
10f7fd
diff --git policycoreutils-2.8/po/Makefile policycoreutils-2.8/po/Makefile
10f7fd
index 575e143..18bc1df 100644
10f7fd
--- policycoreutils-2.8/po/Makefile
10f7fd
+++ policycoreutils-2.8/po/Makefile
10f7fd
@@ -3,7 +3,6 @@
10f7fd
 #
10f7fd
 
10f7fd
 PREFIX ?= /usr
10f7fd
-TOP	 = ../..
10f7fd
 
10f7fd
 # What is this package?
10f7fd
 NLSPACKAGE	= policycoreutils
10f7fd
@@ -32,74 +31,13 @@ USE_LINGUAS := $(if $(USER_LINGUAS),$(USER_LINGUAS),$(PO_LINGUAS))
10f7fd
 
10f7fd
 POFILES		= $(patsubst %,%.po,$(USE_LINGUAS))
10f7fd
 MOFILES		= $(patsubst %.po,%.mo,$(POFILES))
10f7fd
-POTFILES = \
10f7fd
-	../run_init/open_init_pty.c \
10f7fd
-	../run_init/run_init.c \
10f7fd
-	../semodule_link/semodule_link.c \
10f7fd
-	../audit2allow/audit2allow \
10f7fd
-	../semanage/seobject.py \
10f7fd
-	../setsebool/setsebool.c \
10f7fd
-	../newrole/newrole.c \
10f7fd
-	../load_policy/load_policy.c \
10f7fd
-	../sestatus/sestatus.c \
10f7fd
-	../semodule/semodule.c \
10f7fd
-	../setfiles/setfiles.c \
10f7fd
-	../semodule_package/semodule_package.c \
10f7fd
-	../semodule_deps/semodule_deps.c \
10f7fd
-	../semodule_expand/semodule_expand.c \
10f7fd
-	../scripts/chcat \
10f7fd
-	../scripts/fixfiles \
10f7fd
-	../restorecond/stringslist.c \
10f7fd
-	../restorecond/restorecond.h \
10f7fd
-	../restorecond/utmpwatcher.h \
10f7fd
-	../restorecond/stringslist.h \
10f7fd
-	../restorecond/restorecond.c \
10f7fd
-	../restorecond/utmpwatcher.c \
10f7fd
-	../gui/booleansPage.py \
10f7fd
-	../gui/fcontextPage.py \
10f7fd
-	../gui/loginsPage.py \
10f7fd
-	../gui/mappingsPage.py \
10f7fd
-	../gui/modulesPage.py \
10f7fd
-	../gui/polgen.glade \
10f7fd
-	../gui/polgengui.py \
10f7fd
-	../gui/portsPage.py \
10f7fd
-	../gui/semanagePage.py \
10f7fd
-	../gui/statusPage.py \
10f7fd
-	../gui/system-config-selinux.glade \
10f7fd
-	../gui/system-config-selinux.py \
10f7fd
-	../gui/usersPage.py \
10f7fd
-	../secon/secon.c \
10f7fd
-	booleans.py \
10f7fd
-	../sepolicy/sepolicy.py \
10f7fd
-	../sepolicy/sepolicy/communicate.py \
10f7fd
-	../sepolicy/sepolicy/__init__.py \
10f7fd
-	../sepolicy/sepolicy/network.py \
10f7fd
-	../sepolicy/sepolicy/generate.py \
10f7fd
-	../sepolicy/sepolicy/sepolicy.glade \
10f7fd
-	../sepolicy/sepolicy/gui.py \
10f7fd
-	../sepolicy/sepolicy/manpage.py \
10f7fd
-	../sepolicy/sepolicy/transition.py \
10f7fd
-	../sepolicy/sepolicy/templates/executable.py \
10f7fd
-	../sepolicy/sepolicy/templates/__init__.py \
10f7fd
-	../sepolicy/sepolicy/templates/network.py \
10f7fd
-	../sepolicy/sepolicy/templates/rw.py \
10f7fd
-	../sepolicy/sepolicy/templates/script.py \
10f7fd
-	../sepolicy/sepolicy/templates/semodule.py \
10f7fd
-	../sepolicy/sepolicy/templates/tmp.py \
10f7fd
-	../sepolicy/sepolicy/templates/user.py \
10f7fd
-	../sepolicy/sepolicy/templates/var_lib.py \
10f7fd
-	../sepolicy/sepolicy/templates/var_log.py \
10f7fd
-	../sepolicy/sepolicy/templates/var_run.py \
10f7fd
-	../sepolicy/sepolicy/templates/var_spool.py
10f7fd
+POTFILES  = $(shell cat POTFILES)
10f7fd
 
10f7fd
 #default:: clean
10f7fd
 
10f7fd
-all::  $(MOFILES)
10f7fd
+all:: $(POTFILE) $(MOFILES)
10f7fd
 
10f7fd
-booleans.py:
10f7fd
-	sepolicy booleans -a > booleans.py
10f7fd
-
10f7fd
-$(POTFILE): $(POTFILES) booleans.py
10f7fd
+$(POTFILE): $(POTFILES)
10f7fd
 	$(XGETTEXT) --keyword=_ --keyword=N_ $(POTFILES)
10f7fd
 	@if cmp -s $(NLSPACKAGE).po $(POTFILE); then \
10f7fd
 	    rm -f $(NLSPACKAGE).po; \
10f7fd
@@ -107,8 +45,6 @@ $(POTFILE): $(POTFILES) booleans.py
10f7fd
 	    mv -f $(NLSPACKAGE).po $(POTFILE); \
10f7fd
 	fi; \
10f7fd
 
10f7fd
-update-po: Makefile $(POTFILE) refresh-po
10f7fd
-	@rm -f booleans.py
10f7fd
 
10f7fd
 refresh-po: Makefile
10f7fd
 	for cat in $(POFILES); do \
10f7fd
diff --git policycoreutils-2.8/po/POTFILES policycoreutils-2.8/po/POTFILES
10f7fd
new file mode 100644
10f7fd
index 0000000..12237dc
10f7fd
--- /dev/null
10f7fd
+++ policycoreutils-2.8/po/POTFILES
10f7fd
@@ -0,0 +1,9 @@
10f7fd
+../run_init/open_init_pty.c
10f7fd
+../run_init/run_init.c
10f7fd
+../setsebool/setsebool.c
10f7fd
+../newrole/newrole.c
10f7fd
+../load_policy/load_policy.c
10f7fd
+../sestatus/sestatus.c
10f7fd
+../semodule/semodule.c
10f7fd
+../setfiles/setfiles.c
10f7fd
+../secon/secon.c
10f7fd
diff --git policycoreutils-2.8/scripts/fixfiles policycoreutils-2.8/scripts/fixfiles
10f7fd
index b277958..53d28c7 100755
10f7fd
--- policycoreutils-2.8/scripts/fixfiles
10f7fd
+++ policycoreutils-2.8/scripts/fixfiles
10f7fd
@@ -108,6 +108,7 @@ exclude_dirs_from_relabelling() {
10f7fd
 fullFlag=0
10f7fd
 BOOTTIME=""
10f7fd
 VERBOSE="-p"
10f7fd
+[ -t 1 ] || VERBOSE=""
10f7fd
 FORCEFLAG=""
10f7fd
 RPMFILES=""
10f7fd
 PREFC=""
10f7fd
diff --git policycoreutils-2.8/setfiles/setfiles.8 policycoreutils-2.8/setfiles/setfiles.8
10f7fd
index ccaaf4d..a8a76c8 100644
10f7fd
--- policycoreutils-2.8/setfiles/setfiles.8
10f7fd
+++ policycoreutils-2.8/setfiles/setfiles.8
10f7fd
@@ -57,7 +57,7 @@ check the validity of the contexts against the specified binary policy.
10f7fd
 .TP
10f7fd
 .B \-d
10f7fd
 show what specification matched each file (do not abort validation
10f7fd
-after ABORT_ON_ERRORS errors).
10f7fd
+after ABORT_ON_ERRORS errors). Not affected by "\-q"
10f7fd
 .TP
10f7fd
 .BI \-e \ directory
10f7fd
 directory to exclude (repeat option for more than one directory).