From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 04 Jan 2023 13:48:36 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pD3C8-001S9f-QN for lore@lore.pengutronix.de; Wed, 04 Jan 2023 13:48:36 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pD3C6-0007Q9-IP; Wed, 04 Jan 2023 13:48:34 +0100 Received: from mail-db8eur05on2060.outbound.protection.outlook.com ([40.107.20.60] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pD3Bq-0007Q0-5k for ptxdist@pengutronix.de; Wed, 04 Jan 2023 13:48:19 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tuji7UrzpFwibXWgRHpQMExfibJyOrLVp1ChV1L2gyF90WgfC8zqTHCi2rLoMPAZXXEXC1QsCw5Rh1A+SedMXR/ZsZw1BXp1F2cioPJ5jl7Vq1X7SmrPmSj+vGm1yHuQNa2PAVMWmalMoXiSwweD/wKEGjIVQbJ1nHZ7rq3LY2n+C/oFg99a7/tXtUAsQqkOpGN/FqJvx5Z0tTZzcQu0H3bx54z49pOqauOxc92Rj+dQ8+Qx9MJDyFQ9HcSMeNiXq+SAmP1t9Sa+2op51IWItTjbdjjg+lesE1cbQBLVilJ81dDMJcO+AL4Ozl5i0NbUIkaWURJ9saJiHz739f35LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=t+eYHj+hQO9aVMz/XRS8UN78NB1ek+gracB7L0MK6tE=; b=Uo68dIcWpG+2ySlD2BNzztsDEPpuIQsgU7wD3zmInzhgIi2aUIpuiPqvZrD7hNLq++8mYltkGdS/JIY3xUq5gmSq0HBT2Or+iBD3fH3dy54UkPjommCwxRZMUOMVI2K/DkEkf61BbfVBsS4JbMgbjFe6krVGhbNM5vo+cm9zOEl452gokpDcfYcH0rnA92rF9VWlDsi/Dh6f/i9DORRJ/KhOeshr8Pm5nsy7OFSdBAN7OC3qQ1Ru4ewsmH4JL6AbpslwTjLRJlYdiI/141c8bfNyVXaH0T9LCYx3GH/4r/HKFKDEyCKyNKEBeQAYl6wZQoWk0w70AooXTGWb9PJykg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t+eYHj+hQO9aVMz/XRS8UN78NB1ek+gracB7L0MK6tE=; b=AYKGn52YsGvTeT2lvIbyPvlRcSOYAEQB074iF/f0PS6ti9cDvxCKbafJBZsO35Whznj6Na4WY5SvREk5hUwajARIlM+0VBNO+GiXEE40sTNqLej4X+HsDz+L5YROveCx/6JwKpZWg2a6UCVuftXuFKjfGADqcQhAaJu5mQOmQXI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by AS1P251MB0431.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:4a8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Wed, 4 Jan 2023 12:48:14 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::d8cf:bdbe:3526:aa50]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::d8cf:bdbe:3526:aa50%5]) with mapi id 15.20.5944.019; Wed, 4 Jan 2023 12:48:14 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Wed, 4 Jan 2023 13:48:07 +0100 Message-Id: <20230104124807.3092166-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3PEPF000000E3.SWEP280.PROD.OUTLOOK.COM (2603:10a6:144:1:0:2:0:e) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|AS1P251MB0431:EE_ X-MS-Office365-Filtering-Correlation-Id: c1ff65d7-90d3-45bf-bcc0-08daee51f1b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HMab5tJeXQH32tSoqWM9pXoex7qQ9enm8VgHImg+fYnTb77ouG0JJj+O87zH/+puQdOhhPpfsPXj9FBuN3XOz1rI/U3sXhD5I+gLYvO3H2ybHXSp7aSXKdEeglMTvEn/Jxh3+JBS7cBP9aZM3Nev1Ix06P7FNUSVREyN1INsq8yQyz18NCT+gV6JJb+N2GWjoYlzSKSWmNueN/+Sc0c3cgzRLm1X2eMlIqZVXdGrV1Uxx0+untUBGA2T+h4bjySI9r3G/JRYmnrwgpsYkbEODSDtYgG29UgwyAE5gTepUY2VVZtR3OuRZOW+5oDiHPP5V1sISi2dUJTwa7WlGTrohUJ5C4YJNdio+SadyDrP/d3s9F2/vvlEAWqrGFuvIn+LkRfXF29gSMFuq8Xd13e9+Ra5qOBVFZEGVMwoVMiBQsDuHwnmDTFZm4SqSVWKIZ0fZ8zdRTW5YaRnzIB0IqlnZE7pkvPJdNrZ2ywc4RmVT4V72nIBykBszmB+JBQJgGN0cUGeoBhY/G5Jfoqr1MlTgkmDuSoOaErW8+sBUHM4x3Y/++1MaOrsjAvtOzMbMuhb8o3oPmvPf8okIQj0IIiwVfiBb8aHnDaCzSQFlSDDpxQMe8XT1PeyAGUuwxjeWVOkb4TJ21R1+wyn1Z74j8z3x2d4mUFGbS7YE5Bap7aayCSgpaLDIO8Bf3rDhidOA2K+qUjba21lrPOtWtoqU56XNuHcUqsV5d0+P0mShpgpBso= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(366004)(376002)(396003)(346002)(136003)(39830400003)(451199015)(41300700001)(5660300002)(66476007)(8936002)(66556008)(66946007)(8676002)(6916009)(44832011)(316002)(6506007)(52116002)(478600001)(966005)(26005)(186003)(6486002)(6512007)(6666004)(2906002)(86362001)(1076003)(2616005)(83380400001)(36756003)(38350700002)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?oYu7TbnjTZvVAaAvhzsUt8Eipi5J+iptcw7YAKgaghce6prUo5oBJalam87M?= =?us-ascii?Q?Jp/3q8MgxfLatQw9fB8Y2qhVrypThxvtlPSOk6JHgvWZPWKEIMjoGY/hmREt?= =?us-ascii?Q?CgWZnOeDDWDnA7IQce4FXA+mF+3HDI3hAfUIAQZ1A5FBCJCQYGW2EHfkjvjB?= =?us-ascii?Q?swKTXMMrt9Om/ZhjfVZooOjUeiyavccYNBt6IDzuYAQJDPbX6UpJuKMqJFlF?= =?us-ascii?Q?YKfgjKDrokfjt6X6hDq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n/05/YEx?= =?us-ascii?Q?hfDhRP4eFgjvrM/M3BBzgzUa6NRWkZTuDZ2LyeE1gqVWN8gWAlsv/V+3ti0b?= =?us-ascii?Q?VlElj1Rgbnj3YaBu6nOwRrKvmHhEqrepxMMdW8bT0zHeHkhJ0ppsUXNaAevY?= =?us-ascii?Q?A8OL6OYGy4Rc8Q0uZd2k9KsO//3e0kcFzlnQOlEaATzxsKncfie1OAX/pMYc?= =?us-ascii?Q?6RpYpC2an5T8IL8NI+Wz4p1mej8QJhzm1OGE12FnplwR8vC1O8NsT/NrTxaY?= =?us-ascii?Q?fYRFs+wWo7b91P/WTGU64J1Qy4deZnJHEncP1S0tnHG/7AxuGT7PfvVldpco?= =?us-ascii?Q?UVqghGdyjpk3qyh2LrTGlnYLxaZLyUq3lz0MAuDYyqgFnKRqldqHGZI61FOj?= =?us-ascii?Q?+A/Zxbn7CqyxFCsOb48Hddd+BWQGrxmbvN3zWcc2F7Cz+pT6q6YWlxvjcnxt?= =?us-ascii?Q?pS02pPErjsVyiqtTVqvRxHkRVowyGFfI5nP3VkyZJMYoOn8RiVRaUfL2lUHP?= =?us-ascii?Q?rg=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1ff65d7-90d3-45bf-bcc0-08daee51f1b7 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jan 2023 12:48:14.2552 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5j2//vXZ4ueP6UxvDS+oaXt2n/zOJpDlzOpolF94yUK8Qq8RrVgsWUnn24N03Aj4lTg4PevFL/Po2b8Rar8JigvXIfJRj8/TwnMiVSMeAV0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1P251MB0431 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] coreutils: Version bump. 8.32 -> 9.1 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false https://github.com/coreutils/coreutils/blob/ca22b9eba09feae9ad5c8105c37e2ae5fb9abbb2/NEWS A bunch of bugfixes, some new shiny features, but no new programs afaics. * Remove patch, as that behavior is included in 9.1 * Remove prepare text, not sure what copying parts of configure was useful for? * Fix collision with busybox (1.36.0) TSORT. * configure option gpm has been renamed to libgmp. Signed-off-by: Christian Melki --- ...8.31-behavior-on-removed-directories.patch | 113 ------------------ patches/coreutils-8.32/series | 4 - rules/coreutils.in | 4 + rules/coreutils.make | 29 +---- 4 files changed, 7 insertions(+), 143 deletions(-) delete mode 100644 patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch delete mode 100644 patches/coreutils-8.32/series diff --git a/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch b/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch deleted file mode 100644 index a558a13d5..000000000 --- a/patches/coreutils-8.32/0001-ls-restore-8.31-behavior-on-removed-directories.patch +++ /dev/null @@ -1,113 +0,0 @@ -From: Paul Eggert -Date: Thu, 5 Mar 2020 17:25:29 -0800 -Subject: [PATCH] ls: restore 8.31 behavior on removed directories - -* NEWS: Mention this. -* src/ls.c: Do not include -(print_dir): Don't worry about whether the directory is removed. -* tests/ls/removed-directory.sh: Adjust to match new (i.e., old) -behavior. ---- - NEWS | 6 ++++++ - src/ls.c | 22 ---------------------- - tests/ls/removed-directory.sh | 10 ++-------- - 3 files changed, 8 insertions(+), 30 deletions(-) - -diff --git a/NEWS b/NEWS -index 3e44c0c5a1f0..0f0612aa65d2 100644 ---- a/NEWS -+++ b/NEWS -@@ -5045,6 +5045,12 @@ point at which the packages merged to form the coreutils: - - * --full-time is now an alias for "-l --time-style=full-iso". - -+** Changes in behavior -+ -+ On GNU/Linux systems, ls no longer issues an error message on -+ directory merely because it was removed. This reverts a change -+ that was made in release 8.32. -+ - - ======================================================================== - Here are the NEWS entries made from sh-utils-2.0 until the -diff --git a/src/ls.c b/src/ls.c -index 24b983287dfc..4acf5f44d969 100644 ---- a/src/ls.c -+++ b/src/ls.c -@@ -49,10 +49,6 @@ - # include - #endif - --#ifdef __linux__ --# include --#endif -- - #include - #include - #include -@@ -2896,7 +2892,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - struct dirent *next; - uintmax_t total_blocks = 0; - static bool first = true; -- bool found_any_entries = false; - - errno = 0; - dirp = opendir (name); -@@ -2972,7 +2967,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - next = readdir (dirp); - if (next) - { -- found_any_entries = true; - if (! file_ignored (next->d_name)) - { - enum filetype type = unknown; -@@ -3018,22 +3012,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - if (errno != EOVERFLOW) - break; - } --#ifdef __linux__ -- else if (! found_any_entries) -- { -- /* If readdir finds no directory entries at all, not even "." or -- "..", then double check that the directory exists. */ -- if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1 -- && errno != EINVAL) -- { -- /* We exclude EINVAL as that pertains to buffer handling, -- and we've passed NULL as the buffer for simplicity. -- ENOENT is returned if appropriate before buffer handling. */ -- file_failure (command_line_arg, _("reading directory %s"), name); -- } -- break; -- } --#endif - else - break; - -diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh -index e8c835dabfcc..fe8f929a194b 100755 ---- a/tests/ls/removed-directory.sh -+++ b/tests/ls/removed-directory.sh -@@ -26,20 +26,14 @@ case $host_triplet in - *) skip_ 'non linux kernel' ;; - esac - --LS_FAILURE=2 -- --cat <<\EOF >exp-err || framework_failure_ --ls: reading directory '.': No such file or directory --EOF -- - cwd=$(pwd) - mkdir d || framework_failure_ - cd d || framework_failure_ - rmdir ../d || framework_failure_ - --returns_ $LS_FAILURE ls >../out 2>../err || fail=1 -+ls >../out 2>../err || fail=1 - cd "$cwd" || framework_failure_ - compare /dev/null out || fail=1 --compare exp-err err || fail=1 -+compare /dev/null err || fail=1 - - Exit $fail diff --git a/patches/coreutils-8.32/series b/patches/coreutils-8.32/series deleted file mode 100644 index 4d68683dc..000000000 --- a/patches/coreutils-8.32/series +++ /dev/null @@ -1,4 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-ls-restore-8.31-behavior-on-removed-directories.patch -# c799e1eabffd5023beede5f24bad828d - git-ptx-patches magic diff --git a/rules/coreutils.in b/rules/coreutils.in index d24bbb949..8be872056 100644 --- a/rules/coreutils.in +++ b/rules/coreutils.in @@ -302,6 +302,10 @@ comment "busybox' mknod is selected!" config COREUTILS_TSORT bool prompt "tsort" + depends on !BUSYBOX_TSORT || ALLYES + +comment "busybox' tsort is selected!" + depends on BUSYBOX_TSORT config COREUTILS_MKTEMP bool diff --git a/rules/coreutils.make b/rules/coreutils.make index e34c39d74..b10738d5d 100644 --- a/rules/coreutils.make +++ b/rules/coreutils.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_COREUTILS) += coreutils # # Paths and names # -COREUTILS_VERSION := 8.32 -COREUTILS_MD5 := 022042695b7d5bcf1a93559a9735e668 +COREUTILS_VERSION := 9.1 +COREUTILS_MD5 := 8b1ca4e018a7dce9bb937faec6618671 COREUTILS := coreutils-$(COREUTILS_VERSION) COREUTILS_SUFFIX := tar.xz COREUTILS_URL := $(call ptx/mirror, GNU, coreutils/$(COREUTILS).$(COREUTILS_SUFFIX)) @@ -28,29 +28,6 @@ COREUTILS_LICENSE_FILES := file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 # Prepare # ---------------------------------------------------------------------------- -# --enable-install-program=PROG_LIST -# install the programs in PROG_LIST (comma-separated, -# default: none) -# --enable-no-install-program=PROG_LIST -# do NOT install the programs in PROG_LIST -# (comma-separated, default: arch,hostname,su) -# --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib -# --without-libiconv-prefix don't search for libiconv in includedir and libdir -# --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib -# --without-libpth-prefix don't search for libpth in includedir and libdir -# --without-included-regex -# don't compile regex; this is the default on systems -# with recent-enough versions of the GNU C Library -# (use with caution on other systems). -# --with-packager String identifying the packager of this software -# --with-packager-version Packager-specific version information -# --with-packager-bug-reports -# Packager info for bug reports (URL/e-mail/...) -# --without-gmp do not use the GNU MP library for arbitrary -# precision calculation (default: use it if available) -# --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib -# --without-libintl-prefix don't search for libintl in includedir and libdir - COREUTILS_INST- = COREUTILS_INST-y = COREUTILS_INST-$(PTXCONF_COREUTILS_BASE64) += base64 @@ -178,7 +155,7 @@ COREUTILS_CONF_OPT := \ --without-openssl \ --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \ --with-tty-group=tty \ - --without-gmp + --without-libgmp COREUTILS_MAKE_OPT := \ man1_MANS= -- 2.34.1