rpms/coreutils/devel coreutils-DIR_COLORS.256color, NONE, 1.1 coreutils-4.5.3-sysinfo.patch, 1.5, 1.6 coreutils-5.2.1-runuser.patch, 1.16, 1.17 coreutils-DIR_COLORS, 1.2, 1.3 coreutils-DIR_COLORS.xterm, 1.2, 1.3 coreutils-getgrouplist.patch, 1.3, 1.4 coreutils-i18n.patch, 1.22, 1.23 coreutils-overflow.patch, 1.1, 1.2 coreutils-pam.patch, 1.10, 1.11 coreutils-selinux.patch, 1.37, 1.38 coreutils-split-pam.patch, 1.1, 1.2 coreutils.spec, 1.187, 1.188 coreutils-6.9-cp-i-u.patch, 1.1, NONE coreutils-6.9-du-ls-upstream.patch, 1.2, NONE coreutils-6.9-requiresecuritycontext.patch, 1.2, NONE coreutils-6.9-statsecuritycontext.patch, 1.1, NONE coreutils-futimens.patch, 1.1, NONE coreutils-getdateYYYYMMDD.patch, 1.1, NONE coreutils-getfacl-exit-code.patch, 1.1, NONE coreutils-ls-x.patch, 1.1, NONE

Ondrej Vasik (ovasik) fedora-extras-commits at redhat.com
Fri Jan 25 17:48:21 UTC 2008


Author: ovasik

Update of /cvs/extras/rpms/coreutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31541

Modified Files:
	coreutils-4.5.3-sysinfo.patch coreutils-5.2.1-runuser.patch 
	coreutils-DIR_COLORS coreutils-DIR_COLORS.xterm 
	coreutils-getgrouplist.patch coreutils-i18n.patch 
	coreutils-overflow.patch coreutils-pam.patch 
	coreutils-selinux.patch coreutils-split-pam.patch 
	coreutils.spec 
Added Files:
	coreutils-DIR_COLORS.256color 
Removed Files:
	coreutils-6.9-cp-i-u.patch coreutils-6.9-du-ls-upstream.patch 
	coreutils-6.9-requiresecuritycontext.patch 
	coreutils-6.9-statsecuritycontext.patch 
	coreutils-futimens.patch coreutils-getdateYYYYMMDD.patch 
	coreutils-getfacl-exit-code.patch coreutils-ls-x.patch 
Log Message:
New upstream release 6.10, for more details see changelog


--- NEW FILE coreutils-DIR_COLORS.256color ---
# Configuration file for the 256color ls utility
# This file goes in the /etc directory, and must be world readable.
# You can copy this file to .dir_colors in your $HOME directory to override
# the system defaults.
# In the case that you are not satisfied with supplied colors, please
# submit your color configuration or attach your file with colors readable
# on ALL color background schemas (white,gray,black) to RedHat Bugzilla
# ticket on https://bugzilla.redhat.com/show_bug.cgi?id=429121 . TIA.
# Please just keep ls color conventions from 8 color scheme.

# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
# off.
COLOR tty

# Extra command line options for ls go here.
# Basically these ones are:
#  -F = show '/' for dirs, '*' for executables, etc.
#  -T 0 = don't trust tab spacing when formatting ls output.
OPTIONS -F -T 0

# Below, there should be one TERM entry for each termtype that is colorizable
TERM putty-256color
TERM rxvt-256color
TERM screen-256color
TERM xterm-256color
TERM gnome-256color

# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
EIGHTBIT 1

# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes: 
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color(8 colors mode) codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color(8 colors mode) codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
# Text color(256 colors mode) codes:
# Valid syntax for text 256color is 38;5;<color number> , where color number
# is number between 0 and 255.
# You may find following command useful to search the best one for you:
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[38;5;${x}mcolor\033[000m";done
# Background color(256 colors mode) codes:
# Valid syntax for background 256color is 48;5;<color number> , where
# color number is number between 0 and 255.
# You may find following command useful to search the best one for you:
# for ((x=0; x<=255; x++));do echo -e "${x}:\033[48;5;${x}mcolor\033[000m";done

NORMAL 00	# global default, although everything should be something.
FILE 00 	# normal file
DIR 01;38;5;27 	# directory
LINK 01;38;5;51 	# symbolic link (If you set this to 'target' instead of a
		# numerical value, the color is as for the file pointed to.)
FIFO 40;38;5;11	# pipe
SOCK 01;38;5;13	# socket
DOOR 01;38;5;5	# door
BLK 01;48;5;232;38;5;11	# block device driver
CHR 01;48;5;232;38;5;3 	# character device driver
ORPHAN 01;48;5;232;38;5;9  # symlink to nonexistent file, or non-stat'able file
MISSING 01;05;48;5;232;38;5;15 # ... and the files they point to
SETUID 48;5;196;38;5;15	# file that is setuid (u+s)
SETGID 48;5;11;38;5;16	# file that is setgid (g+s)
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
STICKY 48;5;21;38;5;15	# dir with the sticky bit set (+t) and not other-writable

# This is for files with execute permission:
EXEC 01;38;5;10

# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')
# executables (bright green)
.cmd 01;38;5;10
.exe 01;38;5;10
.com 01;38;5;10
.btm 01;38;5;10
.bat 01;38;5;10
.sh  01;38;5;10
.csh 01;38;5;10
 # archives or compressed (bright red)
.tar 01;38;5;9 
.tgz 01;38;5;9
.svgz 01;38;5;9
.arj 01;38;5;9
.taz 01;38;5;9
.lzh 01;38;5;9
.lzma 01;38;5;9
.zip 01;38;5;9
.z   01;38;5;9
.Z   01;38;5;9
.dz  01;38;5;9
.gz  01;38;5;9
.bz2 01;38;5;9
.tbz2 01;38;5;9
.bz  01;38;5;9
.tz  01;38;5;9
.deb 01;38;5;9
.rpm 01;38;5;9
.jar 01;38;5;9
.rar 01;38;5;9
.ace 01;38;5;9
.zoo 01;38;5;9
.cpio 01;38;5;9
.7z  01;38;5;9
.rz  01;38;5;9
# image formats (magenta)
.jpg 01;38;5;13 
.jpeg 01;38;5;13
.gif 01;38;5;13
.bmp 01;38;5;13
.pbm 01;38;5;13
.pgm 01;38;5;13
.ppm 01;38;5;13
.tga 01;38;5;13
.xbm 01;38;5;13
.xpm 01;38;5;13
.tif 01;38;5;13
.tiff 01;38;5;13
.png 01;38;5;13
.mng 01;38;5;13
.pcx 01;38;5;13
.mov 01;38;5;13
.mpg 01;38;5;13
.mpeg 01;38;5;13
.m2v 01;38;5;13
.mkv 01;38;5;13
.ogm 01;38;5;13
.mp4 01;38;5;13
.m4v 01;38;5;13
.mp4v 01;38;5;13
.vob 01;38;5;13
.qt  01;38;5;13
.nuv 01;38;5;13
.wmv 01;38;5;13
.asf 01;38;5;13
.rm  01;38;5;13
.rmvb 01;38;5;13
.flc 01;38;5;13
.avi 01;38;5;13
.fli 01;38;5;13
.gl 01;38;5;13
.dl 01;38;5;13
.xcf 01;38;5;13
.xwd 01;38;5;13
.yuv 01;38;5;13
.svg 01;38;5;13
# audio formats (cyan)
.aac 00;38;5;14
.au 00;38;5;14
.flac 00;38;5;14
.mid 00;38;5;14
.midi 00;38;5;14
.mka 00;38;5;14
.mp3 00;38;5;14
.mpc 00;38;5;14
.ogg 00;38;5;14
.ra 00;38;5;14
.wav 00;38;5;14

coreutils-4.5.3-sysinfo.patch:

Index: coreutils-4.5.3-sysinfo.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-4.5.3-sysinfo.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- coreutils-4.5.3-sysinfo.patch	24 Aug 2006 16:25:39 -0000	1.5
+++ coreutils-4.5.3-sysinfo.patch	25 Jan 2008 17:48:11 -0000	1.6
@@ -1,15 +1,15 @@
 --- coreutils-5.97/src/uname.c.sysinfo	2005-09-15 20:57:04.000000000 +0100
 +++ coreutils-5.97/src/uname.c	2006-08-24 17:15:56.000000000 +0100
-@@ -155,7 +155,7 @@
+@@ -263,7 +263,7 @@
+ int
  main (int argc, char **argv)
  {
-   int c;
 -  static char const unknown[] = "unknown";
 +  static char unknown[] = "unknown";
  
    /* Mask indicating which elements to print. */
    unsigned int toprint = 0;
-@@ -249,13 +249,35 @@
+@@ -306,13 +306,35 @@
  
    if (toprint & PRINT_PROCESSOR)
      {
@@ -46,7 +46,7 @@
  #endif
  #ifdef UNAME_PROCESSOR
        if (element == unknown)
-@@ -293,7 +315,7 @@
+@@ -348,7 +370,7 @@
  
    if (toprint & PRINT_HARDWARE_PLATFORM)
      {
@@ -55,7 +55,7 @@
  #if HAVE_SYSINFO && defined SI_PLATFORM
        {
  	static char hardware_platform[257];
-@@ -301,6 +323,14 @@
+@@ -356,6 +378,14 @@
  			  hardware_platform, sizeof hardware_platform))
  	  element = hardware_platform;
        }

coreutils-5.2.1-runuser.patch:

Index: coreutils-5.2.1-runuser.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-5.2.1-runuser.patch,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- coreutils-5.2.1-runuser.patch	14 Aug 2007 10:21:12 -0000	1.16
+++ coreutils-5.2.1-runuser.patch	25 Jan 2008 17:48:11 -0000	1.17
@@ -1,5 +1,5 @@
---- coreutils-6.7/tests/help-version.runuser	2006-12-07 09:06:04.000000000 +0000
-+++ coreutils-6.7/tests/help-version	2007-01-09 17:31:44.000000000 +0000
+--- coreutils-6.10/tests/misc/help-version.runuser	
++++ coreutils-6.10/tests/misc/help-version	
 @@ -168,6 +168,7 @@
  seq_args=10
  sleep_args=0
@@ -8,17 +8,19 @@
  
  # I'd rather not run sync, since it spins up disks that I've
  # deliberately caused to spin down (but not unmounted).
---- coreutils-6.7/README.runuser	2006-11-24 21:28:27.000000000 +0000
-+++ coreutils-6.7/README	2007-01-09 17:32:16.000000000 +0000
-@@ -11,7 +11,7 @@
-   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 runuser 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
+--- coreutils-6.10/README.runuser	
++++ coreutils-6.10/README	
+@@ -11,8 +11,8 @@
+   factor false fmt fold groups head hostid hostname id install join kill
+   link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
+   od paste pathchk pinky pr 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
++  runcon runuser 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
+
+ See the file NEWS for a list of major changes in the current release.
 --- coreutils-6.7/src/su.c.runuser	2007-01-09 17:27:56.000000000 +0000
 +++ coreutils-6.7/src/su.c	2007-01-09 17:30:12.000000000 +0000
 @@ -110,9 +110,15 @@
@@ -92,7 +94,7 @@
 +#ifdef RUNUSER
 +  if (getuid() != geteuid())
 +    /* safety net: deny operation if we are suid by accident */
-+    error(EXIT_FAIL, 1, "runuser may not be setuid");
++    error(EXIT_FAILURE, 1, "runuser may not be setuid");
 +#else
    retval = pam_authenticate(pamh, 0);
    PAM_BAIL_P;
@@ -190,7 +192,7 @@
 +	case 'g':
 +	  gr = getgrnam(optarg);
 +	  if (!gr)
-+	    error (EXIT_FAIL, 0, _("group %s does not exist"), optarg);
++	    error (EXIT_FAILURE, 0, _("group %s does not exist"), optarg);
 +	  use_gid = 1;
 +	  groups[0] = gr->gr_gid;
 +	  break;
@@ -198,12 +200,12 @@
 +	case 'G':
 +	  num_supp_groups++;
 +	  if (num_supp_groups >= NGROUPS_MAX)
-+	    error (EXIT_FAIL, 0,
++	    error (EXIT_FAILURE, 0,
 +		   _("Can't specify more than %d supplemental groups"),
 +		   NGROUPS_MAX - 1);
 +	  gr = getgrnam(optarg);
 +	  if (!gr)
-+	    error (EXIT_FAIL, 0, _("group %s does not exist"), optarg);
++	    error (EXIT_FAILURE, 0, _("group %s does not exist"), optarg);
 +	  groups[num_supp_groups] = gr->gr_gid;
 +	  break;
 +#endif
@@ -252,17 +254,17 @@
 +#endif
 +	     );
  }
---- coreutils-6.7/src/Makefile.am.runuser	2007-01-09 17:27:56.000000000 +0000
-+++ coreutils-6.7/src/Makefile.am	2007-01-09 17:27:56.000000000 +0000
-@@ -17,7 +17,7 @@
- ## along with this program; if not, write to the Free Software Foundation,
- ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- 
--EXTRA_PROGRAMS = chroot df hostid nice pinky stty su uname uptime users who
-+EXTRA_PROGRAMS = chroot df hostid nice pinky stty su runuser uname uptime users who
- 
- bin_SCRIPTS = groups
- bin_PROGRAMS = [ chgrp chown chmod cp dd dircolors du \
+--- coreutils-6.10/src/Makefile.am.runuser	
++++ coreutils-6.10/src/Makefile.am	
+@@ -38,7 +38,7 @@
+   shuf sort split sum tac tail tr tsort unexpand uniq wc \
+   basename date dirname echo env expr factor false \
+   id kill logname pathchk printenv printf pwd \
+-  runcon seq sleep tee \
++  runcon runuser seq sleep tee \
+   test true tty whoami yes \
+   base64
+
 @@ -112,6 +112,10 @@
  mv_LDADD += $(LIB_ACL)
  ginstall_LDADD += $(LIB_ACL)
@@ -283,27 +285,26 @@
  
  installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
  
---- coreutils-6.7/AUTHORS.runuser	2006-10-22 17:54:15.000000000 +0100
-+++ coreutils-6.7/AUTHORS	2007-01-09 17:27:56.000000000 +0000
+--- coreutils-6.10/AUTHORS.runuser
++++ coreutils-6.10/AUTHORS	
 @@ -60,6 +60,7 @@
  readlink: Dmitry V. Levin
  rm: Paul Rubin, David MacKenzie, Richard Stallman, Jim Meyering
  rmdir: David MacKenzie
 +runuser: David MacKenzie, Dan Walsh
+ runcon: Russell Coker
  seq: Ulrich Drepper
  sha1sum: Ulrich Drepper, Scott Miller, David Madore
- sha224sum: Ulrich Drepper, Scott Miller, David Madore
---- coreutils-6.7/man/Makefile.am.runuser	2006-11-16 08:49:56.000000000 +0000
-+++ coreutils-6.7/man/Makefile.am	2007-01-09 17:32:38.000000000 +0000
-@@ -26,7 +26,7 @@
-   link.1 ln.1 logname.1 \
-   ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nl.1 nohup.1 od.1 \
-   paste.1 pathchk.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 shuf.1 sleep.1 sort.1 split.1 stat.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 unexpand.1 uniq.1 unlink.1 vdir.1 wc.1 \
+--- coreutils-6.10/man/Makefile.am.runuser
++++ coreutils-6.10/man/Makefile.am
+@@ -92,6 +92,7 @@
+ rm.1:		$(common_dep)	$(srcdir)/rm.x		../src/rm.c
+ rmdir.1:	$(common_dep)	$(srcdir)/rmdir.x	../src/rmdir.c
+ runcon.1:	$(common_dep)	$(srcdir)/runcon.x	../src/runcon.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
 --- /dev/null	2007-01-09 09:38:07.860075128 +0000
 +++ coreutils-6.7/man/runuser.x	2007-01-09 17:27:56.000000000 +0000
 @@ -0,0 +1,4 @@
@@ -312,7 +313,7 @@
 +[DESCRIPTION]
 +.\" Add any additional description here
 --- /dev/null	2007-01-09 09:38:07.860075128 +0000
-+++ coreutils-6.7/man/runuser.1	2007-01-09 17:27:56.000000000 +0000
++++ coreutils-6.10/man/runuser.1	2007-01-09 17:27:56.000000000 +0000
 @@ -0,0 +1,68 @@
 +.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.33.
 +.TH RUNUSER "1" "September 2004" "runuser (coreutils) 5.2.1" "User Commands"
@@ -330,7 +331,7 @@
 +to set user ID, the command will fail.
 +.TP
 +-, \fB\-l\fR, \fB\-\-login\fR
-+make the shell a login shell
++make the shell a login shell, uses runuser-l PAM file instead of default one.
 +.TP
 +\fB\-c\fR, \fB\-\-commmand\fR=\fICOMMAND\fR
 +pass a single COMMAND to the shell with \fB\-c\fR


Index: coreutils-DIR_COLORS
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-DIR_COLORS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- coreutils-DIR_COLORS	16 Jan 2008 21:43:33 -0000	1.2
+++ coreutils-DIR_COLORS	25 Jan 2008 17:48:11 -0000	1.3
@@ -15,8 +15,9 @@
 OPTIONS -F -T 0
 
 # Below, there should be one TERM entry for each termtype that is colorizable
-TERM linux
-TERM console
+TERM Eterm
+TERM ansi
+TERM color-xterm
 TERM con132x25
 TERM con132x30
 TERM con132x43
@@ -28,26 +29,34 @@
 TERM con80x50
 TERM con80x60
 TERM cons25
-TERM xterm
-TERM rxvt
-TERM rxvt-unicode
-TERM xterm-color
-TERM xterm-16color
-TERM xterm-256color
-TERM xterm-88color
-TERM color-xterm
-TERM vt100
+TERM console
+TERM cygwin
 TERM dtterm
 TERM eterm-color
-TERM color_xterm
-TERM ansi
+TERM gnome
+TERM konsole
+TERM kterm
+TERM linux
+TERM linux-c
+TERM mach-color
+TERM mlterm
+TERM putty
+TERM rxvt
+TERM rxvt-cygwin
+TERM rxvt-cygwin-native
+TERM rxvt-unicode
 TERM screen
 TERM screen-256color
+TERM screen-bce
+TERM screen-w
 TERM screen.linux
-TERM kon
-TERM kterm
-TERM gnome
-TERM konsole
+TERM vt100
+TERM xterm
+TERM xterm-16color
+TERM xterm-256color
+TERM xterm-88color
+TERM xterm-color
+TERM xterm-debian
 
 # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
 EIGHTBIT 1
@@ -63,13 +72,21 @@
 NORMAL 00	# global default, although everything should be something.
 FILE 00 	# normal file
 DIR 01;34 	# directory
-LINK 01;36 	# symbolic link
+LINK 01;36 	# symbolic link (If you set this to 'target' instead of a
+		# numerical value, the color is as for the file pointed to.)
 FIFO 40;33	# pipe
 SOCK 01;35	# socket
+DOOR 01;35	# door
 BLK 40;33;01	# block device driver
 CHR 40;33;01 	# character device driver
-ORPHAN 01;05;37;41  # orphaned syminks
+ORPHAN 40;31;01  # symlink to nonexistent file, or non-stat'able file
 MISSING 01;05;37;41 # ... and the files they point to
+SETUID 37;41	# file that is setuid (u+s)
+SETGID 30;43	# file that is setgid (g+s)
+STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
+OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
+STICKY 37;44	# dir with the sticky bit set (+t) and not other-writable
+
 
 # This is for files with execute permission:
 EXEC 01;32 
@@ -77,31 +94,90 @@
 # List any file extensions like '.gz' or '.tar' that you would like ls
 # to colorize below. Put the extension, a space, and the color init string.
 # (and any comments you want to add after a '#')
-.cmd 01;32 # executables (bright green)
+# executables (bright green)
+.cmd 01;32 
 .exe 01;32
 .com 01;32
 .btm 01;32
 .bat 01;32
 .sh  01;32
 .csh 01;32
-.tar 01;31 # archives or compressed (bright red)
+ # archives or compressed (bright red)
+.tar 01;31 
 .tgz 01;31
+.svgz 01;31
 .arj 01;31
 .taz 01;31
 .lzh 01;31
+.lzma 01;31
 .zip 01;31
 .z   01;31
 .Z   01;31
+.dz  01;31
 .gz  01;31
 .bz2 01;31
+.tbz2 01;31
 .bz  01;31
 .tz  01;31
+.deb 01;31
 .rpm 01;31
+.jar 01;31
+.rar 01;31
+.ace 01;31
+.zoo 01;31
 .cpio 01;31
-.jpg 01;35 # image formats
+.7z  01;31
+.rz  01;31
+# image formats (magenta)
+.jpg 01;35 
+.jpeg 01;35
 .gif 01;35
 .bmp 01;35
+.pbm 01;35
+.pgm 01;35
+.ppm 01;35
+.tga 01;35
 .xbm 01;35
 .xpm 01;35
-.png 01;35
 .tif 01;35
+.tiff 01;35
+.png 01;35
+.mng 01;35
+.pcx 01;35
+.mov 01;35
+.mpg 01;35
+.mpeg 01;35
+.m2v 01;35
+.mkv 01;35
+.ogm 01;35
+.mp4 01;35
+.m4v 01;35
+.mp4v 01;35
+.vob 01;35
+.qt  01;35
+.nuv 01;35
+.wmv 01;35
+.asf 01;35
+.rm  01;35
+.rmvb 01;35
+.flc 01;35
+.avi 01;35
+.fli 01;35
+.gl 01;35
+.dl 01;35
+.xcf 01;35
+.xwd 01;35
+.yuv 01;35
+.svg 01;35
+# audio formats (cyan)
+.aac 00;36
+.au 00;36
+.flac 00;36
+.mid 00;36
+.midi 00;36
+.mka 00;36
+.mp3 00;36
+.mpc 00;36
+.ogg 00;36
+.ra 00;36
+.wav 00;36


Index: coreutils-DIR_COLORS.xterm
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-DIR_COLORS.xterm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- coreutils-DIR_COLORS.xterm	16 Jan 2008 21:43:33 -0000	1.2
+++ coreutils-DIR_COLORS.xterm	25 Jan 2008 17:48:11 -0000	1.3
@@ -54,13 +54,21 @@
 NORMAL 00	# global default, although everything should be something.
 FILE 00 	# normal file
 DIR 00;34 	# directory
-LINK 00;36 	# symbolic link
+LINK 00;36 	# symbolic link (If you set this to 'target' instead of a
+		# numerical value, the color is as for the file pointed to.)
 FIFO 40;33	# pipe
 SOCK 00;35	# socket
+DOOR 00;35	# door
 BLK 40;33;01	# block device driver
 CHR 40;33;01 	# character device driver
-ORPHAN 01;05;37;41  # orphaned syminks
+ORPHAN 40;31;01  # symlink to nonexistent file, or non-stat'able file
 MISSING 01;05;37;41 # ... and the files they point to
+SETUID 37;41	# file that is setuid (u+s)
+SETGID 30;43	# file that is setgid (g+s)
+STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
+OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
+STICKY 37;44	# dir with the sticky bit set (+t) and not other-writable
+
 
 # This is for files with execute permission:
 EXEC 00;32 
@@ -75,24 +83,82 @@
 .bat 00;32
 .sh  00;32
 .csh 00;32
-.tar 00;31 # archives or compressed (red)
+ # archives or compressed (red)
+.tar 00;31 
 .tgz 00;31
+.svgz 00;31
 .arj 00;31
 .taz 00;31
 .lzh 00;31
+.lzma 00;31
 .zip 00;31
 .z   00;31
 .Z   00;31
+.dz  00;31
 .gz  00;31
 .bz2 00;31
+.tbz2 00;31
 .bz  00;31
 .tz  00;31
+.deb 00;31
 .rpm 00;31
+.jar 00;31
+.rar 00;31
+.ace 00;31
+.zoo 00;31
 .cpio 00;31
-.jpg 00;35 # image formats
+.7z  00;31
+.rz  00;31
+# image formats (magenta)
+.jpg 00;35 
+.jpeg 00;35
 .gif 00;35
 .bmp 00;35
+.pbm 00;35
+.pgm 00;35
+.ppm 00;35
+.tga 00;35
 .xbm 00;35
 .xpm 00;35
-.png 00;35
 .tif 00;35
+.tiff 00;35
+.png 00;35
+.mng 00;35
+.pcx 00;35
+.mov 00;35
+.mpg 00;35
+.mpeg 00;35
+.m2v 00;35
+.mkv 00;35
+.ogm 00;35
+.mp4 00;35
+.m4v 00;35
+.mp4v 00;35
+.vob 00;35
+.qt  00;35
+.nuv 00;35
+.wmv 00;35
+.asf 00;35
+.rm  00;35
+.rmvb 00;35
+.flc 00;35
+.avi 00;35
+.fli 00;35
+.gl 00;35
+.dl 00;35
+.xcf 00;35
+.xwd 00;35
+.yuv 00;35
+.svg 00;35
+# audio formats (cyan)
+.aac 00;36
+.au 00;36
+.flac 00;36
+.mid 00;36
+.midi 00;36
+.mka 00;36
+.mp3 00;36
+.mpc 00;36
+.ogg 00;36
+.ra 00;36
+.wav 00;36

coreutils-getgrouplist.patch:

Index: coreutils-getgrouplist.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-getgrouplist.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- coreutils-getgrouplist.patch	9 Jan 2007 19:29:30 -0000	1.3
+++ coreutils-getgrouplist.patch	25 Jan 2008 17:48:11 -0000	1.4
@@ -1,44 +1,56 @@
---- coreutils-6.7/lib/getugroups.c.getgrouplist	2006-09-14 10:53:58.000000000 +0100
-+++ coreutils-6.7/lib/getugroups.c	2007-01-09 17:33:09.000000000 +0000
-@@ -21,6 +21,9 @@
+diff -urp coreutils-6.10-orig/lib/getugroups.c coreutils-6.10/lib/getugroups.c
+--- coreutils-6.10-orig/lib/getugroups.c	2007-10-17 15:47:25.000000000 +0200
++++ coreutils-6.10/lib/getugroups.c	2008-01-24 16:37:04.000000000 +0100
+@@ -19,6 +19,9 @@
  
  #include <config.h>
  
 +/* We do not need this code if getgrouplist(3) is available.  */
 +#ifndef HAVE_GETGROUPLIST
 +
- #include <sys/types.h>
+ #include "getugroups.h"
+ 
  #include <stdio.h> /* grp.h on alpha OSF1 V2.0 uses "FILE *". */
- #include <grp.h>
-@@ -102,3 +105,4 @@
+@@ -114,3 +117,4 @@ getugroups (int maxcount, GETGROUPS_T *g
  
    return count;
  }
 +#endif	/* have getgrouplist */
---- coreutils-6.7/src/id.c.getgrouplist	2006-10-22 17:54:15.000000000 +0100
-+++ coreutils-6.7/src/id.c	2007-01-09 17:33:09.000000000 +0000
-@@ -253,7 +253,14 @@
-   if (!username)
-     max_n_groups = getgroups (0, NULL);
-   else
--    max_n_groups = getugroups (0, NULL, username, gid);
-+    {
+diff -urp coreutils-6.10-orig/lib/mgetgroups.c coreutils-6.10/lib/mgetgroups.c
+--- coreutils-6.10-orig/lib/mgetgroups.c	2007-11-25 14:23:31.000000000 +0100
++++ coreutils-6.10/lib/mgetgroups.c	2008-01-24 16:41:15.000000000 +0100
+@@ -43,9 +43,17 @@ mgetgroups (const char *username, gid_t 
+   int ng;
+   GETGROUPS_T *g;
+ 
+-  max_n_groups = (username
+-		  ? getugroups (0, NULL, username, gid)
+-		  : getgroups (0, NULL));
++    if (!username)
++      max_n_groups = getgroups(0, NULL);
++  else 
++   {
 +#ifdef HAVE_GETGROUPLIST
 +      max_n_groups = 0;
 +      getgrouplist (username, gid, NULL, &max_n_groups);
 +#else
 +      max_n_groups = getugroups (0, NULL, username, gid);
 +#endif
-+    }
++   }
  
-   if (max_n_groups < 0)
-     ng = -1;
-@@ -263,7 +270,22 @@
-       if (!username)
- 	ng = getgroups (max_n_groups, g);
-       else
--	ng = getugroups (max_n_groups, g, username, gid);
-+	{
+   /* If we failed to count groups with NULL for a buffer,
+      try again with a non-NULL one, just in case.  */
+@@ -62,9 +70,25 @@ mgetgroups (const char *username, gid_t 
+   if (g == NULL)
+     return -1;
+ 
+-  ng = (username
+-	? getugroups (max_n_groups, g, username, gid)
+-	: getgroups (max_n_groups, g));
++  if (!username)
++    ng = getgroups (max_n_groups, g);
++  else
++    {
 +#ifdef HAVE_GETGROUPLIST
 +	  int e;
 +	  ng = max_n_groups;
@@ -53,13 +65,14 @@
 +#else
 +	  ng = getugroups (max_n_groups, g, username, gid);
 +#endif
-+	}
-     }
++    }
  
    if (ng < 0)
---- coreutils-6.7/m4/jm-macros.m4.getgrouplist	2006-12-06 11:04:22.000000000 +0000
-+++ coreutils-6.7/m4/jm-macros.m4	2007-01-09 17:33:47.000000000 +0000
-@@ -64,6 +64,7 @@
+     {
+diff -urp coreutils-6.10-orig/m4/jm-macros.m4 coreutils-6.10/m4/jm-macros.m4
+--- coreutils-6.10-orig/m4/jm-macros.m4	2007-11-25 14:23:31.000000000 +0100
++++ coreutils-6.10/m4/jm-macros.m4	2008-01-24 16:42:00.000000000 +0100
+@@ -52,6 +52,7 @@ AC_DEFUN([coreutils_MACROS],
      fchown \
      fchmod \
      ftruncate \

coreutils-i18n.patch:

Index: coreutils-i18n.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-i18n.patch,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- coreutils-i18n.patch	29 Oct 2007 16:12:27 -0000	1.22
+++ coreutils-i18n.patch	25 Jan 2008 17:48:11 -0000	1.23
@@ -89,8 +89,8 @@
 +Cherryï¼ 30
 --- coreutils-6.8+/tests/sort/Makefile.am.i18n	2007-01-24 07:47:37.000000000 +0000
 +++ coreutils-6.8+/tests/sort/Makefile.am	2007-03-01 15:09:59.000000000 +0000
-@@ -66,15 +66,17 @@
- bigfield.O bigfield.E
+@@ -66,12 +66,14 @@
+ bigfield.O bigfield.E obs-inval.O obs-inval.E realloc-buf.O realloc-buf.E
  ##test-files-end
  
 -EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
@@ -99,9 +99,6 @@
 +
 +EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) mb1.I mb1.X mb2.I mb2.X
 +noinst_SCRIPTS = $x-tests # $x-mb-tests
- TESTS_ENVIRONMENT = \
-   CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
-   PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
  
  editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
  
@@ -1096,7 +1093,7 @@
 +	  mbstate_t thisstate;
 +#endif
 +
- 	  if (readlinebuffer (thisline, stdin) == 0)
+ 	  if (readlinebuffer_delim (thisline, stdin, delimiter) == 0)
  	    break;
  	  thisfield = find_field (thisline);
  	  thislen = thisline->length - 1 - (thisfield - thisline->buffer);
@@ -1130,7 +1127,7 @@
 +      mbstate_t prevstate;
 +#endif
  
-       if (readlinebuffer (prevline, stdin) == 0)
+       if (readlinebuffer_delim (prevline, stdin, delimiter) == 0)
  	goto closefiles;
        prevfield = find_field (prevline);
        prevlen = prevline->length - 1 - (prevfield - prevline->buffer);
@@ -1146,7 +1143,7 @@
 +#if HAVE_MBRTOWC
 +	  mbstate_t thisstate;
 +#endif
- 	  if (readlinebuffer (thisline, stdin) == 0)
+ 	  if (readlinebuffer_delim (thisline, stdin, delimiter) == 0)
  	    {
  	      if (ferror (stdin))
 @@ -341,6 +561,15 @@
@@ -3612,7 +3609,7 @@
  	  fieldstr++;
  
 @@ -387,14 +464,16 @@
- 	      if (value == 0)
+ 	      if (!rhs_specified)
  		{
  		  /* `n-'.  From `initial' to end of line. */
 -		  eol_range_start = initial;
@@ -3625,7 +3622,7 @@
  		{
  		  /* `m-n' or `-n' (1-n). */
  		  if (value < initial)
--		    FATAL_ERROR (_("invalid byte or field list"));
+-		    FATAL_ERROR (_("invalid decreasing range"));
 +		    FATAL_ERROR (_("invalid byte, character or field list"));
  
  		  /* Is there already a range going to end of line? */

coreutils-overflow.patch:

Index: coreutils-overflow.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-overflow.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-overflow.patch	25 May 2005 09:38:52 -0000	1.1
+++ coreutils-overflow.patch	25 Jan 2008 17:48:11 -0000	1.2
@@ -1,7 +1,7 @@
 --- coreutils-5.2.1/src/who.c.overflow	2005-05-25 09:59:06.000000000 +0100
 +++ coreutils-5.2.1/src/who.c	2005-05-25 10:00:31.000000000 +0100
 @@ -75,7 +75,7 @@
- # define NEW_TIME 0
+ # define UT_TYPE_NEW_TIME(U) false
  #endif
  
 -#define IDLESTR_LEN 6

coreutils-pam.patch:

Index: coreutils-pam.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-pam.patch,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- coreutils-pam.patch	9 Jan 2007 19:29:30 -0000	1.10
+++ coreutils-pam.patch	25 Jan 2008 17:48:11 -0000	1.11
@@ -177,13 +177,13 @@
 +    pam_close_session(pamh, 0);
 +    pam_end(pamh, PAM_ABORT);
 +#endif
-     error (EXIT_FAIL, errno, _("cannot set groups"));
+     error (EXIT_FAILURE, errno, _("cannot set groups"));
 +  }
    endgrent ();
  #endif
    if (setgid (pw->pw_gid))
 @@ -318,6 +413,31 @@
-     error (EXIT_FAIL, errno, _("cannot set user id"));
+     error (EXIT_FAILURE, errno, _("cannot set user id"));
  }
  
 +#ifdef USE_PAM
@@ -397,7 +397,7 @@
  
 --- coreutils-6.7/configure.ac.pam	2006-12-07 21:30:24.000000000 +0000
 +++ coreutils-6.7/configure.ac	2007-01-09 17:18:04.000000000 +0000
-@@ -39,6 +39,13 @@
+@@ -44,6 +44,13 @@
  gl_INIT
  coreutils_MACROS
  
@@ -408,6 +408,6 @@
 +LIB_PAM="-ldl -lpam -lpam_misc"
 +AC_SUBST(LIB_PAM)])
 +
- AC_CHECK_FUNCS(uname,
- 	OPTIONAL_BIN_PROGS="$OPTIONAL_BIN_PROGS uname\$(EXEEXT)"
- 	MAN="$MAN uname.1")
+ AC_FUNC_FORK
+
+ optional_bin_progs=

coreutils-selinux.patch:

View full diff with command:
/usr/bin/cvs -f diff  -kk -u -N -r 1.37 -r 1.38 coreutils-selinux.patch
Index: coreutils-selinux.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-selinux.patch,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- coreutils-selinux.patch	13 Nov 2007 15:11:37 -0000	1.37
+++ coreutils-selinux.patch	25 Jan 2008 17:48:11 -0000	1.38
@@ -1,45 +1,528 @@
---- coreutils-6.9/tests/help-version.selinux	2007-03-23 11:59:21.000000000 +0000
-+++ coreutils-6.9/tests/help-version	2007-03-23 11:59:21.000000000 +0000
-@@ -72,6 +72,8 @@
- 
-     # Skip `test'; it doesn't accept --help or --version.
-     test $i = test && continue;
-+    test $i = chcon && continue;
-+    test $i = runcon && continue;
- 
-     # false fails even when invoked with --help or --version.
-     if test $i = false; then
-@@ -198,7 +200,7 @@
- 
- 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
- 
-   rm -rf $tmp_in $tmp_in2 $tmp_dir $tmp_out
-   echo > $tmp_in
---- coreutils-6.9/src/ls.c.selinux	2007-03-18 21:36:43.000000000 +0000
-+++ coreutils-6.9/src/ls.c	2007-03-23 11:59:21.000000000 +0000
-@@ -111,6 +111,18 @@
- 
- #define AUTHORS "Richard Stallman", "David MacKenzie"
+diff -urp coreutils-6.10-orig/configure.ac coreutils-6.10/configure.ac
+--- coreutils-6.10-orig/configure.ac	2008-01-25 12:32:33.000000000 +0100
++++ coreutils-6.10/configure.ac	2008-01-25 14:10:34.000000000 +0100
+@@ -51,6 +51,13 @@ AC_ARG_ENABLE(pam, dnl
+ LIB_PAM="-ldl -lpam -lpam_misc"
+ AC_SUBST(LIB_PAM)])
  
-+#ifdef WITH_SELINUX
-+#include <selinux/selinux.h>
-+
-+static int print_scontext       = 0;
-+
-+
-+
++dnl Give the chance to enable SELINUX
++AC_ARG_ENABLE(selinux, dnl
++[  --enable-selinux              Enable use of the SELINUX libraries],
++[AC_DEFINE(WITH_SELINUX, 1, [Define if you want to use SELINUX])
++LIB_SELINUX="-lselinux"
++AC_SUBST(LIB_SELINUX)])
 +
+ AC_FUNC_FORK
+ 
+ optional_bin_progs=
+diff -urp coreutils-6.10-orig/man/cp.1 coreutils-6.10/man/cp.1
+--- coreutils-6.10-orig/man/cp.1	2008-01-25 12:34:23.000000000 +0100
++++ coreutils-6.10/man/cp.1	2008-01-25 14:42:25.000000000 +0100
+@@ -58,7 +58,7 @@ same as \fB\-\-preserve\fR=\fImode\fR,ow
+ \fB\-\-preserve\fR[=\fIATTR_LIST\fR]
+ preserve the specified attributes (default:
+ mode,ownership,timestamps), if possible
+-additional attributes: context, links, all
++additional attributes: security context, links, all
+ .TP
+ \fB\-\-no\-preserve\fR=\fIATTR_LIST\fR
+ don't preserve the specified attributes
+@@ -102,6 +102,9 @@ explain what is being done
+ .TP
+ \fB\-x\fR, \fB\-\-one\-file\-system\fR
+ stay on this file system
++\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
+diff -urp coreutils-6.10-orig/man/dir.1 coreutils-6.10/man/dir.1
+--- coreutils-6.10-orig/man/dir.1	2008-01-25 12:34:23.000000000 +0100
++++ coreutils-6.10/man/dir.1	2008-01-25 14:46:19.000000000 +0100
+@@ -203,11 +203,24 @@ list entries by lines instead of by colu
+ \fB\-X\fR
+ sort alphabetically by entry extension
+ .TP
+-\fB\-Z\fR, \fB\-\-context\fR
+-print any SELinux security context of each file
+-.TP
+ \fB\-1\fR
+ list one file per line
++.PP
++SELINUX options:
++.TP
++\fB\-\-lcontext\fR
++Display SELinux security context.   
++Enable \fB\-l\fR. Lines will probably be too 
++wide for most displays.
++.TP
++\fB\-\-context\fR
++Display SELinux security context so it fits 
++on most displays.  Displays only mode, user, 
++group, security context and file name.
++.TP
++\fB\-\-scontext\fR
++Display only SELinux security context and 
++file name.
+ .TP
+ \fB\-\-help\fR
+ display this help and exit
+diff -urp coreutils-6.10-orig/man/chcon.1 coreutils-6.10/man/chcon.1
+--- coreutils-6.10-orig/man/chcon.1	2008-01-25 12:34:22.000000000 +0100
++++ coreutils-6.10/man/chcon.1	2008-01-25 14:15:52.000000000 +0100
+@@ -1,7 +1,7 @@
+ .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
+ .TH CHCON "1" "January 2008" "GNU coreutils 6.10" "User Commands"
+ .SH NAME
+-chcon \- change file security context
++chcon \- change file SELinux security context
+ .SH SYNOPSIS
+ .B chcon
+ [\fIOPTION\fR]... \fICONTEXT FILE\fR...
+@@ -14,7 +14,7 @@ chcon \- change file security context
+ .SH DESCRIPTION
+ .\" Add any additional description here
+ .PP
+-Change the security context of each FILE to CONTEXT.
++Change the SELinux security context of each FILE to CONTEXT.
+ With \fB\-\-reference\fR, change the security context of each FILE to that of RFILE.
+ .TP
+ \fB\-c\fR, \fB\-\-changes\fR
+@@ -74,6 +74,8 @@ License GPLv3+: GNU GPL version 3 or lat
+ .br
+ This is free software: you are free to change and redistribute it.
+ There is NO WARRANTY, to the extent permitted by law.
++.SH "REPORTING BUGS"
++Report bugs to <https://bugzilla.redhat.com/bugzilla>.
+ .SH "SEE ALSO"
+ The full documentation for
+ .B chcon
+diff -urp coreutils-6.10-orig/man/id.1 coreutils-6.10/man/id.1
+--- coreutils-6.10-orig/man/id.1	2008-01-25 12:34:24.000000000 +0100
++++ coreutils-6.10/man/id.1	2008-01-25 14:40:22.000000000 +0100
+@@ -14,7 +14,7 @@ Print information for USERNAME, or the c
+ ignore, for compatibility with other versions
+ .TP
+ \fB\-Z\fR, \fB\-\-context\fR
+-print only the security context of the current user
++print only the SELinux security context of the current user
+ .TP
+ \fB\-g\fR, \fB\-\-group\fR
+ print only the effective group ID
+diff -urp coreutils-6.10-orig/man/install.1 coreutils-6.10/man/install.1
+--- coreutils-6.10-orig/man/install.1	2008-01-25 12:34:23.000000000 +0100
++++ coreutils-6.10/man/install.1	2008-01-25 14:32:47.000000000 +0100
+@@ -68,11 +68,11 @@ treat DEST as a normal file
+ \fB\-v\fR, \fB\-\-verbose\fR
+ print the name of each directory as it is created
+ .TP
+-\fB\-\-preserve\-context\fR
+-preserve SELinux security context
++\fB\-P\fR, \fB\-\-preserve_context\fR \fB\-\-preserve\-context\fR
++(SELinux) preserve SELinux security context
+ .TP
+ \fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
+-set SELinux security context of files and directories
++(SELinux) set SELinux security context of files and directories
+ .TP
+ \fB\-\-help\fR
+ display this help and exit
+diff -urp coreutils-6.10-orig/man/ls.1 coreutils-6.10/man/ls.1
+--- coreutils-6.10-orig/man/ls.1	2008-01-25 12:34:23.000000000 +0100
++++ coreutils-6.10/man/ls.1	2008-01-25 14:39:10.000000000 +0100
+@@ -203,11 +203,24 @@ list entries by lines instead of by colu
+ \fB\-X\fR
+ sort alphabetically by entry extension
+ .TP
+-\fB\-Z\fR, \fB\-\-context\fR
+-print any SELinux security context of each file
+-.TP
+ \fB\-1\fR
+ list one file per line
++.PP
++SELinux options:
++.TP
++\fB\-\-lcontext\fR
++Display SELinux security context.   
++Enable \fB\-l\fR. Lines will probably be too 
++wide for most displays.
++.TP
++\fB\-Z\fR, \fB\-\-context\fR
++Display SELinux security context so it fits 
++on most displays.  Displays only mode, user, 
++group, security context and file name.
++.TP
++\fB\-\-scontext\fR
++Display only SELinux security context and 
++file name.
+ .TP
[...2993 lines suppressed...]
- 
- SUFFIXES = .x .1
- 
---- coreutils-6.9/man/cp.1.selinux	2007-03-22 21:21:47.000000000 +0000
-+++ coreutils-6.9/man/cp.1	2007-03-23 11:59:21.000000000 +0000
-@@ -57,7 +57,7 @@
- .TP
- \fB\-\-preserve\fR[=\fIATTR_LIST\fR]
- preserve the specified attributes (default:
--mode,ownership,timestamps), if possible
-+mode,ownership,timestamps) and security contexts, if possible
- additional attributes: links, all
- .TP
- \fB\-\-no\-preserve\fR=\fIATTR_LIST\fR
-@@ -106,6 +106,9 @@
- \fB\-\-help\fR
- display this help and exit
- .TP
-+\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
-+set security context of copy to CONTEXT
-+.TP
- \fB\-\-version\fR
- output version information and exit
- .PP
---- coreutils-6.9/man/id.1.selinux	2007-03-22 21:21:50.000000000 +0000
-+++ coreutils-6.9/man/id.1	2007-03-23 11:59:21.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 of the current process
-+.TP
- \fB\-g\fR, \fB\-\-group\fR
- print only the effective group ID
- .TP
---- /dev/null	2007-03-23 08:54:03.819414923 +0000
-+++ coreutils-6.9/man/runcon.x	2007-03-23 11:59:21.000000000 +0000
-@@ -0,0 +1,14 @@
-+[NAME]
-+runcon \- run command with specified security context
-+[DESCRIPTION]
-+Run COMMAND with completely-specified CONTEXT, or with current or
-+transitioned security context modified by one or more of LEVEL,
-+ROLE, TYPE, and USER.
-+.PP
-+If none of \fI-c\fR, \fI-t\fR, \fI-u\fR, \fI-r\fR, or \fI-l\fR, is specified,
-+the first argument is used as the complete context.  Any additional
-+arguments after \fICOMMAND\fR are interpreted as arguments to the
-+command.
-+.PP
-+Note that only carefully-chosen contexts are likely to successfully
-+run.
---- /dev/null	2007-03-23 08:54:03.819414923 +0000
-+++ coreutils-6.9/man/runcon.1	2007-03-23 11:59:21.000000000 +0000
-@@ -0,0 +1,45 @@
-+.TH RUNCON "1" "February 2005" "runcon (coreutils) 5.0" "selinux"
-+.SH NAME
-+runcon \- run command with specified SELinux security context 
-+.SH SYNOPSIS
-+.B runcon
-+[\fI-c\fR] [\fI-t TYPE\fR] [\fI-l LEVEL\fR] [\fI-u USER\fR] [\fI-r ROLE\fR] \fICOMMAND\fR [\fIARGS...\fR]
-+.PP
-+or
-+.PP
-+.B runcon
-+\fICONTEXT\fR \fICOMMAND\fR [\fIargs...\fR]
-+.PP
-+.br
-+.SH DESCRIPTION
-+.PP
-+.\" Add any additional description here
-+.PP
-+Run COMMAND with completely-specified CONTEXT, or with current or
-+transitioned security context modified by one or more of LEVEL,
-+ROLE, TYPE, and USER.
-+.TP
-+\fB\-c\fR
-+compute process transition before modifying context
-+.TP
-+\fB\-t\fR
-+change current type to the specified type
-+.TP
-+\fB\-l\fR
-+change current level range to the specified range
-+.TP
-+\fB\-r\fR
-+change current role to the specified role
-+.TP
-+\fB\-u\fR
-+change current user to the specified user
-+.TP
-+\fB\-\-\fR
-+The \fB\-\-\fR flag indicates that \fBruncon\fR should stop processing command
-+line arguments. Further arguments will be passed to COMMAND.
-+.PP
-+If none of \fI-c\fR, \fI-t\fR, \fI-u\fR, \fI-r\fR, or \fI-l\fR, is specified,
-+the first argument is used as the complete context.
-+.PP
-+Note that only carefully-chosen contexts are likely to successfully
-+run.
---- coreutils-6.9/man/mknod.1.selinux	2007-03-22 21:21:51.000000000 +0000
-+++ coreutils-6.9/man/mknod.1	2007-03-23 11:59:21.000000000 +0000
-@@ -12,6 +12,9 @@
- .PP
- Mandatory arguments to long options are mandatory for short options too.
- .TP
-+\fB\-Z\fR, \fB\-\-context\fR=\fICONTEXT\fR
-+set security context (quoted string)
-+.TP
- \fB\-m\fR, \fB\-\-mode\fR=\fIMODE\fR
- set file permission bits to MODE, not a=rw \- umask
- .TP
---- coreutils-6.9/man/ls.1.selinux	2007-03-22 21:21:51.000000000 +0000
-+++ coreutils-6.9/man/ls.1	2007-03-23 11:59:21.000000000 +0000
-@@ -205,6 +205,20 @@
- .TP
- \fB\-1\fR
- list one file per line
-+.PP
-+SELinux options:
-+.TP
-+\fB\-\-lcontext\fR
-+Display security context.   Enable \fB\-l\fR. Lines
-+will probably be too wide for most displays.
-+.TP
-+\fB\-Z\fR, \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
---- coreutils-6.9/man/mkdir.1.selinux	2007-03-22 21:21:51.000000000 +0000
-+++ coreutils-6.9/man/mkdir.1	2007-03-23 11:59:21.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
---- coreutils-6.9/man/vdir.1.selinux	2007-03-22 21:21:55.000000000 +0000
-+++ coreutils-6.9/man/vdir.1	2007-03-23 11:59:21.000000000 +0000
-@@ -205,6 +205,20 @@
- .TP
- \fB\-1\fR
- list one file per line
-+.PP
-+SELINUX options:
-+.TP
-+\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
---- coreutils-6.9/man/install.1.selinux	2007-03-22 21:21:50.000000000 +0000
-+++ coreutils-6.9/man/install.1	2007-03-23 11:59:21.000000000 +0000
-@@ -67,6 +67,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-6.9/README.selinux	2007-03-23 11:59:21.000000000 +0000
-+++ coreutils-6.9/README	2007-03-23 11:59:21.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 runuser seq sha1sum sha224sum sha256sum
-+  printenv printf ptx pwd readlink rm rmdir runcon runuser 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

coreutils-split-pam.patch:

Index: coreutils-split-pam.patch
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils-split-pam.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- coreutils-split-pam.patch	13 Jul 2006 12:01:32 -0000	1.1
+++ coreutils-split-pam.patch	25 Jan 2008 17:48:11 -0000	1.2
@@ -28,3 +28,30 @@
    PAM_BAIL_P;
  
  #ifndef RUNUSER
+diff -urp coreutils-6.10-orig/doc/coreutils.info coreutils-6.10/doc/coreutils.info
+--- coreutils-6.10-orig/doc/coreutils.info	2008-01-22 00:32:44.000000000 +0100
++++ coreutils-6.10/doc/coreutils.info	2008-01-24 17:17:04.000000000 +0100
+@@ -11006,7 +11006,8 @@ options::.
+      set, even for the super-user, as described above), and set `PATH'
+      to a compiled-in default value.  Change to USER's home directory.
+      Prepend `-' to the shell's name, intended to make it read its
+-     login startup file(s).
++     login startup file(s). When this option is given, /etc/pam.d/su-l
++     PAM file is used instead of the default one.
+ 
+ `-m'
+ `-p'
+diff -urp coreutils-6.10-orig/doc/coreutils.texi coreutils-6.10/doc/coreutils.texi
+--- coreutils-6.10-orig/doc/coreutils.texi	2008-01-24 16:50:57.000000000 +0100
++++ coreutils-6.10/doc/coreutils.texi	2008-01-24 17:12:58.000000000 +0100
+@@ -13670,7 +13670,9 @@ the exit status of @var{command} otherwi
+ 
+ @command{su} allows one user to temporarily become another user.  It runs a
+ command (often an interactive shell) with the real and effective user
+-ID, group ID, and supplemental groups of a given @var{user}.  Synopsis:
++ID, group ID, and supplemental groups of a given @var{user}. When the -l
++option is given, the su-l PAM file is used instead of the default su PAM file.
++Synopsis:
+ 
+ @example
+ su [@var{option}]@dots{} [@var{user} [@var{arg}]@dots{}]


Index: coreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/coreutils/devel/coreutils.spec,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -r1.187 -r1.188
--- coreutils.spec	16 Jan 2008 21:43:33 -0000	1.187
+++ coreutils.spec	25 Jan 2008 17:48:11 -0000	1.188
@@ -1,14 +1,15 @@
 Summary: The GNU core utilities: a set of tools commonly used in shell scripts
 Name:    coreutils
-Version: 6.9
-Release: 17%{?dist}
-License: GPLv2+
+Version: 6.10
+Release: 1%{?dist}
+License: GPLv3+
 Group:   System Environment/Base
 Url:     http://www.gnu.org/software/coreutils/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
+Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.lzma
 Source101:  coreutils-DIR_COLORS
 Source102:  coreutils-DIR_COLORS.xterm
+Source103:  coreutils-DIR_COLORS.256color
 Source105:  coreutils-colorls.sh
 Source106:  coreutils-colorls.csh
 Source200:  coreutils-su.pamd
@@ -17,14 +18,10 @@
 Source203:  coreutils-runuser-l.pamd
 
 # From upstream
-Patch1: coreutils-futimens.patch
-Patch2: coreutils-ls-x.patch
-Patch3: coreutils-6.9-cp-i-u.patch
-Patch4: coreutils-6.9-du-ls-upstream.patch
 
 # Our patches
 Patch100: coreutils-chgrp.patch
-Patch101: coreutils-getdateYYYYMMDD.patch
+Patch101: coreutils-6.10-configuration.patch
 
 # sh-utils
 Patch703: sh-utils-2.0.11-dateman.patch
@@ -46,17 +43,18 @@
 Patch915: coreutils-split-pam.patch
 Patch916: coreutils-getfacl-exit-code.patch
 
-#SELINUX Patch
+#SELINUX Patch - implements Redhat changes 
+#(upstream did some SELinux implementation unlike with RedHat patch)
 Patch950: coreutils-selinux.patch
-#SELINUX Patch fix to allow cp -a rewrite file on different filesystem
-Patch951: coreutils-6.9-requiresecuritycontext.patch
-Patch952: coreutils-6.9-statsecuritycontext.patch
 
 BuildRequires: libselinux-devel >= 1.25.6-1
 BuildRequires: libacl-devel
 BuildRequires: gettext bison
 BuildRequires: texinfo >= 4.3
-BuildRequires: autoconf >= 2.58, automake >= 1.8
+BuildRequires: lzma
+BuildRequires: autoconf >= 2.58
+#dist-lzma required
+BuildRequires: automake >= 1.10.1 
 %{?!nopam:BuildRequires: pam-devel}
 
 Requires(post): libselinux >= 1.25.6-1
@@ -73,11 +71,12 @@
 Provides: sh-utils = %{version}-%{release}
 Provides: stat = %{version}-%{release}
 Provides: textutils = %{version}-%{release}
+Obsoletes: mktemp
+Provides: mktemp = %{version}-%{release}
 Obsoletes: fileutils <= 4.1.9
 Obsoletes: sh-utils <= 2.0.12
 Obsoletes: stat <= 3.3
 Obsoletes: textutils <= 2.0.21
-
 # readlink(1) moved here from tetex.
 Conflicts: tetex < 1.0.7-66
 
@@ -86,17 +85,17 @@
 the old GNU fileutils, sh-utils, and textutils packages.
 
 %prep
-%setup -q
+#do not unpack in setup because of lzma is not yet supported in setup macro
+%setup -q -c -T
+cd ..
+lzma -dc %SOURCE0 | tar xf -
+cd %name-%version
 
 # From upstream
-%patch1 -p1 -b .futimens
-%patch2 -p1 -b .ls-x
-%patch3 -p1 -b .cp-i-u
-%patch4 -p1 -b .du-ls
 
 # Our patches
 %patch100 -p1 -b .chgrp
-%patch101 -p1 -b .getdate
+%patch101 -p1 -b .configure
 
 # sh-utils
 %patch703 -p1 -b .dateman
@@ -118,15 +117,8 @@
 
 #SELinux
 %patch950 -p1 -b .selinux
-%patch951 -p1 -b .require-preserve
-%patch952 -p1 -b .statsecuritycontext
-
-# Don't run basic-1 test, since it breaks when run in the background
-# (bug #102033).
-sed -i -e 's/basic-1//g' tests/stty/Makefile*
 
 chmod a+x tests/sort/sort-mb-tests
-chmod a+x tests/ls/x-option
 
 %build
 %ifarch s390 s390x
@@ -142,6 +134,7 @@
 automake --copy --add-missing
 %configure --enable-largefile --with-afs %{?!nopam:--enable-pam} \
            --enable-selinux \
+           --enable-install-program=su,hostname \
            DEFAULT_POSIX2_VERSION=200112 alternative=199209 || :
 make all %{?_smp_mflags} \
          %{?!nopam:CPPFLAGS="-DUSE_PAM"} \
@@ -173,7 +166,7 @@
 # let be compatible with old fileutils, sh-utils and textutils packages :
 mkdir -p $RPM_BUILD_ROOT{/bin,%_bindir,%_sbindir,/sbin}
 %{?!nopam:mkdir -p $RPM_BUILD_ROOT%_sysconfdir/pam.d}
-for f in basename cat chgrp chmod chown cp cut date dd df echo env false link ln ls mkdir mknod mv nice pwd rm rmdir sleep sort stty sync touch true uname unlink
+for f in basename cat chgrp chmod chown cp cut date dd df echo env false link ln ls mkdir mknod mktemp mv nice pwd rm rmdir sleep sort stty sync touch true uname unlink
 do
     mv $RPM_BUILD_ROOT{%_bindir,/bin}/$f 
 done
@@ -186,6 +179,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
 install -p -c -m644 %SOURCE101 $RPM_BUILD_ROOT%{_sysconfdir}/DIR_COLORS
 install -p -c -m644 %SOURCE102 $RPM_BUILD_ROOT%{_sysconfdir}/DIR_COLORS.xterm
+install -p -c -m644 %SOURCE103 $RPM_BUILD_ROOT%{_sysconfdir}/DIR_COLORS.256color
 install -p -c -m644 %SOURCE105 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/colorls.sh
 install -p -c -m644 %SOURCE106 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/colorls.csh
 
@@ -280,6 +274,7 @@
 /bin/stty
 %attr(4755,root,root) /bin/su
 /bin/sync
+/bin/mktemp
 /bin/touch
 /bin/true
 /bin/uname
@@ -291,6 +286,23 @@
 /sbin/runuser
 
 %changelog
+* Fri Jan 25 2008 Ondrej Vasik <ovasik at redhat.com> - 6.10-1
+- New upstream release(changed %%prep because of lack of lzma
+  support in %%setup macro)
+- License GPLv3+
+- removed patches cp-i-u,du-ls-upstream,statsecuritycontext,
+  futimens,getdateYYYYMMDD,ls-x
+- modified patches to be compilable after upstream changes
+- selinux patch reworked to have backward compatibility with
+  F8(cp,ls and stat behaviour differ from upstream in SELinux
+  options)
+- su-l/runuser-l pam file usage a bit documented(#368721)
+- more TERMs for DIR_COLORS, added colors for audio files,
+  more image/compress file types(taken from upstream 
+  dircolors.hin)
+- new file DIR_COLORS.256color which takes advantage from 
+  256color term types-not really used yet(#429121)
+
 * Wed Jan 16 2008 Ondrej Vasik <ovasik at redhat.com> - 6.9-17
 - added several missing colored TERMs(including rxvt-unicode,
   screen-256color and xterm-256color) to DIR_COLORS and


--- coreutils-6.9-cp-i-u.patch DELETED ---


--- coreutils-6.9-du-ls-upstream.patch DELETED ---


--- coreutils-6.9-requiresecuritycontext.patch DELETED ---


--- coreutils-6.9-statsecuritycontext.patch DELETED ---


--- coreutils-futimens.patch DELETED ---


--- coreutils-getdateYYYYMMDD.patch DELETED ---


--- coreutils-getfacl-exit-code.patch DELETED ---


--- coreutils-ls-x.patch DELETED ---




More information about the fedora-extras-commits mailing list