SOURCES (DEVEL): coreutils-selinux.patch - updated for coreutils 6...

sparky sparky at pld-linux.org
Wed Nov 1 00:52:14 CET 2006


Author: sparky                       Date: Tue Oct 31 23:52:14 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- updated for coreutils 6.4; but po/pl.po dropped !

---- Files affected:
SOURCES:
   coreutils-selinux.patch (1.8 -> 1.8.4.1) 

---- Diffs:

================================================================
Index: SOURCES/coreutils-selinux.patch
diff -u SOURCES/coreutils-selinux.patch:1.8 SOURCES/coreutils-selinux.patch:1.8.4.1
--- SOURCES/coreutils-selinux.patch:1.8	Wed Apr 28 15:42:08 2004
+++ SOURCES/coreutils-selinux.patch	Wed Nov  1 00:52:09 2006
@@ -1,8 +1,26 @@
---- coreutils-5.2.1/configure.ac.selinux	2004-03-16 14:25:05.461535240 -0500
-+++ coreutils-5.2.1/configure.ac	2004-03-16 14:25:05.594515024 -0500
-@@ -14,6 +14,13 @@
- LIB_PAM="-ldl -lpam -lpam_misc"
- AC_SUBST(LIB_PAM)])
+diff -Nur coreutils-6.4/README coreutils-6.4.selinux/README
+--- coreutils-6.4/README	2006-10-22 16:54:15.000000000 +0000
++++ coreutils-6.4.selinux/README	2006-10-31 23:39:34.000000000 +0000
+@@ -7,11 +7,11 @@
+ 
+ The programs that can be built with this package are:
+ 
+-  [ base64 basename cat chgrp chmod chown chroot cksum comm cp csplit cut date
++  [ base64 basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date
+   dd df dir dircolors dirname du echo env expand expr factor false fmt fold
+   ginstall groups head hostid hostname id join kill link ln logname ls
+   md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr
+-  printenv printf ptx pwd readlink rm rmdir seq sha1sum sha224sum sha256sum
++  printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum sha224sum sha256sum
+   sha384sum sha512sum shred shuf sleep sort split stat stty su sum sync tac
+   tail tee test touch tr true tsort tty uname unexpand uniq unlink uptime
+   users vdir wc who whoami yes
+diff -Nur coreutils-6.4/configure.ac coreutils-6.4.selinux/configure.ac
+--- coreutils-6.4/configure.ac	2006-10-31 23:38:15.000000000 +0000
++++ coreutils-6.4.selinux/configure.ac	2006-10-31 23:39:34.000000000 +0000
+@@ -264,6 +264,13 @@
+   LIB_CRYPT=
+ fi
  
 +dnl Give the chance to enable SELINUX
 +AC_ARG_ENABLE(selinux, dnl
@@ -11,34 +29,122 @@
 +LIB_SELINUX="-lselinux"
 +AC_SUBST(LIB_SELINUX)])
 +
- gl_DEFAULT_POSIX2_VERSION
- gl_USE_SYSTEM_EXTENSIONS
- jm_PERL
---- coreutils-5.2.1/man/vdir.1.selinux	2004-03-02 17:52:33.000000000 -0500
-+++ coreutils-5.2.1/man/vdir.1	2004-03-16 14:25:05.596514720 -0500
-@@ -195,6 +195,20 @@
- .TP
- \fB\-1\fR
- list one file per line
+ AC_CONFIG_FILES(
+   Makefile
+   doc/Makefile
+diff -Nur coreutils-6.4/lib/config.hin coreutils-6.4.selinux/lib/config.hin
+--- coreutils-6.4/lib/config.hin	2006-10-22 20:36:23.000000000 +0000
++++ coreutils-6.4.selinux/lib/config.hin	2006-10-31 23:39:34.000000000 +0000
+@@ -1645,6 +1645,9 @@
+    'wint_t'. */
+ #undef WINT_T_SUFFIX
+ 
++/* Define if you want to use SELINUX */
++#undef WITH_SELINUX
++
+ /* Define to 1 if your processor stores words with the most significant byte
+    first (like Motorola and SPARC, unlike Intel and VAX). */
+ #undef WORDS_BIGENDIAN
+diff -Nur coreutils-6.4/man/Makefile.am coreutils-6.4.selinux/man/Makefile.am
+--- coreutils-6.4/man/Makefile.am	2006-10-31 23:38:15.000000000 +0000
++++ coreutils-6.4.selinux/man/Makefile.am	2006-10-31 23:39:34.000000000 +0000
+@@ -30,7 +30,7 @@
+   shred.1 shuf.1 sleep.1 sort.1 split.1 stat.1 stty.1 \
+   su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \
+   tty.1 uname.1 unexpand.1 uniq.1 unlink.1 uptime.1 users.1 vdir.1 wc.1 \
+-  who.1 whoami.1 yes.1
++  who.1 whoami.1 yes.1 chcon.1 runcon.1
+ man_MANS = getgid.1
+ 
+ man_aux = $(dist_man_MANS:.1=.x)
+@@ -139,6 +139,8 @@
+ who.1:		$(common_dep)	$(srcdir)/who.x		../src/who.c
+ whoami.1:	$(common_dep)	$(srcdir)/whoami.x	../src/whoami.c
+ yes.1:		$(common_dep)	$(srcdir)/yes.x		../src/yes.c
++chcon.1:	$(common_dep)	$(srcdir)/chcon.x	../src/chcon.c
++runcon.1:	$(common_dep)	$(srcdir)/runcon.x	../src/runcon.c
+ 
+ SUFFIXES = .x .1
+ 
+diff -Nur coreutils-6.4/man/chcon.1 coreutils-6.4.selinux/man/chcon.1
+--- coreutils-6.4/man/chcon.1	1970-01-01 00:00:00.000000000 +0000
++++ coreutils-6.4.selinux/man/chcon.1	2006-10-31 23:39:34.000000000 +0000
+@@ -0,0 +1,64 @@
++.TH CHCON 1 "July 2003" "chcon (coreutils) 5.0" "User Commands"
++.SH NAME
++chcon \- change security context
++.SH SYNOPSIS
++.B chcon
++[\fIOPTION\fR]...\fI CONTEXT FILE\fR...
++.br
++.B chcon
++[\fIOPTION\fR]...\fI --reference=RFILE FILE\fR...
++.SH DESCRIPTION
 +.PP
-+SELinux options:
++." Add any additional description here
++.PP
++Change the security context of each FILE to CONTEXT.
 +.TP
-+\fB\-\-lcontext\fR
-+Display security context.   Enable \fB\-l\fR. Lines
-+will probably be too wide for most displays.
++\fB\-c\fR, \fB\-\-changes\fR
++like verbose but report only when a change is made
 +.TP
-+\fB\-\-context\fR
-+Display security context so it fits on most
-+displays.  Displays only mode, user, group,
-+security context and file name.
++\fB\-h\fR, \fB\-\-no\-dereference\fR
++affect symbolic links instead of any referenced file (available only on systems with lchown system call)
 +.TP
-+\fB\-\-scontext\fR
-+Display only security context and file name.
- .TP
- \fB\-\-help\fR
- display this help and exit
---- coreutils-5.2.1/man/cp.1.selinux	2004-03-02 17:51:05.000000000 -0500
-+++ coreutils-5.2.1/man/cp.1	2004-03-16 14:25:05.598514416 -0500
++\fB\-f\fR, \fB\-\-silent\fR, \fB\-\-quiet\fR
++suppress most error messages
++.TP
++\fB\-l\fR, \fB\-\-range\fR
++set range RANGE in the target security context
++.TP
++\fB\-\-reference\fR=\fIRFILE\fR
++use RFILE's context instead of using a CONTEXT value
++.TP
++\fB\-R\fR, \fB\-\-recursive\fR
++change files and directories recursively
++.TP
++\fB\-r\fR, \fB\-\-role\fR
++set role ROLE in the target security context
++.TP
++\fB\-t\fR, \fB\-\-type\fR
++set type TYPE in the target security context
++.TP
++\fB\-u\fR, \fB\-\-user\fR
++set user USER in the target security context
++.TP
++\fB\-v\fR, \fB\-\-verbose\fR
++output a diagnostic for every file processed
++.TP
++\fB\-\-help\fR
++display this help and exit
++.TP
++\fB\-\-version\fR
++output version information and exit
++.SH "REPORTING BUGS"
++Report bugs to <email at host.com>.
++.SH "SEE ALSO"
++The full documentation for
++.B chcon
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B chcon
++programs are properly installed at your site, the command
++.IP
++.B info chcon
++.PP
++should give you access to the complete manual.
+diff -Nur coreutils-6.4/man/chcon.x coreutils-6.4.selinux/man/chcon.x
+--- coreutils-6.4/man/chcon.x	1970-01-01 00:00:00.000000000 +0000
++++ coreutils-6.4.selinux/man/chcon.x	2006-10-31 23:39:34.000000000 +0000
+@@ -0,0 +1,4 @@
++[NAME]
++chcon \- change file security context
++[DESCRIPTION]
++.\" Add any additional description here
+diff -Nur coreutils-6.4/man/cp.1 coreutils-6.4.selinux/man/cp.1
+--- coreutils-6.4/man/cp.1	2006-10-22 19:56:33.000000000 +0000
++++ coreutils-6.4.selinux/man/cp.1	2006-10-31 23:39:34.000000000 +0000
 @@ -57,7 +57,7 @@
  .TP
  \fB\-\-preserve\fR[=\fIATTR_LIST\fR]
@@ -48,7 +154,7 @@
  additional attributes: links, all
  .TP
  \fB\-\-no\-preserve\fR=\fIATTR_LIST\fR
-@@ -109,6 +109,9 @@
+@@ -106,6 +106,9 @@
  \fB\-\-help\fR
  display this help and exit
  .TP
@@ -58,20 +164,62 @@
  \fB\-\-version\fR
  output version information and exit
  .PP
---- coreutils-5.2.1/man/mkdir.1.selinux	2004-03-02 17:52:28.000000000 -0500
-+++ coreutils-5.2.1/man/mkdir.1	2004-03-16 14:25:05.604513504 -0500
-@@ -12,6 +12,8 @@
- .PP
- Mandatory arguments to long options are mandatory for short options too.
+diff -Nur coreutils-6.4/man/dir.1 coreutils-6.4.selinux/man/dir.1
+--- coreutils-6.4/man/dir.1	2006-10-22 19:56:34.000000000 +0000
++++ coreutils-6.4.selinux/man/dir.1	2006-10-31 23:39:34.000000000 +0000
+@@ -204,6 +204,20 @@
  .TP
-+\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR (SELinux) set security context to CONTEXT
+ \fB\-1\fR
+ list one file per line
++.PP
++SELinux options:
 +.TP
- \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
- set permission mode (as in chmod), not rwxrwxrwx - umask
++\fB\-\-lcontext\fR
++Display security context.   Enable \fB\-l\fR. Lines
++will probably be too wide for most displays.
++.TP
++\fB\-\-context\fR
++Display security context so it fits on most
++displays.  Displays only mode, user, group,
++security context and file name.
++.TP
++\fB\-\-scontext\fR
++Display only security context and file name.
+ .TP
+ \fB\-\-help\fR
+ display this help and exit
+diff -Nur coreutils-6.4/man/id.1 coreutils-6.4.selinux/man/id.1
+--- coreutils-6.4/man/id.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/id.1	2006-10-31 23:39:34.000000000 +0000
+@@ -13,6 +13,9 @@
+ \fB\-a\fR
+ ignore, for compatibility with other versions
+ .TP
++\fB\-Z\fR, \fB\-\-context\fR
++print only the security context
++.TP
+ \fB\-g\fR, \fB\-\-group\fR
+ print only the effective group ID
+ .TP
+diff -Nur coreutils-6.4/man/install.1 coreutils-6.4.selinux/man/install.1
+--- coreutils-6.4/man/install.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/install.1	2006-10-31 23:39:34.000000000 +0000
+@@ -66,6 +66,11 @@
+ .TP
+ \fB\-v\fR, \fB\-\-verbose\fR
+ print the name of each directory as it is created
++.HP
++\fB\-P\fR, \fB\-\-preserve_context\fR (SELinux) Preserve security context
++.TP
++\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
++(SELinux) Set security context of files and directories
  .TP
---- coreutils-5.2.1/man/ls.1.selinux	2004-03-02 17:52:28.000000000 -0500
-+++ coreutils-5.2.1/man/ls.1	2004-03-16 14:25:05.606513200 -0500
-@@ -195,6 +195,20 @@
+ \fB\-\-help\fR
+ display this help and exit
+diff -Nur coreutils-6.4/man/ls.1 coreutils-6.4.selinux/man/ls.1
+--- coreutils-6.4/man/ls.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/ls.1	2006-10-31 23:39:34.000000000 +0000
+@@ -204,6 +204,20 @@
  .TP
  \fB\-1\fR
  list one file per line
@@ -92,8 +240,21 @@
  .TP
  \fB\-\-help\fR
  display this help and exit
---- coreutils-5.2.1/man/mkfifo.1.selinux	2004-03-02 17:52:28.000000000 -0500
-+++ coreutils-5.2.1/man/mkfifo.1	2004-03-16 14:25:05.609512744 -0500
+diff -Nur coreutils-6.4/man/mkdir.1 coreutils-6.4.selinux/man/mkdir.1
+--- coreutils-6.4/man/mkdir.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/mkdir.1	2006-10-31 23:39:34.000000000 +0000
+@@ -12,6 +12,8 @@
+ .PP
+ Mandatory arguments to long options are mandatory for short options too.
+ .TP
++\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR (SELinux) set security context to CONTEXT
++.TP
+ \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
+ set file mode (as in chmod), not a=rwx \- umask
+ .TP
+diff -Nur coreutils-6.4/man/mkfifo.1 coreutils-6.4.selinux/man/mkfifo.1
+--- coreutils-6.4/man/mkfifo.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/mkfifo.1	2006-10-31 23:39:34.000000000 +0000
 @@ -12,6 +12,9 @@
  .PP
  Mandatory arguments to long options are mandatory for short options too.
@@ -102,30 +263,11 @@
 +set security context (quoted string)
 +.TP
  \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
- set permission mode (as in chmod), not a=rw - umask
+ set file permission bits to MODE, not a=rw \- umask
  .TP
---- coreutils-5.2.1/man/Makefile.am.selinux	2004-01-23 10:54:23.000000000 -0500
-+++ coreutils-5.2.1/man/Makefile.am	2004-03-16 14:25:05.614511984 -0500
-@@ -10,7 +10,7 @@
-   rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \
-   su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \
-   tty.1 uname.1 unexpand.1 uniq.1 unlink.1 uptime.1 users.1 vdir.1 wc.1 \
--  who.1 whoami.1 yes.1
-+  who.1 whoami.1 yes.1 chcon.1 runcon.1
- man_MANS = getgid.1
- 
- man_aux = $(dist_man_MANS:.1=.x)
-@@ -112,6 +112,8 @@
- who.1:		$(common_dep)	$(srcdir)/who.x		../src/who.c
- whoami.1:	$(common_dep)	$(srcdir)/whoami.x	../src/whoami.c
- yes.1:		$(common_dep)	$(srcdir)/yes.x		../src/yes.c
-+chcon.1:	$(common_dep)	$(srcdir)/chcon.x	../src/chcon.c
-+runcon.1:	$(common_dep)	$(srcdir)/runcon.x	../src/runcon.c
- 
- SUFFIXES = .x .1
- 
---- coreutils-5.2.1/man/mknod.1.selinux	2004-03-02 17:52:28.000000000 -0500
-+++ coreutils-5.2.1/man/mknod.1	2004-03-16 14:25:05.617511528 -0500
+diff -Nur coreutils-6.4/man/mknod.1 coreutils-6.4.selinux/man/mknod.1
+--- coreutils-6.4/man/mknod.1	2006-10-22 19:56:35.000000000 +0000
++++ coreutils-6.4.selinux/man/mknod.1	2006-10-31 23:39:34.000000000 +0000
 @@ -12,6 +12,9 @@
  .PP
  Mandatory arguments to long options are mandatory for short options too.
@@ -134,10 +276,11 @@
 +set security context (quoted string)
 +.TP
  \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
- set permission mode (as in chmod), not a=rw - umask
+ set file permission bits to MODE, not a=rw \- umask
  .TP
---- /dev/null	2004-02-23 16:02:56.000000000 -0500
-+++ coreutils-5.2.1/man/runcon.1	2004-03-16 14:25:05.619511224 -0500
+diff -Nur coreutils-6.4/man/runcon.1 coreutils-6.4.selinux/man/runcon.1
+--- coreutils-6.4/man/runcon.1	1970-01-01 00:00:00.000000000 +0000
++++ coreutils-6.4.selinux/man/runcon.1	2006-10-31 23:39:34.000000000 +0000
 @@ -0,0 +1,39 @@
 +.TH RUNCON "1" "July 2003" "runcon (coreutils) 5.0" "selinux"
 +.SH NAME
@@ -178,88 +321,16 @@
 +.PP
 +Note that only carefully-chosen contexts are likely to successfully
 +run.
---- /dev/null	2004-02-23 16:02:56.000000000 -0500
-+++ coreutils-5.2.1/man/chcon.1	2004-03-16 14:25:05.622510768 -0500
-@@ -0,0 +1,64 @@
-+.TH CHCON 1 "July 2003" "chcon (coreutils) 5.0" "User Commands"
-+.SH NAME
-+chcon \- change security context
-+.SH SYNOPSIS
-+.B chcon
-+[\fIOPTION\fR]...\fI CONTEXT FILE\fR...
-+.br
-+.B chcon
-+[\fIOPTION\fR]...\fI --reference=RFILE FILE\fR...
-+.SH DESCRIPTION
-+.PP
-+." Add any additional description here
-+.PP
-+Change the security context of each FILE to CONTEXT.
-+.TP
-+\fB\-c\fR, \fB\-\-changes\fR
-+like verbose but report only when a change is made
-+.TP
-+\fB\-h\fR, \fB\-\-no\-dereference\fR
-+affect symbolic links instead of any referenced file (available only on systems with lchown system call)
-+.TP
-+\fB\-f\fR, \fB\-\-silent\fR, \fB\-\-quiet\fR
-+suppress most error messages
-+.TP
-+\fB\-l\fR, \fB\-\-range\fR
-+set range RANGE in the target security context
-+.TP
-+\fB\-\-reference\fR=\fIRFILE\fR
-+use RFILE's context instead of using a CONTEXT value
-+.TP
-+\fB\-R\fR, \fB\-\-recursive\fR
-+change files and directories recursively
-+.TP
-+\fB\-r\fR, \fB\-\-role\fR
-+set role ROLE in the target security context
-+.TP
-+\fB\-t\fR, \fB\-\-type\fR
-+set type TYPE in the target security context
-+.TP
-+\fB\-u\fR, \fB\-\-user\fR
-+set user USER in the target security context
-+.TP
-+\fB\-v\fR, \fB\-\-verbose\fR
-+output a diagnostic for every file processed
-+.TP
-+\fB\-\-help\fR
-+display this help and exit
-+.TP
-+\fB\-\-version\fR
-+output version information and exit
-+.SH "REPORTING BUGS"
-+Report bugs to <email at host.com>.
-+.SH "SEE ALSO"
-+The full documentation for
-+.B chcon
-+is maintained as a Texinfo manual.  If the
-+.B info
-+and
-+.B chcon
-+programs are properly installed at your site, the command
-+.IP
-+.B info chcon
-+.PP
-+should give you access to the complete manual.
---- coreutils-5.2.1/man/id.1.selinux	2004-03-02 17:52:27.000000000 -0500
-+++ coreutils-5.2.1/man/id.1	2004-03-16 14:25:05.624510464 -0500
-@@ -13,6 +13,9 @@
- \fB\-a\fR
- ignore, for compatibility with other versions
- .TP
-+\fB\-Z\fR, \fB\-\-context\fR
-+print only the security context
-+.TP
- \fB\-g\fR, \fB\-\-group\fR
- print only the effective group ID
- .TP
---- coreutils-5.2.1/man/stat.1.selinux	2004-03-02 17:52:31.000000000 -0500
-+++ coreutils-5.2.1/man/stat.1	2004-03-16 14:25:05.627510008 -0500
-@@ -22,6 +22,9 @@
+diff -Nur coreutils-6.4/man/runcon.x coreutils-6.4.selinux/man/runcon.x
+--- coreutils-6.4/man/runcon.x	1970-01-01 00:00:00.000000000 +0000
++++ coreutils-6.4.selinux/man/runcon.x	2006-10-31 23:39:34.000000000 +0000
+@@ -0,0 +1,2 @@
++[DESCRIPTION]
++.\" Add any additional description here
+diff -Nur coreutils-6.4/man/stat.1 coreutils-6.4.selinux/man/stat.1
+--- coreutils-6.4/man/stat.1	2006-10-22 19:56:37.000000000 +0000
++++ coreutils-6.4.selinux/man/stat.1	2006-10-31 23:39:34.000000000 +0000
+@@ -28,6 +28,9 @@
  \fB\-t\fR, \fB\-\-terse\fR
  print the information in terse form
  .TP
@@ -269,9 +340,9 @@
  \fB\-\-help\fR
  display this help and exit
  .TP
-@@ -42,6 +45,9 @@
- %b
- Number of blocks allocated (see %B)
+@@ -51,6 +54,9 @@
+ %d
+ Device number in decimal
  .TP
 +%C
 +SELinux security context
@@ -279,16 +350,10 @@
  %D
  Device number in hex
  .TP
---- /dev/null	2004-02-23 16:02:56.000000000 -0500
-+++ coreutils-5.2.1/man/chcon.x	2004-03-16 14:25:05.629509704 -0500
-@@ -0,0 +1,4 @@
-+[NAME]
-+chcon \- change file security context
-+[DESCRIPTION]
-+.\" Add any additional description here
---- coreutils-5.2.1/man/dir.1.selinux	2004-03-02 17:51:06.000000000 -0500
-+++ coreutils-5.2.1/man/dir.1	2004-03-16 14:25:05.632509248 -0500
-@@ -195,6 +195,20 @@
+diff -Nur coreutils-6.4/man/vdir.1 coreutils-6.4.selinux/man/vdir.1
+--- coreutils-6.4/man/vdir.1	2006-10-22 19:56:39.000000000 +0000
++++ coreutils-6.4.selinux/man/vdir.1	2006-10-31 23:39:34.000000000 +0000
+@@ -204,6 +204,20 @@
  .TP
  \fB\-1\fR
  list one file per line
@@ -309,3952 +374,2145 @@
  .TP
  \fB\-\-help\fR
  display this help and exit
---- /dev/null	2004-02-23 16:02:56.000000000 -0500
-+++ coreutils-5.2.1/man/runcon.x	2004-03-16 14:25:05.634508944 -0500
-@@ -0,0 +1,2 @@
-+[DESCRIPTION]
-+.\" Add any additional description here
---- coreutils-5.2.1/man/install.1.selinux	2004-03-16 14:25:05.238569136 -0500
-+++ coreutils-5.2.1/man/install.1	2004-03-16 14:25:05.636508640 -0500
-@@ -60,6 +60,11 @@
- .TP
- \fB\-v\fR, \fB\-\-verbose\fR
- print the name of each directory as it is created
-+.HP
-+\fB\-P\fR, \fB\-\-preserve_context\fR (SELinux) Preserve security context
-+.TP
-+\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
-+(SELinux) Set security context of files and directories
- .TP
- \fB\-\-help\fR
- display this help and exit
---- coreutils-5.2.1/config.hin.selinux	2004-03-16 14:25:05.467534328 -0500
-+++ coreutils-5.2.1/config.hin	2004-03-16 14:25:05.640508032 -0500
-@@ -1374,6 +1374,9 @@
- /* Define if sys/ptem.h is required for struct winsize. */
- #undef WINSIZE_IN_PTEM
- 
-+/* Define if you want to use SELINUX */
-+#undef WITH_SELINUX
-+
- /* Define to 1 if your processor stores words with the most significant byte
-    first (like Motorola and SPARC, unlike Intel and VAX). */
- #undef WORDS_BIGENDIAN
---- coreutils-5.2.1/README.selinux	2004-01-18 02:59:41.000000000 -0500
-+++ coreutils-5.2.1/README	2004-03-16 14:25:05.641507880 -0500
-@@ -7,11 +7,11 @@
- 
- The programs that can be built with this package are:
- 
--  [ basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd
-+  [ basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd
-   df dir dircolors dirname du echo env expand expr factor false fmt fold
-   ginstall groups head hostid hostname id join kill link ln logname ls
-   md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr
--  printenv printf ptx pwd readlink rm rmdir seq sha1sum shred sleep sort
-+  printenv printf ptx pwd readlink rm rmdir runcon seq sha1sum shred sleep sort
-   split stat stty su sum sync tac tail tee test touch tr true tsort tty
-   uname unexpand uniq unlink uptime users vdir wc who whoami yes
- 
---- coreutils-5.2.1/tests/help-version.selinux	2004-02-17 11:04:23.000000000 -0500
-+++ coreutils-5.2.1/tests/help-version	2004-03-16 14:25:05.643507576 -0500
-@@ -42,6 +42,8 @@
- 
-     # Skip `test'; it doesn't accept --help or --version.
-     test $i = test && continue;
-+    test $i = chcon && continue;
-+    test $i = runcon && continue;
+diff -Nur coreutils-6.4/po/POTFILES.in coreutils-6.4.selinux/po/POTFILES.in
+--- coreutils-6.4/po/POTFILES.in	2006-10-31 23:38:15.000000000 +0000
++++ coreutils-6.4.selinux/po/POTFILES.in	2006-10-31 23:39:34.000000000 +0000
+@@ -33,6 +33,7 @@
+ src/base64.c
+ src/basename.c
+ src/cat.c
++src/chcon.c
+ src/chgrp.c
+ src/chmod.c
+ src/chown-core.c
+@@ -91,6 +92,7 @@
+ src/remove.c
+ src/rm.c
+ src/rmdir.c
++src/runcon.c
+ src/seq.c
+ src/setuidgid.c
+ src/shred.c
+diff -Nur coreutils-6.4/po/pl.po coreutils-6.4.selinux/po/pl.po
+--- coreutils-6.4/po/pl.po	2006-10-31 23:38:15.000000000 +0000
++++ coreutils-6.4.selinux/po/pl.po	2006-10-31 23:39:34.000000000 +0000
+@@ -1716,7 +1716,7 @@
+ "z\n"
+ "                                 nazw argumentów ŹRÓDŁOWYCH\n"
  
-     # false fails even when invoked with --help or --version.
-     if test $i = false; then
-@@ -154,7 +156,7 @@
+-#: src/cp.c:210
++#: src/cp.c:222
+ msgid ""
+ "  -s, --symbolic-link          make symbolic links instead of copying\n"
+ "  -S, --suffix=SUFFIX          override the usual backup suffix\n"
+@@ -3683,7 +3683,7 @@
+ msgid "invalid number of columns: %s"
+ msgstr "błędna liczba kolumn: %s"
  
- for i in $all_programs; do
-   # Skip these.
--  case $i in chroot|stty|tty|false) continue;; esac
-+  case $i in chroot|stty|tty|false|chcon|runcon) continue;; esac
+-#: src/getgid.c:37
++#: src/getgid.c:41
+ #, c-format
+ msgid ""
+ "Usage:\n"
+@@ -3863,8 +3863,8 @@
+ msgstr ""
+ "Wyświetla informację o UŻYTKOWNIKU lub o aktualnym użytkowniku.\n"
+ "\n"
+-"  -a              ignorowane, dla zachowania kompatybilności z innymi "
+-"wersjami\n"
++"  -a              ignorowane, dla zachowania kompatybilności z innymi wersjami\n"
++"  -Z, --context   wyświetlenie tylko kontekstu\n"
+ "  -g, --group     wyświetlenie tylko efektywnego identyfikatora grupy\n"
+ "  -G, --groups    wyświetlenie pełnej listy grup\n"
+ "  -n, --name      wyświetlenie nazw zamiast numerów, dla -ugG\n"
+@@ -5071,7 +5071,7 @@
+ "Utworzenie pliku specjalnego o podanej NAZWIE i TYPIE.\n"
+ "\n"
  
-   rm -rf $tmp_in $tmp_in2 $tmp_dir $tmp_out
-   echo > $tmp_in
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/coreutils-selinux.patch?r1=1.8&r2=1.8.4.1&f=u



More information about the pld-cvs-commit mailing list