From d55c5bada19e50d705e66882cb012a91286a2f58 Mon Sep 17 00:00:00 2001 From: Ondrej Vasik Date: Mar 04 2008 12:54:13 +0000 Subject: fixed missing doublequotes in colorls.csh, a bit documented su-l/runuser-l pam files usage --- diff --git a/coreutils-5.2.1-runuser.patch b/coreutils-5.2.1-runuser.patch index b64dbfe..88b1db1 100644 --- a/coreutils-5.2.1-runuser.patch +++ b/coreutils-5.2.1-runuser.patch @@ -330,7 +330,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 diff --git a/coreutils-colorls.csh b/coreutils-colorls.csh index f5e0dcc..ea2be8b 100755 --- a/coreutils-colorls.csh +++ b/coreutils-colorls.csh @@ -1,6 +1,6 @@ # color-ls initialization if ( $?LS_COLORS ) then - if ( $LS_COLORS != "" ) then + if ( "$LS_COLORS" != "" ) then #do not override user specified LS_COLORS and use them goto finish endif diff --git a/coreutils-split-pam.patch b/coreutils-split-pam.patch index 4d36447..f8596b4 100644 --- a/coreutils-split-pam.patch +++ b/coreutils-split-pam.patch @@ -28,3 +28,30 @@ diff -uNrp -x '*~' coreutils-5.97-orig/src/su.c coreutils-5.97/src/su.c PAM_BAIL_P; #ifndef RUNUSER +diff -urp coreutils-6.9-orig/doc/coreutils.info coreutils-6.10/doc/coreutils.info +--- coreutils-6.9-orig/doc/coreutils.info ++++ coreutils-6.9/doc/coreutils.info +@@ -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.9-orig/doc/coreutils.texi ++++ coreutils-6.9/doc/coreutils.texi +@@ -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{}] diff --git a/coreutils.spec b/coreutils.spec index efc92a3..4002fee 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,7 @@ Summary: The GNU core utilities: a set of tools commonly used in shell scripts Name: coreutils Version: 6.9 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv2+ Group: System Environment/Base Url: http://www.gnu.org/software/coreutils/ @@ -293,6 +293,10 @@ fi /sbin/runuser %changelog +* Tue Mar 4 2008 Ondrej Vasik - 6.9-14 +- fixed missing doublequotes in colorls.csh (#435789) +- su-l/runuser-l pam file usage a bit documented(#368721) + * Tue Feb 19 2008 Ondrej Vasik - 6.9-13 - added several missing colored TERMS(#239266) - added several missing image/compressed file extensions