Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash: update to 5.2 patch 37, bash-devel: new port #26989

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions shells/bash/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ PortGroup compiler_blacklist_versions 1.0

name bash
set bash_version 5.2
set bash_patchlevel 32
set bash_patchlevel 37
subport bash50 {
# used by bashdb port
set bash_version 5.0
set bash_patchlevel 18
}
version ${bash_version}.${bash_patchlevel}
subport bash-devel {
version 20241126
set bash_patchlevel 0

fetch.type git
git.url git://git.savannah.gnu.org/bash.git
git.branch 49c2670226b045746d66765b23af37c1c7ba5597
}
distname ${name}-${bash_version}
categories shells
platforms darwin freebsd
Expand All @@ -27,9 +35,11 @@ long_description \
sh scripts can be run by Bash without modification.
homepage https://www.gnu.org/software/bash/bash.html
if {${subport} eq ${name}} {
conflicts bash50
conflicts bash50 bash-devel
} elseif {${subport} eq "bash50"} {
conflicts bash
conflicts bash bash-devel
} elseif {${subport} eq "bash-devel"} {
conflicts bash bash50
}

if {${subport} eq "bash50"} {
Expand Down Expand Up @@ -181,7 +191,27 @@ if {${subport} eq ${name}} {
bash52-032 \
rmd160 2ec870b706258160f24334b82faf264dbcd2633a \
sha256 7b9c77daeca93ff711781d7537234166e83ed9835ce1ee7dcd5742319c372a16 \
size 1529
size 1529 \
bash52-033 \
rmd160 4897a12d2ff129c2bb9d42d14cf74533bbb15882 \
sha256 013ec6cc10ad98060a7c34ed5c11187bcc5bf4510f32de0d545db89a9a52a2e2 \
size 2131 \
bash52-034 \
rmd160 0f1b8abb53d1318a9b2ee26bd118718c30324772 \
sha256 899fbb3b338048fe52a9c8252bf65ef1194cdff4f7a3fb3316f5f2396143232e \
size 4134 \
bash52-035 \
rmd160 c28e4f772d5486f4e60fe16d6e71bdb08efcfd7f \
sha256 821a0a47fa692bb0a39482728b1b396bf951e2912768fea6f3026c813c1913e5 \
size 3413 \
bash52-036 \
rmd160 af62b1bf1d062d5ef016b89d91c0c227d31fc070 \
sha256 15c93f4936a5e5b88301f3ede767a23d3dd19635af2f3a91fb4cc0e560ca9057 \
size 5941 \
bash52-037 \
rmd160 137255087bccdc8eb4eae5791383c35a758078e1 \
sha256 8a2c1c3b5125d9ae5b47882f7d2ddf9648805f8c67c13aa5ea7efeac475cda94 \
size 2835
} elseif {${subport} eq "bash50"} {
checksums ${distname}${extract.suffix} \
rmd160 a081428a896d617855499376b670eca3433a27c1 \
Expand Down Expand Up @@ -264,7 +294,7 @@ if {${subport} eq ${name}} {
patchfiles-append patch-configure.diff
}

depends_build bin:bison:bison \
depends_build port:bison \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change, is the macOS provided bison not sufficient to build it, as it apparently was in the past?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

port:gettext
# ar: internal ranlib command failed
depends_build-append port:cctools
Expand Down