From: "B. Wilson via Guix-patches" via <guix-patches@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 65931@debbugs.gnu.org
Subject: [bug#65931] [PATCH] gnu: Add apple-bash.
Date: Thu, 28 Sep 2023 09:09:35 +0900 [thread overview]
Message-ID: <33VTZIM9AD8IF.2GLLJBSS4ROJW@wilsonb.com> (raw)
In-Reply-To: <87il7v1e0p.fsf@gnu.org>
Ludovic Courtès <ludo@gnu.org> wrote:
> Hi,
>
> "B. Wilson" <elaexuotee@wilsonb.com> skribis:
>
> > * gnu/packages/apple.scm: New file.
> > * gnu/local.mk (GNU_SYSTEM_MODELS): Add it.
>
> [...]
>
> > +(define-public apple-bash
> > + (package
> > + (name "apple-bash")
> > + (version "125")
> > + (source
> > + (origin
> > + (method git-fetch)
> > + (uri (git-reference
> > + (url "https://github.com/apple-oss-distributions/bash.git")
> > + (commit (string-append "bash-" version))))
> > + (sha256
> > + (base32 "1d4s1z57yiyhgb6i22kb9al31j1fv9a4rp1bb747ny6grdvc4919"))
> > + (file-name (git-file-name name version))))
>
> My understanding is that Apple ships old versions of GNU software (or
> modified versions thereof) for one reason: because they’re GPLv2+, not
> GPLv3+.
>
> Do you know if there are significant technical differences in this
> modified Bash that would justify making a package for it?
>
> Thanks,
> Ludo’.
Thanks for taking a look at this, Ludovic.
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.
next prev parent reply other threads:[~2023-09-28 0:11 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 [this message]
2023-10-05 12:43 ` bug#65931: " Ludovic Courtès
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=33VTZIM9AD8IF.2GLLJBSS4ROJW@wilsonb.com \
--to=guix-patches@gnu.org \
--cc=65931@debbugs.gnu.org \
--cc=elaexuotee@wilsonb.com \
--cc=ludo@gnu.org \
/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).