unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "B. Wilson" <elaexuotee@wilsonb.com>
Cc: 65931-done@debbugs.gnu.org
Subject: bug#65931: [PATCH] gnu: Add apple-bash.
Date: Thu, 05 Oct 2023 14:43:31 +0200	[thread overview]
Message-ID: <8734yp8cjw.fsf_-_@gnu.org> (raw)
In-Reply-To: <33VTZIM9AD8IF.2GLLJBSS4ROJW@wilsonb.com> (B. Wilson's message of "Thu, 28 Sep 2023 09:09:35 +0900")

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

Hi,

"B. Wilson" <elaexuotee@wilsonb.com> 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’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 720 bytes --]

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+)))

      reply	other threads:[~2023-10-05 12:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14  4:57 [bug#65931] [PATCH] gnu: Add apple-bash B. Wilson via Guix-patches via
2023-09-27 21:51 ` Ludovic Courtès
2023-09-28  0:09   ` B. Wilson via Guix-patches via
2023-10-05 12:43     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8734yp8cjw.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=65931-done@debbugs.gnu.org \
    --cc=elaexuotee@wilsonb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).