From b330c8edf5a615392715070ec05d5c010136c00baf3d90833ce85b173904e799 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 12 Jan 2008 02:03:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coreutils?expand=0&rev=17 --- coreutils-6.9.90-preserve_mode-fix.diff | 58 ------------------- coreutils-6.9.90.tar.bz2 | 3 - ...utils-6.9.90.diff => coreutils-6.9.91.diff | 0 coreutils-6.9.91.tar.bz2 | 3 + coreutils-getaddrinfo.diff | 15 ----- coreutils.changes | 16 +++++ coreutils.spec | 20 ++++--- 7 files changed, 32 insertions(+), 83 deletions(-) delete mode 100644 coreutils-6.9.90-preserve_mode-fix.diff delete mode 100644 coreutils-6.9.90.tar.bz2 rename coreutils-6.9.90.diff => coreutils-6.9.91.diff (100%) create mode 100644 coreutils-6.9.91.tar.bz2 delete mode 100644 coreutils-getaddrinfo.diff diff --git a/coreutils-6.9.90-preserve_mode-fix.diff b/coreutils-6.9.90-preserve_mode-fix.diff deleted file mode 100644 index 998fd26..0000000 --- a/coreutils-6.9.90-preserve_mode-fix.diff +++ /dev/null @@ -1,58 +0,0 @@ ---- - src/cp.c | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -Index: b/src/cp.c -=================================================================== ---- a/src/cp.c -+++ b/src/cp.c -@@ -404,6 +404,7 @@ make_dir_parents_private (char const *co - slash++; - while ((slash = strchr (slash, '/'))) - { -+ int src_errno; - /* Add this directory to the list of directories whose modes need - fixing later. */ - struct dir_attr *new = xmalloc (sizeof *new); -@@ -413,12 +414,22 @@ make_dir_parents_private (char const *co - *attr_list = new; - - *slash = '\0'; -+ src_errno = (stat (src, &new->st) != 0 -+ ? errno -+ : S_ISDIR (new->st.st_mode) -+ ? 0 -+ : ENOTDIR); -+ if (src_errno) -+ { -+ error (0, src_errno, _("failed to get attributes of %s"), -+ quote (src)); -+ return false; -+ } - if (stat (dir, &stats) != 0) - { - mode_t src_mode; - mode_t omitted_permissions; - mode_t mkdir_mode; -- int src_errno; - - /* This component does not exist. We must set - *new_dst and new->st.st_mode inside this loop because, -@@ -426,17 +437,6 @@ make_dir_parents_private (char const *co - make_dir_parents_private creates only e_dir/../a if - ./b already exists. */ - *new_dst = true; -- src_errno = (stat (src, &new->st) != 0 -- ? errno -- : S_ISDIR (new->st.st_mode) -- ? 0 -- : ENOTDIR); -- if (src_errno) -- { -- error (0, src_errno, _("failed to get attributes of %s"), -- quote (src)); -- return false; -- } - src_mode = new->st.st_mode; - - /* If the ownership or special mode bits might change, diff --git a/coreutils-6.9.90.tar.bz2 b/coreutils-6.9.90.tar.bz2 deleted file mode 100644 index 9a455a9..0000000 --- a/coreutils-6.9.90.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:493514a920b3d73e8714b2e8e884febb494b663d02bd8fac194a35640b95fa2b -size 5979771 diff --git a/coreutils-6.9.90.diff b/coreutils-6.9.91.diff similarity index 100% rename from coreutils-6.9.90.diff rename to coreutils-6.9.91.diff diff --git a/coreutils-6.9.91.tar.bz2 b/coreutils-6.9.91.tar.bz2 new file mode 100644 index 0000000..cce9363 --- /dev/null +++ b/coreutils-6.9.91.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1604c2916d209af7461ee4821eeef6a4847fa30d8b7a982ff97470e265325732 +size 6034366 diff --git a/coreutils-getaddrinfo.diff b/coreutils-getaddrinfo.diff deleted file mode 100644 index 4ab88ee..0000000 --- a/coreutils-getaddrinfo.diff +++ /dev/null @@ -1,15 +0,0 @@ -Index: coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c -=================================================================== ---- coreutils-6.9.90.orig/gnulib-tests/test-getaddrinfo.c 2007-11-17 07:59:42.000000000 +0100 -+++ coreutils-6.9.90/gnulib-tests/test-getaddrinfo.c 2007-12-12 11:25:49.000000000 +0100 -@@ -61,6 +61,10 @@ int simple (char *host, char *service) - if (res == EAI_SERVICE) - return 0; - -+ /* Do not fail this test for temporary name resolution errors. */ -+ if (res == EAI_AGAIN) -+ return 0; -+ - return 1; - } - diff --git a/coreutils.changes b/coreutils.changes index de21b0d..42d41b9 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sat Jan 12 02:53:10 CET 2008 - mrueckert@suse.de + +- reverted back to bzip2 for the tarball as decided on the dist + meeting + +------------------------------------------------------------------- +Mon Jan 7 16:14:51 CET 2008 - schwab@suse.de + +- Update to coreutils 6.9.91. + ** Bug fixes + "ls -l" would not output "+" on SELinux hosts unless -Z was also given. + "rm" would fail to unlink a non-directory when run in an environment + in which the user running rm is capable of unlinking a directory. + [bug introduced in coreutils-6.9] + ------------------------------------------------------------------- Mon Jan 7 11:12:01 CET 2008 - jblunck@suse.de diff --git a/coreutils.spec b/coreutils.spec index 643143b..513a17a 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,5 +1,5 @@ # -# spec file for package coreutils (Version 6.9.90) +# spec file for package coreutils (Version 6.9.91) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -19,8 +19,8 @@ Obsoletes: fileutils sh-utils stat textutils mktemp Obsoletes: libselinux <= 1.23.11-3 libselinux-32bit >= 9 libselinux-64bit = 9 libselinux-x86 = 9 AutoReqProv: on PreReq: %{install_info_prereq} -Version: 6.9.90 -Release: 9 +Version: 6.9.91 +Release: 1 Summary: GNU Core Utilities Source: coreutils-%{version}.tar.bz2 Source1: su.pamd @@ -38,8 +38,6 @@ Patch16: invalid-ids.diff Patch20: coreutils-6.8-su.diff Patch21: coreutils-6.8.0-pie.diff Patch22: coreutils-5.3.0-sbin4su.diff -Patch23: coreutils-getaddrinfo.diff -Patch24: coreutils-6.9.90-preserve_mode-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -107,8 +105,6 @@ Authors: %patch20 %patch21 %patch22 -%patch23 -p1 -%patch24 -p1 %build AUTOPOINT=true autoreconf -fi @@ -173,6 +169,16 @@ rm -rf $RPM_BUILD_ROOT %dir %{_prefix}/share/locale/*/LC_TIME %changelog +* Sat Jan 12 2008 - mrueckert@suse.de +- reverted back to bzip2 for the tarball as decided on the dist + meeting +* Mon Jan 07 2008 - schwab@suse.de +- Update to coreutils 6.9.91. + ** Bug fixes + "ls -l" would not output "+" on SELinux hosts unless -Z was also given. + "rm" would fail to unlink a non-directory when run in an environment + in which the user running rm is capable of unlinking a directory. + [bug introduced in coreutils-6.9] * Mon Jan 07 2008 - jblunck@suse.de - fix a cp bug with -p --parents * Wed Dec 12 2007 - rguenther@suse.de