Blame SOURCES/coreutils-8.22-selinux-optionsseparate.patch

f180de
diff -urNp coreutils-8.22-orig/src/cp.c coreutils-8.22/src/cp.c
f180de
--- coreutils-8.22-orig/src/cp.c	2015-06-11 15:58:04.230858212 +0200
f180de
+++ coreutils-8.22/src/cp.c	2015-06-11 15:59:13.191396755 +0200
f180de
@@ -233,8 +233,10 @@ Copy SOURCE to DEST, or multiple SOURCE(
f180de
   -x, --one-file-system        stay on this file system\n\
f180de
 "), stdout);
f180de
       fputs (_("\
f180de
-  -Z, --context[=CTX]          set SELinux security context of destination\n\
f180de
-                                 file to default type, or to CTX if specified\n\
f180de
+  -Z                           set SELinux security context of destination\n\
f180de
+                                 file to default type\n\
f180de
+      --context[=CTX]          like -Z, or if CTX is specified then set the\n\
f180de
+                                 SELinux or SMACK security context to CTX\n\
f180de
 "), stdout);
f180de
       fputs (HELP_OPTION_DESCRIPTION, stdout);
f180de
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
f180de
diff -urNp coreutils-8.22-orig/src/install.c coreutils-8.22/src/install.c
f180de
--- coreutils-8.22-orig/src/install.c	2015-06-11 15:58:04.230858212 +0200
f180de
+++ coreutils-8.22/src/install.c	2015-06-11 16:00:16.754893027 +0200
f180de
@@ -647,8 +647,10 @@ In the 4th form, create all components o
f180de
 "), stdout);
f180de
       fputs (_("\
f180de
   -P, --preserve-context  preserve SELinux security context (-P deprecated)\n\
f180de
-  -Z, --context[=CTX]     set SELinux security context of destination file to\n\
f180de
-                            default type, or to CTX if specified\n\
f180de
+  -Z                      set SELinux security context of destination\n\
f180de
+                            file to default type\n\
f180de
+      --context[=CTX]     like -Z, or if CTX is specified then set the\n\
f180de
+                            SELinux or SMACK security context to CTX\n\
f180de
 "), stdout);
f180de
 
f180de
       fputs (HELP_OPTION_DESCRIPTION, stdout);
f180de
diff -urNp coreutils-8.22-orig/src/mkdir.c coreutils-8.22/src/mkdir.c
f180de
--- coreutils-8.22-orig/src/mkdir.c	2013-12-05 01:59:36.000000000 +0100
f180de
+++ coreutils-8.22/src/mkdir.c	2015-06-11 16:01:17.209364915 +0200
f180de
@@ -66,8 +66,12 @@ Create the DIRECTORY(ies), if they do no
f180de
   -m, --mode=MODE   set file mode (as in chmod), not a=rwx - umask\n\
f180de
   -p, --parents     no error if existing, make parent directories as needed\n\
f180de
   -v, --verbose     print a message for each created directory\n\
f180de
-  -Z, --context[=CTX]  set the SELinux security context of each created\n\
f180de
-                         directory to default type or to CTX if specified\n\
f180de
+"), stdout);
f180de
+      fputs (_("\
f180de
+  -Z                   set SELinux security context of each created directory\n\
f180de
+                         to the default type\n\
f180de
+      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux\n\
f180de
+                         or SMACK security context to CTX\n\
f180de
 "), stdout);
f180de
       fputs (HELP_OPTION_DESCRIPTION, stdout);
f180de
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
f180de
diff -urNp coreutils-8.22-orig/src/mkfifo.c coreutils-8.22/src/mkfifo.c
f180de
--- coreutils-8.22-orig/src/mkfifo.c	2013-12-05 00:43:05.000000000 +0100
f180de
+++ coreutils-8.22/src/mkfifo.c	2015-06-11 16:02:03.389725315 +0200
f180de
@@ -61,8 +61,9 @@ Create named pipes (FIFOs) with the give
f180de
   -m, --mode=MODE    set file permission bits to MODE, not a=rw - umask\n\
f180de
 "), stdout);
f180de
       fputs (_("\
f180de
-  -Z, --context[=CTX]  set the SELinux security context of each NAME to\n\
f180de
-                         default type, or CTX if specified\n\
f180de
+  -Z                   set the SELinux security context to default type\n\
f180de
+      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux\n\
f180de
+                         or SMACK security context to CTX\n\
f180de
 "), stdout);
f180de
       fputs (HELP_OPTION_DESCRIPTION, stdout);
f180de
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
f180de
diff -urNp coreutils-8.22-orig/src/mknod.c coreutils-8.22/src/mknod.c
f180de
--- coreutils-8.22-orig/src/mknod.c	2013-12-05 00:43:05.000000000 +0100
f180de
+++ coreutils-8.22/src/mknod.c	2015-06-11 16:02:36.300982160 +0200
f180de
@@ -63,8 +63,9 @@ Create the special file NAME of the give
f180de
   -m, --mode=MODE    set file permission bits to MODE, not a=rw - umask\n\
f180de
 "), stdout);
f180de
       fputs (_("\
f180de
-  -Z, --context[=CTX]  set the SELinux security context of NAME to\n\
f180de
-                         default type, or to CTX if specified\n\
f180de
+  -Z                   set the SELinux security context to default type\n\
f180de
+      --context[=CTX]  like -Z, or if CTX is specified then set the SELinux\n\
f180de
+                         or SMACK security context to CTX\n\
f180de
 "), stdout);
f180de
       fputs (HELP_OPTION_DESCRIPTION, stdout);
f180de
       fputs (VERSION_OPTION_DESCRIPTION, stdout);