guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65931] [PATCH] gnu: Add apple-bash.


From: B. Wilson
Subject: [bug#65931] [PATCH] gnu: Add apple-bash.
Date: Thu, 28 Sep 2023 09:09:35 +0900
User-agent: mblaze/1.2

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]