Aurélien Larcher
2018-08-20 7b38626bcf98c87cb8f6687e7f63006684415923
coreutils: bump to 5.30
1 files deleted
4 files modified
103 ■■■■■ changed files
components/sysutils/coreutils/Makefile 5 ●●●●● patch | view | raw | blame | history
components/sysutils/coreutils/manifests/sample-manifest.p5m 4 ●●● patch | view | raw | blame | history
components/sysutils/coreutils/patches/04-set-permission.c.patch 54 ●●●● patch | view | raw | blame | history
components/sysutils/coreutils/patches/08-shred-remove.sh.patch 36 ●●●●● patch | view | raw | blame | history
components/sysutils/coreutils/test/results-i386.master 4 ●●●● patch | view | raw | blame | history
components/sysutils/coreutils/Makefile
@@ -25,8 +25,7 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=         coreutils
COMPONENT_VERSION=      8.29
COMPONENT_REVISION=     1
COMPONENT_VERSION=      8.30
COMPONENT_FMRI=         file/gnu-coreutils    
COMPONENT_SUMMARY=      GNU Core Utilities
COMPONENT_DESCRIPTION= \
@@ -36,7 +35,7 @@
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH= \
  sha256:92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e
  sha256:e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057
COMPONENT_ARCHIVE_URL=  http://ftp.gnu.org/gnu/coreutils/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE=      GPLv3, FDLv1.3
components/sysutils/coreutils/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2017 <contributor>
# Copyright 2018 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -360,9 +360,7 @@
file path=usr/gnu/share/man/man1/who.1
file path=usr/gnu/share/man/man1/whoami.1
file path=usr/gnu/share/man/man1/yes.1
file path=usr/lib/$(MACH64)/charset.alias
file path=usr/lib/$(MACH64)/coreutils/libstdbuf.so
file path=usr/lib/charset.alias
file path=usr/lib/coreutils/libstdbuf.so
file path=usr/share/info/coreutils.info
file path=usr/share/info/dir
components/sysutils/coreutils/patches/04-set-permission.c.patch
@@ -2,37 +2,37 @@
/* Avoid spoiling errno when we are going to ignore it immediately anyway */
--- lib/set-permissions.c.~1~    2017-09-01 10:12:43.000000000 +0000
+++ lib/set-permissions.c    2018-01-26 01:03:30.175900217 +0000
--- lib/set-permissions.c.orig    2018-08-20 16:57:12.705434730 +0000
+++ lib/set-permissions.c    2018-08-20 17:01:22.585439370 +0000
@@ -230,6 +230,7 @@
         {
           if (errno == ENOSYS)
         {
+          errno = 0;
           *must_chmod = true;
           return 0;
         }
@@ -265,6 +266,7 @@
     if (errno == ENOSYS || errno == EOPNOTSUPP)
       {
         *must_chmod = true;
+        errno = 0;
         return 0;
       }
     return -1;
             {
+              errno = 0;
               *must_chmod = true;
               return 0;
             }
@@ -264,6 +265,7 @@
       {
         if (errno == ENOSYS || errno == EOPNOTSUPP)
           {
+            errno = 0;
             *must_chmod = true;
             return 0;
           }
@@ -634,6 +636,7 @@
       if ((errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL)
           && acl_nontrivial (ctx->count, ctx->entries) == 0)
         ret = 0;
+        errno = 0;
     }
           if ((errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL)
               && acl_nontrivial (ctx->count, ctx->entries) == 0)
             ret = 0;
+            errno = 0;
         }
       else
     *acls_set = true;
         *acls_set = true;
@@ -651,6 +654,7 @@
       if ((errno == ENOSYS || errno == EINVAL || errno == ENOTSUP)
           && acl_ace_nontrivial (ctx->ace_count, ctx->ace_entries) == 0)
         ret = 0;
+        errno = 0;
     }
           if ((errno == ENOSYS || errno == EINVAL || errno == ENOTSUP)
               && acl_ace_nontrivial (ctx->ace_count, ctx->ace_entries) == 0)
             ret = 0;
+            errno = 0;
         }
       else
     *acls_set = true;
         *acls_set = true;
components/sysutils/coreutils/patches/08-shred-remove.sh.patch
File was deleted
components/sysutils/coreutils/test/results-i386.master
@@ -1,11 +1,11 @@
FAIL: tests/misc/dircolors.pl
# TOTAL: 603
# TOTAL: 608
# XFAIL: 0
# FAIL:  1
# ERROR: 0
FAIL: tests/misc/dircolors
FAIL tests/misc/dircolors.pl (exit status: 1)
# TOTAL: 603
# TOTAL: 608
# XFAIL: 0
# FAIL:  1
# ERROR: 0