This commit is contained in:
parent
1982ec1216
commit
b45def5b1f
@ -1,89 +0,0 @@
|
||||
2006-12-13 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* tests/mv/acl (skip): Check for acl support in the file system.
|
||||
|
||||
* tests/mv/Makefile.am (XFAIL_TESTS): Remove.
|
||||
(TESTS_ENVIRONMENT): Pass CONFIG_HEADER.
|
||||
|
||||
2006-12-12 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error.
|
||||
Reported by Andreas Schwab <schwab@suse.de>.
|
||||
|
||||
diff --git a/tests/mv/Makefile.am b/tests/mv/Makefile.am
|
||||
index 57581cd..0a1f2db 100644
|
||||
--- a/tests/mv/Makefile.am
|
||||
+++ b/tests/mv/Makefile.am
|
||||
@@ -20,7 +20,6 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = 1.3 gnits
|
||||
|
||||
-XFAIL_TESTS = acl
|
||||
TESTS = \
|
||||
hard-verbose \
|
||||
backup-dir \
|
||||
@@ -48,4 +47,5 @@ TESTS_ENVIRONMENT = \
|
||||
PERL="$(PERL)" \
|
||||
EGREP="$(EGREP)" \
|
||||
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
|
||||
+ CONFIG_HEADER=$(CONFIG_HEADER) \
|
||||
PROG=mv
|
||||
diff --git a/tests/mv/acl b/tests/mv/acl
|
||||
index f570656..df3bb01 100755
|
||||
--- a/tests/mv/acl
|
||||
+++ b/tests/mv/acl
|
||||
@@ -24,6 +24,13 @@
|
||||
# Make sure we get English translations.
|
||||
. $srcdir/../lang-default
|
||||
|
||||
+# Skip this test if cp was built without ACL support:
|
||||
+grep '^#define USE_ACL 0' $CONFIG_HEADER > /dev/null && \
|
||||
+ {
|
||||
+ echo 1>&2 "$0: insufficient ACL support, so skipping this test"
|
||||
+ (exit 77); exit 77
|
||||
+ }
|
||||
+
|
||||
if test "$VERBOSE" = yes; then
|
||||
set -x
|
||||
mv --version
|
||||
@@ -46,15 +53,26 @@ framework_failure=0
|
||||
mkdir -p $tmp || framework_failure=1
|
||||
cd $tmp || framework_failure=1
|
||||
|
||||
+touch file || framework_failure=1
|
||||
+
|
||||
if test $framework_failure = 1; then
|
||||
echo 'failure in testing framework'
|
||||
(exit 1); exit 1
|
||||
fi
|
||||
|
||||
+skip=no
|
||||
+# Ensure that setfacl and getfacl work on this file system.
|
||||
+setfacl -m user:bin:rw file 2> /dev/null || skip=yes
|
||||
+acl1=`getfacl file` || skip=yes
|
||||
+
|
||||
+test $skip = yes &&
|
||||
+ {
|
||||
+ echo "$0: '.' is not on a suitable file system for this test" 1>&2
|
||||
+ echo "$0: skipping this test" 1>&2
|
||||
+ (exit 77); exit 77
|
||||
+ }
|
||||
+
|
||||
# move the access acl of a file
|
||||
-touch file || framework_failure=1
|
||||
-setfacl -m user:bin:rw file || framework_failure=1
|
||||
-acl1=`getfacl file` || framework_failure=1
|
||||
mv file $other_partition_tmpdir || fail=1
|
||||
acl2=`cd $other_partition_tmpdir && getfacl file` || framework_failure=1
|
||||
test "$acl1" = "$acl2" || fail=1
|
||||
--- a/m4/acl.m4
|
||||
+++ b/m4/acl.m4
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <errno.h>
|
||||
]],
|
||||
[[return !! (!acl_get_file (".", ACL_TYPE_ACCESS)
|
||||
- || errno == ENOENT);]])],
|
||||
+ && errno == ENOENT);]])],
|
||||
[gl_cv_func_working_acl_get_file=yes],
|
||||
[gl_cv_func_working_acl_get_file=no],
|
||||
[gl_cv_func_working_acl_get_file=cross-compiling])])
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d7027cc803682decdadf850095dce7e22cc08eba2b1283e16d0fb7a675ac1f0
|
||||
size 5315342
|
3
coreutils-6.8.tar.bz2
Normal file
3
coreutils-6.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e06a88323ddb1f47593c5c71b921f0703bc0e2d3beb47a11a94d6c96245e208a
|
||||
size 5338168
|
@ -1,3 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 25 10:58:58 CET 2007 - schwab@suse.de
|
||||
|
||||
- Update to coreutils 6.8.
|
||||
** Bug fixes
|
||||
chgrp, chmod, and chown now honor the --preserve-root option.
|
||||
Before, they would warn, yet continuing traversing and operating on /.
|
||||
chmod no longer fails in an environment (e.g., a chroot) with openat
|
||||
support but with insufficient /proc support.
|
||||
"cp --parents F/G D" no longer creates a directory D/F when F is not
|
||||
a directory (and F/G is therefore invalid).
|
||||
"cp --preserve=mode" would create directories that briefly had
|
||||
too-generous permissions in some cases. For example, when copying a
|
||||
directory with permissions 777 the destination directory might
|
||||
temporarily be setgid on some file systems, which would allow other
|
||||
users to create subfiles with the same group as the directory. Fix
|
||||
similar problems with 'install' and 'mv'.
|
||||
cut no longer dumps core for usage like "cut -f2- f1 f2" with two or
|
||||
more file arguments. This was due to a double-free bug, introduced
|
||||
in coreutils-5.3.0.
|
||||
dd bs= operands now silently override any later ibs= and obs=
|
||||
operands, as POSIX and tradition require.
|
||||
"ls -FRL" always follows symbolic links on Linux. Introduced in
|
||||
coreutils-6.0.
|
||||
A cross-partition "mv /etc/passwd ~" (by non-root) now prints
|
||||
a reasonable diagnostic. Before, it would print this:
|
||||
"mv: cannot remove `/etc/passwd': Not a directory".
|
||||
pwd and "readlink -e ." no longer fail unnecessarily when a parent
|
||||
directory is unreadable.
|
||||
"rm -rf /etc/passwd" (run by non-root) now prints a diagnostic.
|
||||
Before it would print nothing.
|
||||
"rm --interactive=never F" no longer prompts for an unwritable F
|
||||
** New features
|
||||
sort's new --compress-program=PROG option specifies a compression
|
||||
program to use when writing and reading temporary files.
|
||||
This can help save both time and disk space when sorting large inputs.
|
||||
** New features
|
||||
sort accepts the new option -C, which acts like -c except no diagnostic
|
||||
is printed. Its --check option now accepts an optional argument, and
|
||||
--check=quiet and --check=silent are now aliases for -C, while
|
||||
--check=diagnose-first is an alias for -c or plain --check.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 13:08:01 CET 2007 - schwab@suse.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package coreutils (Version 6.7)
|
||||
# spec file for package coreutils (Version 6.8)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -20,8 +20,8 @@ Obsoletes: fileutil fileutils sh-utils sh_utils stat textutil textutils
|
||||
Obsoletes: libselinux <= 1.23.11-3 libselinux-32bit >= 9 libselinux-64bit = 9 libselinux-x86 = 9
|
||||
Autoreqprov: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 6.7
|
||||
Release: 6
|
||||
Version: 6.8
|
||||
Release: 1
|
||||
Summary: GNU Core Utilities
|
||||
Source: coreutils-%{version}.tar.bz2
|
||||
Source1: su.pamd
|
||||
@ -34,8 +34,6 @@ Patch5: i18n-uninit.diff
|
||||
Patch6: i18n-infloop.diff
|
||||
Patch7: coreutils-5.0-pam-env.patch
|
||||
Patch8: coreutils-sysinfo.diff
|
||||
Patch9: acl-test.diff
|
||||
Patch10: getcwd.diff
|
||||
Patch11: i18n-monthsort.diff
|
||||
Patch16: invalid-ids.diff
|
||||
Patch17: no-no.diff
|
||||
@ -102,8 +100,6 @@ Authors:
|
||||
%patch
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10
|
||||
%patch11
|
||||
%patch16 -p1
|
||||
%patch17
|
||||
@ -172,7 +168,46 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man1/*.1.gz
|
||||
%dir %{_prefix}/share/locale/*/LC_TIME
|
||||
|
||||
%changelog -n coreutils
|
||||
%changelog
|
||||
* Sun Feb 25 2007 - schwab@suse.de
|
||||
- Update to coreutils 6.8.
|
||||
** Bug fixes
|
||||
chgrp, chmod, and chown now honor the --preserve-root option.
|
||||
Before, they would warn, yet continuing traversing and operating on /.
|
||||
chmod no longer fails in an environment (e.g., a chroot) with openat
|
||||
support but with insufficient /proc support.
|
||||
"cp --parents F/G D" no longer creates a directory D/F when F is not
|
||||
a directory (and F/G is therefore invalid).
|
||||
"cp --preserve=mode" would create directories that briefly had
|
||||
too-generous permissions in some cases. For example, when copying a
|
||||
directory with permissions 777 the destination directory might
|
||||
temporarily be setgid on some file systems, which would allow other
|
||||
users to create subfiles with the same group as the directory. Fix
|
||||
similar problems with 'install' and 'mv'.
|
||||
cut no longer dumps core for usage like "cut -f2- f1 f2" with two or
|
||||
more file arguments. This was due to a double-free bug, introduced
|
||||
in coreutils-5.3.0.
|
||||
dd bs= operands now silently override any later ibs= and obs=
|
||||
operands, as POSIX and tradition require.
|
||||
"ls -FRL" always follows symbolic links on Linux. Introduced in
|
||||
coreutils-6.0.
|
||||
A cross-partition "mv /etc/passwd ~" (by non-root) now prints
|
||||
a reasonable diagnostic. Before, it would print this:
|
||||
"mv: cannot remove `/etc/passwd': Not a directory".
|
||||
pwd and "readlink -e ." no longer fail unnecessarily when a parent
|
||||
directory is unreadable.
|
||||
"rm -rf /etc/passwd" (run by non-root) now prints a diagnostic.
|
||||
Before it would print nothing.
|
||||
"rm --interactive=never F" no longer prompts for an unwritable F
|
||||
** New features
|
||||
sort's new --compress-program=PROG option specifies a compression
|
||||
program to use when writing and reading temporary files.
|
||||
This can help save both time and disk space when sorting large inputs.
|
||||
** New features
|
||||
sort accepts the new option -C, which acts like -c except no diagnostic
|
||||
is printed. Its --check option now accepts an optional argument, and
|
||||
--check=quiet and --check=silent are now aliases for -C, while
|
||||
--check=diagnose-first is an alias for -c or plain --check.
|
||||
* Tue Jan 09 2007 - schwab@suse.de
|
||||
- Fix localized month sorting [#231790].
|
||||
* Wed Dec 13 2006 - schwab@suse.de
|
||||
|
11
getcwd.diff
11
getcwd.diff
@ -1,11 +0,0 @@
|
||||
--- lib/getcwd.c
|
||||
+++ lib/getcwd.c
|
||||
@@ -137,7 +137,7 @@
|
||||
size_t allocated = size;
|
||||
size_t used;
|
||||
|
||||
-#if HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD
|
||||
+#if HAVE_PARTLY_WORKING_GETCWD
|
||||
/* The system getcwd works, except it sometimes fails when it
|
||||
shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT. If
|
||||
AT_FDCWD is not defined, the algorithm below is O(N**2) and this
|
Loading…
Reference in New Issue
Block a user