rpms/coreutils/F-9 coreutils-selinux.patch, 1.46, 1.47 coreutils.spec, 1.218, 1.219
Ondrej Vasik
ovasik at fedoraproject.org
Sun Oct 12 16:20:41 UTC 2008
- Previous message (by thread): rpms/gnome-commander/devel .cvsignore, 1.13, 1.14 gnome-commander.spec, 1.30, 1.31 sources, 1.13, 1.14
- Next message (by thread): rpms/ldm/devel .cvsignore, 1.6, 1.7 ldm.spec, 1.11, 1.12 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ovasik
Update of /cvs/extras/rpms/coreutils/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31604
Modified Files:
coreutils-selinux.patch coreutils.spec
Log Message:
fix cp -Z issues(#466653, #466646), do not require preservation of SELinux CTX for preserve=all cp mode
coreutils-selinux.patch:
Index: coreutils-selinux.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/F-9/coreutils-selinux.patch,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- coreutils-selinux.patch 10 Oct 2008 07:33:22 -0000 1.46
+++ coreutils-selinux.patch 12 Oct 2008 16:20:10 -0000 1.47
@@ -31,9 +31,9 @@
.TP
\fB\-x\fR, \fB\-\-one\-file\-system\fR
stay on this file system
++.TP
+\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
+(SELinux) set SELinux security context of copy to CONTEXT
-+.TP
.TP
\fB\-\-help\fR
display this help and exit
@@ -384,24 +384,12 @@
x->require_preserve = false;
x->recursive = false;
-@@ -867,8 +873,10 @@ decode_preserve_arg (char const *arg, st
- x->preserve_timestamps = on_off;
- x->preserve_ownership = on_off;
- x->preserve_links = on_off;
-- if (selinux_enabled)
-+ if (selinux_enabled) {
- x->preserve_security_context = on_off;
-+ x->require_preserve_context = on_off;
-+ }
- break;
-
- default:
@@ -909,7 +917,7 @@ main (int argc, char **argv)
we'll actually use backup_suffix_string. */
backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX");
- while ((c = getopt_long (argc, argv, "abdfHilLprst:uvxPRS:T",
-+ while ((c = getopt_long (argc, argv, "abcdfHilLprst:uvxPRS:TZ",
++ while ((c = getopt_long (argc, argv, "abcdfHilLprst:uvxPRS:TZ:",
long_opts, NULL))
!= -1)
{
Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/F-9/coreutils.spec,v
retrieving revision 1.218
retrieving revision 1.219
diff -u -r1.218 -r1.219
--- coreutils.spec 10 Oct 2008 07:33:23 -0000 1.218
+++ coreutils.spec 12 Oct 2008 16:20:10 -0000 1.219
@@ -1,7 +1,7 @@
Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils
Version: 6.10
-Release: 31%{?dist}
+Release: 32%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@@ -340,6 +340,12 @@
/sbin/runuser
%changelog
+* Sun Oct 12 2008 Ondrej Vasik <ovasik at redhat.com> - 6.10-32
+- cp -Z now correctly separated in man page (#466646)
+- cp -Z works again (#466653)
+- make preservation of SELinux CTX non-mandatory for
+ preserve=all cp option
+
* Thu Oct 09 2008 Ondrej Vasik <ovasik at redhat.com> - 6.10-31
- do not double bugreport page in chcon
- do not mention --change chcon option in help and man
- Previous message (by thread): rpms/gnome-commander/devel .cvsignore, 1.13, 1.14 gnome-commander.spec, 1.30, 1.31 sources, 1.13, 1.14
- Next message (by thread): rpms/ldm/devel .cvsignore, 1.6, 1.7 ldm.spec, 1.11, 1.12 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list