From patchwork Thu Oct 5 12:43:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 54496 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0EC1F27BBE2; Thu, 5 Oct 2023 13:45:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0864027BBE9 for ; Thu, 5 Oct 2023 13:45:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoNig-0002XW-Ob; Thu, 05 Oct 2023 08:44:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoNif-0002XH-77 for guix-patches@gnu.org; Thu, 05 Oct 2023 08:44:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoNie-0002iC-TR for guix-patches@gnu.org; Thu, 05 Oct 2023 08:44:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoNiw-0008I7-It for guix-patches@gnu.org; Thu, 05 Oct 2023 08:45:02 -0400 Subject: bug#65931: [PATCH] gnu: Add apple-bash. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65931 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "B. Wilson" Cc: 65931-done@debbugs.gnu.org Mail-Followup-To: 65931@debbugs.gnu.org, ludo@gnu.org, elaexuotee@wilsonb.com Received: via spool by 65931-done@debbugs.gnu.org id=D65931.169650984331758 (code D ref 65931); Thu, 05 Oct 2023 12:45:02 +0000 Received: (at 65931-done) by debbugs.gnu.org; 5 Oct 2023 12:44:03 +0000 Received: from localhost ([127.0.0.1]:46188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoNhz-0008G8-08 for submit@debbugs.gnu.org; Thu, 05 Oct 2023 08:44:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoNhv-0008FR-5G for 65931-done@debbugs.gnu.org; Thu, 05 Oct 2023 08:44:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoNhX-0002YB-9G; Thu, 05 Oct 2023 08:43:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=OVNgji7plf3Kr4FtlU53jw/U+w8SWvw+0V7lo1RSCmQ=; b=YF9S4zNCcIgxZenMsbu3 6C8ptJqsqz95D/MgvyzhYrENKjO3RDFLWq3xK8U0cmlbO8yRlKAOrCkxl9lGE6esSvqMgKXtUQQpi GbNnD8Dr8n4pbM6yGMkxr63oFwfguiH2IWX0Ek+8m8JjwJYSDfyv77LrHgsCColQCa/YhrJMewjsh 51i5iZdnRsZp42brddnX//u08xh2W2lHUwatAt3w9khOpV+j8OBwfkpj9i69T4GdFVndKI43u1fxS wZq44J6ryzDlIOkZ2HHTBAE+PUECNIEjGxMbV8HycjMJ8g/4fzYqDg+gc+Rm5rgxrwlc6BwnonNtj kHu+yWhinQ7vbQ==; From: Ludovic =?utf-8?q?Court=C3=A8s?= In-Reply-To: <33VTZIM9AD8IF.2GLLJBSS4ROJW@wilsonb.com> (B. Wilson's message of "Thu, 28 Sep 2023 09:09:35 +0900") References: <20230914045732.1010-1-elaexuotee@wilsonb.com> <87il7v1e0p.fsf@gnu.org> <33VTZIM9AD8IF.2GLLJBSS4ROJW@wilsonb.com> Date: Thu, 05 Oct 2023 14:43:31 +0200 Message-ID: <8734yp8cjw.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi, "B. Wilson" skribis: > It is also my understanding that this is based off GNU Bash 3.2. I'd be > hard-pressed to point at any particular changes and call them significant, but > there are a lot of small edge cases that add up, e.g. the special cases around > non-zero returns and set -e are pretty different. > > This patch is part of a larger project of mine to get Apple utils packaged up. > It's super useful to have them as a test target for shell script portability in > CIs and the like. Alright, that makes sense to me. Applied with the changes below, thanks! Ludo’. diff --git a/gnu/packages/apple.scm b/gnu/packages/apple.scm index 6b181a1fdc..b59eee1802 100644 --- a/gnu/packages/apple.scm +++ b/gnu/packages/apple.scm @@ -52,6 +52,8 @@ (define-public apple-bash (substitute* "execute_cmd.c" (("EBADEXEC") "ENOEXEC"))))))) (home-page "https://github.com/apple-oss-distributions/bash/") - (synopsis "Bash used on Apple MacOS systems") - (description "This is the version of Bash released on Apple MacOS systems") - (license license:gpl3+))) + (synopsis "Bash used on Apple macOS systems") + (description + "This is the version of Bash, forked from GNU Bash 3.2, released on Apple +macOS systems.") + (license license:gpl2+)))