- Include new hashes (bug #196369). Patch from upstream.

This commit is contained in:
Tim Waugh 2006-06-22 22:41:57 +00:00
parent 6d39407cbd
commit 7a87ac9efa
3 changed files with 221 additions and 210 deletions

View File

@ -1,93 +1,5 @@
--- /dev/null 2005-10-10 09:36:06.437701000 +0100 --- coreutils-5.96/src/su.c.runuser 2006-06-22 23:31:37.000000000 +0100
+++ coreutils-5.93/man/runuser.1 2005-11-14 10:54:44.000000000 +0000 +++ coreutils-5.96/src/su.c 2006-06-22 23:31:37.000000000 +0100
@@ -0,0 +1,59 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33.
+.TH RUNUSER "1" "September 2004" "runuser (coreutils) 5.2.1" "User Commands"
+.SH NAME
+runuser \- run a shell with substitute user and group IDs, similar to su, but will not prompt for password.
+.SH SYNOPSIS
+.B runuser
+[\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...]
+.SH DESCRIPTION
+.\" Add any additional description here
+.PP
+Change the effective user id and group id to that of USER.
+.TP
+-, \fB\-l\fR, \fB\-\-login\fR
+make the shell a login shell
+.TP
+\fB\-c\fR, \fB\-\-commmand\fR=\fICOMMAND\fR
+pass a single COMMAND to the shell with \fB\-c\fR
+.TP
+\fB\-f\fR, \fB\-\-fast\fR
+pass \fB\-f\fR to the shell (for csh or tcsh)
+.TP
+\fB\-m\fR, \fB\-\-preserve\-environment\fR
+do not reset environment variables
+.TP
+\fB\-p\fR
+same as \fB\-m\fR
+.TP
+\fB\-s\fR, \fB\-\-shell\fR=\fISHELL\fR
+run SHELL if /etc/shells allows it
+.TP
+\fB\-\-help\fR
+display this help and exit
+.TP
+\fB\-\-version\fR
+output version information and exit
+.PP
+A mere - implies \fB\-l\fR. If USER not given, assume root.
+.SH AUTHOR
+Written by David MacKenzie, Dan Walsh.
+.SH "REPORTING BUGS"
+Report bugs to <bug-coreutils@gnu.org>.
+.SH COPYRIGHT
+Copyright \(co 2004 Free Software Foundation, Inc.
+.br
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO"
+Since this command is trimmed down version of su use you can use the su manual.
+The full documentation for
+.B su
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B su
+programs are properly installed at your site, the command
+.IP
+.B info coreutils su
+.PP
+should give you access to the complete manual.
--- coreutils-5.93/man/Makefile.am.runuser 2005-10-13 15:12:51.000000000 +0100
+++ coreutils-5.93/man/Makefile.am 2005-11-14 10:54:44.000000000 +0000
@@ -7,7 +7,7 @@
link.1 ln.1 logname.1 \
ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \
- rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \
+ rm.1 rmdir.1 runuser.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
@@ -81,6 +81,7 @@
readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c
rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c
rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c
+runuser.1: $(common_dep) $(srcdir)/runuser.x ../src/su.c
seq.1: $(common_dep) $(srcdir)/seq.x ../src/seq.c
sha1sum.1: $(common_dep) $(srcdir)/sha1sum.x ../src/md5sum.c
shred.1: $(common_dep) $(srcdir)/shred.x ../src/shred.c
--- /dev/null 2005-10-10 09:36:06.437701000 +0100
+++ coreutils-5.93/man/runuser.x 2005-11-14 10:54:45.000000000 +0000
@@ -0,0 +1,4 @@
+[NAME]
+runuser \- run a shell with substitute user and group IDs
+[DESCRIPTION]
+.\" Add any additional description here
--- coreutils-5.93/src/su.c 2005-11-14 10:54:44.000000000 +0000
+++ coreutils-5.93/src/su.c 2005-11-24 16:12:18.000000000 +0000
@@ -132,9 +132,15 @@ @@ -132,9 +132,15 @@
#include "error.h" #include "error.h"
@ -157,8 +69,8 @@
{ {
#ifdef SYSLOG_FAILURE #ifdef SYSLOG_FAILURE
log_su (pw, false); log_su (pw, false);
--- coreutils-5.93/src/Makefile.am 2005-11-14 10:54:44.000000000 +0000 --- coreutils-5.96/src/Makefile.am.runuser 2006-06-22 23:31:37.000000000 +0100
+++ coreutils-5.93/src/Makefile.am 2005-11-24 16:18:58.000000000 +0000 +++ coreutils-5.96/src/Makefile.am 2006-06-22 23:31:37.000000000 +0100
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
## along with this program; if not, write to the Free Software Foundation, ## along with this program; if not, write to the Free Software Foundation,
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@ -168,7 +80,8 @@
bin_SCRIPTS = groups bin_SCRIPTS = groups
bin_PROGRAMS = [ chgrp chown chmod cp dd dircolors du \ bin_PROGRAMS = [ chgrp chown chmod cp dd dircolors du \
@@ -93,4 +93,8 @@ @@ -94,6 +94,10 @@
su_LDADD = $(LDADD) $(LIB_CRYPT) @LIB_PAM@ su_LDADD = $(LDADD) $(LIB_CRYPT) @LIB_PAM@
+runuser_SOURCES = su.c +runuser_SOURCES = su.c
@ -177,7 +90,8 @@
+ +
$(PROGRAMS): ../lib/libcoreutils.a $(PROGRAMS): ../lib/libcoreutils.a
@@ -106,7 +110,7 @@ SUFFIXES = .sh
@@ -108,7 +112,7 @@
chmod +x $@-t chmod +x $@-t
mv $@-t $@ mv $@-t $@
@ -186,9 +100,9 @@
installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'` installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
--- coreutils-5.93/tests/help-version.runuser 2005-01-05 22:08:48.000000000 +0000 --- coreutils-5.96/tests/help-version.runuser 2006-02-07 09:13:43.000000000 +0000
+++ coreutils-5.93/tests/help-version 2005-11-14 10:54:45.000000000 +0000 +++ coreutils-5.96/tests/help-version 2006-06-22 23:31:37.000000000 +0100
@@ -136,6 +136,7 @@ @@ -137,6 +137,7 @@
seq_args=10 seq_args=10
sleep_args=0 sleep_args=0
su_args=--version su_args=--version
@ -196,24 +110,112 @@
test_args=foo test_args=foo
# This is necessary in the unusual event that there is # This is necessary in the unusual event that there is
--- coreutils-5.93/README.runuser 2005-09-28 19:34:26.000000000 +0100 --- coreutils-5.96/AUTHORS.runuser 2006-06-22 23:31:37.000000000 +0100
+++ coreutils-5.93/README 2005-11-14 10:54:45.000000000 +0000 +++ coreutils-5.96/AUTHORS 2006-06-22 23:31:37.000000000 +0100
@@ -11,7 +11,7 @@ @@ -60,6 +60,7 @@
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 runuser 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.93/AUTHORS.runuser 2004-11-03 23:10:50.000000000 +0000
+++ coreutils-5.93/AUTHORS 2005-11-14 10:54:45.000000000 +0000
@@ -59,6 +59,7 @@
readlink: Dmitry V. Levin readlink: Dmitry V. Levin
rm: Paul Rubin, David MacKenzie, Richard Stallman, Jim Meyering rm: Paul Rubin, David MacKenzie, Richard Stallman, Jim Meyering
rmdir: David MacKenzie rmdir: David MacKenzie
+runuser: David MacKenzie, Dan Walsh +runuser: David MacKenzie, Dan Walsh
seq: Ulrich Drepper seq: Ulrich Drepper
sha1sum: Ulrich Drepper, Scott Miller sha1sum: Ulrich Drepper, Scott Miller, David Madore
shred: Colin Plumb sha224sum: Ulrich Drepper, Scott Miller, David Madore
--- coreutils-5.96/README.runuser 2006-06-22 23:31:37.000000000 +0100
+++ coreutils-5.96/README 2006-06-22 23:32:02.000000000 +0100
@@ -12,7 +12,7 @@
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
+ printenv printf ptx pwd readlink rm rmdir runuser seq sha1sum sha224sum
sha256sum sha384sum sha512sum 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
--- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.96/man/runuser.x 2006-06-22 23:31:37.000000000 +0100
@@ -0,0 +1,4 @@
+[NAME]
+runuser \- run a shell with substitute user and group IDs
+[DESCRIPTION]
+.\" Add any additional description here
--- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.96/man/runuser.1 2006-06-22 23:31:37.000000000 +0100
@@ -0,0 +1,59 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33.
+.TH RUNUSER "1" "September 2004" "runuser (coreutils) 5.2.1" "User Commands"
+.SH NAME
+runuser \- run a shell with substitute user and group IDs, similar to su, but will not prompt for password.
+.SH SYNOPSIS
+.B runuser
+[\fIOPTION\fR]... [\fI-\fR] [\fIUSER \fR[\fIARG\fR]...]
+.SH DESCRIPTION
+.\" Add any additional description here
+.PP
+Change the effective user id and group id to that of USER.
+.TP
+-, \fB\-l\fR, \fB\-\-login\fR
+make the shell a login shell
+.TP
+\fB\-c\fR, \fB\-\-commmand\fR=\fICOMMAND\fR
+pass a single COMMAND to the shell with \fB\-c\fR
+.TP
+\fB\-f\fR, \fB\-\-fast\fR
+pass \fB\-f\fR to the shell (for csh or tcsh)
+.TP
+\fB\-m\fR, \fB\-\-preserve\-environment\fR
+do not reset environment variables
+.TP
+\fB\-p\fR
+same as \fB\-m\fR
+.TP
+\fB\-s\fR, \fB\-\-shell\fR=\fISHELL\fR
+run SHELL if /etc/shells allows it
+.TP
+\fB\-\-help\fR
+display this help and exit
+.TP
+\fB\-\-version\fR
+output version information and exit
+.PP
+A mere - implies \fB\-l\fR. If USER not given, assume root.
+.SH AUTHOR
+Written by David MacKenzie, Dan Walsh.
+.SH "REPORTING BUGS"
+Report bugs to <bug-coreutils@gnu.org>.
+.SH COPYRIGHT
+Copyright \(co 2004 Free Software Foundation, Inc.
+.br
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+.SH "SEE ALSO"
+Since this command is trimmed down version of su use you can use the su manual.
+The full documentation for
+.B su
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B su
+programs are properly installed at your site, the command
+.IP
+.B info coreutils su
+.PP
+should give you access to the complete manual.
--- coreutils-5.96/man/Makefile.am.runuser 2006-06-22 23:31:37.000000000 +0100
+++ coreutils-5.96/man/Makefile.am 2006-06-22 23:31:37.000000000 +0100
@@ -7,7 +7,7 @@
link.1 ln.1 logname.1 \
ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \
- rm.1 rmdir.1 seq.1 sha1sum.1 sha224sum.1 sha256sum.1 sha384sum.1 sha512sum.1 \
+ rm.1 rmdir.1 runuser.1 seq.1 sha1sum.1 sha224sum.1 sha256sum.1 sha384sum.1 sha512sum.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 \
@@ -83,6 +83,7 @@
readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c
rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c
rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c
+runuser.1: $(common_dep) $(srcdir)/runuser.x ../src/su.c
seq.1: $(common_dep) $(srcdir)/seq.x ../src/seq.c
sha1sum.1: $(common_dep) $(srcdir)/sha1sum.x ../src/md5sum.c
sha224sum.1: $(common_dep) $(srcdir)/sha224sum.x ../src/md5sum.c

View File

@ -1,5 +1,5 @@
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/src/chcon.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/chcon.c 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,421 @@ @@ -0,0 +1,421 @@
+/* chcontext -- change security context of a pathname */ +/* chcontext -- change security context of a pathname */
+ +
@ -422,8 +422,8 @@
+ freecon(ref_context); + freecon(ref_context);
+ exit (errors); + exit (errors);
+} +}
--- coreutils-5.94/src/mv.c.selinux 2006-03-24 13:23:38.000000000 +0000 --- coreutils-5.96/src/mv.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/mv.c 2006-03-24 13:23:44.000000000 +0000 +++ coreutils-5.96/src/mv.c 2006-06-22 23:32:16.000000000 +0100
@@ -34,6 +34,11 @@ @@ -34,6 +34,11 @@
#include "quote.h" #include "quote.h"
#include "remove.h" #include "remove.h"
@ -457,8 +457,8 @@
/* FIXME: consider not calling getenv for SIMPLE_BACKUP_SUFFIX unless /* FIXME: consider not calling getenv for SIMPLE_BACKUP_SUFFIX unless
we'll actually use backup_suffix_string. */ we'll actually use backup_suffix_string. */
backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX"); backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX");
--- coreutils-5.94/src/mkdir.c.selinux 2005-06-15 00:55:47.000000000 +0100 --- coreutils-5.96/src/mkdir.c.selinux 2005-06-15 00:55:47.000000000 +0100
+++ coreutils-5.94/src/mkdir.c 2006-03-24 13:23:44.000000000 +0000 +++ coreutils-5.96/src/mkdir.c 2006-06-22 23:32:16.000000000 +0100
@@ -34,11 +34,18 @@ @@ -34,11 +34,18 @@
#define AUTHORS "David MacKenzie" #define AUTHORS "David MacKenzie"
@ -523,8 +523,8 @@
case_GETOPT_HELP_CHAR; case_GETOPT_HELP_CHAR;
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default: default:
--- coreutils-5.94/src/cp.c.selinux 2006-03-24 13:23:38.000000000 +0000 --- coreutils-5.96/src/cp.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/cp.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/cp.c 2006-06-22 23:32:16.000000000 +0100
@@ -51,6 +51,11 @@ @@ -51,6 +51,11 @@
#define AUTHORS "Torbjorn Granlund", "David MacKenzie", "Jim Meyering" #define AUTHORS "Torbjorn Granlund", "David MacKenzie", "Jim Meyering"
@ -675,8 +675,8 @@
case REPLY_OPTION: /* Deprecated */ case REPLY_OPTION: /* Deprecated */
x.interactive = XARGMATCH ("--reply", optarg, x.interactive = XARGMATCH ("--reply", optarg,
--- coreutils-5.94/src/install.c.selinux 2006-03-24 13:23:44.000000000 +0000 --- coreutils-5.96/src/install.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/install.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/install.c 2006-06-22 23:32:16.000000000 +0100
@@ -48,6 +48,43 @@ @@ -48,6 +48,43 @@
# include <sys/wait.h> # include <sys/wait.h>
#endif #endif
@ -839,8 +839,8 @@
fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout);
fputs (_("\ fputs (_("\
--- coreutils-5.94/src/copy.h.selinux 2006-03-24 13:23:38.000000000 +0000 --- coreutils-5.96/src/copy.h.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/copy.h 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/copy.h 2006-06-22 23:32:16.000000000 +0100
@@ -127,6 +127,9 @@ @@ -127,6 +127,9 @@
bool preserve_ownership; bool preserve_ownership;
bool preserve_mode; bool preserve_mode;
@ -851,9 +851,9 @@
/* Enabled for mv, and for cp by the --preserve=links option. /* Enabled for mv, and for cp by the --preserve=links option.
If true, attempt to preserve in the destination files any If true, attempt to preserve in the destination files any
--- coreutils-5.94/src/Makefile.am.selinux 2006-03-24 13:23:43.000000000 +0000 --- coreutils-5.96/src/Makefile.am.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/Makefile.am 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/Makefile.am 2006-06-22 23:32:16.000000000 +0100
@@ -20,13 +20,13 @@ @@ -20,14 +20,14 @@
EXTRA_PROGRAMS = chroot df hostid nice pinky stty su runuser uname uptime users who EXTRA_PROGRAMS = chroot df hostid nice pinky stty su runuser uname uptime users who
bin_SCRIPTS = groups bin_SCRIPTS = groups
@ -862,14 +862,15 @@
ginstall link ln dir vdir ls mkdir \ ginstall link ln dir vdir ls mkdir \
mkfifo mknod mv nohup readlink rm rmdir shred stat sync touch unlink \ mkfifo mknod mv nohup readlink rm rmdir shred stat sync touch unlink \
cat cksum comm csplit cut expand fmt fold head join md5sum \ cat cksum comm csplit cut expand fmt fold head join md5sum \
nl od paste pr ptx sha1sum sort split sum tac tail tr tsort unexpand uniq wc \ nl od paste pr ptx sha1sum sha224sum sha256sum sha384sum sha512sum \
sort split sum tac tail tr tsort unexpand uniq wc \
basename date dirname echo env expr factor false \ basename date dirname echo env expr factor false \
- hostname id kill logname pathchk printenv printf pwd seq sleep tee \ - hostname id kill logname pathchk printenv printf pwd seq sleep tee \
+ hostname id kill logname pathchk printenv printf pwd runcon seq sleep tee \ + hostname id kill logname pathchk printenv printf pwd runcon seq sleep tee \
test true tty whoami yes \ test true tty whoami yes \
base64 \
$(OPTIONAL_BIN_PROGS) $(DF_PROG) $(OPTIONAL_BIN_PROGS) $(DF_PROG)
@@ -52,9 +52,9 @@
@@ -50,9 +50,9 @@
LDADD = ../lib/libcoreutils.a $(LIBINTL) ../lib/libcoreutils.a LDADD = ../lib/libcoreutils.a $(LIBINTL) ../lib/libcoreutils.a
# for eaccess in lib/euidaccess.c. # for eaccess in lib/euidaccess.c.
@ -882,7 +883,7 @@
pathchk_LDADD = $(LDADD) $(LIB_EACCESS) pathchk_LDADD = $(LDADD) $(LIB_EACCESS)
rm_LDADD = $(LDADD) $(LIB_EACCESS) rm_LDADD = $(LDADD) $(LIB_EACCESS)
test_LDADD = $(LDADD) $(LIB_EACCESS) test_LDADD = $(LDADD) $(LIB_EACCESS)
@@ -61,11 +61,18 @@ @@ -63,11 +63,18 @@
# for clock_gettime and fdatasync # for clock_gettime and fdatasync
dd_LDADD = $(LDADD) $(LIB_GETHRXTIME) $(LIB_FDATASYNC) dd_LDADD = $(LDADD) $(LIB_GETHRXTIME) $(LIB_FDATASYNC)
@ -904,8 +905,8 @@
## If necessary, add -lm to resolve use of pow in lib/strtod.c. ## If necessary, add -lm to resolve use of pow in lib/strtod.c.
sort_LDADD = $(LDADD) $(POW_LIB) sort_LDADD = $(LDADD) $(POW_LIB)
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/src/runcon.c 2006-03-24 13:23:44.000000000 +0000 +++ coreutils-5.96/src/runcon.c 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,253 @@ @@ -0,0 +1,253 @@
+/* +/*
+ * runcon [ context | + * runcon [ context |
@ -1160,8 +1161,8 @@
+ } + }
+ return 1; /* can't reach this statement.... */ + return 1; /* can't reach this statement.... */
+} +}
--- coreutils-5.94/src/ls.c 2006-03-24 13:23:45.000000000 +0000 --- coreutils-5.96/src/ls.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/ls.c 2006-04-20 12:24:40.000000000 +0100 +++ coreutils-5.96/src/ls.c 2006-06-22 23:32:16.000000000 +0100
@@ -135,6 +135,18 @@ @@ -135,6 +135,18 @@
#define AUTHORS "Richard Stallman", "David MacKenzie" #define AUTHORS "Richard Stallman", "David MacKenzie"
@ -1692,7 +1693,10 @@
fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout);
fputs (_("\n\ fputs (_("\n\
@@ -4246,0 +4406,67 @@ @@ -4244,3 +4403,70 @@
}
exit (status);
}
+ +
+#ifdef WITH_SELINUX +#ifdef WITH_SELINUX
+ +
@ -1760,8 +1764,8 @@
+ } + }
+} +}
+#endif +#endif
--- coreutils-5.94/src/stat.c.selinux 2005-12-15 21:25:53.000000000 +0000 --- coreutils-5.96/src/stat.c.selinux 2005-12-15 21:25:53.000000000 +0000
+++ coreutils-5.94/src/stat.c 2006-03-24 13:25:44.000000000 +0000 +++ coreutils-5.96/src/stat.c 2006-06-22 23:32:16.000000000 +0100
@@ -42,6 +42,13 @@ @@ -42,6 +42,13 @@
# endif # endif
#endif #endif
@ -2049,8 +2053,8 @@
exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
} }
--- coreutils-5.94/src/mkfifo.c.selinux 2005-05-14 08:58:37.000000000 +0100 --- coreutils-5.96/src/mkfifo.c.selinux 2005-05-14 08:58:37.000000000 +0100
+++ coreutils-5.94/src/mkfifo.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/mkfifo.c 2006-06-22 23:32:16.000000000 +0100
@@ -32,11 +32,18 @@ @@ -32,11 +32,18 @@
#define AUTHORS "David MacKenzie" #define AUTHORS "David MacKenzie"
@ -2113,8 +2117,8 @@
case_GETOPT_HELP_CHAR; case_GETOPT_HELP_CHAR;
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default: default:
--- coreutils-5.94/src/id.c.selinux 2006-03-24 13:23:44.000000000 +0000 --- coreutils-5.96/src/id.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/id.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/id.c 2006-06-22 23:32:16.000000000 +0100
@@ -37,6 +37,20 @@ @@ -37,6 +37,20 @@
int getugroups (); int getugroups ();
@ -2245,8 +2249,8 @@
+ } + }
+#endif +#endif
} }
--- coreutils-5.94/src/copy.c.selinux 2006-04-26 15:35:52.000000000 +0100 --- coreutils-5.96/src/copy.c.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/src/copy.c 2006-04-26 15:42:15.000000000 +0100 +++ coreutils-5.96/src/copy.c 2006-06-22 23:32:16.000000000 +0100
@@ -51,6 +51,11 @@ @@ -51,6 +51,11 @@
#include "xreadlink.h" #include "xreadlink.h"
#include "yesno.h" #include "yesno.h"
@ -2289,7 +2293,7 @@
if (dest_desc < 0 && x->unlink_dest_after_failed_open) if (dest_desc < 0 && x->unlink_dest_after_failed_open)
{ {
if (unlink (dst_name) != 0) if (unlink (dst_name) != 0)
@@ -1416,6 +1444,32 @@ @@ -1410,6 +1438,32 @@
In such cases, set this variable to zero. */ In such cases, set this variable to zero. */
preserve_metadata = true; preserve_metadata = true;
@ -2322,7 +2326,7 @@
if (S_ISDIR (src_mode)) if (S_ISDIR (src_mode))
{ {
struct dir_list *dir; struct dir_list *dir;
@@ -1486,7 +1540,13 @@ @@ -1480,7 +1534,13 @@
/* Are we crossing a file system boundary? */ /* Are we crossing a file system boundary? */
if (x->one_file_system && device != 0 && device != src_sb.st_dev) if (x->one_file_system && device != 0 && device != src_sb.st_dev)
@ -2337,7 +2341,7 @@
/* Copy the contents of the directory. */ /* Copy the contents of the directory. */
@@ -1622,6 +1682,11 @@ @@ -1616,6 +1676,11 @@
} }
} }
@ -2349,7 +2353,7 @@
/* There's no need to preserve timestamps or permissions. */ /* There's no need to preserve timestamps or permissions. */
preserve_metadata = false; preserve_metadata = false;
@@ -1760,6 +1825,11 @@ @@ -1754,6 +1819,11 @@
un_backup: un_backup:
@ -2361,8 +2365,8 @@
/* We have failed to create the destination file. /* We have failed to create the destination file.
If we've just added a dev/ino entry via the remember_copied If we've just added a dev/ino entry via the remember_copied
call above (i.e., unless we've just failed to create a hard link), call above (i.e., unless we've just failed to create a hard link),
--- coreutils-5.94/src/mknod.c.selinux 2005-05-14 08:58:37.000000000 +0100 --- coreutils-5.96/src/mknod.c.selinux 2005-05-14 08:58:37.000000000 +0100
+++ coreutils-5.94/src/mknod.c 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/src/mknod.c 2006-06-22 23:32:16.000000000 +0100
@@ -36,8 +36,15 @@ @@ -36,8 +36,15 @@
/* The name this program was run with. */ /* The name this program was run with. */
char *program_name; char *program_name;
@ -2423,24 +2427,24 @@
case_GETOPT_HELP_CHAR; case_GETOPT_HELP_CHAR;
case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default: default:
--- coreutils-5.94/README.selinux 2006-03-24 13:23:43.000000000 +0000 --- coreutils-5.96/README.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/README 2006-03-24 13:23:47.000000000 +0000 +++ coreutils-5.96/README 2006-06-22 23:32:51.000000000 +0100
@@ -7,11 +7,11 @@ @@ -8,11 +8,11 @@
The programs that can be built with this package are: The programs that can be built with this package are:
- [ basename cat chgrp chmod chown chroot cksum comm cp csplit cut date dd [ base64
+ [ basename cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd - 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 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 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 md5sum mkdir mkfifo mknod mv nice nl nohup od paste pathchk pinky pr
- printenv printf ptx pwd readlink rm rmdir runuser seq sha1sum shred sleep sort - printenv printf ptx pwd readlink rm rmdir runuser seq sha1sum sha224sum
+ printenv printf ptx pwd readlink rm rmdir runcon runuser seq sha1sum shred sleep sort + printenv printf ptx pwd readlink rm rmdir runcon runuser seq sha1sum sha224sum
sha256sum sha384sum sha512sum shred sleep sort
split stat stty su sum sync tac tail tee test touch tr true tsort tty 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 uname unexpand uniq unlink uptime users vdir wc who whoami yes
--- coreutils-5.96/tests/help-version.selinux 2006-06-22 23:32:16.000000000 +0100
--- coreutils-5.94/tests/help-version.selinux 2006-03-24 13:23:43.000000000 +0000 +++ coreutils-5.96/tests/help-version 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/tests/help-version 2006-03-24 13:23:47.000000000 +0000
@@ -46,6 +46,8 @@ @@ -46,6 +46,8 @@
# Skip `test'; it doesn't accept --help or --version. # Skip `test'; it doesn't accept --help or --version.
@ -2459,8 +2463,8 @@
rm -rf $tmp_in $tmp_in2 $tmp_dir $tmp_out rm -rf $tmp_in $tmp_in2 $tmp_dir $tmp_out
echo > $tmp_in echo > $tmp_in
--- coreutils-5.94/configure.ac.selinux 2006-03-24 13:23:41.000000000 +0000 --- coreutils-5.96/configure.ac.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/configure.ac 2006-03-24 13:23:47.000000000 +0000 +++ coreutils-5.96/configure.ac 2006-06-22 23:32:16.000000000 +0100
@@ -34,6 +34,13 @@ @@ -34,6 +34,13 @@
LIB_PAM="-ldl -lpam -lpam_misc" LIB_PAM="-ldl -lpam -lpam_misc"
AC_SUBST(LIB_PAM)]) AC_SUBST(LIB_PAM)])
@ -2475,8 +2479,8 @@
gl_DEFAULT_POSIX2_VERSION gl_DEFAULT_POSIX2_VERSION
gl_USE_SYSTEM_EXTENSIONS gl_USE_SYSTEM_EXTENSIONS
gl_PERL gl_PERL
--- coreutils-5.94/config.hin.selinux 2006-03-24 13:23:41.000000000 +0000 --- coreutils-5.96/config.hin.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/config.hin 2006-03-24 13:23:47.000000000 +0000 +++ coreutils-5.96/config.hin 2006-06-22 23:32:16.000000000 +0100
@@ -411,10 +411,6 @@ @@ -411,10 +411,6 @@
don't. */ don't. */
#undef HAVE_DECL_TTYNAME #undef HAVE_DECL_TTYNAME
@ -2508,7 +2512,7 @@
/* Define to 1 if you have the `dgc' library (-ldgc). */ /* Define to 1 if you have the `dgc' library (-ldgc). */
#undef HAVE_LIBDGC #undef HAVE_LIBDGC
@@ -1525,17 +1521,17 @@ @@ -1529,17 +1525,17 @@
/* Define to 1 if unlink (dir) cannot possibly succeed. */ /* Define to 1 if unlink (dir) cannot possibly succeed. */
#undef UNLINK_CANNOT_UNLINK_DIR #undef UNLINK_CANNOT_UNLINK_DIR
@ -2531,7 +2535,7 @@
/* Version number of package */ /* Version number of package */
#undef VERSION #undef VERSION
@@ -1545,6 +1541,9 @@ @@ -1549,6 +1545,9 @@
/* Define if sys/ptem.h is required for struct winsize. */ /* Define if sys/ptem.h is required for struct winsize. */
#undef WINSIZE_IN_PTEM #undef WINSIZE_IN_PTEM
@ -2541,7 +2545,7 @@
/* Define to 1 if your processor stores words with the most significant byte /* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */ first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN #undef WORDS_BIGENDIAN
@@ -1690,7 +1689,7 @@ @@ -1694,7 +1693,7 @@
/* Define to rpl_nanosleep if the replacement function should be used. */ /* Define to rpl_nanosleep if the replacement function should be used. */
#undef nanosleep #undef nanosleep
@ -2550,7 +2554,7 @@
#undef off_t #undef off_t
/* Define to `int' if <sys/types.h> does not define. */ /* Define to `int' if <sys/types.h> does not define. */
@@ -1757,7 +1756,7 @@ @@ -1761,7 +1760,7 @@
/* Define to empty if the C compiler doesn't support this keyword. */ /* Define to empty if the C compiler doesn't support this keyword. */
#undef signed #undef signed
@ -2559,8 +2563,8 @@
#undef size_t #undef size_t
/* Map `socklen_t' to `int' if it is missing. */ /* Map `socklen_t' to `int' if it is missing. */
--- coreutils-5.94/man/ls.1.selinux 2006-02-13 12:53:38.000000000 +0000 --- coreutils-5.96/man/ls.1.selinux 2006-05-16 18:31:21.000000000 +0100
+++ coreutils-5.94/man/ls.1 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/man/ls.1 2006-06-22 23:32:16.000000000 +0100
@@ -201,6 +201,20 @@ @@ -201,6 +201,20 @@
.TP .TP
\fB\-1\fR \fB\-1\fR
@ -2582,8 +2586,8 @@
.TP .TP
\fB\-\-help\fR \fB\-\-help\fR
display this help and exit display this help and exit
--- coreutils-5.94/man/install.1.selinux 2006-02-13 12:53:38.000000000 +0000 --- coreutils-5.96/man/install.1.selinux 2006-05-16 18:31:20.000000000 +0100
+++ coreutils-5.94/man/install.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/install.1 2006-06-22 23:32:16.000000000 +0100
@@ -65,6 +65,11 @@ @@ -65,6 +65,11 @@
.TP .TP
\fB\-v\fR, \fB\-\-verbose\fR \fB\-v\fR, \fB\-\-verbose\fR
@ -2596,8 +2600,8 @@
.TP .TP
\fB\-\-help\fR \fB\-\-help\fR
display this help and exit display this help and exit
--- coreutils-5.94/man/id.1.selinux 2006-02-13 12:53:38.000000000 +0000 --- coreutils-5.96/man/id.1.selinux 2006-05-16 18:31:20.000000000 +0100
+++ coreutils-5.94/man/id.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/id.1 2006-06-22 23:32:16.000000000 +0100
@@ -13,6 +13,9 @@ @@ -13,6 +13,9 @@
\fB\-a\fR \fB\-a\fR
ignore, for compatibility with other versions ignore, for compatibility with other versions
@ -2608,8 +2612,8 @@
\fB\-g\fR, \fB\-\-group\fR \fB\-g\fR, \fB\-\-group\fR
print only the effective group ID print only the effective group ID
.TP .TP
--- coreutils-5.94/man/stat.1.selinux 2006-02-13 12:53:40.000000000 +0000 --- coreutils-5.96/man/stat.1.selinux 2006-05-16 18:31:23.000000000 +0100
+++ coreutils-5.94/man/stat.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/stat.1 2006-06-22 23:32:16.000000000 +0100
@@ -28,6 +28,9 @@ @@ -28,6 +28,9 @@
\fB\-t\fR, \fB\-\-terse\fR \fB\-t\fR, \fB\-\-terse\fR
print the information in terse form print the information in terse form
@ -2630,8 +2634,8 @@
%D %D
Device number in hex Device number in hex
.TP .TP
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/man/runcon.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/runcon.1 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,43 @@ @@ -0,0 +1,43 @@
+.TH RUNCON "1" "February 2005" "runcon (coreutils) 5.0" "selinux" +.TH RUNCON "1" "February 2005" "runcon (coreutils) 5.0" "selinux"
+.SH NAME +.SH NAME
@ -2676,10 +2680,10 @@
+.PP +.PP
+Note that only carefully-chosen contexts are likely to successfully +Note that only carefully-chosen contexts are likely to successfully
+run. +run.
--- coreutils-5.94/man/Makefile.am.selinux 2006-03-24 13:23:43.000000000 +0000 --- coreutils-5.96/man/Makefile.am.selinux 2006-06-22 23:32:16.000000000 +0100
+++ coreutils-5.94/man/Makefile.am 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/Makefile.am 2006-06-22 23:32:16.000000000 +0100
@@ -10,7 +10,7 @@ @@ -11,7 +11,7 @@
rm.1 rmdir.1 runuser.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.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 \ 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 \ 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
@ -2687,7 +2691,7 @@
man_aux = $(dist_man_MANS:.1=.x) man_aux = $(dist_man_MANS:.1=.x)
@@ -113,6 +113,8 @@ @@ -119,6 +119,8 @@
who.1: $(common_dep) $(srcdir)/who.x ../src/who.c who.1: $(common_dep) $(srcdir)/who.x ../src/who.c
whoami.1: $(common_dep) $(srcdir)/whoami.x ../src/whoami.c whoami.1: $(common_dep) $(srcdir)/whoami.x ../src/whoami.c
yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c
@ -2696,8 +2700,8 @@
SUFFIXES = .x .1 SUFFIXES = .x .1
--- coreutils-5.94/man/cp.1.selinux 2006-02-13 12:53:36.000000000 +0000 --- coreutils-5.96/man/cp.1.selinux 2006-05-16 18:31:18.000000000 +0100
+++ coreutils-5.94/man/cp.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/cp.1 2006-06-22 23:32:16.000000000 +0100
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
.TP .TP
\fB\-\-preserve\fR[=\fIATTR_LIST\fR] \fB\-\-preserve\fR[=\fIATTR_LIST\fR]
@ -2717,8 +2721,8 @@
\fB\-\-version\fR \fB\-\-version\fR
output version information and exit output version information and exit
.PP .PP
--- coreutils-5.94/man/mkfifo.1.selinux 2006-02-13 12:53:38.000000000 +0000 --- coreutils-5.96/man/mkfifo.1.selinux 2006-05-16 18:31:21.000000000 +0100
+++ coreutils-5.94/man/mkfifo.1 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/man/mkfifo.1 2006-06-22 23:32:16.000000000 +0100
@@ -12,6 +12,9 @@ @@ -12,6 +12,9 @@
.PP .PP
Mandatory arguments to long options are mandatory for short options too. Mandatory arguments to long options are mandatory for short options too.
@ -2729,8 +2733,8 @@
\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
set permission mode (as in chmod), not a=rw \- umask set permission mode (as in chmod), not a=rw \- umask
.TP .TP
--- coreutils-5.94/man/mknod.1.selinux 2006-02-13 12:53:38.000000000 +0000 --- coreutils-5.96/man/mknod.1.selinux 2006-05-16 18:31:21.000000000 +0100
+++ coreutils-5.94/man/mknod.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/mknod.1 2006-06-22 23:32:16.000000000 +0100
@@ -12,6 +12,9 @@ @@ -12,6 +12,9 @@
.PP .PP
Mandatory arguments to long options are mandatory for short options too. Mandatory arguments to long options are mandatory for short options too.
@ -2741,8 +2745,8 @@
\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
set permission mode (as in chmod), not a=rw \- umask set permission mode (as in chmod), not a=rw \- umask
.TP .TP
--- coreutils-5.94/man/mkdir.1.selinux 2006-02-13 12:53:39.000000000 +0000 --- coreutils-5.96/man/mkdir.1.selinux 2006-05-16 18:31:21.000000000 +0100
+++ coreutils-5.94/man/mkdir.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/mkdir.1 2006-06-22 23:32:16.000000000 +0100
@@ -12,6 +12,8 @@ @@ -12,6 +12,8 @@
.PP .PP
Mandatory arguments to long options are mandatory for short options too. Mandatory arguments to long options are mandatory for short options too.
@ -2752,8 +2756,8 @@
\fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
set permission mode (as in chmod), not rwxrwxrwx \- umask set permission mode (as in chmod), not rwxrwxrwx \- umask
.TP .TP
--- coreutils-5.94/man/dir.1.selinux 2006-02-13 12:53:37.000000000 +0000 --- coreutils-5.96/man/dir.1.selinux 2006-05-16 18:31:19.000000000 +0100
+++ coreutils-5.94/man/dir.1 2006-03-24 13:23:45.000000000 +0000 +++ coreutils-5.96/man/dir.1 2006-06-22 23:32:16.000000000 +0100
@@ -201,6 +201,20 @@ @@ -201,6 +201,20 @@
.TP .TP
\fB\-1\fR \fB\-1\fR
@ -2775,8 +2779,8 @@
.TP .TP
\fB\-\-help\fR \fB\-\-help\fR
display this help and exit display this help and exit
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/man/runcon.x 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/runcon.x 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
+[NAME] +[NAME]
+runcon \- run command with specified security context +runcon \- run command with specified security context
@ -2792,8 +2796,8 @@
+.PP +.PP
+Note that only carefully-chosen contexts are likely to successfully +Note that only carefully-chosen contexts are likely to successfully
+run. +run.
--- coreutils-5.94/man/vdir.1.selinux 2006-02-13 12:53:42.000000000 +0000 --- coreutils-5.96/man/vdir.1.selinux 2006-05-16 18:31:25.000000000 +0100
+++ coreutils-5.94/man/vdir.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/vdir.1 2006-06-22 23:32:16.000000000 +0100
@@ -201,6 +201,20 @@ @@ -201,6 +201,20 @@
.TP .TP
\fB\-1\fR \fB\-1\fR
@ -2815,15 +2819,15 @@
.TP .TP
\fB\-\-help\fR \fB\-\-help\fR
display this help and exit display this help and exit
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/man/chcon.x 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/chcon.x 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,4 @@ @@ -0,0 +1,4 @@
+[NAME] +[NAME]
+chcon \- change file security context +chcon \- change file security context
+[DESCRIPTION] +[DESCRIPTION]
+.\" Add any additional description here +.\" Add any additional description here
--- /dev/null 2006-03-24 08:16:09.803715750 +0000 --- /dev/null 2006-06-22 09:01:01.637265000 +0100
+++ coreutils-5.94/man/chcon.1 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/chcon.1 2006-06-22 23:32:16.000000000 +0100
@@ -0,0 +1,64 @@ @@ -0,0 +1,64 @@
+.TH CHCON 1 "July 2003" "chcon (coreutils) 5.0" "User Commands" +.TH CHCON 1 "July 2003" "chcon (coreutils) 5.0" "User Commands"
+.SH NAME +.SH NAME
@ -2889,8 +2893,8 @@
+.B info chcon +.B info chcon
+.PP +.PP
+should give you access to the complete manual. +should give you access to the complete manual.
--- coreutils-5.94/man/Makefile.in.selinux 2006-02-13 12:51:58.000000000 +0000 --- coreutils-5.96/man/Makefile.in.selinux 2006-05-22 07:08:33.000000000 +0100
+++ coreutils-5.94/man/Makefile.in 2006-03-24 13:23:46.000000000 +0000 +++ coreutils-5.96/man/Makefile.in 2006-06-22 23:32:16.000000000 +0100
@@ -107,25 +107,25 @@ @@ -107,25 +107,25 @@
$(top_srcdir)/m4/onceonly_2_57.m4 $(top_srcdir)/m4/openat.m4 \ $(top_srcdir)/m4/onceonly_2_57.m4 $(top_srcdir)/m4/openat.m4 \
$(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perl.m4 \ $(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/perl.m4 \
@ -2961,7 +2965,7 @@
LN_S = @LN_S@ LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@ LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@ LTLIBINTL = @LTLIBINTL@
@@ -271,30 +273,23 @@ @@ -269,30 +271,23 @@
build_os = @build_os@ build_os = @build_os@
build_vendor = @build_vendor@ build_vendor = @build_vendor@
datadir = @datadir@ datadir = @datadir@
@ -2992,7 +2996,7 @@
sbindir = @sbindir@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@ sysconfdir = @sysconfdir@
@@ -307,10 +302,10 @@ @@ -305,10 +300,10 @@
link.1 ln.1 logname.1 \ link.1 ln.1 logname.1 \
ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \ ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \ paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \
@ -3005,7 +3009,7 @@
man_aux = $(dist_man_MANS:.1=.x) man_aux = $(dist_man_MANS:.1=.x)
EXTRA_DIST = $(man_aux) help2man EXTRA_DIST = $(man_aux) help2man
@@ -600,6 +595,7 @@ @@ -598,6 +593,7 @@
readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c
rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c
rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c
@ -3013,7 +3017,7 @@
seq.1: $(common_dep) $(srcdir)/seq.x ../src/seq.c seq.1: $(common_dep) $(srcdir)/seq.x ../src/seq.c
sha1sum.1: $(common_dep) $(srcdir)/sha1sum.x ../src/md5sum.c sha1sum.1: $(common_dep) $(srcdir)/sha1sum.x ../src/md5sum.c
shred.1: $(common_dep) $(srcdir)/shred.x ../src/shred.c shred.1: $(common_dep) $(srcdir)/shred.x ../src/shred.c
@@ -631,6 +627,8 @@ @@ -629,6 +625,8 @@
who.1: $(common_dep) $(srcdir)/who.x ../src/who.c who.1: $(common_dep) $(srcdir)/who.x ../src/who.c
whoami.1: $(common_dep) $(srcdir)/whoami.x ../src/whoami.c whoami.1: $(common_dep) $(srcdir)/whoami.x ../src/whoami.c
yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c

View File

@ -1,7 +1,7 @@
Summary: The GNU core utilities: a set of tools commonly used in shell scripts Summary: The GNU core utilities: a set of tools commonly used in shell scripts
Name: coreutils Name: coreutils
Version: 5.96 Version: 5.96
Release: 3 Release: 4
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/ Url: http://www.gnu.org/software/coreutils/
@ -20,6 +20,7 @@ Source201: runuser.pamd
# From upstream # From upstream
Patch1: coreutils-tempname.patch Patch1: coreutils-tempname.patch
Patch2: coreutils-5.96-newhashes.patch
# Our patches # Our patches
Patch100: coreutils-chgrp.patch Patch100: coreutils-chgrp.patch
@ -78,6 +79,7 @@ cp %{SOURCE1} po/pl.po
# From upstream # From upstream
%patch1 -p1 -b .tempname %patch1 -p1 -b .tempname
%patch2 -p1 -b .newhashes
# Our patches # Our patches
%patch100 -p1 -b .chgrp %patch100 -p1 -b .chgrp
@ -272,6 +274,9 @@ fi
/sbin/runuser /sbin/runuser
%changelog %changelog
* Thu Jun 22 2006 Tim Waugh <twaugh@redhat.com> 5.96-4
- Include new hashes (bug #196369). Patch from upstream.
* Fri Jun 9 2006 Tim Waugh <twaugh@redhat.com> * Fri Jun 9 2006 Tim Waugh <twaugh@redhat.com>
- Fix large file support for temporary files. - Fix large file support for temporary files.