-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1654 from murraybd/add-info-or-man
add a dependency on texinfo or man-db as appropriate
- Loading branch information
Showing
6 changed files
with
149 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
package: | ||
name: bash | ||
version: 5.2.37 | ||
epoch: 2 | ||
description: "GNU bourne again shell" | ||
copyright: | ||
- license: GPL-3.0-or-later | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- ncurses-dev | ||
- openssf-compiler-options | ||
|
||
pipeline: | ||
- uses: fetch | ||
with: | ||
uri: https://ftp.fu-berlin.de/unix/gnu/bash/bash-${{package.version}}.tar.gz | ||
expected-sha256: 9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff | ||
|
||
- runs: | | ||
export CFLAGS="${CFLAGS} -DSYS_BASHRC='\"/etc/bash.bashrc\"' -DSYS_BASH_LOGOUT='\"/etc/bash.bash_logout\"'" | ||
./configure \ | ||
--host=${{host.triplet.gnu}} \ | ||
--target=${{host.triplet.gnu}} \ | ||
--prefix=/usr \ | ||
--bindir=/bin \ | ||
--sysconfdir=/etc \ | ||
--without-libidn \ | ||
--with-ssl=openssl \ | ||
--disable-nls \ | ||
--enable-readline \ | ||
--without-bash-malloc \ | ||
--with-curses | ||
- uses: autoconf/make | ||
|
||
- uses: autoconf/make-install | ||
|
||
- uses: strip | ||
|
||
subpackages: | ||
- name: bash-binsh | ||
dependencies: | ||
provider-priority: 60 | ||
runtime: | ||
- bash | ||
pipeline: | ||
- runs: | | ||
mkdir -p "${{targets.subpkgdir}}"/bin | ||
ln -s bash "${{targets.subpkgdir}}"/bin/sh | ||
test: | ||
pipeline: | ||
- runs: | | ||
[ /bin/sh -ef /bin/bash ] || { echo "/bin/sh is not same as /bin/bash"; exit 1; } | ||
sh --version | ||
sh --help | ||
- name: "bash-doc" | ||
description: "bash documentation" | ||
pipeline: | ||
- uses: split/manpages | ||
- uses: split/infodir | ||
- runs: | | ||
mkdir -p "${{targets.subpkgdir}}"/usr/share | ||
mv "${{targets.destdir}}"/usr/share/doc "${{targets.subpkgdir}}"/usr/share/ | ||
- name: "bash-dev" | ||
description: "bash development headers" | ||
pipeline: | ||
- uses: split/dev | ||
- runs: | | ||
mkdir -p "${{targets.subpkgdir}}"/bin | ||
mv "${{targets.destdir}}"/bin/bashbug "${{targets.subpkgdir}}"/bin/ | ||
test: | ||
pipeline: | ||
- runs: | | ||
bashbug --version | ||
bashbug --help | ||
- uses: test/pkgconf | ||
|
||
- name: "bash-builtins" | ||
description: "bash loadable builtins" | ||
pipeline: | ||
- runs: | | ||
mkdir -p ${{targets.subpkgdir}}/usr/lib | ||
mv "${{targets.destdir}}/usr/lib/bash" ${{targets.subpkgdir}}/usr/lib/ | ||
update: | ||
enabled: true | ||
release-monitor: | ||
identifier: 166 | ||
|
||
test: | ||
pipeline: | ||
- runs: | | ||
out=$(/bin/bash --version) | ||
echo "$out" | grep "${{package.version}}" | ||
bash --version | ||
bash --help | ||
- runs: | | ||
out=$(/bin/bash -c "echo hello world") | ||
[ "$out" = "hello world" ] |
Binary file not shown.
This file was deleted.
Oops, something went wrong.