summaryrefslogtreecommitdiff
path: root/app-shells
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-shells
reinit the tree, so we can have metadata
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/autojump/Manifest7
-rw-r--r--app-shells/autojump/autojump-22.2.4-r4.ebuild83
-rw-r--r--app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch22
-rw-r--r--app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch67
-rw-r--r--app-shells/autojump/metadata.xml15
-rw-r--r--app-shells/bash-completion/Manifest12
-rw-r--r--app-shells/bash-completion/bash-completion-2.4-r1.ebuild98
-rw-r--r--app-shells/bash-completion/bash-completion-2.5.ebuild98
-rw-r--r--app-shells/bash-completion/bash-completion-2.7.ebuild122
-rw-r--r--app-shells/bash-completion/bash-completion-9999.ebuild129
-rw-r--r--app-shells/bash-completion/files/bash-completion-2.1-escape-characters-r1.patch27
-rw-r--r--app-shells/bash-completion/metadata.xml28
-rw-r--r--app-shells/bash/Manifest375
-rw-r--r--app-shells/bash/bash-2.05b_p13.ebuild147
-rw-r--r--app-shells/bash/bash-3.0_p22.ebuild151
-rw-r--r--app-shells/bash/bash-3.1_p23.ebuild143
-rw-r--r--app-shells/bash/bash-3.2_p57.ebuild145
-rw-r--r--app-shells/bash/bash-4.0_p44.ebuild140
-rw-r--r--app-shells/bash/bash-4.1_p17.ebuild137
-rw-r--r--app-shells/bash/bash-4.2_p53.ebuild142
-rw-r--r--app-shells/bash/bash-4.3_p39_pre0.ebuild136
-rw-r--r--app-shells/bash/bash-4.3_p48-r1.ebuild252
-rw-r--r--app-shells/bash/bash-4.4_p12.ebuild254
-rw-r--r--app-shells/bash/files/autoconf-mktime-2.53.patch199
-rw-r--r--app-shells/bash/files/autoconf-mktime-2.59.patch197
-rw-r--r--app-shells/bash/files/bash-2.05b-destdir.patch28
-rw-r--r--app-shells/bash/files/bash-2.05b-empty-herestring.patch25
-rw-r--r--app-shells/bash/files/bash-2.05b-fix-job-warning.patch14
-rw-r--r--app-shells/bash/files/bash-2.05b-jobs.patch28
-rw-r--r--app-shells/bash/files/bash-2.05b-parallel-build.patch15
-rw-r--r--app-shells/bash/files/bash-2.05b-protos.patch25
-rw-r--r--app-shells/bash/files/bash-2.05b-rbash.patch27
-rw-r--r--app-shells/bash/files/bash-3.0-afs.patch20
-rw-r--r--app-shells/bash/files/bash-3.0-crash.patch46
-rw-r--r--app-shells/bash/files/bash-3.0-darwin-conn.patch20
-rw-r--r--app-shells/bash/files/bash-3.0-histtimeformat.patch56
-rw-r--r--app-shells/bash/files/bash-3.0-jobs.patch56
-rw-r--r--app-shells/bash/files/bash-3.0-locale.patch112
-rw-r--r--app-shells/bash/files/bash-3.0-manpage.patch15
-rw-r--r--app-shells/bash/files/bash-3.0-multibyteifs.patch281
-rw-r--r--app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch20
-rw-r--r--app-shells/bash/files/bash-3.0-protos.patch68
-rw-r--r--app-shells/bash/files/bash-3.0-pwd.patch16
-rw-r--r--app-shells/bash/files/bash-3.0-rbash.patch18
-rw-r--r--app-shells/bash/files/bash-3.0-read-builtin-pipe.patch20
-rw-r--r--app-shells/bash/files/bash-3.0-read-memleak.patch15
-rw-r--r--app-shells/bash/files/bash-3.0-strnlen.patch175
-rw-r--r--app-shells/bash/files/bash-3.0-subshell.patch39
-rw-r--r--app-shells/bash/files/bash-3.0-trap-fg-signals.patch23
-rw-r--r--app-shells/bash/files/bash-3.0-ulimit.patch186
-rw-r--r--app-shells/bash/files/bash-3.0-volatile-command.patch16
-rw-r--r--app-shells/bash/files/bash-3.1-dev-fd-buffer-overflow.patch16
-rw-r--r--app-shells/bash/files/bash-3.1-dev-fd-test-as-user.patch14
-rw-r--r--app-shells/bash/files/bash-3.1-fix-dash-login-shell.patch52
-rw-r--r--app-shells/bash/files/bash-3.1-protos.patch67
-rw-r--r--app-shells/bash/files/bash-3.1-ulimit.patch122
-rw-r--r--app-shells/bash/files/bash-3.2-dev-fd-test-as-user.patch26
-rw-r--r--app-shells/bash/files/bash-3.2-ldflags-for-build.patch37
-rw-r--r--app-shells/bash/files/bash-3.2-loadables.patch239
-rw-r--r--app-shells/bash/files/bash-3.2-process-subst.patch12
-rw-r--r--app-shells/bash/files/bash-3.2-protos.patch57
-rw-r--r--app-shells/bash/files/bash-3.2-session-leader.patch65
-rw-r--r--app-shells/bash/files/bash-3.2-ulimit.patch13
-rw-r--r--app-shells/bash/files/bash-4.0-configure.patch25
-rw-r--r--app-shells/bash/files/bash-4.0-ldflags-for-build.patch15
-rw-r--r--app-shells/bash/files/bash-4.0-negative-return.patch33
-rw-r--r--app-shells/bash/files/bash-4.0-parallel-build.patch65
-rw-r--r--app-shells/bash/files/bash-4.1-fbsd-eaccess.patch29
-rw-r--r--app-shells/bash/files/bash-4.1-parallel-build.patch23
-rw-r--r--app-shells/bash/files/bash-4.2-dev-fd-buffer-overflow.patch46
-rw-r--r--app-shells/bash/files/bash-4.2-execute-job-control.patch24
-rw-r--r--app-shells/bash/files/bash-4.2-no-readline.patch19
-rw-r--r--app-shells/bash/files/bash-4.2-parallel-build.patch106
-rw-r--r--app-shells/bash/files/bash-4.2-read-retry.patch41
-rw-r--r--app-shells/bash/files/bash-4.2-speed-up-read-N.patch112
-rw-r--r--app-shells/bash/files/bash-4.3-append-process-segfault.patch18
-rw-r--r--app-shells/bash/files/bash-4.3-arrayfunc.patch15
-rw-r--r--app-shells/bash/files/bash-4.3-compat-lvl.patch13
-rw-r--r--app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch13
-rw-r--r--app-shells/bash/files/bash-4.3-protos.patch10
-rw-r--r--app-shells/bash/files/bash-4.4-popd-offset-overflow.patch30
-rw-r--r--app-shells/bash/files/bash-4.x-deferred-heredocs.patch47
-rw-r--r--app-shells/bash/files/bash_logout9
-rw-r--r--app-shells/bash/files/bashrc113
-rw-r--r--app-shells/bash/files/dot-bash_logout6
-rw-r--r--app-shells/bash/files/dot-bash_profile7
-rw-r--r--app-shells/bash/files/dot-bashrc18
-rw-r--r--app-shells/bash/metadata.xml19
-rw-r--r--app-shells/bashdb/Manifest9
-rw-r--r--app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild34
-rw-r--r--app-shells/bashdb/bashdb-4.4.0.92.ebuild34
-rw-r--r--app-shells/bashdb/bashdb-4.4.0.94.ebuild34
-rw-r--r--app-shells/bashdb/metadata.xml11
-rw-r--r--app-shells/bashish/Manifest5
-rw-r--r--app-shells/bashish/bashish-2.2.4.ebuild20
-rw-r--r--app-shells/bashish/metadata.xml11
-rw-r--r--app-shells/ccsh/Manifest5
-rw-r--r--app-shells/ccsh/ccsh-0.0.4-r4.ebuild26
-rw-r--r--app-shells/ccsh/metadata.xml11
-rw-r--r--app-shells/ctypes-sh/Manifest5
-rw-r--r--app-shells/ctypes-sh/ctypes-sh-1.1.ebuild39
-rw-r--r--app-shells/ctypes-sh/files/ctypes-sh-1.1-makefile-fix.patch18
-rw-r--r--app-shells/ctypes-sh/metadata.xml16
-rw-r--r--app-shells/dash/Manifest15
-rw-r--r--app-shells/dash/dash-0.5.8.2.ebuild61
-rw-r--r--app-shells/dash/dash-0.5.9.1-r1.ebuild73
-rw-r--r--app-shells/dash/dash-0.5.9.1-r2.ebuild73
-rw-r--r--app-shells/dash/dash-0.5.9.1-r3.ebuild76
-rw-r--r--app-shells/dash/files/dash-0.5.8.1-dumb-echo.patch105
-rw-r--r--app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch12
-rw-r--r--app-shells/dash/files/dash-0.5.9-dumb-echo.patch93
-rw-r--r--app-shells/dash/files/dash-0.5.9.1-dumb-echo.patch92
-rw-r--r--app-shells/dash/files/dash-0.5.9.1-format-security.patch13
-rw-r--r--app-shells/dash/metadata.xml18
-rw-r--r--app-shells/dsh/Manifest5
-rw-r--r--app-shells/dsh/dsh-0.25.10.ebuild27
-rw-r--r--app-shells/dsh/metadata.xml8
-rw-r--r--app-shells/esh/Manifest5
-rw-r--r--app-shells/esh/esh-0.8.5-r2.ebuild51
-rw-r--r--app-shells/esh/metadata.xml5
-rw-r--r--app-shells/fish/Manifest10
-rw-r--r--app-shells/fish/files/fish-2.5.0-honor-linguas.patch32
-rw-r--r--app-shells/fish/fish-2.4.0.ebuild64
-rw-r--r--app-shells/fish/fish-2.5.0.ebuild72
-rw-r--r--app-shells/fish/fish-2.6.0.ebuild70
-rw-r--r--app-shells/fish/metadata.xml14
-rw-r--r--app-shells/gentoo-bashcomp/Manifest10
-rw-r--r--app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch11
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild46
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild44
-rw-r--r--app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild22
-rw-r--r--app-shells/gentoo-bashcomp/metadata.xml8
-rw-r--r--app-shells/gentoo-zsh-completions/Manifest8
-rw-r--r--app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20141115.ebuild29
-rw-r--r--app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20150103.ebuild27
-rw-r--r--app-shells/gentoo-zsh-completions/gentoo-zsh-completions-99999999.ebuild27
-rw-r--r--app-shells/gentoo-zsh-completions/metadata.xml11
-rw-r--r--app-shells/heirloom-sh/Manifest5
-rw-r--r--app-shells/heirloom-sh/heirloom-sh-050706-r1.ebuild33
-rw-r--r--app-shells/heirloom-sh/metadata.xml11
-rw-r--r--app-shells/hstr/Manifest4
-rw-r--r--app-shells/hstr/hstr-1.22-r1.ebuild30
-rw-r--r--app-shells/hstr/metadata.xml15
-rw-r--r--app-shells/ksh/Manifest10
-rw-r--r--app-shells/ksh/files/cpp.patch24
-rw-r--r--app-shells/ksh/files/ksh-prefix.patch42
-rw-r--r--app-shells/ksh/ksh-93.20140625.ebuild50
-rw-r--r--app-shells/ksh/ksh-93.20160110.ebuild51
-rw-r--r--app-shells/ksh/metadata.xml30
-rw-r--r--app-shells/localshell/Manifest5
-rw-r--r--app-shells/localshell/localshell-1.3.4-r1.ebuild30
-rw-r--r--app-shells/localshell/metadata.xml7
-rw-r--r--app-shells/metadata.xml32
-rw-r--r--app-shells/mksh/Manifest16
-rw-r--r--app-shells/mksh/metadata.xml5
-rw-r--r--app-shells/mksh/mksh-52.ebuild48
-rw-r--r--app-shells/mksh/mksh-52b.ebuild48
-rw-r--r--app-shells/mksh/mksh-52c.ebuild48
-rw-r--r--app-shells/mksh/mksh-53a.ebuild48
-rw-r--r--app-shells/mksh/mksh-56.ebuild48
-rw-r--r--app-shells/mksh/mksh-56b.ebuild48
-rw-r--r--app-shells/mksh/mksh-9999.ebuild56
-rw-r--r--app-shells/mpibash/Manifest6
-rw-r--r--app-shells/mpibash/metadata.xml15
-rw-r--r--app-shells/mpibash/mpibash-1.2.ebuild42
-rw-r--r--app-shells/mpibash/mpibash-9999.ebuild42
-rw-r--r--app-shells/mpv-bash-completion/Manifest6
-rw-r--r--app-shells/mpv-bash-completion/metadata.xml19
-rw-r--r--app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild47
-rw-r--r--app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild47
-rw-r--r--app-shells/pdmenu/Manifest6
-rw-r--r--app-shells/pdmenu/files/pdmenu-impl-dec.patch16
-rw-r--r--app-shells/pdmenu/metadata.xml7
-rw-r--r--app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild63
-rw-r--r--app-shells/pdsh/Manifest8
-rw-r--r--app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch56
-rw-r--r--app-shells/pdsh/metadata.xml27
-rw-r--r--app-shells/pdsh/pdsh-2.18-r1.ebuild61
-rw-r--r--app-shells/pdsh/pdsh-2.26.ebuild51
-rw-r--r--app-shells/peco/Manifest10
-rw-r--r--app-shells/peco/metadata.xml20
-rw-r--r--app-shells/peco/peco-0.5.1.ebuild54
-rw-r--r--app-shells/posh/Manifest7
-rw-r--r--app-shells/posh/metadata.xml7
-rw-r--r--app-shells/posh/posh-0.12.6.ebuild24
-rw-r--r--app-shells/posh/posh-0.12.ebuild23
-rw-r--r--app-shells/psh/Manifest7
-rw-r--r--app-shells/psh/files/psh-1.8.1-r3-array-ref-deprecated.patch37
-rw-r--r--app-shells/psh/files/psh-1.8.1-r3-defined-array.patch11
-rw-r--r--app-shells/psh/metadata.xml11
-rw-r--r--app-shells/psh/psh-1.8.1-r3.ebuild40
-rw-r--r--app-shells/push/Manifest8
-rw-r--r--app-shells/push/metadata.xml22
-rw-r--r--app-shells/push/push-1.6.ebuild20
-rw-r--r--app-shells/push/push-2.0-r1.ebuild20
-rw-r--r--app-shells/push/push-2.0.ebuild19
-rw-r--r--app-shells/quoter/Manifest5
-rw-r--r--app-shells/quoter/metadata.xml22
-rw-r--r--app-shells/quoter/quoter-3.0_p2-r1.ebuild22
-rw-r--r--app-shells/quoter/quoter-3.0_p2.ebuild18
-rw-r--r--app-shells/rc/Manifest6
-rw-r--r--app-shells/rc/metadata.xml8
-rw-r--r--app-shells/rc/rc-1.7.4-r1.ebuild44
-rw-r--r--app-shells/rc/rc-1.7.4.ebuild42
-rw-r--r--app-shells/rrs/Manifest7
-rw-r--r--app-shells/rrs/files/rrs-1.70-asneeded.patch38
-rw-r--r--app-shells/rrs/metadata.xml11
-rw-r--r--app-shells/rrs/rrs-1.70-r1.ebuild36
-rw-r--r--app-shells/rrs/rrs-1.70-r2.ebuild40
-rw-r--r--app-shells/rssh/Manifest8
-rw-r--r--app-shells/rssh/files/rssh-2.3.4_p3-autotools.patch33
-rw-r--r--app-shells/rssh/metadata.xml15
-rw-r--r--app-shells/rssh/rssh-2.3.4.ebuild37
-rw-r--r--app-shells/rssh/rssh-2.3.4_p3.ebuild46
-rw-r--r--app-shells/rust-zshcomp/Manifest5
-rw-r--r--app-shells/rust-zshcomp/metadata.xml4
-rw-r--r--app-shells/rust-zshcomp/rust-zshcomp-1_beta20150411.ebuild28
-rw-r--r--app-shells/sash/Manifest6
-rw-r--r--app-shells/sash/files/sash-3.7-builtin.patch14
-rw-r--r--app-shells/sash/metadata.xml5
-rw-r--r--app-shells/sash/sash-3.8.ebuild45
-rw-r--r--app-shells/scsh-install-lib/Manifest6
-rw-r--r--app-shells/scsh-install-lib/metadata.xml11
-rw-r--r--app-shells/scsh-install-lib/scsh-install-lib-1.3.0-r1.ebuild24
-rw-r--r--app-shells/scsh-install-lib/scsh-install-lib-1.3.0.ebuild23
-rw-r--r--app-shells/scsh/Manifest10
-rw-r--r--app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch11
-rw-r--r--app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch93
-rw-r--r--app-shells/scsh/files/0.6.7-Missing-includes.patch22
-rw-r--r--app-shells/scsh/metadata.xml29
-rw-r--r--app-shells/scsh/scsh-0.6.7-r1.ebuild43
-rw-r--r--app-shells/scsh/scsh-0.6.7-r2.ebuild48
-rw-r--r--app-shells/scsh/scsh-0.6.7.ebuild41
-rw-r--r--app-shells/shish/Manifest5
-rw-r--r--app-shells/shish/metadata.xml8
-rw-r--r--app-shells/shish/shish-0.7_pre3-r1.ebuild59
-rw-r--r--app-shells/smrsh/Manifest6
-rw-r--r--app-shells/smrsh/files/site.config.m414
-rw-r--r--app-shells/smrsh/metadata.xml8
-rw-r--r--app-shells/smrsh/smrsh-8.15.2.ebuild53
-rw-r--r--app-shells/soapbox/Manifest5
-rw-r--r--app-shells/soapbox/metadata.xml5
-rw-r--r--app-shells/soapbox/soapbox-0.3.1-r2.ebuild40
-rw-r--r--app-shells/squirrelsh/Manifest11
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch217
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch12
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-no-docs.patch25
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-no-strip.patch19
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch21
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch140
-rw-r--r--app-shells/squirrelsh/metadata.xml11
-rw-r--r--app-shells/squirrelsh/squirrelsh-1.2.7.ebuild47
-rw-r--r--app-shells/tcsh/Manifest9
-rw-r--r--app-shells/tcsh/files/tcsh-6.18.01-aix.patch14
-rw-r--r--app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch21
-rw-r--r--app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch11
-rw-r--r--app-shells/tcsh/metadata.xml15
-rw-r--r--app-shells/tcsh/tcsh-6.20.00.ebuild101
-rw-r--r--app-shells/thefuck/Manifest4
-rw-r--r--app-shells/thefuck/metadata.xml11
-rw-r--r--app-shells/thefuck/thefuck-3.23.ebuild35
-rw-r--r--app-shells/tmux-bash-completion/Manifest2
-rw-r--r--app-shells/tmux-bash-completion/metadata.xml15
-rw-r--r--app-shells/tmux-bash-completion/tmux-bash-completion-9999.ebuild25
-rw-r--r--app-shells/zsh-completions/Manifest6
-rw-r--r--app-shells/zsh-completions/metadata.xml11
-rw-r--r--app-shells/zsh-completions/zsh-completions-0.26.0.ebuild33
-rw-r--r--app-shells/zsh-completions/zsh-completions-9999.ebuild33
-rw-r--r--app-shells/zsh/Manifest28
-rw-r--r--app-shells/zsh/files/prompt_gentoo_setup-133
-rw-r--r--app-shells/zsh/files/zprofile-142
-rw-r--r--app-shells/zsh/files/zprofile-241
-rw-r--r--app-shells/zsh/files/zprofile-338
-rw-r--r--app-shells/zsh/files/zsh-5.1.0-gcc-5.patch16
-rw-r--r--app-shells/zsh/files/zsh-5.3-init.d-gentoo.diff31
-rw-r--r--app-shells/zsh/files/zsh-init.d-gentoo-r1.diff30
-rw-r--r--app-shells/zsh/metadata.xml18
-rw-r--r--app-shells/zsh/zsh-5.0.5.ebuild169
-rw-r--r--app-shells/zsh/zsh-5.2-r1.ebuild217
-rw-r--r--app-shells/zsh/zsh-5.2.ebuild212
-rw-r--r--app-shells/zsh/zsh-5.3.1.ebuild217
-rw-r--r--app-shells/zsh/zsh-5.4.1.ebuild218
-rw-r--r--app-shells/zsh/zsh-5.4.2-r1.ebuild211
-rw-r--r--app-shells/zsh/zsh-5.4.2.ebuild218
-rw-r--r--app-shells/zsh/zsh-9999.ebuild218
285 files changed, 13099 insertions, 0 deletions
diff --git a/app-shells/autojump/Manifest b/app-shells/autojump/Manifest
new file mode 100644
index 000000000000..243648326539
--- /dev/null
+++ b/app-shells/autojump/Manifest
@@ -0,0 +1,7 @@
+AUX autojump-22.2.4-fix-__aj_error-typo.patch 755 SHA256 9c25c774cc56d722e3f37bf80eb8edf9e5e29997abb083ad1ec35d300b4fd375 SHA512 8661ceae090ed70498f5ed34f447c80d3cf359eca304e16c122a992538af8fb5e046c26d739ccf9bcfd7ccd5706735aebc494f95ebcb2d3c300b126dc0e38136 WHIRLPOOL ab6d843da7e4f594b3aaad58059606baefc3b8258b9760d139402d81be55a5a695acb456294c1c628bceb0ee5a5aacc756666d365a9026d20bd34ae3990a1191
+AUX autojump-22.2.4-fix-autojump.fish-bugs.patch 2100 SHA256 ee635006a406fc6baa31b448a980168c661fc80be1b1f532496050cb84d606a9 SHA512 a0a2fb0a06e43f4b1321d0b785ffa3273ba5d35e103f4ac687d6f08502835dd0cd5135a871640e05b535fce31c11f2e9908728c1e6f62ffe1e313ed9c75b7670 WHIRLPOOL eed96b7687eb6274a0242634226e52372d8c1f185d905f744cc91a20b1b3f260e7de04b06a8cad7c6cb822b6aa4bd39239bc512deb44760938e233bd3efe18dc
+DIST autojump-22.2.4.tar.gz 52724 SHA256 816badb0721f735e2b86bdfa8b333112f3867343c7c2263c569f75b4ec91f475 SHA512 bdfca07bb57b3a2733a2085af14f23c3e980b1b00db1c90247c2341ac73f60f171bdde29dd9917aac0808d0b8f2902d48096c990e09281745a71755f5abc921c WHIRLPOOL 29fe48cc2d8eee809a79c3d9b923d16be32a1591dc3bfa911bda26eceeb4fe0c05a49e1218958f63eb4b609837b2dc4b0ba4d4b23070c7fea0cad3d833e0fa39
+EBUILD autojump-22.2.4-r4.ebuild 2116 SHA256 e84c63108a2307256d5f724215c204d27e2d55245f9ed0b47a194669ca710c92 SHA512 c2a3239a7ba6ef8ec144ed271824e9b839b709ca2533d68d12499af0f3281cafb1b34ff58d8f85e9cee366f4674e46f5bfaf66be08b6038d121def8c06f0cb6a WHIRLPOOL 0b9d7dd6d7ba995f2ee97f8373090772b240bd1f69396ed1df65837776ffcaac985f42b50af3595811085d42b08b09f72476f75ddea5c07e2a2344ff777a6de6
+MISC ChangeLog 6692 SHA256 b1e0ed6382ef5ed567444b6531aceed4a9a65e578275839a0f88105d205480a2 SHA512 10f9f954d82ae5407c5a8294fdaf86bc130af2eb16d8fe459782460966cc04f938217689351e078fbcf581ee90e54268aba146ff835c16db73273e4259ff4e58 WHIRLPOOL 6edb297c89c27a9558797efd56b38ba110a57b6dafbb77b2bd36730394b8fb3fa3a4af6ef71c4bf75071774a5f0df19c92b08018ba0490bcf5deb67bee642596
+MISC ChangeLog-2015 3293 SHA256 afff847c010993cb63dc8cca52fa8cee7fc0251ad6c4211c7242eb2a5b4c572e SHA512 cb348e5242171f75312ddaa39637de3d21ac62887a5d3828a994acf6745aacf269f2ff9baca1f31557b36980e2c47b01d37b742cc1520102b9edcca07532372e WHIRLPOOL fd4d6407b36edb7445686ccde48805df4b9df38a4f1fcbde5d07b324ff7c49fb8f4b29a442f300e6db74b4dd86f3852f9f947b1f36cf3f986d3e5bf370a31757
+MISC metadata.xml 503 SHA256 aa2902d491147277f9138b2e396afecaef2e736730f023e0e13ea291db14d37c SHA512 5173d3dcf39215a8ce67a9eb37127f4945d1420180a48f952d417d73e83bbd03fe1cdcbbb193b69f5eec3cfb994c12f8a92b4e6e22844b30753024dc0919a10d WHIRLPOOL 0fcad9a1942049923af4eebf3ab85ff9f6db44cf0fa45bb8a2ef842ab489e665d0a6fb9d5060733f01f5266ae48527b534bb02dbb981a0b39a79e7d34c0ec0a1
diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild
new file mode 100644
index 000000000000..37fdc8405ed0
--- /dev/null
+++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit bash-completion-r1 python-r1 vcs-snapshot
+
+DESCRIPTION="change directory command that learns"
+HOMEPAGE="https://github.com/joelthelion/autojump"
+SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="ipython test"
+REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
+
+# Not all tests pass. Need investigation.
+RESTRICT="test"
+RDEPEND="ipython? ( ${PYTHON_DEPS} )"
+DEPEND="test? ( dev-python/flake8 dev-python/tox )"
+
+PATCHES=(
+ "${FILESDIR}/${P}-fix-autojump.fish-bugs.patch"
+ "${FILESDIR}/${P}-fix-__aj_error-typo.patch"
+)
+
+src_prepare() {
+ sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \
+ -e "s:/usr/local/share:/usr/share:" \
+ -i bin/autojump.sh || die
+
+ # autojump_argparse is only there for Python 2.6 compatibility
+ sed -e "s:autojump_argparse:argparse:" \
+ -i bin/autojump || die
+
+ # upstream fixes to the autojump.fish script; the first patch is needed for
+ # the second patch to apply
+ epatch "${PATCHES[@]}"
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin bin/"${PN}"
+ python_replicate_script "${ED}"/usr/bin/"${PN}"
+
+ insinto /etc/profile.d
+ doins bin/"${PN}".sh
+
+ insinto /usr/share/"${PN}"/
+ doins bin/"${PN}.bash"
+ doins bin/"${PN}.zsh"
+ doins bin/"${PN}.fish"
+ insinto /usr/share/zsh/site-functions
+ doins bin/_j
+
+ python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py
+ if use ipython; then
+ python_foreach_impl python_domodule tools/autojump_ipython.py
+ fi
+
+ doman docs/"${PN}.1"
+ dodoc README.md
+}
+
+pkg_postinst() {
+ if use ipython; then
+ elog 'This tool provides "j" for ipython, please add'
+ elog '"import autojump_ipython" to your ipy_user_conf.py.'
+ elog
+ fi
+
+ elog 'If you use app-shells/fish, add the following code to your'
+ elog 'config.fish to get autojump support:'
+ elog 'if test -f /usr/share/autojump/autojump.fish'
+ elog ' source /usr/share/autojump/autojump.fish'
+ elog 'end'
+}
diff --git a/app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch b/app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch
new file mode 100644
index 000000000000..6a9ac3c83c8e
--- /dev/null
+++ b/app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch
@@ -0,0 +1,22 @@
+From d188d7e6757a4d0cad619b6d5ab729fdc59b1593 Mon Sep 17 00:00:00 2001
+From: Scott Olson <scott@scott-olson.org>
+Date: Mon, 6 Jul 2015 23:12:35 -0400
+Subject: [PATCH] Fix typo (__aj_error -> __aj_err).
+
+---
+ bin/autojump.fish | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/autojump.fish b/bin/autojump.fish
+index ead7ea1..b16ef01 100644
+--- a/bin/autojump.fish
++++ b/bin/autojump.fish
+@@ -91,7 +91,7 @@ function jo
+ case cygwin
+ cygstart "" (cygpath -w -a (pwd))
+ case '*'
+- __aj_error "Unknown operating system: \"$OSTYPE\""
++ __aj_err "Unknown operating system: \"$OSTYPE\""
+ end
+ else
+ __aj_err "autojump: directory '"$argv"' not found"
diff --git a/app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch b/app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch
new file mode 100644
index 000000000000..6048ca989376
--- /dev/null
+++ b/app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch
@@ -0,0 +1,67 @@
+From f09d23e30d3159db18872a3e8f8f579ed9e77231 Mon Sep 17 00:00:00 2001
+From: David Frascone <David.Frascone@dishdigital.com>
+Date: Tue, 9 Jun 2015 14:32:38 -0600
+Subject: [PATCH] Fixed some bugs in fish script
+
+OSTYPE was not being set correctly. It is in bash, not sh.
+ Since the value is unlikely to change, I read it once and
+ stored it globally
+Test logic was backward in jo function, causing error to always
+ be printed, unless you did NOT specify a directory name.
+---
+ bin/autojump.fish | 20 ++++++++++++--------
+ 1 file changed, 12 insertions(+), 8 deletions(-)
+
+diff --git a/bin/autojump.fish b/bin/autojump.fish
+index 2cf5001..19cb27e 100644
+--- a/bin/autojump.fish
++++ b/bin/autojump.fish
+@@ -5,6 +5,11 @@ if test -d ~/.autojump
+ set -x PATH ~/.autojump/bin $PATH
+ end
+
++# Set ostype, if not set
++if not set -q OSTYPE
++ set -gx OSTYPE (bash -c 'echo ${OSTYPE}')
++end
++
+
+ # enable tab completion
+ complete -x -c j -a '(autojump --complete (commandline -t))'
+@@ -34,7 +39,7 @@ end
+ # misc helper functions
+ function __aj_err
+ # TODO(ting|#247): set error file location
+- echo $argv 1>&2; false
++ echo -e $argv 1>&2; false
+ end
+
+ # default autojump command
+@@ -73,11 +78,7 @@ end
+ function jo
+ set -l output (autojump $argv)
+ if test -d "$output"
+- __aj_err "autojump: directory '"$argv"' not found"
+- __aj_err "\n$output\n"
+- __aj_err "Try `autojump --help` for more information."
+- else
+- switch (sh -c 'echo ${OSTYPE}')
++ switch $OSTYPE
+ case 'linux*'
+ xdg-open (autojump $argv)
+ case 'darwin*'
+@@ -85,9 +86,12 @@ function jo
+ case cygwin
+ cygstart "" (cygpath -w -a (pwd))
+ case '*'
+- __aj_error "Unknown operating system: '"$OSTYPE"'"
++ __aj_error "Unknown operating system: \"$OSTYPE\""
+ end
+- echo end
++ else
++ __aj_err "autojump: directory '"$argv"' not found"
++ __aj_err "\n$output\n"
++ __aj_err "Try `autojump --help` for more information."
+ end
+ end
+
diff --git a/app-shells/autojump/metadata.xml b/app-shells/autojump/metadata.xml
new file mode 100644
index 000000000000..b8e575f5b4d9
--- /dev/null
+++ b/app-shells/autojump/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/joelthelion/autojump/issues</bugs-to>
+ <remote-id type="github">joelthelion/autojump</remote-id>
+ </upstream>
+ <use>
+ <flag name="ipython">Add support for <pkg>dev-python/ipython</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest
new file mode 100644
index 000000000000..8b0d28d04b28
--- /dev/null
+++ b/app-shells/bash-completion/Manifest
@@ -0,0 +1,12 @@
+AUX bash-completion-2.1-escape-characters-r1.patch 1084 SHA256 b8e96b91f7d03e6e6de7e105dd8100206058b2ad44f09055521b4fab9befb245 SHA512 b7cb548024fbc68e87d781208a378299c399d2661121290c500d62cd66855acc02848710b44c363917c3c4923e063212a2b56c9b0c08deb71aba308d75939cab WHIRLPOOL c2697d7a54614692e8b40c3ca55554a25ccf34e5914a362ce9a256d783be3f4d398dd1d948b8b81130ed8662045177a824fdd5b8c7f0166872c33d4274eb4a9d
+DIST bash-completion-2.4.tar.xz 276148 SHA256 c0f76b5202fec9ef8ffba82f5605025ca003f27cfd7a85115f838ba5136890f6 SHA512 b852e0a38417dfc3754a91dae2d107f99a3c2970d835a4bbaa80f2a4db8d670bc3820ddc6ada26f68070f22fb4c1db7abe50ad489b1c0f8497b1e6e91be27627 WHIRLPOOL f38f148dcbca1ee47ec6fa33637ea0673c03816b607bd638605832fb76ec7fb5f24cba35cb559e8a5b06636b1ec0f225e420615b6721074fc405cb79b505b07b
+DIST bash-completion-2.5.tar.xz 276732 SHA256 b0b9540c65532825eca030f1241731383f89b2b65e80f3492c5dd2f0438c95cf SHA512 44ca2cbf38190c2bfa1e98021c1de36dbef0e55f9fe7840e83bd7f91b4c9afc92afa9bb03d53dbc6d9f9b468ac63ff1021a60e456fc239010010d75687eff3da WHIRLPOOL b488571aca9d8b027214c2964ec789ef616659a098a2bd65a921075d94a8014b51a802040535e44c7831b159a5094b6879935f726ee97409b575c36cd01dbc13
+DIST bash-completion-2.7.tar.xz 280048 SHA256 41ba892d3f427d4a686de32673f35401bc947a7801f684127120cdb13641441e SHA512 514709ad2e5f6bd4e20027c7049a1144c1854a37b653d5c11fad1cdf7a46d0e1afca725d6ce75d49691149e0de57be85747f704ac1c429ef4cea114bfbff8fcd WHIRLPOOL 9f5b2a4af13428a89be8c692cd4bbc38b107045d0c60ee1efe440cf7bfdc5db95f564024373442c32ad1ecfabc22346caee0f4597d71baa4ef7a28dd248c4c27
+DIST bashcomp-2.0.2.tar.gz 3625 SHA256 6ede58bfbe99f0dca1eb9236492aa20a6755e5731526de56e15d1e2b220165c9 SHA512 46bc1bcc32263135f44be68569459a409250dd2c81c18190735f11e13a26508e9d3cb91d24a8fe7b21bdea678347873b7ac1b67d5e8c78c8444011f85dfdcdce WHIRLPOOL 4b6cb989235d5fed8fd9986c1419ab337df38384fe2b307fd78f08f8696f4a2328845ed4f27913a36e9a544e973690bc0dd2af73816e272c3faf27ff2eafa585
+EBUILD bash-completion-2.4-r1.ebuild 3173 SHA256 09d54454ec4c629c21747d071a2c31e432289c207d96b3eebc8cc651ec2fef2a SHA512 5421a782dff1e908fdaafa97b58bcacdaa250ce6d0a701765506bd3384a5f32983bc86e4733336913462102c842b8168fb9e30450180820ce0c6239582467cce WHIRLPOOL b2d3d4d43181c63fa2c49358c6a5d47f310fd6cf578167180aa43eb49784bfa8f0852954460118a34001f00f585459ce975003fb8612931c2b312ab37f038d75
+EBUILD bash-completion-2.5.ebuild 3183 SHA256 2d5e15afb28616799eb7b6129f1c112009155685b7c15fe0dc8214820ae21ae0 SHA512 a3a790e199dfba8150c2f5abdc120e5c3b8b41814f996c034e432b4633b211f79eaf056a3622823b36ea0a259cb9ee3ce09210e3e631250fdd6cc315a2642e0a WHIRLPOOL 35e91efe36b01564a3e913980c5990ee5cd1dcf0f0826d360adc42dc3b3cd07ad011e348c6d3f380a450e351b006dbd847ee7b79469312502bdb4a10e5fce34e
+EBUILD bash-completion-2.7.ebuild 3830 SHA256 f9ec686bc229fab63cd5ce40eb1dbae31390b6a5dcf7d5b9beaf0795971509ca SHA512 7d49ec4fe462c1cf62ad61e76d4427d231ad8aeab4dde7fa0a921b13503a4ae4f382d1de820f208c13ec656af2d26aad8e4b107a906e941863e5ece381b5e645 WHIRLPOOL 4e91de2ddba1f285dacba09265a2fdf7f590a9a5d202aae96ecbd09b1bbbc9b71380269e78b6eb9f8a792ce241c23297cd9ad2849d8969a9bf855226ba1f6fd9
+EBUILD bash-completion-9999.ebuild 3798 SHA256 6e46d1c15ed52aeddf28bdb6ab7be20bf445a92f236c70824fc026113d3c23ee SHA512 6c0f24c7202bf08fcdc5a7e1e78187be0349bf83bc1aa98a5f47551adf355c88ab11f53693c0972ba2622c477f549f91d3f5b1bcdb407ab96fab9311cc649a95 WHIRLPOOL e33502210356baacdb67938b790384b1fed0f67e7500866345daf9c7135a5727a17e0c5b3517485ca82e85c1ea5131f1db4394e4575ed5dbb2372cc4599f1ec8
+MISC ChangeLog 6192 SHA256 7aa78e4d3347e97e9a2676ad90b03dcfbf6bb185ce6f53050786420a7e58b42d SHA512 d689eca6fe0572923dbc618aa95d7a4b43a92654d6485ca14ae974581c3728dfeac45f139788b22b56d17ae86e063316e474f8ce10a7092e43abaad840579c2c WHIRLPOOL de6bc49d153a04b105d21a4de5def31dc028638190a4b51d66d241abaea7206d5704ddba15bef9a5f74acbce2a0b134d9bb38deacac896e9ab4efd16ccc22ddc
+MISC ChangeLog-2015 49155 SHA256 df2d7ecd84a601d6a713409dd0ea3f8c2dacadf9b2f637769c6e8787d66cee1d SHA512 31fec84312c20ff1612f57f1bac506937c128b13005246ba36eaa449c1aff7712cc3645952fb9eebf3a24483590010fb5a954d43f238f47cd759911830fe5205 WHIRLPOOL 1463d6fa3480fd139341ade021e1e70884dd72e5f22aa16cb74eb11c8c4b606014b0b4f6369db06fcc9c76e354016d196a2b206fb0681c5b71237aa37991c914
+MISC metadata.xml 1285 SHA256 efb4f76c8b2dfe1e809c94fd10aac8b3a4e3ada43ceb33f95193ba246a482529 SHA512 e935bab45ac355ca0a05df6f6f9aaf8e20ef73fa3ce4f2bde83b331cccaa7ae7756a6a62a075b148194b556da8f41f4cf2aa72f271958333d026913ddbfcc133 WHIRLPOOL 6e76587fa0d9e19603fb1bd27100c076ed00840f994bd2b73b9208f438503874dcdc02be6a9c986666cf6d00fb9068d6a6f6dbd1de7662e282be11652412ac83
diff --git a/app-shells/bash-completion/bash-completion-2.4-r1.ebuild b/app-shells/bash-completion/bash-completion-2.4-r1.ebuild
new file mode 100644
index 000000000000..cf649cac408a
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-2.4-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+BASHCOMP_P=bashcomp-2.0.2
+inherit versionator
+
+DESCRIPTION="Programmable Completion for bash"
+HOMEPAGE="https://github.com/scop/bash-completion"
+SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
+ https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+RDEPEND=">=app-shells/bash-4.3_p30-r1
+ sys-apps/miscfiles
+ !app-eselect/eselect-bashcomp"
+DEPEND="app-arch/xz-utils"
+PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
+
+# Remove unwanted completions.
+STRIP_COMPLETIONS=(
+ # Slackware package stuff, quite generic names cause collisions
+ # (e.g. with sys-apps/pacman)
+ explodepkg installpkg makepkg pkgtool removepkg upgradepkg
+
+ # Debian/Red Hat network stuff
+ ifdown ifup ifstatus
+
+ # Installed in app-editors/vim-core
+ xxd
+
+ # Now-dead symlinks to deprecated completions
+ hd ncal
+
+ # Installed by sys-apps/util-linux-2.28
+ mount umount mount.linux umount.linux
+)
+
+src_prepare() {
+ eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
+ # Bug 543100, update bug 601194
+ eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
+ eapply_user
+}
+
+src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
+
+src_install() {
+ # work-around race conditions, bug #526996
+ mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
+
+ emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
+
+ local file
+ for file in "${STRIP_COMPLETIONS[@]}"; do
+ rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+ done
+ # remove deprecated completions (moved to other packages)
+ rm "${ED}"/usr/share/bash-completion/completions/_* || die
+
+ dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
+
+ # install the eselect module
+ insinto /usr/share/eselect/modules
+ doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
+ doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 2.1-r90 ${v}; then
+ ewarn "For bash-completion autoloader to work, all completions need to"
+ ewarn "be installed in /usr/share/bash-completion/completions. You may"
+ ewarn "need to rebuild packages that installed completions in the old"
+ ewarn "location. You can do this using:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
+ ewarn
+ ewarn "After the rebuild, you should remove the old setup symlinks:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
+ fi
+ done
+
+ if has_version 'app-shells/zsh'; then
+ elog
+ elog "If you are interested in using the provided bash completion functions with"
+ elog "zsh, valuable tips on the effective use of bashcompinit are available:"
+ elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
+ elog
+ fi
+}
diff --git a/app-shells/bash-completion/bash-completion-2.5.ebuild b/app-shells/bash-completion/bash-completion-2.5.ebuild
new file mode 100644
index 000000000000..0585f5e0e970
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-2.5.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+BASHCOMP_P=bashcomp-2.0.2
+inherit versionator
+
+DESCRIPTION="Programmable Completion for bash"
+HOMEPAGE="https://github.com/scop/bash-completion"
+SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
+ https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+RDEPEND=">=app-shells/bash-4.3_p30-r1
+ sys-apps/miscfiles
+ !app-eselect/eselect-bashcomp"
+DEPEND="app-arch/xz-utils"
+PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
+
+# Remove unwanted completions.
+STRIP_COMPLETIONS=(
+ # Slackware package stuff, quite generic names cause collisions
+ # (e.g. with sys-apps/pacman)
+ explodepkg installpkg makepkg pkgtool removepkg upgradepkg
+
+ # Debian/Red Hat network stuff
+ ifdown ifup ifstatus
+
+ # Installed in app-editors/vim-core
+ xxd
+
+ # Now-dead symlinks to deprecated completions
+ hd ncal
+
+ # Installed by sys-apps/util-linux-2.28
+ mount umount mount.linux umount.linux
+)
+
+src_prepare() {
+ eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
+ # Bug 543100, update bug 601194
+ eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
+ eapply_user
+}
+
+src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
+
+src_install() {
+ # work-around race conditions, bug #526996
+ mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
+
+ emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
+
+ local file
+ for file in "${STRIP_COMPLETIONS[@]}"; do
+ rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+ done
+ # remove deprecated completions (moved to other packages)
+ rm "${ED}"/usr/share/bash-completion/completions/_* || die
+
+ dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
+
+ # install the eselect module
+ insinto /usr/share/eselect/modules
+ doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
+ doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 2.1-r90 ${v}; then
+ ewarn "For bash-completion autoloader to work, all completions need to"
+ ewarn "be installed in /usr/share/bash-completion/completions. You may"
+ ewarn "need to rebuild packages that installed completions in the old"
+ ewarn "location. You can do this using:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
+ ewarn
+ ewarn "After the rebuild, you should remove the old setup symlinks:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
+ fi
+ done
+
+ if has_version 'app-shells/zsh'; then
+ elog
+ elog "If you are interested in using the provided bash completion functions with"
+ elog "zsh, valuable tips on the effective use of bashcompinit are available:"
+ elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
+ elog
+ fi
+}
diff --git a/app-shells/bash-completion/bash-completion-2.7.ebuild b/app-shells/bash-completion/bash-completion-2.7.ebuild
new file mode 100644
index 000000000000..99d53dd87c6a
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-2.7.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+BASHCOMP_P=bashcomp-2.0.2
+inherit versionator
+
+DESCRIPTION="Programmable Completion for bash"
+HOMEPAGE="https://github.com/scop/bash-completion"
+SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
+ https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE="test"
+# Multiple test failures, need to investigate the exact problem
+RESTRICT="test"
+
+RDEPEND=">=app-shells/bash-4.3_p30-r1
+ sys-apps/miscfiles
+ !app-eselect/eselect-bashcomp"
+DEPEND="app-arch/xz-utils
+ test? (
+ ${RDEPEND}
+ app-misc/dtach
+ dev-util/dejagnu
+ dev-tcltk/tcllib
+ )"
+PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
+
+# Remove unwanted completions.
+STRIP_COMPLETIONS=(
+ # Slackware package stuff, quite generic names cause collisions
+ # (e.g. with sys-apps/pacman)
+ explodepkg installpkg makepkg pkgtool removepkg upgradepkg
+
+ # Debian/Red Hat network stuff
+ ifdown ifup ifstatus
+
+ # Installed in app-editors/vim-core
+ xxd
+
+ # Now-dead symlinks to deprecated completions
+ hd ncal
+
+ # Installed by sys-apps/util-linux-2.28
+ mount umount mount.linux umount.linux
+)
+
+src_prepare() {
+ eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
+ # Bug 543100, update bug 601194
+ eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
+ eapply_user
+}
+
+src_test() {
+ # Tests need an interactive shell, #477066
+ # idea stolen from:
+ # http://pkgs.fedoraproject.org/cgit/rpms/bash-completion.git/tree/bash-completion.spec
+
+ # real-time output of the log ;-)
+ touch "${T}/dtach-test.log" || die
+ tail -f "${T}/dtach-test.log" &
+ local tail_pid=${!}
+
+ nonfatal dtach -N "${T}/dtach.sock" \
+ bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out'
+
+ kill "${tail_pid}"
+ [[ -f ${T}/dtach-test.out ]] || die "Unable to run tests"
+ [[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed"
+}
+
+src_install() {
+ # work-around race conditions, bug #526996
+ mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
+
+ emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
+
+ local file
+ for file in "${STRIP_COMPLETIONS[@]}"; do
+ rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+ done
+ # remove deprecated completions (moved to other packages)
+ rm "${ED}"/usr/share/bash-completion/completions/_* || die
+
+ dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
+
+ # install the eselect module
+ insinto /usr/share/eselect/modules
+ doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
+ doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 2.1-r90 ${v}; then
+ ewarn "For bash-completion autoloader to work, all completions need to"
+ ewarn "be installed in /usr/share/bash-completion/completions. You may"
+ ewarn "need to rebuild packages that installed completions in the old"
+ ewarn "location. You can do this using:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
+ ewarn
+ ewarn "After the rebuild, you should remove the old setup symlinks:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
+ fi
+ done
+
+ if has_version 'app-shells/zsh'; then
+ elog
+ elog "If you are interested in using the provided bash completion functions with"
+ elog "zsh, valuable tips on the effective use of bashcompinit are available:"
+ elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
+ elog
+ fi
+}
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild
new file mode 100644
index 000000000000..543a7c362bb1
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-9999.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+BASHCOMP_P=bashcomp-2.0.2
+EGIT_REPO_URI="https://github.com/scop/bash-completion"
+inherit autotools git-r3 versionator
+
+DESCRIPTION="Programmable Completion for bash"
+HOMEPAGE="https://github.com/scop/bash-completion"
+SRC_URI="https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+RDEPEND=">=app-shells/bash-4.3_p30-r1
+ sys-apps/miscfiles
+ !app-eselect/eselect-bashcomp"
+DEPEND="app-arch/xz-utils
+ test? (
+ ${RDEPEND}
+ app-misc/dtach
+ dev-util/dejagnu
+ dev-tcltk/tcllib
+ )"
+PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
+
+# Remove unwanted completions.
+STRIP_COMPLETIONS=(
+ # Slackware package stuff, quite generic names cause collisions
+ # (e.g. with sys-apps/pacman)
+ explodepkg installpkg makepkg pkgtool removepkg upgradepkg
+
+ # Debian/Red Hat network stuff
+ ifdown ifup ifstatus
+
+ # Installed in app-editors/vim-core
+ xxd
+
+ # Now-dead symlinks to deprecated completions
+ hd ncal
+
+ # Installed by sys-apps/util-linux-2.28
+ mount umount mount.linux umount.linux
+)
+
+src_unpack() {
+ git-r3_src_unpack
+ default
+}
+
+src_prepare() {
+ eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
+ eapply_user
+ eautoreconf
+}
+
+src_test() {
+ # Tests need an interactive shell, #477066
+ # idea stolen from:
+ # http://pkgs.fedoraproject.org/cgit/rpms/bash-completion.git/tree/bash-completion.spec
+
+ # real-time output of the log ;-)
+ touch "${T}/dtach-test.log" || die
+ tail -f "${T}/dtach-test.log" &
+ local tail_pid=${!}
+
+ # override the default expect timeout and buffer size to avoid tests
+ # failing randomly due to cold cache, busy system or just more output
+ # than upstream anticipated (they run tests on pristine docker
+ # installs of binary distros)
+ nonfatal dtach -N "${T}/dtach.sock" \
+ bash -c 'emake check RUNTESTFLAGS="OPT_TIMEOUT=300 OPT_BUFFER_SIZE=1000000" \
+ &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out'
+
+ kill "${tail_pid}"
+ [[ -f ${T}/dtach-test.out ]] || die "Unable to run tests"
+ [[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed"
+}
+
+src_install() {
+ # work-around race conditions, bug #526996
+ mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
+
+ emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
+
+ local file
+ for file in "${STRIP_COMPLETIONS[@]}"; do
+ rm "${ED}"/usr/share/bash-completion/completions/${file} || die
+ done
+ # remove deprecated completions (moved to other packages)
+ rm "${ED}"/usr/share/bash-completion/completions/_* || die
+
+ dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
+
+ # install the eselect module
+ insinto /usr/share/eselect/modules
+ doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
+ doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
+}
+
+pkg_postinst() {
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 2.1-r90 ${v}; then
+ ewarn "For bash-completion autoloader to work, all completions need to"
+ ewarn "be installed in /usr/share/bash-completion/completions. You may"
+ ewarn "need to rebuild packages that installed completions in the old"
+ ewarn "location. You can do this using:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
+ ewarn
+ ewarn "After the rebuild, you should remove the old setup symlinks:"
+ ewarn
+ ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
+ fi
+ done
+
+ if has_version 'app-shells/zsh'; then
+ elog
+ elog "If you are interested in using the provided bash completion functions with"
+ elog "zsh, valuable tips on the effective use of bashcompinit are available:"
+ elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
+ elog
+ fi
+}
diff --git a/app-shells/bash-completion/files/bash-completion-2.1-escape-characters-r1.patch b/app-shells/bash-completion/files/bash-completion-2.1-escape-characters-r1.patch
new file mode 100644
index 000000000000..27a85504befd
--- /dev/null
+++ b/app-shells/bash-completion/files/bash-completion-2.1-escape-characters-r1.patch
@@ -0,0 +1,27 @@
+--- bash-completion-2.1/bash_completion.orig 2014-03-09 17:38:14 +0000
++++ bash-completion-2.1/bash_completion 2014-03-13 23:26:44 +0000
+@@ -536,13 +536,23 @@
+ # @param $2 Name of variable to return result to
+ _quote_readline_by_ref()
+ {
+- if [[ $1 == \'* ]]; then
++ if [ -z "$1" ]; then
++ # avoid quoting if empty
++ printf -v $2 %s "$1"
++ elif [[ $1 == \'* ]]; then
+ # Leave out first character
+ printf -v $2 %s "${1:1}"
++ elif [[ $1 == \~* ]]; then
++ # avoid escaping first ~
++ printf -v $2 \~%q "${1:1}"
+ else
+ printf -v $2 %q "$1"
+ fi
+
++ # Replace double escaping ( \\ ) by single ( \ )
++ # This happens always when argument is already escaped at cmdline,
++ # and passed to this function as e.g.: file\ with\ spaces
++ [[ ${!2} == *\\* ]] && printf -v $2 %s "${1//\\\\/\\}"
+ # If result becomes quoted like this: $'string', re-evaluate in order to
+ # drop the additional quoting. See also: http://www.mail-archive.com/
+ # bash-completion-devel@lists.alioth.debian.org/msg01942.html
diff --git a/app-shells/bash-completion/metadata.xml b/app-shells/bash-completion/metadata.xml
new file mode 100644
index 000000000000..5ceec3abea7e
--- /dev/null
+++ b/app-shells/bash-completion/metadata.xml
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <longdescription>
+ Since v2.04, bash has allowed you to intelligently program and extend its
+ standard completion behavior to achieve complex command lines with just a
+ few keystrokes. Imagine typing ssh [Tab] and being able to complete on hosts
+ from your ~/.ssh/known_hosts files. Or typing man 3 str [Tab] and getting a
+ list of all string handling functions in the UNIX manual. mount system:
+ [Tab] would complete on all exported file-systems from the host called
+ system, while make [Tab] would complete on all targets in Makefile. This
+ project was conceived to produce programmable completion routines for the
+ most common Linux/UNIX commands, reducing the amount of typing sysadmins and
+ programmers need to do on a daily basis.
+ </longdescription>
+ <upstream>
+ <remote-id type="bitbucket">mgorny/bashcomp2</remote-id>
+ <remote-id type="github">scop/bash-completion</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest
new file mode 100644
index 000000000000..71610b86d02a
--- /dev/null
+++ b/app-shells/bash/Manifest
@@ -0,0 +1,375 @@
+AUX autoconf-mktime-2.53.patch 4812 SHA256 f8fd7249e0eaac1a258198b7e2dd435fb287dd826d2b2b85c171f3c801bf5a9b SHA512 52fd04b9ba576ef28a66647307b550e9da074867c2cfd9d517948f3029521d94ca01f3e43b49544ecf6ed1139f8ac4f8beb36470e7e225a65557a6b5fb5348ec WHIRLPOOL 71319dc34c773c9773cc96339cb7b461115311ce42a3758f53a0eb6c7f8c1fadcec0de43f4b226de183867faa53982e8bf3919221e33474d0a1e44f73d32b15e
+AUX autoconf-mktime-2.59.patch 4686 SHA256 3c16de6cbe24fc806c29390eaf4c7e1d9ceda3df523bb18941cf0a3184356bba SHA512 4ac3951b72fcc50bc90d4fdd6286fc0ce01100d928b51f41043cf7c6f6adaddd7b19bb346bf21f306ce6cbe619750dfe18755c122e3f1a237fb07c02b25594a8 WHIRLPOOL bd4304863415e6e5b79a2df330b9add8e5378de54db2c24a3ea97c41125886204a77997ba179c42a901532ddf49314a91e1937df31d396ac8d4d6c7d612f442d
+AUX bash-2.05b-destdir.patch 598 SHA256 07e419e3b6ee2e105c0642f5c4be7b61d2f765d632077c9eee883be4e60432d5 SHA512 d453ff834c7a4b5b74e395e496493d77f98ec0e1aa1d7cf8ff0d8260b2a0602067da65a18d5dc9dbedc1d79c8b50395dd97f7091a6d55ff0bae52ed1b2b007bd WHIRLPOOL 3eade151768b8de41e0fc1ef9d22ef578354f334ba5bf80425bb925ea18debf976cf03b9509ed4a3886d15b05c90fe6c6fe5ccbd4696b48d63d17aeec5d36158
+AUX bash-2.05b-empty-herestring.patch 667 SHA256 2b2bb08d16873236db26fc9d8f2df7d481abbef3d7acbded39368fdd26ccabde SHA512 311626129c33546b42a16788a566958f15b48aec40989828498ce45c50ffc450c1b3d3413cc7cbaeef44699d64962c968d38dda0ed810cce389b572228221be4 WHIRLPOOL a57c572a929ca7dd7a3e97505c7470e996fb56417f2183c79fc341bf08675061e53d984dc939c69130d022ceb4c0a30dabe75226ecd9ff57ab38b489a0c256dc
+AUX bash-2.05b-fix-job-warning.patch 341 SHA256 743a35ab7c31fc1aea94285144658c27b030fed5b8e38612d6f4efccda8d4730 SHA512 5ede03f96f8061d6ea99c473cd8625aedd745b9545a5af4bfa371907a4446e57d8d4d75e934ee38ae6654a0521f203d7e54d7b111e594bd4efff2ab0491b0a20 WHIRLPOOL 4e616b1fd976c9cf3e7b6f09a2eb159c4ef1c1b112158f98387a6ee36214e28224b3080ed8a5e226d1a4c9b1c4f4facd680f881dc54e5f5868fbad2f0a282dd4
+AUX bash-2.05b-jobs.patch 813 SHA256 021a8b5cb3ae71b160524692fbd5ec0e37384cd3c3a50689d7de9166be9febfd SHA512 7d6176ab2831f2dec6e033b1604d2b41694adc106e0a7bb63c69df245e85ff3ba45904d798f4d596dfe712ccc0bfd17d71ad70039eaf67b280254b15517f2e97 WHIRLPOOL ba6473776b4b3241e23cff1b26baf613274b0ca94885be17707be9fd74bc58b1ff2834fa6ef210d469c172af149153e3e0fed5278ae0aa262832c7cc7f504a64
+AUX bash-2.05b-parallel-build.patch 426 SHA256 74244a0b736396213bb2b9d7dcbc99d21b979d8102b3a04bdd91f65cc5ec7d56 SHA512 1ae173412ef3dad6b874cf6461479a0291e8dce2b0f1464450d41cc5a1e833e66860d7c2ed5c14e55fd082a95fdfa6164ae677aff0192fd2e02f1eedafe06992 WHIRLPOOL c1a6ad3c1dcc053992a68608c9bf3e11895d080343859698f6be06443efb2d0a6fa8445f5b16aaaedb6dd35db29fa48e47bf1f98a890a7ee3c3daeccacd7bcca
+AUX bash-2.05b-protos.patch 692 SHA256 1df3b05232723d00ba0f76bb18233dec2943da63cd72e1161a6ac82592ba5837 SHA512 77a5d48d629cd127db6f7163fd9ee4e67c22b92007cb5e9fc9f51c83427f809dd74f176a521a7d8e342127419c872c01e29b921f48cea5cb8e788ff5f51faaa1 WHIRLPOOL fa54af517ecd99398b81a46996b18f05c7a13191606a0780b01ff56f312ca44590feaaf3ae410773454d28d00fd112213d8780114fa69a51dc78f36cdb825a5a
+AUX bash-2.05b-rbash.patch 616 SHA256 52c6515e8333d7461c5d4b13cd45645a072c5c0258f34f3e03262952589cd60a SHA512 bc4a6132a36b65794843930e34abd199d9c5df7838c49ec3edf47f92e0f09877a31df051689a8267eaadfbb743934c2f4f25ab8a2ca07d1561dd6ec8c337a53f WHIRLPOOL 9cfd3fc03fc4c1adf5b03962aaa346ce831ffaba8aac8206bec9e97a2b500c72fbf81d20de698677a64ff1db1198adf965b66dab81141e75e0a126dc4cf16942
+AUX bash-3.0-afs.patch 633 SHA256 4c4453a7cf5d26099d41a4c473d9f727e6347c693cdace009bcde0fe5aea27c4 SHA512 833515f5b4040ffb7e65b410aa860da73a2bf1d9b4da7ea74ec41581fcb27b0ebafdcbb041abf4c1cebaa3d7b43ee6ea11f7c7ecec5759530ce0184ac6029f3f WHIRLPOOL 6b1e5b03c700183187bc4496296b2938d9c18e5df66e31e8440bdbd49bd2090485b5d966726b157348384e74a8d2a73228da8424332b132be2d76dd2e99e113b
+AUX bash-3.0-crash.patch 1191 SHA256 b082ac3e1ede7327a9147cedcfe3c0dbaa1b05ee6e9eee3ac838216ba7838eb3 SHA512 e9fa172d76e1a3924c4795b7bb26a0487ab50f2d0714178076b6b9f85d7712ffeb4165bd591cac97c4c2288e39fa2bdf3794f29a7f2fd28e2d971041d16ff0a5 WHIRLPOOL f026c11a5fcf72f776207e91dbb48f2c87fc791d36eb83c6e79dbf9fda9aaba0dcfe072d0e7c51a6298b580ffd87006943d96785750a90236ad314de06e78eab
+AUX bash-3.0-darwin-conn.patch 969 SHA256 a99c26c8b6d741e5c042fb4d3e230fb3bf0c88979e806fb1cbea720f0ff0915d SHA512 cc85dbf39df3289e40ba33626d2a0ad511145ea3cc8dcbed136ad128181022bd70c3a4f7f8e3146bcd027d7999deefefe8496d5eb70ff1a70235950a01f9376f WHIRLPOOL 62e6bdd6b9fc6b3b77af2ec605669982bd0ba156a42c910531b3bb7978c4a9cde5d73242a277949bacdd12c89dc5ccdcc45546fec8ed4e07eafdd3e0dee354f6
+AUX bash-3.0-histtimeformat.patch 1784 SHA256 d02e10e0406d2f219903de71e08eb3ce2234f0621b6b5cb977f89e710be4e236 SHA512 36ce1afa92707a4c43f212119fb2562fee0f1283bee94d892869611de1f34869b1dcf737746ac1887c1ee8165079bdb4ae6cb353a3cbefdf1cbbffb8b43a23e6 WHIRLPOOL ccacdd0534b57a83462cc76b55cf24cffa5a768ab5bec2daaf8b7ab89fd5f33fbfe7849fab379509672c95d981f0af94d2daf81f11da2bf45b83793f75484548
+AUX bash-3.0-jobs.patch 1438 SHA256 49e2747fb03cd3beac258fa081edd2fe5f83bb4d18f5bd6318b1154e7857f225 SHA512 d52b64f989e82f45c0305233333d2b004afb3ceda232a2144a56a21310b91749009d89639e323b4b63dcf92aff27c29d425af7e62ff9de9b164072669693ded0 WHIRLPOOL c8a2365f33e4b4f7372c603f05e9be443ebf5e099a56ba6e0a613ebc02a1e403838e9c8585ee5b0f8fb743ee948bc274e7bf2d6f415f5fad1bf6ac869a453020
+AUX bash-3.0-locale.patch 3492 SHA256 4bfa0e70f36519f40098b889bae3dbe87a561e3c6ee7815fbdd76554b48343c3 SHA512 c216b5877eb87660f5f3309280b9852917dad50936261d22611fa7a0f5e26a2efb7383fc13884105fd0798c6576f203396f185e8441a14f03067d5aed6e3f6b3 WHIRLPOOL caad1a7b707d74569d4d65e9aa56905b72399569f58c0744f99b12f5f203e715a1d64ad5447d5942de7d91c88d519db06e03079c730178ec4a5944d9243ee8a2
+AUX bash-3.0-manpage.patch 498 SHA256 0e398ec166852cd6e3dac6e8a2124494ee53376911cff38000381a25ea585685 SHA512 2492344828ad51d52dc4591b0df9e45e38904f5fc1bc6408b14815cf8809641b218c030cca0d830ddf3b18776bbc99e76aa0035b15e6e966ff1aa0a7914121fd WHIRLPOOL 2c41c43432a76b23bb9ed8224efadee5487fcd10e79d3c9a394008181dd391026bedbf0282f428aabea2b80d9d716b3047e383f61f50c30957e7a38b64e6bd83
+AUX bash-3.0-multibyteifs.patch 6099 SHA256 33471606d4363a1eb9f4222f5d2ada2666f538a258d5355182d26cd0aaa7dbc4 SHA512 3c0a5e565dc1f0b38172d6417eded435b1d5482eb8d33beb850b53178130e7d08e1cd6051a08aa93c845902c0ad5d688f8a74671222eb269cae6bddf33a99342 WHIRLPOOL aeb3cc13d6c3ab030dcaa94f9c2d1f1d7e0fb3af5ae3bb536c621bd7cd867bb4dd6a05b5f1ebf11e4b494dc6f1713eb410f48843269dcec883fab06ec6bf8c12
+AUX bash-3.0-pgrp-pipe-fix.patch 462 SHA256 4ebe71e13b42eb2c3cee85d1c2851719b511c287f3124105b3ab881172418d8f SHA512 9d5e647407fd66a8c285568d6af8a171a8cc327b22c08ed903eb783b8a3978e5117ff1a0f4798550a0e4d519347d7068b548377fb60bcf5eff16dfb92aa11d67 WHIRLPOOL 4f9bbce00925f9aa56405cb2ac18adc680554870e408a2dc11bafa192363973d73bc14a56ab30895ebdf4d67f9c9a79063be404b4b7832174f23373f6643dd12
+AUX bash-3.0-protos.patch 1618 SHA256 5b992176914de99ed513ebc87e06a59494744ff294b3f0b0e7918cf9129e9969 SHA512 b129beb6d0e8df83bcd1a2f8a4e56f60fa1d7566355a7ba73cbb4c267f074ce5aa8f5abd5da8bc45529b6101dd3111e3b427d49abe6d64b370704e9608ace099 WHIRLPOOL 0ea9238817393ad288e47bf0c2e8dcbe89a6a524975378592c713d418f76ce0de0b974140f5db0325cf58934891f3043dcab4a4ee5f81d7bb09193772bda3760
+AUX bash-3.0-pwd.patch 717 SHA256 4ac8a723fd25107e65a835fec701ff89e85c8d5f9ba0fb1e2eedca361a5eba3e SHA512 3766c9efab53754292227c21074e0fa176924956664eaa5d33ef562d14e864ac0c06fe0f03a565b0ade0bcbc0c97ec8a532ee7a31567dcca34cf84978f7ab805 WHIRLPOOL 27ddf7e807136f2aa4febc6d5073de4792fd3abf300e14d87a44bdb8754af5b0c179f122c760fdb86b4ceb274d1c8ea92ddbb0ea3d7fbcc070c93895d32026b7
+AUX bash-3.0-rbash.patch 405 SHA256 394269316f292e6dff6d5ea21b930bb1907cbea97e6bb8ccd12b1bc55eabef45 SHA512 b247afab23cef742ec48c19012b79da52c1f1386cdc256a237742cc04f9ce64835a42f833b67ac5ed60424672484e6ffb262d5c80e253290062e21ce39357348 WHIRLPOOL d9bc8d3767b1d88de4d02ad8b5ac6989d8ecaf5b53a265c2351969dea40d3042d4b26688a6fdeb1c4033e566c99786670a1314683c792470c8186c43111d75af
+AUX bash-3.0-read-builtin-pipe.patch 689 SHA256 af3b946bcbc23726e91bfbf23db1d4310b8aebdb6a204659e2e47ac79cce60b5 SHA512 f89717f0b33311a491c3e2e80ac75000a7b92f78febf986324a351107b71dafdeda8bdd3d5c292fb82798355fc21d5d562305ea759815a32bc0e7b1772f8c4d3 WHIRLPOOL 935237860b006d9a1be5709b39a741ff771edeb3a5bf7d6e3e23992074f1e098ae81d6a9b60babccafb638c22d34a92080fed1f08f68a2642850b28c64109f06
+AUX bash-3.0-read-memleak.patch 416 SHA256 c9be95964762fe11cd0154149f02bd0501da9394ea5034dc60ed8d6b2d1db4b9 SHA512 97361f9e14e2547a67da475a0bfd20c1be70534d745845d4918e98665d4182da231923c8365f881561db63b90d5e40def1f1b7f0bc98016c8d8c2e8aeb4e4407 WHIRLPOOL 230fa5d03010df8c7be84d085c4db2c79105752725d9a8f12ad31f7e482492743453273b8b39b2d19f508d02cc890cd2afcf5c07d02c676ccbde2d507970ac86
+AUX bash-3.0-strnlen.patch 4976 SHA256 7be29ac97f1313a1bdb136e255b7d1e768729c7232cdba9b18f7194bc55d5796 SHA512 390845441ad608d0938ca8ed5f9f06f28e6fe45462864072c19b3af302cc6cdb0a7f4fa9f0ee4dadc3ed19a73e06457044be47ad9c327a81f3de4ed7bb70aaf3 WHIRLPOOL d92915dc48285a04321f35d897f457b114cc05261c6e1c3242b08a4f31b6cdb1940f6c65abcd5803bb2a2585031ff6c37cd28d849daad1dcda092371ffefa1f7
+AUX bash-3.0-subshell.patch 1219 SHA256 aa28ee13ec650bf225c4f8f0c59c9e764d0d5033f1fbfc8ac4f129c814c1f525 SHA512 ede172d08b8220f44ba12f803285192b82a505d4d2549914ef563c66d6f19c3a14acd5af3f30fe096dc6c360e9aef71b89f23c468e55c06e61be19d6ce17a68f WHIRLPOOL b76230f3f080cb93dd61e3c1ae1f532e604ec0e6fb1394a3ff89b31af3ce26dbe5b10b3053b80cce63e0099f9a51c9ec9589082a2a63ee84fce8edeaf2264bdd
+AUX bash-3.0-trap-fg-signals.patch 641 SHA256 6a87cba12a8d2873be89c0721dfa405f05508b23841e4b5041a22f57698e1b03 SHA512 5644591aaaf6a2f5e5fa4d41aa4e26c5d53e2efe6ad5838729a2da709e04c539a4a83325f707269d59b5aa0609130dc888ada0b9ec96fe85536800218de8ad6d WHIRLPOOL 48aeafb472ba96caa5ddf61fe5fa3d75ddb42747fd1f5e31e908415d46fc8977651916d507cfe3092ee7a41e873d05e1ff0efc6396c6ddec3beb6f0845422c81
+AUX bash-3.0-ulimit.patch 5226 SHA256 a3912103afc8bb5a4f63ac0e2921971c02e7e84885960352e1ffe8940c3c779d SHA512 1cbf210ceb840a959530506777dc4ffb34862ec6f1bc4b65a68c77c8b1b3ce02168d7283dad8d64e218169125d041a25c4e604c3a4327ceee53f806d77067011 WHIRLPOOL 80ca1f2a21ecc7eb93f25cc3e3a1c29f244deb61c904159f2cfdf5828749a619bcbad27991f549750c573d887ac9c07417bf94598b4de5769afbc0787ab20159
+AUX bash-3.0-volatile-command.patch 512 SHA256 03a22fe666a11f8dc917d0573ceaa785ebb67000ed060c4986e14e9e5353121b SHA512 55511691ed6880d58b54e2ce24d5fe14be2dc1ab8cc3d8ed25068dd8f831202958b7f470b361a294a05c3f202e5df6304cf54978c04dc71e915a959fad218223 WHIRLPOOL 0363ab690966b8871717e1fd7c7283d75d213e67a20d7497afa199b8915fc20e68479d02c8642465327ac99998b5658dcf8d28472d99dbb18800ee4c6aa9234e
+AUX bash-3.1-dev-fd-buffer-overflow.patch 557 SHA256 3124c1540433921e1d39b43bec041c2437962c26bdfb407582ccfec3fbad8cbe SHA512 3db03dc6e8c5fd9542788cb84854a0849a0f87ff07e95adf57aaee21c7edcb1293ae47ad8b83e0e0513431ba9826fcb45b847ccd9d87efb32b91ac7fc0cb415e WHIRLPOOL 1f4c6171b8a3c6f732e10e4fb3f57056909ffa0e02c40ab4d70c521701334d2a682444788ea79004685b1a9f1734e5f52146b32ac02af915aa40fa36129d641d
+AUX bash-3.1-dev-fd-test-as-user.patch 437 SHA256 8831820eb8db6ac47179b49af2a570c26a2ae9fa1f4b195bb956ecc6cf4abf8c SHA512 eb9907741b68513c53128221c240a1325735c1ceec2a4ac0df74ed85126404c3347a3d97181ada5b28686e17600653de9dfadfa9985812049de45741c81876b7 WHIRLPOOL 0fb5eb0ec459f77f71e8b7e19d76e4cd78076812dfdf7a2b72ec93a2ae99ce19bfe6410d5f63a7acd6684450d821a33197a4d53d55c3b980dbb0481ab190287f
+AUX bash-3.1-fix-dash-login-shell.patch 1749 SHA256 c33a999dc92355daf9556eb4d078910b80cb4bddac0ca343e530f85242eea2cd SHA512 f1ec4e9e6c119cba8d7df35d3cdb53b8bcf990b8577d0488a750dfdbd6781413981d2939ff3995977706ed927284aa0049ce36f64a126d6375fbed1210affb7d WHIRLPOOL 8610634cfdf63f1502375c83fd5aaef97780a0f40c2d476fe5b0f2325066046f1c3a4f1e9f7ed6bc62feaec1c61959eab0a74a5996845d31c1c4349663051c29
+AUX bash-3.1-protos.patch 1580 SHA256 7d96044c28287854d9cc07fdd2e90c3deada49e386086676f9d59855581b7a1a SHA512 19a17cd5a1f245a46047575670b3f7d2d37d6beb445a9ae3df373d5bc70b19386811fd7c9119a3051b1a39534e60a8b144151c5e95c44eeddf2c899d9e932536 WHIRLPOOL 43e3ba78d972db2ce33a9ead349a29dbc78b37606ba54eac7cf5343e59307c51f6d7ae0554e26c82c1af01a95d288a6be8209aeada10659a5df9aa39b1c7f03b
+AUX bash-3.1-ulimit.patch 3736 SHA256 e27d41117dab8814e3812833d2038ca4f5d5fde8a0da2322eb3111a6a6245443 SHA512 ce92df5cd0b0d98d1c09ad061e56fda0498cc64ee580604a2dab6408347c2a0a6758038f2f6c37092312dd6c82eb99da99119758170d817b913e96b4c24f5d34 WHIRLPOOL 37939e6514d30c8234a372ec7e2d41b6327a80695fae8d7d8a576b2f0e1783a9025e9a74083d62afcaee43702f07c2a544b2a096cba0b5fc1a30283cd2a9e71d
+AUX bash-3.2-dev-fd-test-as-user.patch 1104 SHA256 f1c8ea4628a85e094f12cf88bc2436fc748cc1c67f2204fdbca222b46a30e858 SHA512 fe4478d4423f7a9cce4af46207e2adcea2de17591c8cbc888695177a0b5efb9ab060d7980f6679ca66f6e99f1fa7b632fea6f002364c588996a4287cc5313689 WHIRLPOOL 4318384e7072100e650060520aa357698c0993331a9e1933f70af71af0c00b95c85bcc86da764ed0877cf3c066039b003f2ee2e676044cee81d4149facb5fdaa
+AUX bash-3.2-ldflags-for-build.patch 1172 SHA256 f325df461e7ec87a8450eeb7db7ac9aa897ddf6c248bbce6ef5e6cd82044fc7e SHA512 5ee27f6e2f3665ee4de4d47114ae03dc20d8050f1e4496d29796d892f9c96019a5dac8ec5672ba1818c0326d1151969bd03f9466089d6432468bc2cf56a1dd09 WHIRLPOOL 73068ed5105c30fbe3f353f424146efda53df4a0067caf4cb265600cc4aea11de8a4de2f15357a63df2890838abca849b13c1a98a08d79f340c64cf05e05becc
+AUX bash-3.2-loadables.patch 5355 SHA256 e081fe84f4d253c5192d260a3e1af76ff7ece45c1739b327f46884a158c70b1a SHA512 8255659ea5737a6edc97c29a772c3b40c634190d869c67ed585e9169d18bba08d625b6a56b8e3abf200fa4798c4ee5d9411807fabed8c123b4afa1fd3d7be50d WHIRLPOOL a78360956f4c2cb8a7dde02e65012116af5828f136b4ffa0724a47e2716baae6e934c3e65eabc44ab9bd7a909400aae18a2e88b1427784c888d4e7991ba11155
+AUX bash-3.2-process-subst.patch 272 SHA256 cd198d922094fca30fba456decf22fb57b678802db4e4375b5193d95b6371843 SHA512 609b093f8f56beaaa1e41a3fc6a2261d302a938df911e2765e819bf71ad3c7da14444ca01f7e655b9bd7b9f08297520e18320c85f16f16425cb2e583e422c6ab WHIRLPOOL a4098114fdcdaf1f710e754712dac5435b2846deb1206b0bf001f91e46cd60be27b5e29ce847cbc666042ab60c77eadbe541934b2200d06e72caa0b821ab357b
+AUX bash-3.2-protos.patch 1376 SHA256 1468c93a7363a0940a18f37e7b8525a7f13ea5ea64c73c4ac531fb927db98719 SHA512 38fda9326bc92cdd10b9f4fac91d1ae8b37aca303376f9cbb59376f06136ed6d765421626d253931350e6ce5f6a34de9016eaab862de1deaee20c62d53d017a5 WHIRLPOOL a50bc84d503b7d1f0c27e166a86bb9ffd3dd55a954381f3c26cdeec53c95f1f241e0b99bc527de17d3de56473865f22dcb1718f889125731859555711497723c
+AUX bash-3.2-session-leader.patch 2098 SHA256 533861310e7cba05f315ff56af32aaca5e4bdf7c2a450d4e616bb14fdf4a1f3d SHA512 5b2cc930adbb49531971548b57a56cc4a6ba5850ef68f968b566e854e9e419767b1ba95d2186b26d9fe14e06e289f9bb471d39eb7a5f1a04874b0ca98c3e48cb WHIRLPOOL dd5d333cbfbfee4eecd518601aaaa793d7397fa84997f4050a2450001d6f426ac53423ddc69c4994541c7d6dc3c1f4393ee51d82dfdf561b70d5afc45a6d4494
+AUX bash-3.2-ulimit.patch 449 SHA256 d40709360f25ab355dc83e334b512d3dd80e435e241d1e69581fbc41504f8381 SHA512 a03a59691c14d16f2b6eb48836c4f292369c7dbc61df3e13c1dcd023fd69618c6a8e4230dc9997701b3c12b208318b0ecaebf3fbeb7d601e0f94a2840a1cd88e WHIRLPOOL e9572281bab77791a629c4a513544c16d1db976a0fd6149590fc26f6c02d29de316aab1adfa7c49344554ca8d58d254a3625da6ed9a2a9bf6639ddbc3a6de1eb
+AUX bash-4.0-configure.patch 749 SHA256 12419ea6f91178608b0fe028d85b4e0daac5c339a52fbbb79d77d97a2f6bf010 SHA512 b7df205a424c8b345e7ddac0c112b59b473cb1a76350f0b22e002e3e5f2f3594d8350573f8c624835582591a97a518fe62028ec8e3c2ea73a3eeb94872ee7a95 WHIRLPOOL 6ebc68332a94118bf61a5b667c008d9e1b9a162a80bf5936b896d8ec34e150bed2efdcc562e3c33343200f1a49c066ffabd7382df78000a0116987ee62d004ad
+AUX bash-4.0-ldflags-for-build.patch 512 SHA256 97b0ee283846e6530a0f025b1fe69054229a37b00180b82fcd44dc0c3381dc8a SHA512 58298b4f76fdbbcce0c22a90ecd554fd5c5e485260ac8aeedadebfa6b2347c41fe99a1d4d8487e70cfbd7bed075e3efb12736e57516a45e0431821f6f243cd46 WHIRLPOOL 40d8997e53b16c1c19467540a79a1bbf18af692e241d50c54d4ead1ed75b910927d0a5a820964d03bbe778fef29a816ad2facd16b1d85b790d6a1f00fc54a13f
+AUX bash-4.0-negative-return.patch 748 SHA256 771f89825fc81ff035f1b03dfe1e65b7e58a0039c005067b0c37414b84ddbf2b SHA512 08bf99a64fafaa5d31c68337c6943c24353dc28b478a0678749dbcd21777c95e911d416f379f03499bbe5bf25edb7a36d35b51ae6b6cdf17f8c767d2cc620092 WHIRLPOOL a1654fc229368288a3ee67077a05e50c08b4b3d9800b37c0e9a3a189b8076be2db492794180e570f78da6a64dae762f90874087a7a410765d0ed4eb8482bbb11
+AUX bash-4.0-parallel-build.patch 2237 SHA256 65db03b0c0b8e2fd917f049e9e84f7b2b234b3e9e37f395d4d8984194b392a56 SHA512 007ae35eb0f5027fc8f490df0270c52cc36648020aa9be717e548be68c85bf532492ddb6b34df169be4a2b4f788dd89b81d4b2872a26428683b421a9360af2b4 WHIRLPOOL ce5b1609c5f2e2e162825b9036b8eff2ca76a978c8e8470fcf4dbc81bacdd8bfecdbe40f7beb958024a98e50ecfbf68853517b827a4b0f1a27c720824c9c2b23
+AUX bash-4.1-fbsd-eaccess.patch 843 SHA256 42a4ee58b0d2fd529e25fcc3ca10d17bbac2c91fd8bcb191d70c788f0b55fb95 SHA512 9616f7d8461302b1544b7eabc0fa1dc8dd682497b9512b67cb343046ee2baa0598efe7013d6730dc77824179073bd4bb1b4c14da721a72a03e7d9a1b1f2c9dd9 WHIRLPOOL 08478f9dad9dce98e7ad985ea8db060ae07fd803a4a58ec3cb42409e277d2f1102e48e460f5b487c0f302b9ee54e73e925a11629d34e3c2eea69c6696d3d0339
+AUX bash-4.1-parallel-build.patch 829 SHA256 0da60b91e4fb2326137a4dde6d8937592b6efea45de51194ca1770127637e652 SHA512 4378b430b5238bccee1d9d368e094bb567481ff551bc1ee3331fb29f9a37e13d833daf56524b9d7a2649549c9ff372a73ba659ac4b5fee93dd584d03149a4db5 WHIRLPOOL 05399c1d2645e574b5c636c470504c1d62bfead0235ea7a1c629938ccd15576de7365e4cbffe55690184831524caaf5296e317f626783fa0b502d80970307b3f
+AUX bash-4.2-dev-fd-buffer-overflow.patch 1329 SHA256 834c1f3e795c7bfff9c492a48c5997e32d05d9959751b87203525cbf1c9e56d7 SHA512 677ca63179f208c7fb00803dee407be34e2e5e275d12a355f7fa2c6d80e6fabe28499f657d1c927070dd9e291a0eb7b5c737527c2660eedfdf5109e59636635c WHIRLPOOL b6dd911216a3eb1efbe4ad93192d0af322126609bcda5ba275ffbc52ddd8a07d76eb549272573ce293c3f266c51a8bf965c5a324dd5d1f2e8f4475d90b3117f7
+AUX bash-4.2-execute-job-control.patch 865 SHA256 0b6fc0d467662dd85daa02ba8d50ea612cf4c5274d685d52eb1533b5f164b056 SHA512 c2d45f5e9668a8717137c533ced119315cf03c63fb373e5636c65383a399227e1d2aaef846452a0d3316db20b0b4cc41bde55c9aba2a9a02c1c31462d2273577 WHIRLPOOL 407e6e79afb617c6661453def92da451d2e4231a595557e654924058a6082badd15f8bff119a556322be4d4d4a65bdc785f3275e88324c536a60dccc99acf857
+AUX bash-4.2-no-readline.patch 287 SHA256 f145706f0a83939575023929905199ac4359c97530641c39635be36a46fa8d8c SHA512 558b6bc3a7588ca83190264c842a0eb79d838ebe8002f3aecf8a4dbbbbfa770a3568e2f35496ab80683c0317f15afbeb5748bd0c0027c7afbcb0419217dd5847 WHIRLPOOL e760a202352817c8b465d03b9f9101b3c5f87c7d5c88263d086b574bf89834c7d2e9de8aebcb4427e456ce17b1f51e89d3739c5a556179f03ea832cf385ab83d
+AUX bash-4.2-parallel-build.patch 4448 SHA256 1c5f7fb5c324d6f2b786ad259cc35bfdd3fe3087e778e4a5031277b33ca097c3 SHA512 44690ed868ed95b7949b21a308f402af64d46873a8eb023f44e3f12381719e66b5c123c75d496ccb3d51b10b7102ae041dc41d55131ff9835757731afb9f7711 WHIRLPOOL 70bf422d8207f08d15cfe95daf5b6ac264bd320c7544ee626efe0afdb751ebd4c953a59e39e44af85273cbdec3ebbd060597ab9ccfcc1b5b767fde4f6afa9916
+AUX bash-4.2-read-retry.patch 932 SHA256 37d60b456efd563960a9f1f3f40f0e7f6ef2f9aeb63d8dafabf13853f3d41987 SHA512 b8c9524a1385f8a66b964bc629ed62a1c825415e3388ac4204709440d3feedd5ffa92dd0fb54eab85283b0de49ce24a76836512b737612c0a4c45eb4ab40f8cb WHIRLPOOL b88a33ea5dd903f6049f79d96bd5975074e9b43bf21e5491cd8ccffc1649f4afcf48456b80bb99c3bc576c553c9bb99ca8ca831a85e936e82aef4aa39509a652
+AUX bash-4.2-speed-up-read-N.patch 2858 SHA256 8547d32535ed4e2fe5cb7b3503e6044c3f5df3772079509bd02cec4177059dcf SHA512 6b7f611ac35746c5ce8caad49def25d060397d81844c0dda2ba7c73f4b0318a28b3fb89f356695c8a7799b70ab0591d9612619403b7d4ade8aba1e60a933fdae WHIRLPOOL da9647b199f090b358b8186187d9ceff6cc5dd7cb20885f7963c1a1b445bf833093c2db931763a9c05f2e4b87e9e1c201bd34a441c49a39703eca7f3c61b2d49
+AUX bash-4.3-append-process-segfault.patch 675 SHA256 cadbc77924ce5e2ba3984263f1e5d5c877214f4b78bd7597c637aec059ee9592 SHA512 2c243f7ca4f689decb0171ae2f5b5babf6b37f8f0988ecfbcb952a8df22dde9a543719d48b64ce45d2308340e9c601c9bd2f14f3f11bd9b9374c0f6fccaf0c7a WHIRLPOOL e614268546796cafd1acc076c3b1212b3f047b809d62480392b0e41283be8decbf32f5db96f4b62fe8d21a61aa95b16b39b93be41e946311490ba198a222feb6
+AUX bash-4.3-arrayfunc.patch 439 SHA256 9407d53d357166464c7c4e3341a72027faba295f416e73f7b5919e10ea15577a SHA512 9db458ea34495e8632d68c072db0c30be103d31ad0535d5327e2ba8db62d9464b2e4427fb0a06c6272dbaa399a2ba939666f4574929d0f53940234a78ca67867 WHIRLPOOL 038eb157225aadf2c7d57aa63b1ca7871986ceea982ae91d319b55551377e79b6023a1844c752586083056ae377813366f032e8c51df0f42e35bef0c037ed803
+AUX bash-4.3-compat-lvl.patch 628 SHA256 3303c12a499c5fb3f3c9ac7b11b020c83d4d4e3d672cc2df734709b22a6d92d7 SHA512 c552e1c7154d69201329f26e039c06a61e1bbaf5eaf16b7eea4f89d56aef0f710ebdfb115a1c00f07bd94893e51f9cbceee12bb57e51f6009c0e2327d53d7286 WHIRLPOOL 066fbb358f4fb9e32a58b4c4edd10d9c47c50f6aa202e0197c6b6d86a0836d48677561b834e5642b9052e64077efe240cb27144e5032c3e5f4bd9cb62201736e
+AUX bash-4.3-mapfile-improper-array-name-validation.patch 407 SHA256 0302e96630afc5106ea446defd6890fb0b4c96bb27b375e8fbfd96b09eb10335 SHA512 214935a751c3275593654c36b471cbb47ca4f5bb6f2a19e0a7ff73b646e5318a861538bf923ebb5f84abafa6d0d6eeece7b2f36ef77ab8c582223e098b4eb356 WHIRLPOOL 3bf136afd45fe614e3429079b6f41102dda55390d4a3d190f4584aa189f8e623439c13f9efe623644d3990e0f5d2d1b90a8b61eee322f22050b3d5e63d8f5eda
+AUX bash-4.3-protos.patch 174 SHA256 729aded4f907f4bad466785eed850b2b25a145e9ed75f0fc690190d5fccd387a SHA512 4af0540467bbcf7cf041de6fe6ed080b149a2ff309e5dbe5e7b76bb30459aaeead813be678384feb01a7b64d3a649372f8a8aaf686f69ac7958baa87b25340b0 WHIRLPOOL b1a5def9952b1f8ec4b9c3ff9df09672b2ad55a67a99890bc0796c87e23c1ec86c0eed50125d790120b6eea595f5aeabf981383323aac43b2f790587ec70685a
+AUX bash-4.4-popd-offset-overflow.patch 1069 SHA256 7531362393ebf012e5e153ba7fcf631d93574d7e80d21596607a5f5d3845c00a SHA512 535f61b2e0c6423031520700be423750e9177ec96055be781aee5dbdd01c720c1dbc30fffa73b88464527981193c1c6a74ec4139753ef4f40a5bb0f55c4de61c WHIRLPOOL 3fd7d95b7a806d5f8f82ab683c0bcf13bb0fc8bf5b5fe374689abbaae3c325994b4709c601d1ac6cdb1a2e5d6a049c98ab46688e5ecb2a18c98ac182fa6c91f7
+AUX bash-4.x-deferred-heredocs.patch 1255 SHA256 845ffcd7035eef5dc029747f211a737e0260b53b16086a37fb3c8ab3609a7d36 SHA512 9016203189d0b601f0441daec19f902de7387b599a2196c475d76c596dcf9a9c22765a58e7fc5a3117522ec2722475bd166bea271ff3048f31674e8bed2901a0 WHIRLPOOL f3a2ef5245c446b7e90917e987d80efba5e6437dbe86fc27bbd7768bc5f1e5f6e7663b350ca8a81a3f21a29af6e1594c14061be0d818fce6a4a63aed7efcb6fe
+AUX bash_logout 205 SHA256 15aaded954389c05d7de5d36c4887db61975ad52c87ad78baf1062ec8997289d SHA512 7234250c03fc920996a381f9daef9e2d8ab1e1a29acdebed6669d8e0fe1c872a7fa343adf7d9ddc81225b0cd9eb223ba7ad1ff42448aff057fc6d6baa8f04a7d WHIRLPOOL 16242c8796af44f550f2935b37c770c022754c63db75b57fbe49d1a313b8651235619ead571cd70ae37f890c694d1c6b2e4871ec51345743eff8649782d0523b
+AUX bashrc 3619 SHA256 d78f8297d85de97cb1699727691c94e4f6ca5c957b362572a71d4e65e3fe1525 SHA512 5cb15b26e14b8a5218ac81b4a7a755de4d0a198036894f506bf51195d7d98085b160529e5b7f1ee5b3ae775abb7a1c17e0a6e2784df6766076df62643eeb75df WHIRLPOOL d11bfe25dbec134f9c2f0a98574d045d073e15d889faad86b783276d9a67d4fa7cd66f0d6c6ba6b23c67f9c9400bcef7434a2dd7fc3200ee7ea745ca665a2e78
+AUX dot-bash_logout 127 SHA256 3bcb4958dad662fc2cbe77177236679f7a09b8bdb0be738102df4457394f4022 SHA512 e0248b5087656a4dd3a4790ed8e6101866b922ccab36b510b3bf408dc0c583e70f323fbad0392e4ea6ca5dcbe73568733e0c0aa9c8ce6b00ff5f72bf3e9fd8fd WHIRLPOOL 3dc6bc364f8229d123873940743866dfc330e193ab6ec7c5162c61d0ecc319198a64f27176521bfb979c31eed9ed0b2ee2ffce31b050d4cb8e3aa8a5c12c38cf
+AUX dot-bash_profile 204 SHA256 4fc40b8960894a3011eca9ed5ee1e65b4a6f26bc8559a8e8cbf605d1966aa2e5 SHA512 97ad83696b7eb8b084a53530d1a3e7648722ae4199c91737ceb02b8238e7637b0770731f5140ffb552142311f79b140a041d7e1e5366ba60399b0019f164fce9 WHIRLPOOL 797471612c96453793ca26065a5edcdccc919e7370366bc56c224ec295a77c275af0650568b74922ee781b2d4f6540f32ff5158f62d8b8c0288488cd51f22d4b
+AUX dot-bashrc 551 SHA256 e280e34af6e830c93adb6285f66ead4812ddfb2bbc6a7ff618467f4c933f6446 SHA512 518b62aa2fa30e7d1692847929a6ce8dae4eac93e8b16d223d1ae86f4d5b076bcbe1852c9034f321c013e17502db9f771979957c67f8e8a71ca4eea7bfe9cc1b WHIRLPOOL 27c53e3f59bd89d5517b5b22bcf04a9adddee0492c52d34d26a707062fb4c4fa853cdf2726d6ec2621a08f24c32a53651ce5693b6de1be764de3e088eb9f7ee6
+DIST bash-2.05b.tar.gz 1956216 SHA256 ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 SHA512 595f84cfd38b239ff37f2c6fc22c669f8e1d4fea34400e30c4079ab657d05f735ee6b0e6af0db6c1b17dbf9cecec81805b467b4dbd45cc97044bfefac731aad6 WHIRLPOOL 999fdd8ec730364a9fe7926046d15e6f2b0ea3f9fa840d351f39ca8bdf360e67719db0946fe08c090850d684590b38c0d8adf72b1b7109c2569ce92d771817b2
+DIST bash-3.0.tar.gz 2418293 SHA256 72d3f9d80fb4622e79ee5019314668b7bd6747182fa0928c8742002b7568586f SHA512 2b56dc0531e908811e1cced23067d82505d57a3cf4651125a6e424649bc98f476366579306e03242388f0f5b17d2a09badc15b8358f70cde6f64c60b94015c9b WHIRLPOOL 7084d68e0fb4f01847cee785acc99641719755d2fff222ec969037eb38700c528dcffc236eaae855557cb67fa3fd5df857c0bbdcf1cba890823d1807b5bc974b
+DIST bash-3.1.tar.gz 2533934 SHA256 d6952b2c38f9bf417559dd3b071860e1099ddfb8a12c0228f22afaf47f79d3b9 SHA512 3b5d5f0de83d71c972e75267ab8f6b05a7e144acb39a7c6e14be7b4bcb9b67faeaf9a123fceebd957befa1222db05b9b539f524032d89eb1fb5936d9846c1c7e WHIRLPOOL 70042de87ee5520d48311d94548b73396fedb33ee612d6ddfacae1563d0fb4202d190abfc6a3c3d678e20c35e5e3da9849b766a29fd2dec71dbf44d3ff13b593
+DIST bash-3.2.tar.gz 2529838 SHA256 26c99025b59e30779300b68adb764f824974d267a4d7cc1b347d14a2393f9fb4 SHA512 cc88b1a4dab9f752cf6a22153e40b8590f6d3408217730bb28f5eb431cbb5577c4d3befe8bd44669b8fa64433f299e0dd23511fd1ed8a820020e2f7f4a461758 WHIRLPOOL f6cd6223203921fd186f5a1fe693f06076eb281bcd4459ce780f2162d040cb3fcd29028b333f6fada4d9c0aa081684c97e82ecc47dbc0f48e1a622bcc3d2328e
+DIST bash-4.0.tar.gz 6230779 SHA256 9793d394f640a95030c77d5ac989724afe196921956db741bcaf141801c50518 SHA512 dccd099d11d649b26d5b5c2ab5fb8f33915631e1d86fba519a0464f2bd3a3289655e956cf161a0dc3671b8be193b6b065bede8a407d98af3012dd4b824711255 WHIRLPOOL b8223f5dcee9dee92b9bb0c6d09a90ea2fd71bbd0894a9927be459e0a2e2b3f0413f57062f4ba7c1f806d778bca71641df4c2892fd6224861d2cd802bebe64f8
+DIST bash-4.1.tar.gz 6598300 SHA256 3f627124a83c6d34db503a923e20710d370573a29dd5d11d6f116d1aee7be1da SHA512 2f2a053d98be9a31cd089e1293e3369ad05406f6543d1d1662d8b5807fdcfebc1dda79db9bf2c596a6351ea463fb9bd9c8943c1d45da9b82f2fd3bab0b8a581a WHIRLPOOL 0259149d6f0d8f8a19e4b5a88e127c55efae0df4459063295aa6a9de69450b5f4b4b579894e4410ddfc0119eeb0356865b7cc4dbc7e4a75ad98acce0dfe2d46f
+DIST bash-4.2.tar.gz 7009201 SHA256 a27a1179ec9c0830c65c6aa5d7dab60f7ce1a2a608618570f96bfa72e95ab3d8 SHA512 fdd3c230f4f7a687d36db1b8f7baab5e553cf55756e2d49a88ffaa4260c8cb949897dec9f48655e96608ef0093ac101b60c132060f06c711c0ab81aa3f148b5c WHIRLPOOL fd5f321a8a89381904b1dd1f5acb5100186ce48cccc9b248cf68b35a1c1932177df1fc2b0215131999ee6018decf3264c45e54d407bf4b74ff8e4cc8215c630a
+DIST bash-4.3.tar.gz 7955839 SHA256 afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4 SHA512 a852b8e46ee55568dce9d23a30a9dbd1c770c2d2a4bc91e1c3177d723b31b32c5d69d19704a93f165891b409b9dd2cc65723372044e2bd0ee49ed59a11512651 WHIRLPOOL d82eb296b1bdee517b20e40d2231697dc41e2040d34e2da24c4fa40755c723d732929805ebef6f6923cd8ffecfb0db7063ec1dc3ab4e695a93916f2d872e236f
+DIST bash-4.4.tar.gz 9377313 SHA256 d86b3392c1202e8ff5a423b302e6284db7f8f435ea9f39b5b1b20fd3ac36dfcb SHA512 73de3b425faaac55e45456b0f6f6d8077b5dfa7bb76e0d1894a19361b4a2b6bd4fbbe182117ddbfe9b07b4d898fba03537c261badc9533dd3c0da891764c7f29 WHIRLPOOL cb88bb6f565d66346f5eb358a179e52637a2ede2fda3358899730795f1ac6f9540d116202f2d0d1ebb9d983ad7054c5fbf9be8b06a1ca0b4fe1eb62bb30a15ce
+DIST bash205b-001 1132 SHA256 bf7a055e0916b7899e7429e36e35d009db445b942b34520a601ea5a8fa634fdd SHA512 5ce4357468821b05e747201f3aa57225ad8f540c9e2c87051720490e039c30b478b9b662a68f14a0800fefe40184e4495e2645665200f9d75e9a115b2ac08071 WHIRLPOOL 90ba36843bbf2e0b7279d3bd197ddaa04e03e113be32051e5a77280cda6d43dcbf339780c57322fc0835a54c82e0095f0d3f2a13f13fec8c0b8da38e7e9b253a
+DIST bash205b-002 755 SHA256 affdd1808a6262fbfe291ebffa2133b05e4bb46067a90e3329d5741e10f0587b SHA512 46947b0229478d5c2cfeff68b8ebc00e4ef0c8b94e336ca12f72b4490ba3622c0240c01c17c1641c3b07adc2c64ec94d6d780365e8990768ec8888f3a9526883 WHIRLPOOL 7333910e98e517306077937881d4c5569ddd85552203b3ec833f0fda13822e388ce85f007d60e4ab4b1ef15abb66fa40dc4356ca01367463d179a6a23bcff8e7
+DIST bash205b-003 2356 SHA256 604972eaafe69f44413d429e0a826b0eae209ca74b14eeeccdf0d502bbabb340 SHA512 74528ca5d165b812d299f1c69b47757bd677c0b22ce4217e155cd641708b02364a93c6709fb57b546b376b36da74429a61493921c7c199563da40ddcf1c1f399 WHIRLPOOL 7ce09fb66d32f3aebda7fb2be66179daab033b4c08ea51c744148051b47e7effc2451971efeb14d6a403c48c5c46c2ac0a4585159f8115ec40b2bfa89f98317f
+DIST bash205b-004 1110 SHA256 fab91e9742ca4e990666441e91821742e6dff78e8e388ba55205cf7b1cd8e8e1 SHA512 d00fbac75340aa1928628010723da44f1f4c505194a867f380ece1b92d82d0e619a6c8431c6acb39433d10743de90fd74523a397824989ec96109d0a440e8185 WHIRLPOOL 3f10e5d7670be3018d023b31546eef52740471a63fe2f8752aa2b250939030577ba1f8ef60e91c231f6959059012dff84afd6230f2bffa96c0199ec4aaf63eed
+DIST bash205b-005 2217 SHA256 de80bbb3b7686c96c1d99354989c0dacfe4ae2cf082cdf7e9dc3c1c6910cce9a SHA512 76d2f2b4cc14263e0776b9425bc8e660e25bb6e8e7c55b05d3b96a0397ebe1ac8de262997e6b093e58c0f6ef1b662067f64065b086325988d5e867d545bd8bc1 WHIRLPOOL 0b5b7bbfc6013feb5f0c6b6f4748cad66178ee13420ea8e45008ed44fb8d9aea6b2fb5d5c9ef80c62254949bcf7c20cf3bf321c55c150461dae49d7317e8ca9e
+DIST bash205b-006 3155 SHA256 92fd6b3313d90194bb7e8868436554866517901da801b5a0c838efc620ea0396 SHA512 95bf5b3e5a30b5b14c6896bfa774f463c3271dad5d2678495b25a11700734eb5b0881e2e24a9b758800dd4ee031a464c4c0817ee6924f69937c482456fbb038a WHIRLPOOL 3f14a6e0e6f926758ca1bb4102ea9318b3c437d08f2b4e77ec321a25ac69668d39b78f02435ac6896ebcc9c0fbc81b3f8a4dfa1593da8682f55d976d41b93bdd
+DIST bash205b-007 1072 SHA256 0843c481bd13f4652e0ba722ea3786570b84440869e0944a3a2e1d0d4430500d SHA512 9849bcd97940c12c0ed4e87d11a0770a221e52daf2d6b86f39284f9a55113f3e44317f628f0ae54911373d2027109606740512eebef7043d5347d732ff453315 WHIRLPOOL 8083ee05e4f9617c6c214ad87207a120f84dcf061478c09420b0e651adeaa5ff813cc3a1fed6c20de25b222d4f07b39da151fcbbb1a68ce7ec5e445535d6ce8e
+DIST bash205b-008 2824 SHA256 871c04d09a3cee44db366346550a30ef5d1e07c04a4570ae9afc972e8b869222 SHA512 9b1e5af8d8a458c0d4b233985de3d69f774dd1b3941e567495717eacc183d0e2bb82139088e1e22be920681978d764476092aa5235e70ed4358d5fc8f19a9aea WHIRLPOOL 73d7f270980da523013e04af7a69989a7d432d03df90be42498f5dbae5360b4f96e9e7c244c0b516388cdc135d2a8ad658076199bc8160310a87eab6823a996a
+DIST bash205b-009 713 SHA256 30ce4aba2695e660722a405d709a049531ca8933dabef55cf954f171993169b6 SHA512 1daf812eb2fe902d591f63f65bfc02d00556cb8a77ebde5e6820cc3d3dd4c93332b95f048378d6619861f3801f7ba6eea9bafe5c2b4db03cea530cd0c35ccc25 WHIRLPOOL 469d299046af947525f2dfe1241517d758a4660180fb7668522a1a5157fe28a8f56907c262ba73e13a30bcad78e830797099fe4823aa910c186da71e9b3aaff7
+DIST bash205b-010 6267 SHA256 a6641e958d1876e0770b22f4ea0bf912864e36b37c068c71a6fb3084a13310a1 SHA512 6272608dd5ff55a22ceb9e6f6991a53b9ea0d809e1d1d8c10166519b62fb8fb78e24c9fd274ff8962fb2ac536150afabc88dfd0d5c14dece2c389b4fecdc5993 WHIRLPOOL a7fb77f696fbaa01fa7beb6a0d9bb31c45b85fa4acd1f22fe20a18596b9eb86a2420dacdf7ca17c7ce3151cad4b28357aafacc201b5e6bcb46bc68d55b48b782
+DIST bash205b-011 3223 SHA256 1f93855a2d0636380cc02f909ddf19ee9c68e528ee494e07a89de4114cb77b94 SHA512 3ee695648389d5cd59e1bdb4e940e93239c67b19082c43989bb6787da44f101bb593b7ba3514d859ce5c4e603c879610accc6862d3e5f69a6c02de359a6097e0 WHIRLPOOL 1a6f1a85e54e6146413c5465477e8b17e9bd4fb6fe1010c119029d848467a441338706be048db7909f5cdc90286b25ef86cadd91d7af6f27b5f16636fc9fe2bb
+DIST bash205b-012 1377 SHA256 605ce384f5f0b3466e15157a880d6eb303d9307fb02a47b75c155533bed90649 SHA512 4e02219ea03ceffa33ab84646048e7f52d6371a25e2df422fd58f349f102372934e640200eca41038bfd6d69a8d45291a0ab88696b83d565d190015e4e457771 WHIRLPOOL f00cf36f9043715042a594476c77640ad70520ae65a1ed872cebc4bb3590e108dbf0d9bf677e210a4b00a747f14f474993bd90093f27e3e39dc83e0a0528021e
+DIST bash205b-013 2779 SHA256 0a5224f5b3640fb612ab86196a44dff5ceb93115f7f98e22a3534fc60da145c2 SHA512 22e487265b446595583276a1e99a222f55173528949cb4ed8c34911447bf5716152569a0a50061e1c6b73ca0d7abfdab8fd0da5dd4a424e54192d91399a1593e WHIRLPOOL d9a682be8af5d9542259b3dcb1d6e1b023cd4794e4818b940e5d45dbc41bd2fc656c1601efbe5b4644864698f4b7b6d087b54d329adf97a920e10431ff08ebd0
+DIST bash30-001 4999 SHA256 cc10d8f92d612c3b223d5bd93747fbda157d43dd2dc46931b6c4a413dc025990 SHA512 70fca2ced05f63841a7be3b115f068e29edb384dc0ba61680fbe7e29212cc139864a5db8c419aa03b773e1dfb52d71b7f17f9fca8f4284c75250cab450450750 WHIRLPOOL b1256fb457321d8cf4c1e8889409b26c3a6d13fc95ea4e066a3334016de30d9810539a86e2013569af56fbbe4ac763b2b0be44234a755bcb0670fe35a5a9b058
+DIST bash30-002 2119 SHA256 e6ee9bafa05a3c9208243ab2cdcc811022355df81223c6268ebdf2f6490b127d SHA512 73b2f22c91eb90487d722537c42871fe60fdf3cd95d0b2c9f7bf20aef2424267fe50cefb0837b26c49b2944e0a017d8d990e01ee8523c23d74acdf2aa10502ef WHIRLPOOL 6b792ec97cea9dcb2c5d73ef65e543ed15393b0707689b7d56de9da8f74d5f3ae389272b49d4979af2fdcfb94160fff3630ffdf833a989567061fc4fedf75f26
+DIST bash30-003 4669 SHA256 cd1ebed48b14d97d1e95406b7e622c97ae8b30ef87a4aa343b3f5f38626e5acc SHA512 7ccf778e9fed7a85004825ad83b350b43859395c41a998480f1bfd589f6b936f2d3e2096e05f7811061c5efc168601b75decdc74c95363455e685465827a31a3 WHIRLPOOL 0cac926d0c5161e41c509015de5122b5ff4b1f4be184ff011ccc84e8c5de01349f08d30f6ae743fe81939808c56c1600d44d6e3af424ba9d77281fb5706b6ebe
+DIST bash30-004 3372 SHA256 7bada92d85abf50c1283986f633ea05448b59ea81ad34ee8776732b164c0deec SHA512 93cd7c7d7d84c9a15a7c0f434096aea9cfa027c76cf6b7f06a722bd47be22eee8a19c5601d7546e9e00b2ea83473be130d05ee2e4e05bc2e99cf07302b4247c0 WHIRLPOOL 455f3384cd8181baf3d5445a4fef59965b7ff4f22ba8340693555cea741c30822a7f06f71bdb184d89603079948446fda11e6fe8e51aa670eb7672339030a7ea
+DIST bash30-005 1776 SHA256 94cbd9ec49581d2eea24ced3a9e8fa7482145d2edff9de71c304d1a8a807fbc0 SHA512 4682a35f301fbb1f1dd20b2f120b5c3a7a88345da15f7a859cbed193efafb06d95d5b31a038b273b996ee0237fc13f2a10cd0bfb0e994d8d2eb01b7990edee11 WHIRLPOOL 5f4012d0792a33808240e53b1d79a3d8834b1abf8f26b2fbf3d7841fd1d7d35b6603422265f5cbd249c3da5b137044d2055a1fbccba84c66ff6f39aba9a3d7a4
+DIST bash30-006 4258 SHA256 7db67f299605d93fe6cba3e30930d98dfadb042938deb1772e774dcb3a5bd218 SHA512 49d0c847b9505677f8d7ffcac1a24b93c6946aed756b94f891110dc7751ca515c29ac79463a5d3f5b594be698a88c56ab1a2d5dec0d6141a57aee254e7e1e80c WHIRLPOOL 68603a224e4884b3a07bc8b21c5f204b69dbc7ce9db35f861d0b808d09a92a6144192bd60c22b48d5724f20b95a06db8c54c38554fe808e4d5d87480df16620f
+DIST bash30-007 1808 SHA256 b0c46db80a84588a1b51ff6e48a781c56c97677d0573ac0e793d6c811c6b3c47 SHA512 a57305b0509dfe81d87db2ad377301d50f4486f1723df763318d51c2bf947ad3d6b3bf220516e9f71151818e9b959e6e811c7e2c626519c18f355f1cb2f18731 WHIRLPOOL 484b40d8686d68b79baeeb83428759a15211130e0d1416211f1e0e458cc47f9bd2327f8b8f7d3f3adf42c8204c501fbafc704f09b4a77c3635ada33bad3328d8
+DIST bash30-008 1220 SHA256 5cf87ad11a4592f741e25ca80571fcb5b3900d1a52318f64fe8a9e885958c6a6 SHA512 aef8fc04b31abb4dccb64a305920d2e935222466a8136fc9e4fbbac5e567e9b573d3170211d576fe52e22d8afdc84db4f40d9451784010a77f821045a96c1f27 WHIRLPOOL 200461974ed636bd7e536dbb63662929da06f63025f08c63b141e49fe3df3f9a161a42659a885bdd39d0416df1fd34c4cd890b61f25d7f6602d830de0476ff10
+DIST bash30-009 2828 SHA256 0aca61348118b2538b3892916f508f2633528e49713830c848ac0515a747aca8 SHA512 d6eac26af855efa4b0d080d7c15d8a346351141725a9b405f098bb156d3ca4d5bf32affa75a75ff4bc45f4b4ec40d22c604f64e55d89503dfbee5d68ad9e83af WHIRLPOOL e523080c4de824165a750c91f571696093054adca02c6f02df098c564b27dcde84be5c44f7ef9056cc3cbe09a8b580108ef1956e7d8b2c0eccc29ec9ceeb8dfb
+DIST bash30-010 3193 SHA256 61f92dd3bd49113a2c8e8dd0ed89ffbaa0f60127bd09fc60aba385729a78b5e0 SHA512 f67e7594223d424f901c080b8c5d8f78882bb208a96a539b8a9c06c63f12f8b647e7173b814cf44800f00d6e02cd542d3e19fef4281c9c41e65d786e68f2808e WHIRLPOOL 34e81c31c2a07ac40db4a5a82c2df56072363b38bc35639d5af22b209ffaebb41ad2d8086de6e069e8f4e3c8426b6ff1abe7e13c85d94c6c8dd5e8e564b286e1
+DIST bash30-011 2635 SHA256 3bb9986e4264f4bf900c3d2a91e0bea69d06fd921f7dab6356e7fada8ce5ac2c SHA512 de8c33e665edf75b4ed7e5a866a49e718a8d1d052ecfb84a74e3c72e8466a7f809b9e77c548f06aac2041d9ad71550a931e504b1906995782a77826b82ce6d63 WHIRLPOOL f085113bbd5482419a34981b2b9d3a4fc88836b50988ef2fc8e74d5b448f0ad62a11a5caf0a5483f3c7ed3ee5b3d8c35a7c12dd1c0c9985d842503c7cd9a757a
+DIST bash30-012 1395 SHA256 818b5014fdb046736e4469817dae66f0e7273516e69fa7dd562c03ab38752649 SHA512 7f8a51b3b30dae139bb0b048f8552ccf96494cdd8367ead2718e56cd772db2f97f375c7a62157843af5af6235625df21cddc56c366ca5363c87551b2c91763df WHIRLPOOL 8cf9e79be42cf550015e516b1ecd2785e3b4395012c908161c99800b277773d45c2483f3ee36c19e8b7d786c9ef5be41e3c6b58e792306fcd4238fb6ec472358
+DIST bash30-013 1963 SHA256 43f46a3185fab5b79ecce01599629a7956887b625b2883fa561a99ccbe649926 SHA512 a3e7a1fef8fa0bbefba09fd49c10f87b604b87635c16f08e61a3d4053d6a202d3a955679caf36b7e32141cadb1ffa1da73fbedec0dfb55096958a318457c7721 WHIRLPOOL 7785ddf5a6d235265f8edf2bb303ae75b954239baca907681e2af0b39c47a6757e9a73b86c8654f212329827711bec717ca407d069ac91a6a94a60d26f963b8d
+DIST bash30-014 1165 SHA256 0f7cc21dc0490f24fc5d807d0884c40547788d6e2812f0dce21356ed0e12475f SHA512 0d1e59c8e3d2fe9ea6f4a047d18188e39ddb0448b40815148a733f73c57d48cf69082c4c9475d57532721d3560b2f5e1bef7e3903cd18fcbdc2133d0d854b7af WHIRLPOOL 9b27bc250b1e08b6f5b05a9dfafcd7c62a0f094e215936e50a1e37677dd6ed49dbac101124453680dd975521d9987ca9fce0e2c7d2eacaac5272fe19dd59a2b7
+DIST bash30-015 1480 SHA256 dadff53e74f0c7123336c4af0354b57c0d18953fc7710800fd2f96325430182c SHA512 ea138da9ca63badd647a4bd56f637f144bfac715617ae3a6d04e90983672544299ec8ffad2afcd01e7aa8ec6a5532206441a7b2e283d7fcb9e87b5cfcda6129f WHIRLPOOL ded337fad1955011e786d06461ea3517c34a50e8afbaee363fd7962219f736c4210a3a2fb77c49a88567d76d77d93451cf12adda64ea8dd84cff452943a86805
+DIST bash30-016 2453 SHA256 7b71cc18a21e5ecb4df1ef072b9d36ada268f33cc8492a70e4892ecda1f6bfb2 SHA512 ec97d4311a34527545a179ac251720714ff94ee1d7c8bb01393d847eefd40c148cc4bdb22c2e2d951b9ef7315af2a914a6e5d775611af388a4b57f6c0de230da WHIRLPOOL a0cd29cd951deffc3c0bdb13ead34e0890f717edb1148a78ae9a201623569a44d7deeccb3af52be7075cb05a81a9006c6eca9d0a592a1a3bbcf12a5b8e53d0a8
+DIST bash30-017 3226 SHA256 427c3ba3e0d6ea29b8ddbfc2fa48f0f90fbd68d38501a409ba0beb73840245d3 SHA512 c7c621f4a683b10b6e55729121786484ac075e050b82c848ffa2d79518759cb21ebd2fd7f7e529b7f2bfe95df79d6e2bd270b9fd5c91fac275a0ca3950884d56 WHIRLPOOL 084c63af3700cdb93d4705710a5303943e8dbc41bbd5c1ff77e965b24dbdbe78d21ccbb634317e1a38ff531af4f7658d0c2a334565a551626c428b8bd0f9ec93
+DIST bash30-018 1115 SHA256 51ba469c45d18a42394964b2ca4ea8c99c33090f6c0a43695d5cfe72df497656 SHA512 013edd5b11c526cc0539aba875064df046a6d93f6d417d7b2ac323a21e3013d6bef3b2dbde5773d6806445db60406c92acd697719eb4b689ed96909d209384a7 WHIRLPOOL 7ac7476afca3db162e7ca01e2ca33cef1eaaf9203396f6fc52027b7856f191f3af9756575a29f8ec712745ee94b31ce9fc2a327c5b58de3481286e4c604c181e
+DIST bash30-019 6676 SHA256 c9f92667975c751a1b7004cbd584ffb84028ba4869d622972922befdfaec7f17 SHA512 919a3d5a10e60899bde064b875ef593ffe9ad6265f4cb48cfb92791d7ba603db8e20ea31bb933c62ccefe345ef6fd0ec8ead7a0fde53f20262f5cd05e22f6929 WHIRLPOOL 96492c6e928c634d266145290005c8414ca0b7794e46b15757bd77bab92b78c13358ba88976a002ce79921fd0815d14dd0c6e1819d03328301e1decf7cd29a8d
+DIST bash30-020 4035 SHA256 877b0313dc5e572c1df7a7858f2571d75061fb87a7d85e0dc005b4e4aef7e8f5 SHA512 23696d437b8f0f56e1f6e20fbff2700f15001e6854b08269dff654046b2ca6ed0f6d040f308d486cc0e584315695c45c8f47f69196942a83f095dcb06197dfc6 WHIRLPOOL 4bfdac41279b4f0f37a5579db81cea42f6936a9705a8cc2ab343a42bfe62ada842e0145dd6be0ca8e78d9006d2bc28b898faf2d0a335b3405a111261e1aa443b
+DIST bash30-021 1778 SHA256 1942b82395451e083e152bfca13ae8d3e3774f94536dd030f399e2d38985b3c0 SHA512 7f7f93c3be8913a7de413032910e95811e9935754cbdb3bbbffdbd2996bc040bf314b7d8ee6446a46a0ee97e838a7b0c0c8d39ffb15b351a191de486999b8cad WHIRLPOOL f5a0e0af0b0afff95f175e534f07ca92c41b04ffef24f3827a0f2b48152a06b7f91aa218c2b750fe3fdb319ec20732ae4938fa866ba20609cd47d6b9321655be
+DIST bash30-022 3476 SHA256 a0a9371ce507b936af522822eb38ea86cba30dc9721baa7fe7e6ffbdb8e1c621 SHA512 a4f3d15031489e6c581fbcae2402a76aee78e77af57f5a60cf78b0e7deb33358648fe8de7da7e778ee217b694deed69e7cc7e7dcd4c474101ea08455eb593eaf WHIRLPOOL 8c5db5a45c6bdf856679f5ee041da714882bdcb35753977f1b80702cacce800ed06f81face83d4ac6c5f6bf4bccba210696a76bdad4efed12a3bc6a7805b0599
+DIST bash31-001 2708 SHA256 3b6d9151ca7a45dbcf43ebd1c6a647ef90c4b8eb54a245936fd6ffadc61fe727 SHA512 ec5aa8407afd6b4db29855ff740f880d20cd029bc27d6b996a8e4cc2982a37e5eb826216436c47f09cd45e17fb8fe55b748dcaa7a361bba8c9e59f1620b40fcb WHIRLPOOL 931e4829b48da4088f6775aa212dd8f110c2ef874a33469ddd3c1fce363a7c2407a1cf059261cbe5c625e569b6e0f11c36d416164d3d61e58831435249a50668
+DIST bash31-002 7169 SHA256 ecd248b1ca027368dae967502af5b28019eeee8fa3ee8d6a0210677789658f08 SHA512 80951d9c8abbb7ed83c85e8ed069a80305eb8c119b1f5b5a4b35e213b7ac98c4fb15e07512e028139ed60928c39f914ba675db9f068619a15a076844a46b1a2b WHIRLPOOL ab7f524e7c96efc93f58dd40bbba6d923f5c90cf87a08c8d82459e5603f89f2fb4fc8215f9b68c946fa48d652e3433e12b3f9173bae405e9773a600bac033d50
+DIST bash31-003 1324 SHA256 96cb8a42162a5876b2392b76fbfc78d073f50735e1e8a14e67e03b6e9c2b215d SHA512 37d64e5f04832d404887d1a95bf3973b66b31b7c2b6184e3edd5f92ad848bf01dc0051bfee6804069beb0b1f522b8e3a0b0407c65885f539cc8e1f1ce2a296a1 WHIRLPOOL 96a1f17b8cdacaf070d70119bb686a155e313257b38791f92883518f028670ddff8a6ff1b68a2fa835daae81887057b757248e7a8e6677786d71ebc7eb5aa6c0
+DIST bash31-004 1470 SHA256 a50ecd3f51e9a79f34855c68c61c9523fccb66da0870eade936cc1f64ba04415 SHA512 c5913e1f11fb7887a442496b5a70f8fe938d5311be848bb19fc6898c0ed95ed045b21db994b4fc4c4860c37924c6c4ceb30909a6e143a5d7742203c51637e9ca WHIRLPOOL 53ca18200f35771606a83d9d84edfc05e28fa1a5464d9fbdcd690ba88c54cf609c83c70c72f4761d475b88ee9a23b4414e3444c4ecf7d7b3443353814a0a77bc
+DIST bash31-005 1322 SHA256 3b057498f01cb2b528a154b9043261cb059846b23222409f7de95a7971dc6664 SHA512 619e5eec9d5f864dd3b94ea0bc89e2f5a80b74738444886763b1e692a424d2cc7650b7e16b7ac977f065ef4554953c1e7bf171d15837712a99b6b487876df517 WHIRLPOOL c99cba65c0d536b8b7abf62cfc92de5176e66bf370597b1d1bb752b69ab3a0f8deff59a275a7ece12d29bc9129953cd812258710dfab06ca75e8c673106a7b7f
+DIST bash31-006 1561 SHA256 d155030ed49de27812d9ae01211283f7afe5e718ea4ed9babe1f121d25acf778 SHA512 4a8c24789af60096bfb63033cd801cf090cbb81122e48fe936fd47beae594f61e1f37b9f31f8a9bb5c1608d114fa3fe0555c81ec64983aa06a4b8f6512a368b4 WHIRLPOOL 318defda4cd379c87993a61af0d7a9d3873e0a2c6478d75ab73277c5208af57a90bbe2644e71a6c8bb4d02add2d56cb4a3b06e41dcc095ce080d8525be474de4
+DIST bash31-007 3254 SHA256 fa89a6c808490e07cd7350ecb3390ce0ae6dc71d634c61c62991aafab97962c4 SHA512 b6842a7fa0ac353f5341e351136121c94be77460c6bd990e67987e3ea85a7c92e13d59cdb5d26316fcc21edecbc8f47c5f6147b3473b1e150bb03774f28b62dd WHIRLPOOL f57789e44cb09b9a9905e6a90e1a3c66acfd8ac8a5c15ea7f128be9e30637c31e7af91da7921e54c5f679c4b97df1713a23374197a87b6ee3e3ec5197903f6da
+DIST bash31-008 1422 SHA256 c30fe9da56261c7100c5b6794d4341b6b1fb6aa0ecc25b1010ac4ac25b07d1c7 SHA512 4d5c67738fea317e1e2eada7aadfd99b85b1a54d93801e0ea75254ff65156b219ef614ce278a9d41d4c24efe92cd54b7b4e44d84bd461f2eca0485b71717f734 WHIRLPOOL 52d6a009974892cacebc3a891dc7eac999f4e72cd0c9e23d3304bc3da09d75a5d932ff47e274a6962342e2aecbb07c3fac1a6737eae28e49668cb8e3f1b54523
+DIST bash31-009 2000 SHA256 cfdc6dd92d0f47988ee59e2a26e8e62a87558e03908a26ee33dd0394228ac255 SHA512 991bf65f32fde10305ce828e91871e122ad1601b1081bbabbd1154a7d5b05ccb0b3b9e3f8da39bc57edac053ab894061520a5211cacc2ee098eb11939e38c98d WHIRLPOOL 2de2a52accc3b535049e579181864d14c2686ea3d112554aec34bd59a24e67359d39a037672b5eee5e3b9d34fca6a78ebf1b63dce7e9f339c9a675e45408487e
+DIST bash31-010 5218 SHA256 7ba8186d5e7de76c5b4e7c8905ad82b3d7cf459141eedc4ebcc6a0ca3b23cfc4 SHA512 c5402af01238ebd33d8770992d9bae256b36c3bfebb9644dc1151b893eabc78834fc895b7a2fb452787e00ac2653185a8035400321cac9ad05a8b4a61dfd09e2 WHIRLPOOL 57ddaebba8a843ef1efb6e84eea3fc31a8ea4d8936ce27836fcc6daeada05ad683f2bd141a666961ab30fff45a82835f44d75c09e9762ea8661b3127f1b849af
+DIST bash31-011 1462 SHA256 09cfa96d03b4a12bb85687e61797214222e188c4002f51962dffa51ab12ed998 SHA512 f662f455fae03ce70dc5b837e9ed549289c75a6b9fd5fdc1f14edbcf0934e85f4a46c2164a15ee7f10e606ec771a1b5ea7c081a3d227421f2dd2321c8f267e8d WHIRLPOOL 48339c0c77832bfe6e35ac9b838462ab2dc84f50955d722719c0fcc9a8974564f4460e66c33d6e1b4304a0b9444c6daa2be649201942f6259584ab1922d2f18c
+DIST bash31-012 1212 SHA256 b28bf4a491658879c43d4150cf0be1c48db97a594b6657c1cdeceabc226b8231 SHA512 e8940ebf8b0282816b04fe399ba05bcdb49a4f144c02b86fe2e5cd01556907451f99944b2e275bc0204c4368f232744321daac57ea858911c21c7d72997e0476 WHIRLPOOL 63395dce19aff08c1a64d9d76d82e957a56e00afa3f58bc4695199ed20e33d6874035ad3d197fefa3f67524b8a637b05d54fab5f7489a395a60fa4f8a5b7aa79
+DIST bash31-013 1133 SHA256 8b9a49bd03994f789198269c80b544b04e9056973bd75f843c05e40873c97088 SHA512 4cb90f249cd92d730133792395e23521e8ccfd4bc841a42988aa20e0e19940114a3245bb28ab4b9ee48673c80f37a6d3f95e8211f0e93a2cc91c02b88d1b3948 WHIRLPOOL 3cdf7143fbc5ed65d93133d01f74ce0e787d19e7c41ba950b7dc1e220b2d05473347750041f890cbc596ea47ad8e8edd82ea4453fc43d519577c3c642c3d5391
+DIST bash31-014 2818 SHA256 48086c8572efebfab3535dfbd4767d95eaf98e7dcb7d1dd13698a16ab0580319 SHA512 83873746b75a9892fcddc5ade512c0fcf5f4614af42b836613ff62c10f3787516d812def4200c39b60179ba7ebb86b0ca0e3d2b7780eaa63e34387ed1e145e93 WHIRLPOOL 62a3d9b7e53b5b8293dbc23570c86aa5ba1b016daa3c9ff7daa025c8d01e97c7eb87974ef6dc0f7ecf965a4fa021d77278c1e22569916078a6af72d2d4095a6b
+DIST bash31-015 3089 SHA256 3070548adf1c6ce481000b6bb96db7511637d6aef52276fe2f83e2bcb078865c SHA512 5469e29f1b9bebfcf56d9c3db96115d6bcf49c68fbc3b1170623c291c181b8c887b9bddb145c2b6d2e161685408610610351a0f2c10d8db34faf484bcf4ca76c WHIRLPOOL 7d978d5d5bc30deaad72e04584072bedbe0ad8af1bed2e5a3e4fab5f16c7aefa8fabaa833e8877f85e63034a20b69634febdeb9175266f961c8552ccda398796
+DIST bash31-016 1295 SHA256 2438b71c7fadf2971141e6854d317804e143d86eefd6d7b4479d62afd385ebad SHA512 7f3e2edaf3523427f91739780c7336f3d63a37e9236d846763747b093c69b2df68a02eec0ea627852c6eb3d1b3d5044dfda1f9e74254d436af4a35a9e1fd0551 WHIRLPOOL 00f7cc118ec7d524e4a419db1519516b9b0ecd07a58bfcb8ca38ab325983b32c5c0426e053210eaae01e4586b6b14c6fa62825c309d10047a3989217402d59bb
+DIST bash31-017 3640 SHA256 8fb3ac54b9536ad1ba829f229f1ab906ab2af005f2bfa733f2687245e1569407 SHA512 5cabcf481a9a47245af383c8ef23b560674431e200b7d01918ccbe625ca9bd436b7a94d8064394a2c69c6383011b912575253c29eca6e2a8d597c4113e92cb96 WHIRLPOOL 10a98686f2b66b1e69bf8277c27791ddc11cc8b7d0cb531e6c5876facfbbed659ea8e6ac041c137bad06f1e066fc097f5ff79183d4afd51df5df94660d7a08b5
+DIST bash31-018 3225 SHA256 80f15b2719f3acd746edbe828f23b80116ca033b870120301256131eaa5050b3 SHA512 c2e7535178c670fd08b59db763fe84ba272e630353a6ff9da0ed22be4d449dc971f92919945444862b3b9ed9a73a636d1232f55a5cea082b85874ff47e5433de WHIRLPOOL c0e6efaf966d0f4f72cc060f1bab52acd6461d81f8049abab73a6690d0310b4a135f3404a3d0ac3c1551ca853392bd9d5862649c86509550dbe686057aaec56b
+DIST bash31-019 1115 SHA256 ee870d33d922d5050a5722470ba6a8d6560ee9b34406c6f66c25351120256410 SHA512 302e291dad01724b030c68e42edb2ca3d49c242264ce4e89652fa18d1eb4b30ede500eb2c4f4fc7237b25eda87330ee289c7f52c19ee8d4a4c782612b2175efe WHIRLPOOL 0d46625911b2bb0a472c1d0344efdfc3f281b52dc5782c1410343be9b699bae5453a7388bfdc9967d3f7ecc5e5f567ba1969e08f27a919d61d3303b7995d177b
+DIST bash31-020 6617 SHA256 459b70fec9046c63bc7be02284fdd7b39ab2c40760e1f5499c396674ae2e691b SHA512 eea4f5bc08f17784b460e124559ab87756f27bacadabf012b38db2e9ba754ebc14b027b86ec2cb51ae40443909779fc6ecdc91dad7baa9a08cb754969ab6fc3d WHIRLPOOL 9b463a4195ec695ddb87f6cbe5468c7bb6373d6370ebdb4878479cdd8bef398c2c4469cf3dc0263f78ff78dc4d71de01b817c6fc61efbf2fff009b13de512542
+DIST bash31-021 4034 SHA256 3dedc495d48d78fe7756e651fec2bc280542209d33b91b7f2e031e38a7bcdd80 SHA512 ab5243b941e14b7ce59df754b6f9ff757f8a607f819fce55906e7bb860a11874d46558dd949fa51492ef77d334533bc8175f3c2fce61731313d33a0b1d7af616 WHIRLPOOL a86d2938220448a3f9e0e97dd01a23192790b56ac5c6547343eaeefee034e059e6872b1c8da764689cb9793de13fda7268ed9204c4a4f06c8170439b06e5147a
+DIST bash31-022 1777 SHA256 d3fb461827b1289bc7c09dd331b469c95a5a81fcf16e52d410ac86d0a5be154f SHA512 879d473dd9cb72d23fe438ffd678c3860c71ff664b0c971ecdad7de58334178119822fd2616b0787b58a26dafab3db0321f76194ab1b512e939a0a8abad69537 WHIRLPOOL 7683ae2601a5aeb2cca2d0ec9732568496ff858729104681e4ada452e0de1410c8263deddf4cb375c016d2fad0093101a06387d8695b0a315e206b6ddbd7cfb6
+DIST bash31-023 3475 SHA256 7e042ed56819ac7c24f661c464503cb02fb3e3f4fb3b24603b926b1697f27e0d SHA512 5cd7f6807e77a9d4e4c298bc06399d351f22a88e77bad802550f79685c6e54505cb617ca31771953545638bb3d08814b8a69f1fda56698ae7c9844b0652d2567 WHIRLPOOL c63c82e465b2421b33d1fae3fbe871c7ae1b6f092650932eac6a27d084adf151f2d4d955659f6feda370df46592a331e02cd408cb5cf05976ec7cb9a3dad198e
+DIST bash32-001 1539 SHA256 beda60ce6186fafa36cd0a98db9ced42cff68daee4342cca73167fb0f2f43eaa SHA512 14d0b34dec1b285b46bfdcdf18b98aa9412afe14dcd330a6e07d4295bda04c18251ad118b3560e2db3c981e0e32be6e20bac082bfefa071ea6e680f3d2010ffa WHIRLPOOL 5934d7d8ac9d6bac475672eee9abbd4da7cfb9baa2a45e565c43b5bfc6b98c411f5325fa9421041543d2b60626db97246195772ab5e479c620cc08e52a7adf1e
+DIST bash32-002 1524 SHA256 a0ca49a3c47678ad074c990bdc871fcec680749b7f04f2def6527f04c589c40a SHA512 9b9483615a97bf3958f1efd055ecef6ee5f5e1b104d3d42a00a62c27e912aec4d3aff0b1a39de180fc20b12d2ddfbceeb595f2c3515eded40854f97ca0bfbc25 WHIRLPOOL 12a876c17e62afa67f8aeaf0001ae660ab0ceff7df1fe2f5c047cc66dcb66132d59ae2ca0f3091a120cd636c0bb3a78212bcb046867c822a06d79fb0c38fcd06
+DIST bash32-003 4599 SHA256 7ec9e5e7e402e43b12bfd3a9237f4f171029fc7f58e59335abf3ccb455a5a84d SHA512 b489841a41789b93ef505b19da5f756a6ed981386f9ee57a94f13ed03892abb800e00eba012fb6a884d8e6b2ca7db9032069d04bb57916b062097c3a8d89ef23 WHIRLPOOL 3039e873a5cc785146832bf31a5677a70400d06553f09cdd6b39140e750dd48fdfe15d00faa35a78ab62f3daab3638ac3d464acfab6ee7ce44e8255ed19ada8e
+DIST bash32-004 2585 SHA256 3de0938673637089c3b0f0f355de377bb2be2d3fca68053dda267ca11b5998f2 SHA512 553d1a9d3eadff28a1af8835b6ac8af17fe7a97f6a2b0332c8bcd837d49000b82b9330fc2862e691e696f7b842729eee12c8a8a3e2ebcb48bea1b1a55ecdbed9 WHIRLPOOL 7720de6210382d7cb38cf5140f1e45272201ebfc43f14fe5a533b8681190d69df3643db9798597623d41da537e4643921fe67ac6b667194c70c4dca3ba888b02
+DIST bash32-005 5910 SHA256 e7fecdecb12320cd6fe9aca83fab1828b76aeb5313b991883764cb9139d845b7 SHA512 58eb1893e562c72a23e1896a50f6b1e6e976cdfcdaf0f8ac30b493de7af1f7cda5c5b801ca363b1a22b78c8995fce9cf66c18bb4be75e32ec7f7e2bb348e6b30 WHIRLPOOL e22268dd3700d71f3c26173b0a61d75132a1d60726c6e5270bf78043eebcf0c7922792f5906edbf08acd1ab01df24eba72652e293033eb7841f12d33137370ed
+DIST bash32-006 1298 SHA256 8f14f81ced32bc057bc10abf6842f4a5ac172816631f2b87a5a3be4f01c0847d SHA512 053dbae4942250e3146b7402e41f11a004d5da578fae0e933ec71a96304c8be697031426d28e703e89bf01413bf99d76df339b7b2ce5cfc07512478b1f627b99 WHIRLPOOL 686703b4726690215250926d9614b9b85d3f556b943b86c14ae1bf7c19d9af6d1d206872dbcd707bb9adadf313eefb84b0417711c50a8236aacb7351748b1ca3
+DIST bash32-007 1375 SHA256 6863a712e5a68eccfb77162a9f947ffd80af648f0124c38f795ebba2be12eff8 SHA512 76dcf1e7fc620f23ba33cc8a25ec78b3a76483dbf22f5af490087df95bf7def23f7cff515525bcb581e56b7f90f3770bdd6dd0d45504802f7c7111292607871c WHIRLPOOL 1b49952441967cf39c18479d65b45a2c0166c4237f41013ccb6888676e66831c125bd41d48cd401111e84cb13effbc957c796166eaeb935848e2b1d714ca3b56
+DIST bash32-008 1302 SHA256 ccf303b4d199d89d5efc659235f8a645376e86d294260dda4becbb61ec06667b SHA512 74a73e9f47e586b47b5cb5d91889c7d17aa4a9fcfb31112ed6349fb5574a059cfb374a2831e6e2800e143c641a7060f6d8400a47a04e05861ee4c9147d707983 WHIRLPOOL 0f32cd8e04c52f5e2dfed3983c711edabc8800d9e21baaf88923665f1988c65fbcea7c72abbcfbf86527e7454ccc0e3e1e0b6efcca493f3e01ea891251f828ec
+DIST bash32-009 1882 SHA256 ef30c579419106b4b4a2d0064ef7e57ceee6cdf657f4ccd7b89c8e4fd70560d8 SHA512 b76760a6a09d33f5d1243a500233a30c581768b317233815e390f24e81321ece695f6db7b179b3f80c621b07f1bcff13fc9ccfaf9dff90034ec729b6d15ebfb3 WHIRLPOOL 758aa073ab7832816b0d1535b9d8b08b9a4ca530048184ea8bb2abc0fa80b4a746f38800431e75a92dcb98c3618e0de3bb4bb7ad5cee6462e9dd296ef6f132d1
+DIST bash32-010 6293 SHA256 bb7df9fefe88d62ee371353edf62402a667cffba6ea202aa1c8b220308a0c612 SHA512 1c576da5efb44be99516e3f57834092b7b8edf8d26d2d9a57d8a6b834d564f6ddad2a83a9f693e290a77293c873b25631fd711a06a3c058733c599ad1b2ceac7 WHIRLPOOL 7e6d5686bcf2d0fd6392c3fc5cf14ef4c9a8cca1c43657ae7327ab89bdc32f0f1cbcc54fe2a6eb79bd0fb09749a623d0c0703cb7cd4518fad9f0757cea76aa00
+DIST bash32-011 4776 SHA256 85bf656cfc49b1447b061341a4b1cb93ba89a41d8d1699a65aa971d1853ba472 SHA512 1aed732d4a4828486ddfd00cc399dd04d92df60fc135521a3077043162e5387c5a1ea2aa914a55a7949674e62546bdc0a6792ac6a680dbe3ec71a63f03b72923 WHIRLPOOL 4789ee7e25e55b4f8739ec1260a3e4c01735e2165c9ba259a070ef930f74d892ed1b3cb23018fabb0176063736f79ac1e7d7b19d98cb62738a57d846d526cfb4
+DIST bash32-012 2555 SHA256 45ef4ad98f2f218aa3acec15842ae1b833769c1dbe2f90c9bba00bbe4949fc43 SHA512 ac110c5f0bafc356c3c1705786bef6c77b331d2ed5bfcbf179e588fa76a8c3cd130809c5f0ebc2d15c8b92b8b4de0acc8162de2aa2e48c609c99acf9d4a6d97e WHIRLPOOL e87e65f8e0e9e88fc21c3de0555d668bb19682c3ad88f127416e27c7b24886473db1d8c2c4361caf0bb898fdd59336e57f96e01c52dc7d0509edd0fcc6af8f46
+DIST bash32-013 1852 SHA256 9fbf893c383f45d25e5bc5c9eae8d2b349521f288945b3bd21c781784b81f693 SHA512 046660b12924f8703442eef708587b7eed042f47ef77a93ca765a26d62419adc9a2e96303d233a2ab4fe847abd67f05874c86ea0b9b722beb89d4cd93856c9f2 WHIRLPOOL 0022d1eb0a39e0c5e52e55df8c20eb187336268047e68cf562deb67efc880e852d28fc6a3c407996d487d5007dc2f72564a9bf1be5b78948d3414b7ab859263b
+DIST bash32-014 8141 SHA256 62bb1a4d70f6f7938ca70a6aa7fe6f4b377ab5f450c7756b22b41de3bbd98ed6 SHA512 294ebeb27fdbc2e6d1143710d991f05bb34ae576f0823a0f197f0c34ee1f1050da1d6e8b2972c4574c3630119d53ddc7d01ce483def7aa3c096cef3a2a145ff4 WHIRLPOOL 3cc95f4a2aaf1159a71e080e67f7e98b4859e73113ea600fb80bfe294189c0b40a21e99c5ef3afd902b62fcad22c9db65c1f60e0d6656775caf142441853b626
+DIST bash32-015 2293 SHA256 de40425e83628eb7431f39340ac09b42b5fcf484a565352851961b3e917d8771 SHA512 b574774cd49c7640b3b7d1bff1fa2c8c3f9a1f5c8bfe83fa4d38b9d422e130f1c9b40b9679612944e128cdeff0c6c048346c99eaa3eebbcd4e0bf5d75a642d06 WHIRLPOOL 8a34d86ce119f75581883d8a4563048c9106fb9e396a7fe9b8693ee9742f18e3db0b609c82fbcde404e80f0760656b6a4ca09e9a66f3bdfb2dd2a45b1cd409a7
+DIST bash32-016 1620 SHA256 7abf66bbba3ebd6b6428190f3ebca59abdc0bfa3957f1a725489de7391c2d9f1 SHA512 5b8f9703af2a5779f0c887ac7131746ccbac3086dce5cdebd90710b8a72dd5cf6a4de22f8d2521a617921167dc9ab3eea4933a4d28ca08c128be67b8850138db WHIRLPOOL e5a57fe13a1fd2d7dd9523babb4fc1054814a408e53269990847e3f30fb379a88e3c4c9ea80a4434df46de0f950bbf6ac652f161dbb464ed8a3a1234813418a4
+DIST bash32-017 2611 SHA256 951aa2a07b38db8eea8e7368d3ac36af60af7f5ade455215006229ce3815dfe0 SHA512 d336f3cdb219689b89f6b399f46af68b7ee08b8360a219fb358d79a09eb06e027ec93ff210167faea1c1e898ce9e5959ee743f5892c9bc21b35ab332da26608b WHIRLPOOL 87d780c8a049be3ac6b4241b366fae63becbede400e0ab5a94f68817ffba9140e43e423d8a29e7379f91aec79977b2ca9ecbab36640b054883e5f1bd780d20be
+DIST bash32-018 2433 SHA256 c85e2bca6084a79774adbf801698c62905662836334e54355b77fbf1c529074c SHA512 f2059a93758f135e0909163d45d9610950139cef048da89ec93489e983307a291041094db6707a76d10fe2a23c7ffdf4c2c6cbbfe7e6991ce14559e4a4a10b97 WHIRLPOOL d44f0beb8c1bc573e6496b28475437dd15d6ce4798cabf0eb3301400f0a5317c58179a5e3a57abd2aa8149fc05c8486041e7a0a0c262c02032c7eb94a015e8fa
+DIST bash32-019 8618 SHA256 d83f1d740cb103be444589dcd9da61c2802815e8c256a01cfa7e484c50a9eb85 SHA512 2822e39bc19fd4074889006af1489029b6a379c9d74a6669fd1dc13695d98747b1ccb3ca40a7883155e443a50f4aeb8258589b10621831296a4834df815b8397 WHIRLPOOL 50a538cb001de304f68f6029995f1b47274cfa1b3f440617a1f80eb7db813abe4517d6d7318135f44b8fa4d6b5a30de16f36cf8c135a8800671e866d0302822a
+DIST bash32-020 5182 SHA256 3e66a1d05566d5501c2f868d3c94b8d71821a21d0daf9baaf594369697793013 SHA512 dbbfcdc30cd51f33c36ce28b1f7f35e39bfb5e7277e7ed25bb9bfffc7f958834210d36637f73d80e8e61461095c1eb712daa1b5ad833fbae0c9890ab0d0c51f7 WHIRLPOOL 64aca652cc23201c55ad75442d241d4fc873a09a5c284c4809b6464c72c89db8fbacf8e9641e5a101fb005d48e551cf7df58722d7d374d41fd04c4e0e117f122
+DIST bash32-021 1814 SHA256 a5e54704e6867c969a3e60556a5fbacedecca7404c3ddbe8180a92b6898a2a58 SHA512 a7d5b6a542b3912cfb0099f5f57b9d9050cd0a8a8ba17c48eee6c080253897171ce70ee75f290e8ea3d2f5b46c49e5b1e031f3ea0fb9e1fc7bc2d8e06139a10f WHIRLPOOL 25d9c811b5fa2d5b97c3b9671ec9b1dd94547eaedeea277e1143cc1c7e164dcbd9c541b57bc91af33bda4959094944743c93e9d0b782210d2d1abc9667411de8
+DIST bash32-022 3034 SHA256 057e03d593b858637056c0458b168e9c012db914727abba964afcaf377f2c5a4 SHA512 82f85f5c99d72cd2611c586c9d96a3051e07545676aadd0e8530dcb042a4c4ba37fc24f743139059da1ab36f0286c9e8275beb3e5a186f10aa45194d0fee6ec3 WHIRLPOOL 5c1e0eee55cf3d4f684aa1bab2bdf8cf4aec141f5d2d96949d15d642be7c09830cc1ad3567f63ab854a98d97e4c3fc6f573b0ae74dabeb53608f6f1ecaa3abc8
+DIST bash32-023 1321 SHA256 869466d80807cde59c0eab9a39ef1909be4d5e8698ea1e3daa530ad59baaa97a SHA512 b6b91217de9f34c4c0764056491fd42ec573ffddf3475405eadb79a6a5b54ef64e8b3cfe9c1502cf9649f2a49f9cc756c40b539006ff3b8f2c777690f7cd2c67 WHIRLPOOL 4a3b73c5c5178e45995ff0d3b76a87c9fa94ba4da4a5f8b3b420beff709805e6d1a0010ddd61be1f89d9c7fa241a9744dc2c28a1c26268122062c18692b3c4be
+DIST bash32-024 3228 SHA256 d13c59fa6b182f79bbf9ba35f72085aeb755f9785985eaf9f4a55d58045fe327 SHA512 6d0a3ca7664b9ca2b134e79e4fa26d850b6d3a276b632f6bf7c47cca5e92fbe0ef22c02bcede6edacd97722e28c319e9cd83cabfb0095a9ad2f5742544b26591 WHIRLPOOL 27f351f87d5fa4b93ee2f5972d66e2bd02a19fc537be7e93f0f9c78196bb2fc2022dcd37f51a0d9edd40fd0bc97968dd42790e52695500e61373d11b03c21f9f
+DIST bash32-025 1935 SHA256 abfc1e1db3af956d4e71deb6a1ea9de1164c49fca4020b2546df3aa56f08cebe SHA512 75f3f6dde820263735eaeec0ac8662eff0178bd8f53feabfbc8cc212226ae5dd399cca7f4ddee17d9ce5873e7eb6de7a5b521077367a7bf4658c059719620ea0 WHIRLPOOL c85b2f828ae37b4fad4553fd17567062436f3856f00abe3e701f4c3919d3e141c9b14bc9d530095d5a452f49ab433894b9a0d6234183b201d3afa7dca1583d1d
+DIST bash32-026 2438 SHA256 07985caacd6c150cf89c51965bd18db2c89a9f32f7a2aa946757007409c292b9 SHA512 ae320a3239f6183b19b3af6c72f64080984839137099746ba9c6104fed9f4fd77763bb207cc6f0c007585f02a42c3ef7e1f22b4cbe6e6e442beb13f9623368d0 WHIRLPOOL 822fa92339b3a135b65ac709957bede9605ae5fa818ea0702af53460eba0fa990bf4a0b5db265f2a81b365e5d6b6061af87bdb435dadfa6de33b5f3a2396f4ea
+DIST bash32-027 2690 SHA256 79647e3af94db8c2e636a293ee5b2f12516560b12aac0d4568a125d36cd21ddf SHA512 369a44e4f6555f28eef93d18d2931db6a36e67ce227b203c33a2863931969d06001f5242ab1665ed152533061de80e0bca6dc55a2c1196719788bb0d129589eb WHIRLPOOL f69820cbd4ecf6cf131a71079490bcb70f64e1e81e1cae72aa40edd644d76713d2a6b779eb08a8904317290a18f80e7457fe0816ab4ccb0cd2345a5976057829
+DIST bash32-028 1750 SHA256 37289390175097c23efac5cb00d66b8b87e41fc37398064d11ac00de0e9934b0 SHA512 2cf38013c6e9df96f0d49bd68df94c1e37b925ee56cdcb1a1df2b9173b27ad40a20ee4858ea51eebdf611e2d7f8320a6f62af2a4a4fd01a4842942381bc71eb3 WHIRLPOOL 5ecbe452bccce4e54b64714cd06e545597ad720d9fe3e17e8a96a9dab60fe21f11c3fd4c2881efe94d128e3dea868604e5204454b07eb33f5c9c8040ec5f8d65
+DIST bash32-029 1330 SHA256 1f4e543171bd66bc28b197938811028ea70e9e406be2529326d2a586844b98e7 SHA512 1babb4ec8e3b35a0f6b76798e053aff7dbf0bd4573793ea27f303ba913a2f53f4d0fe202965715ac988c655c16199d8c5ef5eac0ba2e0cec0ba355ef36768133 WHIRLPOOL 5b69ca05a0a6d06bbf433c568538ca6ee0987709d49418399af8a39e9c870c587af07267473593d970d2e79827662dfce8ca434dcedd8f3d78da2f79537085cb
+DIST bash32-030 1558 SHA256 5ed6ca19787f2285e0c080056f65a137e053387380b3d8f6133812dd8f824afb SHA512 8f14933c8f0a0e3060c4f392a00031b8e1415459c6769220bfee4ba1e71721ede50f26a98cf0856122bccdf8b77262bf39febbde9da5199ab46e17285adca6d3 WHIRLPOOL 3646f55221609ce6c4b72332ecb4b191c42a13734ec1beaf331dd3ca1f32d71cc4c2095beb277c835f43e2195c6f0697f386409feab1c79b9d71c481eb1d607a
+DIST bash32-031 1961 SHA256 81ddc8f45e3272dd0e463fab87b58058be28d9c867674f3f53432dbd25cdfa48 SHA512 93c559324acb6366035efade5c7d70963b5ad761bf28b9dc4adf6cc81f68f077b018e466fc3da9e51b7c6890c4491419e11d6a1a16d617da780ea7b609460870 WHIRLPOOL 22d19aa249146b12e4f830ae9c2ced8ef6461007e20fbb4d8ebfd4c822938dad3da88a5ce05bebc5ea109d14cf7accaf64fc912e8e8ee888ec253b328fd7895e
+DIST bash32-032 1304 SHA256 926a9115e5c885ff9f2ef8abc6c3c552652afc370ebf65a87f41ec6810bdb569 SHA512 7f1f2b5616c9aa148987a1ce9cbf466a2172542dabafc39aeb26b3a085f032e981c33686f5df9825d63346d11f22305fcf553a7719b12b6b85921f0d2f9cec6e WHIRLPOOL f09bd932c9d1b9d758e804c707c24dafdd4eea3ff79d40576829b3903b154301b14eb7ba0d9341e7df92fe3c175798d1da69c957f9e061797436e6db8b0e6d38
+DIST bash32-033 2181 SHA256 9d7abee640dafbcdc6b75544015f3ffb5ed5aed2747465ec1412e959d3966740 SHA512 0be93faf459283142936da4c99642a0845c702c4a17fbad6b2309bb884f557ff88d06d1e724b4aa4f72dbd62d3657a9e420c65f10f6c6fe0088f19d291cd1e86 WHIRLPOOL 088a5ff2ffcc588b0439ea606ac33f41175d7c63df8fee8317f209628ca022def92679635da7cbe9d89c3d62578dca34c89a0c7ff3c0bd5504dca18d1c1c02d3
+DIST bash32-034 1866 SHA256 adc52e3427b606fe9649980b01c5b2b18f0509c4dd6d59a84f85b6a2989f9f8e SHA512 c8cf9582d0abee1820cac7af8f72ca338e6cf6a37a10ae0b482ecf526867904c82d28827909ed466dd33f5adf971696b0b024a6fc7aff909d8eaabd1c0ffa2ba WHIRLPOOL 4e47a200cebd29a041aeae18d762b7ca88f87eff98f06d5c33a537fd5f0e672505716a5b27765c60bef6dc6f51e6c1ffde27d1db4147ec753322a4120e0f31fe
+DIST bash32-035 4805 SHA256 d3d906b23fce195d5d6f0db8969fa5264e80a98b5460008d6a05e4156ca73953 SHA512 3a19c3325a26281e39fc1edeac31fcadf4cb52055e220e62f582b3f7ba04350ecb876829b73c9cf00f33b826c400a95c72c9ae1c5675e224a4dc7d3305712788 WHIRLPOOL 5f59f762ea546e973217ce36446a4864f26505ae4f71962a1185ea1765e45c06aec4fdc2fa872b75ce7d4a3aa670bdbc6be5900fc0a5b86122741b8b0a3bd2ab
+DIST bash32-036 1264 SHA256 bdb24d65d1170234379fe587f5dc8b990c5e0c2d61c394bb8c81b91c1c64ce23 SHA512 e0dfaa808f23bdd945b6f07d823484f2fd2eca25804e32c16483f18e36062079deb60f276112638c0c14f9a6a1223e3fb77bc93275f76841027352220daf728f WHIRLPOOL 5e2988480da1fb39e21bbe457392047093b683e380b489050a56ca453c94715be53b5e20359f316fa7c6d34e48187b373c4e8c494a51d61c6bc6569528f2b858
+DIST bash32-037 3227 SHA256 9688a352c0fb23d2ce6e685ce39cda1c49f4aa7819bde2508ff8c90003f484df SHA512 237c419545a46ab1542fb5897c7cc8dd1256bf712d6f1ce46f143d0d98bd61502c07186124636d63707a62f3a811a8285a17a82164a3cc662f40898be9c18a0c WHIRLPOOL 464ef47ab19715c74e867a9f2a6816b33fae13d9b4939605b028c2b2f36900b8745aa45b1d410e38f10703d8f464e5dd7eb2deeaa57069e09be50e2b8d8920ca
+DIST bash32-038 2412 SHA256 0e3649531c3a5675743980ecf5ff5fcbca2801afe4dca7fb4b250aae7ac3b782 SHA512 085b7c63baad97c266d388d7000c60994d7578e034c67cf9a3f8e77e1e089ce42ab3d23a702db5ba942d29848e6ef74cca43fae50058be524a66258072fa2ae9 WHIRLPOOL 617914bea6147ee30723db825ac7ffc0d8c81aa0445b2ca0f2a3200649c07fc463d9413d8ca9e9788eac43834c39910764296d84b189e488efaf8fe0efc977d2
+DIST bash32-039 5034 SHA256 46d427fd5b1509ec7dd980c07efd88634fde61cf07ab221dcbde9e1021bd2817 SHA512 8b113de654eabec0e607534129b486a50b937bc7a6e334aceb8aa5cbb3d1447a762052fa082f2678114928402d794c59f3bd98f7b8c0dc1957e5c428f4090d11 WHIRLPOOL 3d984d552e77d1c705a511d7c3b9230816d0926879443b7c08b108bee139713681a616024b27b0b8539846b7ca7f580877ffd62c2f608948a7e5f48ee2dbda62
+DIST bash32-040 1403 SHA256 c9e0387eb4a2904126864d24de0699cdb6070789e1c02287a3b81ea96bf945aa SHA512 4e4def9ec1e4954ab9c28d5dca9cc78b87829e54c9edd262a2da906d17f0429c9f552b602b109922a0805837546eaf17c6e621e601a240c9d5fe6cdbf8716ee0 WHIRLPOOL ebb89f440c8fd60162955296528e459e68d478173b693e2fa28ba6d68adaa6b9a96e13ebb5c1575d9915c3e90990c63f8e3880b6dcf6aab8347556d543258e96
+DIST bash32-041 4446 SHA256 cc551fa57d613efea30ab2404fe724793a3d10f012b030e611d2c6449e463bcd SHA512 c5ae4008fd2e86ba92f0c0fce4f93025458c8012b55eedd137d70f6570b52ea981952853f863a3751f9a82b8c355fda5d7b85365314b643c4a9368463c4c71ee WHIRLPOOL e4939e25ff09bcc6345243f0f03f1d175692d56553be4f4b2aff05d9705be234d5c1d9b8ba59b45edc7111df37d80b6cc024e32435afebe433d7d3c23c0053ae
+DIST bash32-042 1209 SHA256 fd0df54d03034e104b6377f249624bda0271aa874190a46e9d41fc49ad3caaef SHA512 d8ad8ae3a462d59f4c34e704b10292642e03cf5c1d0320aca70f6a9fbe4e203b7d7a45a20894c82e8575f9a01a0087950990471d9d51227f102d075badbe6d35 WHIRLPOOL 7b19f74456e7bcac2108e99752cad44aab682e4f54d6053a59b04f97006854a681280d67e7b86122c06ab7eddaed6607af799c0c8a5c3eb74536c62396b03ef4
+DIST bash32-043 1658 SHA256 43df7d2d7d61d3a8f0e14bc86d4f55b6d2e64829ba0829a78f5214d186087af7 SHA512 6d13a3051fa5be41c40a12a1ab3edf717da7e9f002aaf5de105a15b11026d0cc3748ab0655e61d98390e782597b9ba212af2810e59e99211fb77e97441f0d71e WHIRLPOOL 0485cfe20bddad134687a37d207527f97c9559fb942790cebc6ed7e7f59e0fbd9cd3ba8cf7811ed56e8b07a4ec59f9fc2a018c39c55bf8a18e1962775e85bfa2
+DIST bash32-044 5565 SHA256 204b5ecaaa5de334c3cfbce6dfd8a9d3770b09024ab4724d86080fbf501ded69 SHA512 a042c996c9d925e2e2a74296af1ae8dbd7f4afe8d83921c6a449612fb193c66c0c71943f64c95032b732b3e0e73de5f97be1ebc0eb77aefaa6b6e36d29b7a61b WHIRLPOOL 226ea2fedadef36d35763e146a5d08b60dde4808746523ae149e4758a9280a4beba521bd77f0cca602ed7cbb67174ec01fc68095e1760ec385765a2956e9ebf6
+DIST bash32-045 1338 SHA256 3250e6c6d5d6884e31beaa2f521d2a1af9c2f701a4c0e67a7cd011b6ad8f082b SHA512 8aae43371e0c126ba8fbd6faf34eddcec8656c5161359e9b57532093694aaf1e6a2786b018156371b793d37cbeedb5040b93728f3dbda85199f7994511dee741 WHIRLPOOL 0ec5ad5961755e74b8ed179f20d161bac7a6ba85eb6586743121d4c4bfbf5e7a2f8bdd146e4acc297e4943d93c68f57a9e0806802b33f58d0e436102aa34c2cc
+DIST bash32-046 1275 SHA256 fc829e92fa951c34368d83272d746f5c0ed345a7ad037f93322347eed00a1e1f SHA512 1fb2d29c70850a0ab2ddbfa2868f626a19ae88316c5a32da3033832e9e73d7f0768eaa147348a1f008163b0e796c38fdc1fb629ee8b71848b0047c3f773e97e9 WHIRLPOOL 34583b91a3c0d3997b9e431f877410accd189c453ac5ebbd5d4d5dcaf672d72f2c13dace94e4bcb87e5853fe2f91af2e3865aea8e1edb07c715dd545628081c0
+DIST bash32-047 1981 SHA256 623d4a958d2b022a15929a4de7403766ff07b295a185987b4d1e6cf3b70ea106 SHA512 587e3fef02d3fa0e4cccb12b994a2def2a8fe2f799c31f27d60dc393b0f5d9e5f71d7996fecdb83a4386c0de2ca3fa5676f899f94e1b8ad3af82c5e2bc5a5c6c WHIRLPOOL 6259fc767083a752b38dde95491755cdb74af60cd159b33022e24d10c1e337ad398a56bf2679fb27d39ccb4a329c3c60cbb4b4272f35aba1c2ed387b40c81786
+DIST bash32-048 1948 SHA256 74cb56764274f393676f68738eb22a3ed8fa388c0487feeadf0d78a45b549749 SHA512 17105999c7afec123a377d82b2218746d54b66479ddfde641a2bf928aff9851b554ca36aa6f84e0e6943b52e4e3c1befc1d1070aa700c5278196aaa7ad384580 WHIRLPOOL b640110dd91bdc4b48b080d8869da1437e58cf5356992a6c9dc5ee4f70de72379ac3601e8175d2553f69cf820d2a2dab4e61e342719a58b24acbc716763ba4ea
+DIST bash32-049 1663 SHA256 b1217ed94bdb95dc878fa5cabbf8a164435eb0d9da23a392198f48566ee34a2f SHA512 18d6ba61c9ed2c8d710d62a006c58f8b4cc14c507743811dad3afd74ec6b017b2297b3ea1ef3c0b7ad38f834f1ba83937922ae8a87225ff2ca45ecbe6df1bb1c WHIRLPOOL 097fbad27bfdb23cee0344e517e9750c3fe1406b2f3dee16d61634584f5c01c1a1f3a11e81a82d80d52face0fa66694945ee590c4af9edca1f9ee343f3336c9b
+DIST bash32-050 1697 SHA256 081bb03c580ecee63ba03b40beb3caf509eca29515b2e8dd3c078503609a1642 SHA512 544dfe144e51b3d81cce4d01a6627478407edbbd53184c675c73f05eb3a85f99959c021749f2643beb9ab7163dd5bc86b97b9df289bdde2d83474bab4e9c0749 WHIRLPOOL 23edcb9ff2c67b166bb2dad5e511cda7f7a0eb0f1e0b8a5afcc345d5deb9d09bed974f61bef53c029b13dc50fddfa73c26d3bc0834b537344e21da6e28200b5c
+DIST bash32-051 1371 SHA256 354886097cd95b4def77028f32ee01e2e088d58a98184fede9d3ce9320e218ef SHA512 862000d29e5134bea3ce0fd3b8bc478cbce82cab37ab31942030e03dddf2d597cc3d469554bdd255c3ea18c359528b3ad8f7320a9763c95e578de4b30d35c2f1 WHIRLPOOL be75780b1510fde12900a73546c767a7cf3c1950ab964c41f6ac3e8ed5897b5fc5c6464c060b8a0fb50fb41084e0399544febb7800acd1599b78e5b2f2ce8f57
+DIST bash32-052 3250 SHA256 a0eccf9ceda50871db10d21efdd74b99e35efbd55c970c400eeade012816bb61 SHA512 c52fa2692f264a6c49432b22cee9aaed3584f2357687028f4b96ba67104a3929b6136bb91ec64acb94fbc10c2de842372940f4ff450b9c534bdb28c627c55e66 WHIRLPOOL 685e9561e4c2559500649bdb7cdecc4b985f45f6a4bcb99d67229fe771fb2a1f4dc348045eadf478f5d627574c1f7984dde55951178331e7e8cf9a445ced7ac4
+DIST bash32-053 1115 SHA256 fe6f0e96e0b966eaed9fb5e930ca12891f4380f30f9e0a773d200ff2063a864e SHA512 46cc13432224bad89736de4543692431480505616df6240276cc37ef1ff405e99653880910b39982b2449184cd08dfbc34e17fe7e3ee506c2f2e546c4e825360 WHIRLPOOL 97e2d62126b1356f467092af8bfeba0c2fb19b502d75c7096f9131716f6c7858f5fd016cdc02763d14f693baa8f7be8ee8caac2a338a34fb993b0d9764102e9d
+DIST bash32-054 6617 SHA256 c6dab911e85688c542ce75afc175dbb4e5011de5102758e19a4a80dac1e79359 SHA512 76deccbd28e742c54b494316cf6debfa2681e9682b2cb34c9c105ee7a0a571e8e044c034f97e349b0eafdd919627c8ae2d4d26fa1100b6c9a38273d9a9e8852f WHIRLPOOL d6f80584e3a8b51304f25069506598045b14c14f9fab4d4a5c17f88768fa32ca500bfd4f9c6a5ee614d608f9dfffc23a251fe9635489d9900c47907b425f2e9e
+DIST bash32-055 4034 SHA256 c0e816700837942ed548da74e5917f74b70cbbbb10c9f2caf73e8e06a0713d0a SHA512 7be87eb61d5d619b8788d2e4298d59976aee90febf59b89dae2df1b43e85b3916c16b559b5169226dd99f1a86d1f2e01da2d682fedb78b97e8fbea58541759d8 WHIRLPOOL 4abcc5667b76135999b19f7bb6260fd19bc4bebbd8d0aa49d15470f0556b8599eda8f46d17bc91b008d9036dd3933c8a6d05b1b5ecc6af8e902c08f9f3bb3ba9
+DIST bash32-056 1777 SHA256 063a8d8d74e4407bf07a32b965b8ef6d213a66abdb6af26cc3584a437a56bbb4 SHA512 bb1a5c84e5d8676061e06f9d2ece972fa4d1a8936252d2d199757a35afc81633a5737437fde099277af0c16d3318bba56cbd97ff14b832593dc2d63ed3f6e8eb WHIRLPOOL e5690703a96811b618b62080563d90f7975cdefc8fe96fb15fd3b69884eed3c5e1593f69232ee979bd33724353937e1f06a70f1c6849b490daffa2200b4291b0
+DIST bash32-057 3475 SHA256 5fc689394d515990f5ea74e2df765fc6e5e42ca44b4591b2c6f9be4b0cadf0f0 SHA512 9e0808363823d34fb054ba11441ef71e24cb226a1f2f062ba775951546b6038468ed1808067c7f1212594554b0bb5eb1137dd932b7f6fa6da06228b6364631f0 WHIRLPOOL dcea697907c1e65a9b7fafc472d8c53ca10f6bc9a5285742aca44f46584aa143caf396d4fbea05c3a573918a86dda3a34b259c38c150fcbbd343bb870a20d62d
+DIST bash40-001 5156 SHA256 e3b514204e5da7bf1aecf7d0981514b2367d4b529da6d4a45d09dc29e2f0031b SHA512 2898b793404656d63739e478332789a6ba51844c3a388ca4a18e42953883065c3164cb90e525cc6ad8e59d1f47e7e8058ff7ca42194569729aebbbcb5e93dab0 WHIRLPOOL 747515eff1af46bbb1423086f4f852b93fa20963eddd1591ead15bec39f9e22e5e9db52cb6785b7afe90746a6b42c110ae0b4c3982fd0449001bad71633bc073
+DIST bash40-002 1220 SHA256 495117e566019b9cb0ab49504945b30cdda6e5b59597e43e18eae1f06b1d5cf4 SHA512 5af8cddc9ebff7433fc200780e46becca4b13a407c2b85aa08871e3a3019daab9787aeaacf4fd86ae3666119a3f35c8548ab488c72cef4fbaf991307d6bbd348 WHIRLPOOL b36c8bc8d6e7ac48029904a915a052817b3f4a2639ae93a55fee772e70b9af5e52144735a59142baee81c45d3f67fe31826513b5bdd00696fec30a1f4f926ec5
+DIST bash40-003 1749 SHA256 e300c40611b1e3775b7d1fb73bd770ad19973c22d7016d126af3304bae797bd8 SHA512 700821bfd1e890118c2c051a589911fff5ae2aae7ecf6aa6eb2da019ad45136ccc5bccf8103fc923a1b4bf0b1d2aa2e2d4e3cfc9a5cb0b5179f1221255e0de47 WHIRLPOOL bf67f7568ee25b37d663a68911033669c5013e3813ff00a926db2092517c196ef3088442e442475e5c61bf7748b0f62a2fed6be9b064b580fc4b93ccf96e6b54
+DIST bash40-004 1347 SHA256 4b03ed1f8aea99dec4ab3ba930bd126c6b7dbaeebf219e21ce3aa6274c52d2ae SHA512 e9e88426a4f8222b32e59af4b32a781b9dff7fbfc50d6c40f97fd62fe4dabf08b8c257c685b3be01ffbcef2a918d30dd951b86e670ef283804c7ef4d923c3985 WHIRLPOOL 502656caab4b7ba108c453474dd9999bad755e4495c6348c3da3383e6fc2b4a14307a2dc9c4ba0c42eb95bdcb7cf6b9b96a0a677bcf937ab2effce7fdf5f6168
+DIST bash40-005 2021 SHA256 420658c026916610a07d40b71eb70f6674b78c3b3da10384c7535c15b3309450 SHA512 1d84d131c3677db0e827040174d78aa45b4444e4164bcd392ad630a41e10cb3445dc4abcde214c2d808a4ca23cae8b7005a290df463074851c598a9df5eef2e1 WHIRLPOOL 15585ce3b26abcb93d3145f23958aca4cda96a51c7a3d8d6cb37cdc49f5d936e67900efbdedea86f6e4242f6701b17b6eaeeedc3983aecd7c7b234685cad2149
+DIST bash40-006 1133 SHA256 c78762520f3da5f39319c3143f9eb4f4ca3351a6306cf94b7c42b3b2844d82e4 SHA512 49e83eab424e3423e65f3793c53daecf2e809194cbf2b8edd5fefafb0478c1ce42d6e7057ca367908949698a7be20269a03dcbfee3f1c1c5c288a67ad3b01459 WHIRLPOOL 6aad1ae263e5e598a7cb2ff5bfd52017fcfa78ebfe8328103598249d7639ec63b2a69746bbecb81c4779f2cf875cacbfd16a77963d7ca9a68a78a081b754ffbf
+DIST bash40-007 6920 SHA256 558d559e24d15a9eedb42951f4706839322c644791d20c11ca5e958cfc0e616d SHA512 3ddbff2676fa94d88e1bb824affeb3cb067089cf1c6c48a0ff0a3323f6e64ff59da4dc1126829925b4ec86f11c55a20ef2bd1e517b4661546402061a0aab73e6 WHIRLPOOL fdba9c77f60bda4ea47703652d910a2f7866a4fe0f2501985625249870922709dca06db468366054b4693e8b8964455627e5e5f8c78cd16c7a35ca17b4cb26cd
+DIST bash40-008 1196 SHA256 87db24c00f83db7bdeab585dfecc76cc6ce6fd9269fce0ac7197771f3005d8fc SHA512 1a51acefb80e78bee86fd1ec48da376028e15570bb79c6d108cf8c89802f8dad5d89fe99d492f64662c687e3ae747a8658037579e43b143c0112ebb89697dd03 WHIRLPOOL 6f3023dcb5cba32d42d8f7a283aa39b2a34f95ec9cf48c671d3a90e04637ee0c03a793bd317a8d7a99331ff69c6bfb20d616abd620e5f5bd1f2baa87af2bca33
+DIST bash40-009 1821 SHA256 0047c240617a4aa633bb699f93a4fa9caf77051f2bb85fc2e9c6c899d1df7e2b SHA512 a732f24b5d39a7ba0f2c9b88fea97fc50c96ee73a15bd40085184620eea1c76d07224179b9e9a47ab20401259c548519c0801a3d8260ef47e830e8176e289232 WHIRLPOOL 4a504eb69d92b4ae7fa194328aa3d185d13390505eeffcab94f26c1b6793438b1d7dc278d7eecc217d176b836203400b97baab0e61290d1d75ba0c5db9d12489
+DIST bash40-010 2152 SHA256 f2416f6b45ff3d9a315e41b3da023eb727f53e7dd6e8a07e88d1f2a005ee4816 SHA512 bb0a48acdae924dfa482f2403802454bc3ce276b6179cedd6abe7451709c942b0e6253c18c6d75347364578604619cac9b701540c09148077f65bfae5ddc123a WHIRLPOOL a39d5e3d5ef2d66290adde4a2230626c0026130315ccf15650e5fc7abe925c82aeea2522c14f59f6f6e28c8b61b3b245c3d737ec3a30c73f2a345a36587103e3
+DIST bash40-011 1383 SHA256 ffc81429efe88958356684c27a914d832c1cacb16ca6881192832ee3a18354d4 SHA512 2c33054e6ef2d2816b62a7b6ce0db8a207e99e7a00ce9b9fe005d2de20b4d94a2ba74cc301848b3c72b5319ec4ca76a9113092c3663ca5278810bed4045801ad WHIRLPOOL b688fd9ffc6688b75252061845a24c1fb2ff7dac9d93c3165ae888b62ca5c0a25b001aa89e6ff5f31e7528526944238ede553bc6cf1910224e0749dd15265665
+DIST bash40-012 1459 SHA256 b2c4d6e9c12a8695bc177798b9857b9dbc85a035ad83fce401e668a2de1183f3 SHA512 d39c5a9697dec009bfe3ee3a102f2acce3723444a1e575afce152b082f4dce12c126e391ed1bad10c718a08d9d5cdb571d1e9b86bac5559f57e6c0549a0fc48c WHIRLPOOL f529dfc3bdebd271472e5af13c73f7e41c210281c184393630c2d9379315d61770a2b4d24e3ab80de9cd67d15faf28f05c435547dd7fb278b5bb65f2dce6cf6a
+DIST bash40-013 4629 SHA256 760ccaf9d1f3be5d81e6bc1f8201820b42a2cdcd2a561cb0fb021b4c241e4c3a SHA512 1108f2231c531fddfc021db2ce17b5f1e522039a708493447af5fc8298c6268cfb6080fd38a79edb6877eb2c92ef79b77eedfab14842af91f6bf5037beab0825 WHIRLPOOL 1d22b6b72226b04d7a4a9a9a416f995c47d29c9b90e69db5c269940caa6e4b3158a100a253026437ea0e68133d8d2c87edfd1192c22164c1c93c35763fb99481
+DIST bash40-014 3709 SHA256 13edc4c691768672f680b4f266bdd1c12e7b247349eba4d30d0bd923cca1c39a SHA512 7f05486fdd76e35700d8eb690d90d4fb3e24677a648036fba2f06528f61f7cb230e64cd1f1b374a865acccab4a57841e465088fcb69727e9e8f5f999d673cc34 WHIRLPOOL ddaee711e067ce4874a7306304452ee639315fb82f903816dd174cc8deb0bcc36ba14087186768a39d467330df3642ac528854849107832dbc83979033dc893e
+DIST bash40-015 1914 SHA256 7ba0e2bedf54c80b58e0f471e7372c539e5a43d55eb3f1881f5b8fb649758814 SHA512 f99c9cfb03f2ce9971d866a76b48e3d045fb244d0b223e6db0a7fb3e445107de624bf0c9cdc6fbbe0664d054e5973c5b0fbf15e5d231d8030b256f8d75dce358 WHIRLPOOL 4e3804a77d4c5dff7349082fef77b7073e50bbb29cc651da8fb08410eaa3521cb89f752c1939f48dd30dfa8fbeb9be6748f57bd23557b0496e50d83f205f8eea
+DIST bash40-016 3032 SHA256 8f3a936e928fe78ae10df109d226f79207a5418a7eded376e880fe57a571d519 SHA512 9ae370aa3943731c62209fc15edbcd99d66ea3f7fa8c834262dfc2fc06dc17ad3a509013f902130f5c72ac5411322b018ae8e821158d65ba00c015e23cdac779 WHIRLPOOL 3b8b5763681a9e71c3186ae813d2907b940d91ab7368aa9410b294df66b7bce2ec6515f8c2eaa42edd91b04b72aed4e91ef50b0a8356884990371712eecb6c0b
+DIST bash40-017 1496 SHA256 2bee2afe6339b034e3a8d88bfbf922f6f4704abf0fb56041fa693075f530f021 SHA512 6a78c3fee549b37850ab2e3c0049572c951e5f3717f54d6661d008b6240f7ae869f7a333a422d008025dce47ba222ec350d06d6c8764b06937431bda5b09e320 WHIRLPOOL a098a8282658f77a7cfd681a59b12261b680ffcc4e2b34d6ce1c94b4c88186299b012e2f75001d54f02fc4ce75418cac90c53ffd98c2f173c819540f0627fb29
+DIST bash40-018 2614 SHA256 1db3bb8db0e386be938ce3ca9d3aff10edee57e696dec353fb134960ddc0e631 SHA512 76072a06cdccd49425d77ecc47908137473bd128e3186c4149b93ec06b9809086a46af6f215a63d03c4c178f1a26c061eafffbe86c65e90028d28fd93dcd2420 WHIRLPOOL 4f30e646d3585b84cec237003a8b3d891fd0addabd7366a711024f7321b405d8c321280cc46b48a7f1556b5452c2dc00709ab5801049b0c3e85c23e9bddd5097
+DIST bash40-019 3309 SHA256 5049948f077090c02286445a441cf8efa3a2d95d5660dd8acef512408b0b7475 SHA512 56c751098f9395ee48d35c921b03a089edabf94060cff404614d0ce14aeed3ab904562c0ad6e3fec3e18da701ab4eaf31b3599b4ac94820c06fb114d95ab94df WHIRLPOOL a435bf3a223cae0e2b7d30d96b93d7e00b0f99de341ab482c14c6115b5f18f7fc7dbbbfecad6a32c84137e86dc1aebebe35312e900cabffe82c6ca326b1b498b
+DIST bash40-020 2666 SHA256 1c9a9aebe316867c71fdf94f1b2d3c2b40c0d291b3d220e36785e1ac340c6784 SHA512 0176a995921e565855938f916288f3ed40cb027b2af29bac7e2fd0678f81e8dad16437cbb94428a4391d1951adf844be355deb520b11eaa8e7ae493a7a167c86 WHIRLPOOL dd21d4f1882cd7caf7a2eb3b5e97d129050ca43aa15f26a3139d6105e7bb7215090ea19a212364723fde64189923c6f62f7fc4460c397a6350c2c1b48294ff52
+DIST bash40-021 1547 SHA256 02472d6f8b104941a2b6d4c9ad823cb0e7cfe6e5c20f0b12ab1d7eb23c88114d SHA512 fb72106b26803aeb5afcba89ad3824943accca2c162d6ae533ee1d86b7f66d3d3d8ac8be4a682de9c8deae93c9667315d28320e5f9e2df58478c1c01cf9d43a3 WHIRLPOOL b418f561cf2af8876bc5378bff62b44a6cd2f2b3164b1ae4e0fc172b74f03f0f6719a5886ae91abfb44cf268dade2e97fe6b5b3579b022f1a45a7ef8a1fdd964
+DIST bash40-022 1592 SHA256 045a1dc71aa1863f73ad7be00ec4e18ee3c43c20fafe58d9e2c6c51592359012 SHA512 51ba81c6fe4f03e20f4d80a6fd5aa86848adabab8cd43cbf5120ad16358917904b7ad0989115a0220e7bc4b6be6f6d5a1175c49bd93b93096e9510eb67739b10 WHIRLPOOL 5b4445bfaa70cc1fd5672291ae1748f102c6099bb002aa8be4a38ef021fe5c9bfc3678a1a5543505b49219bb3ee0a571b8d71c0ba1db44d16e7ba7974c83f02d
+DIST bash40-023 2148 SHA256 580b522375f762ca5ddf9dedb6431ef4a9b6e887ea25fc0ce152d747ae5ddc86 SHA512 1ab80dda1164c1edce11c7ee31999be2ab6c6e7fa8e755c9c490164308e898d05a9d46a119e60e98c2bd6fa6715375c02d3569e7d68a0f713b80e7a7ce60c401 WHIRLPOOL 5ded44ffdcc0c659ce10ef34527579d2a0dce26ad3faadeeb6152ce133109d8d297fc2aeca55edfa918d1c131b79e5eb8b5e2f291522e4b10043edbb04cda15f
+DIST bash40-024 3049 SHA256 a59ebac47efe31b951e1732e4223cc725b2748c331bec98248355c5ac53717ab SHA512 6142ff4c0315397d84eb365382cfbbf2e0e14b5d180c8d59b437925ba3d683567ed2a8eb7838d41e9beb07b5500f345c60a9aa55dc5f5709aed7b8f568a1369a WHIRLPOOL 64e5a6c7b057b8fff529419232d6fce9bd46b2177fc6bed516902e5f9dd0fdd2da1d135e5c504ee92913a81607e1e189d012018e2ca6926e4f7aeccbe051818c
+DIST bash40-025 3435 SHA256 f77900d636033474bc15d39c4948515fdfe718164ea668edd64d8d4d5a8f6a08 SHA512 ac84f5d5f997f2bd10d5c0cd79a2dd1c2cf510eee0ebfc291597df95fba9f5851d0449f477f82bbf860652ce618ffa2f2b0108921b8c8e6e582da0f43d4ccbd4 WHIRLPOOL 480f3c5f510ff0744e48e8d1be8aa07d51f5a7a411e97a85892d0d272176ce22710a43ebee06a8f8605b046be3e135423b8e49536814b18d447f0b38e0f29c15
+DIST bash40-026 1433 SHA256 a9bdf4409c6625561884be58026a52ccb47600407f3d5b8d0889f0585040f6cb SHA512 92d65885d5989fdd243074ee4446e51a721bc501f39e3887530d6422c25fce1f2ede2ad567d5acc8d1e2754e2f73001b8c1db33d95032f68fa4211d5786c0d29 WHIRLPOOL ace91c92a48e03eb0d7ef8f300382f772f1744572f84d5c318da9caaf6273d6a59b83b181cca0486ddf9a9eb8288e70ca0fba8d7da8ddd0553802eecc843a43a
+DIST bash40-027 2010 SHA256 f65dc26bb1bacc8a66610cd5f6f2b8e70be8d8c4e397e7a5ad6f3306224b77f2 SHA512 89688509123ef15bda34528569d5e3c2bc6627bf669e8dcf979d81336875457e82b669b9ab50dccdad1ac40d5f07a4d5c6cae963d94ee2ac2b19b7677aa187fd WHIRLPOOL 5484470dfe6b28ad12c6d7143026c7a5012de79993a7fb24994fb0022bb3b4439d79d8be6c1835cdf0fa417b9b214317c8950c80702b14517c28f3e1c5025c98
+DIST bash40-028 5567 SHA256 5b222cbaf3ab1c1d9b4c5956a0e28cad49660f5746af08efe174e7b474022d1a SHA512 037ce07c6fd5872054f2d924ff81753af2a28a2e70b1da498b8278d08a5bcc49cb8f242f4960ab465f2db3b6d05f9606c7d6d362b028ef898d08a2ad08c9d682 WHIRLPOOL 57d810856daf96e752729f1d1e1f1a7fc1998ae08f2b80905e95670d14c93a8bfa24890122e65a44e8f8b8ac2dfdd5b7fa6b4a1743392f47fa4268825078e4e2
+DIST bash40-029 3119 SHA256 15f5a21f91fc19c20e2befa568364f11e72ba30e86e4c61eebb6d7544555fa66 SHA512 cdeec36c7d448c167fd3e8bdfe1234685dafb5c4010efa5ae605be228006b89f3ce68d143617ab62159f790b381067d57d0ac25dade3bdf55a2f0abb0dd852a3 WHIRLPOOL d1b9a956ca26235d91fdde4a03ed18c757356b85e3ed0de29b435aacb404f8662cf0e9b2ca58fff764de291ac555d5937cbdca5609e192b261fddbad351e87ef
+DIST bash40-030 1649 SHA256 7f85de6839a6180922c2fec86f4c150036fca096e43a046a117e97e50e958af3 SHA512 1c27708eada140d99155144b622e8202591ed3680bd8d099803a4072293d6576a850a42bee67c1968fb74e30847d36b81b2d84d6eddd657e3e962095c8e7f822 WHIRLPOOL cae87c4e268ffeaebc109565fbddae3b0610ec8086b025285109de8a22b26c125db43358c05e15c746c11e70710b528c467d5cbb79eaa5eaf2ca7bb6b52076b9
+DIST bash40-031 1633 SHA256 603f318906ee4cd5fdc6a32360b59a5b64bcb50e393fe77d6116269ba28ffb0c SHA512 e6b78291d4aba78cfbb4a3ea0ca14f94a0986f0cd9f1a286996745037ac79da87b70c3936c32bf9e69d99dbab0d782c8811ae6d3d821106d135a19fd07d681d5 WHIRLPOOL 4f97fbb83d54a421241821dcac01f36274553b8234cb23af5ce364990b55d9d1dc1db2e2c85e6b585a835f434805d6baaab4a242ff0d3eb029e56aea8d4a996a
+DIST bash40-032 1154 SHA256 ea6b4736bedcf73cbf2a2558a2c3a04e3b18064a9730ac7e0c03e15d103faade SHA512 9e6bf2123557d8b4b908fa3afc278c8d10b8f647dd7de426ffe2a88098a9932d9f2fcd5fff922d731a7330a0a5067306b9bb626f89980c6b6d66d7e77a73d69f WHIRLPOOL 3bd5510cdedf80fb83e7a256589c03e23373ad4e1c7e3740468ca893b6b3f7edbb73cce4c5578b3fefb770de6f74966f7ccaf40c8bee76ada2ffaefbf860d01e
+DIST bash40-033 1380 SHA256 c496f6e0329940925dbdfc002ec08b8b06dc7e6e3269ca490f99a3879d2d04f5 SHA512 ff7af4d5d2da49e60741749b1e3814704bcf867480cab33108bf23dc27358d0a1c6f79d98991f245f65e5bfc67fdcc4ab05dd84f8f90c7a2c922978f8d95cf1c WHIRLPOOL 30271463a7c704ce80511cb0209b19a6bcc04fa3aef5c98b719e91a56b4a4d12780b2af6768e1235bb3bb6df2b87f08a68e108438e4ef4b809635aa9ea794df2
+DIST bash40-034 2160 SHA256 37d2f304c5c283602bde8195a501c19ef5ade3fb5494d25ca22fe1f00cbb42f7 SHA512 90248b7bf39fc9592a14b67d4aa0367daa50afce230e406a31c8f2e6dce091fbaa80092bc3f98ce4e9b3c20b6c66c827882dc1eea669dccc5b87ded185d60eeb WHIRLPOOL 6eb58c9514beb153f542eab6f98ad9c34eb4896917004fe1e9d54616248e1cb65370d4375ea16a33f4b8010dd81d403a609d13a47716ed6fcdb64e7c12143e0c
+DIST bash40-035 1884 SHA256 1806e4efa9b7dc796cec0acc4062cd501b2646591699c14b4899c26438c8f673 SHA512 17a926fefb672991331ee278e94ccaf880054379f0c6e4cc2b847937f54153b8e304ac9d54b65961f3e24fe89a32b961ac219453aeb6e182bd657e103c6ff8d3 WHIRLPOOL c24d7fed7adda74a7bb76ac5365eaa3ee51b1d78e84afb91f6276837a2fe2c56c013057219f5dc99d7f026fcc65f472f0e46677febc0bf5d2458f4e2d66e6471
+DIST bash40-036 2618 SHA256 7a78204900f68668dabf7b30a6df2398b47e810c51929e1c2b3f69f5a917102f SHA512 5c3f84b70420ef1ce55cd1c9fd30420754f93d7ebac6b2191e1c879b2aa2a147f25e3f881dc845d9d6f21526f0a294275725d41428fe1e214665262d20743250 WHIRLPOOL 928e3af0120b2a19d82052e347944ff76b650d3ff18bbf11aa1d6df31225d6f09822b86cadc7ada741326ff583f958535c448aab51bd8f9f8c3876da17c69ac0
+DIST bash40-037 1626 SHA256 f02284ad64deccb232bfc6c12fe2bc365c731d7e3ada354dd9527164c98cdf0a SHA512 24f64f9457ef4dfb31cb81bf4e683d94a71b269c03c1189309d3bc6dfc3354594069960bfa704c76141b9dd9a1d7994bb17e803c341b94199752d44d18b57d8a WHIRLPOOL 82fd2fe6d5105f1ffa69cb0e86777f59e44b0d4970b03e1291ddd046123f0f5185fb74c3bce4f2522a1ff015738b13b82dedea8f025d2d786c6294b154c793d6
+DIST bash40-038 1620 SHA256 b31ea07d9ac47b261065265beb01a5420939447aa0932ff9f78b049117afc19f SHA512 8116da5e07a7aa8afbeea7f868227ab5d21f7893a43fb4754da9a4c6598de099e32cf47eb028289a257cef100a5e952ca9f87e7943674a713b63ae59b455346e WHIRLPOOL 06a6f29301ed0d60df149853178ad6a6465b669d2de7ba6f72a52bba0cf490040490d220fb7f99bcf1e86d652bfcc6ef337cb81fa0e5a3f3b75b920fd03d06bc
+DIST bash40-039 3272 SHA256 09de2a4309fdcdff470754357073b6e9b1e4662add5981888acba27a53954a1e SHA512 3db7ab0fd9ab1e2fc8a4b457112053a3a04fbc2857161f765937753f75eab15595f0454bcfbf895c31774a5b5d96152b95a3d9009f53f8caa4df4854bc260769 WHIRLPOOL b0d4483ef339a8cb17a9fc65b0978890b1f96f04cc8d119963bc16b5c7b0d6a0b7f9c97566855ebd160bf6601c258a273b08f38d6a8532233956767cce5b235e
+DIST bash40-040 1173 SHA256 d71810ce346bfa8c6b77e5070e80207de4b8362678516be8febf50a7ec748039 SHA512 adcd63fd74f0d9c17cae0595bb6e8a3d678e296d5ab37b3c601af47cc64bae2c2a63367f32a9b93033423f819e0aa0fc4cbca7051003c296cf108133cef0ed92 WHIRLPOOL 1ce87e303522a56b2f2910a038f839c4c270278a09477a6dab001732b66fbf43cb1a4cb879fc911539fcd716ea9786284d1d4870baee7bc5175c72920604e885
+DIST bash40-041 6639 SHA256 9adecc88b5b3f2d87b8469d00d1b37624d38d6ca13227e787b46df723fab1c60 SHA512 bb71f3a26d6f0d099c69e3f4c5b25a4644f7c1217082fba65c999317ec5611edb8733057f973e84eb0ddfd3149cdedc1e1430f062a361523bc04a053e125de6e WHIRLPOOL 327f47ec9fb3816df7eef3d07487601a01f38b0af0aeeefe65bd9c604d693d0985f23ebba154cee3711f42b2d340432f20070e2c3a48ea0a144b8936ebe70988
+DIST bash40-042 4056 SHA256 8eccf5a7a67368c32b145d30a75aebc4530b1676f1ec300fcafb9a61e217acc6 SHA512 98bd4d05af90454b26831af690760544f3074854acf6fbecfab30258bd8aa8a010d05395867b7bb3c1bea80b3baeb6cde643c4ce99bfeaef65021ea7a088503c WHIRLPOOL d97c2ae7ce64433d8429f27e69d718fdd623a754838340fab46ea8d1e8b82ea5eb2f00eaa7f1cdce5d6b23c9465744df38e9fd9ab3378b2bad0521309c275c7c
+DIST bash40-043 1824 SHA256 1e077dea323010fff5c625d506530d9f05b76e179f3bc8efb46e17cdd4a6ffec SHA512 bef809c83803d2c48de2e7181699b0a49c31990fdb7ed7a056312d1d20963b07c33e97bff746715381ac9114afd3338c3256dc79813d593880418bc6099bfa6f WHIRLPOOL 3b4e73a686a134e80e4d72401ef8a39010d47dc60a05127477f3d84b74b2cb6a0a4e978302cd1f46442532957fd7b2415103b4be09ed46840a7fa0d2261818a5
+DIST bash40-044 3882 SHA256 05eeb7818fd4409ef41b6308b9de7f47217a0e956067219c7300c009212a5c88 SHA512 89b36451b46efce43772663ee3c1cc6090f9c66fdf689b4a2cc0c56fc000df27deb304d85713d22f0d014cfb5fdbed5889b3463cee82614cfa8dd1a0effe8162 WHIRLPOOL 97b1a6f58ff0605accd335e5a58c12aacb7a61248a7582f7fd1b0b30c8ec797dfeaf21d9ede1e59405e5f193ce1e407cfc04852867caef2df5d44d8af4471284
+DIST bash41-001 1445 SHA256 a6e47fa108f853d0f0999520509c11680d37c8b7823b92b96d431766dd620278 SHA512 22ec94f2459a3bb966b16e8216a35cba0d58d532c553308191c2d9aabc2c38eedb0aa2fcf972f1f9ebd1681230a5a7d49764dd435991db69c0f025f6de9243f4 WHIRLPOOL 9ca873752e778c71aa300b51aaf0054af2b420a73060551b4709b648a4432f59399d67b2030d2132a87ed2eb39a4d9e3466f6aba51945f038139b525a954cdf3
+DIST bash41-002 1799 SHA256 322e229de186b3bd87dedabfbad8386716f103e87ff00cd1b2db844e0dff78f8 SHA512 0e0aa000db8bf56cd0948579cd96c3bc0aec4e4ec0bd129bedab57e9d7a4c54450f0e4739255c3be4bf4f4ff679eadb1ca6bff07d76a2951fb11cec20257751c WHIRLPOOL 402ab8fe47ed28f8219d0324d25d4bcd77f411c1574ca05c86b7680ee637e7471ee32d641810093099120c9a8d8030304eb9bea52dbf0aa3d4f524f0dfd87912
+DIST bash41-003 1407 SHA256 91763dddbbb98c3ff7deb3faea3b3ad6e861e7bfd2e46c045c0d1d85d1b3256d SHA512 3d8db77e8472c232cde67f6dd25409efc8ef3f40396d5bddd22b15622a55a664887d46b7bf9f4a7bcc573e8de9dccaa39575d0822b61bdae5c4e98553336aa65 WHIRLPOOL bd270f3de36ae1a39eaa61143560eece549b5b857674a889853f95d8ef495e561c97d3c32104b802116d027566f6bcdc0ee74c58320ba910def3d69250d48060
+DIST bash41-004 1705 SHA256 78c063ba34c1f390a5bf2e5727624ca2e253bbef49ce187cabb240eee7f4ff9e SHA512 e95f64cf4e59cf616072a46022f61e9289452bfdc625f410d7688e8a54e40ef738d8d6c78d567cc0a5aa7e5dbd4701d7dbe7a457f761ec1c9151f6b9adaae6e7 WHIRLPOOL 874b569fb97b112c74ae7ec2b48916b7416deb97044cbe7477a3a59be81d048025ace9cd53394aca7e710643de979781a1a840714c70b2e8993d64494aba0f8a
+DIST bash41-005 1626 SHA256 519639d8d1664be74d7ec15879d16337fe8c71af8d648b02f84ccdd4fb739c1a SHA512 48023385e399ff55fa8197503147c229c33ac29f986323677cd810c305c5b58d175f1c8156664dfa70f3d466b5d5b17fd71e5f26e800946e326454c16db58824 WHIRLPOOL 798955b7c8fd3a419a6e47e777f83b4ff6bf30a98bb2880a2254607405659d10d409f6b5c770e9d73da460d128c6c897a8dcb197acdc7c8d33bd4321200c8f19
+DIST bash41-006 2166 SHA256 5986abcf33c0b087bd5670f1ae6a6400a8ce6ab7e7c4de18b9826d0ee10f2c49 SHA512 bd5365314d3dbf27e23697be6218b54f2d547990a979e85beb97d49ca5e42b078a5b693bbab6b778bc67a7db022b1b0e0babd898023dc61951e431676a01bfd2 WHIRLPOOL 04b13d5f65f6840af3e841dda269aeb6d3bd55a7aa32102d403ef420575187d279a008d890b1714db556276a4d0dcd95a8a4e1eabf4c7687da58e67b875c6d0a
+DIST bash41-007 1610 SHA256 74012a2c28ba4fb532c3eb69155ac870aac8d53990fa4e1e52cdc173d4c205a7 SHA512 757e11b04562d016f7479ddede52d6ed7480c87c3cd6d675d2147a100cff8344015bbff55e486f2847f6500922d195a41ede14e21829554ccee549a2fd6542cb WHIRLPOOL c9c7bb081f53fcdf4317505310eaf65059032cbe58690171ae68d27dc07c384b4e1e7a41e69ae2642793b029ae61bcaf0cd4b26809c1e157a01159402f888f79
+DIST bash41-008 1610 SHA256 4e2c2c251432cdf6b84dd5b4fd06d698f4dbeabb56a6c247ca8bf18443481215 SHA512 e7bdfa2ff43ee48ea9941f7df53794fb00673554a67b8e6334204f9b66e05b20aa052766cbf27b495977d3f0812a1117bf1eb923f407bb7f4a0f8394ce9ad6cb WHIRLPOOL 0b9ea934fe270156c786b30260c70de103be26ec9a31de87318fcc5a02f3a9579234f61419c22c095a7aec585a4f94923f1d8e7b9a27077c34d8e01cfa5db0d2
+DIST bash41-009 1323 SHA256 bd4006964ae88a5ed8032c16208130084efd43866afe19bb88a167e0c0f156d1 SHA512 7bb1b8b6c36a4704cff39c25abc48c87129981d340e51c70e53e54f222867c62327211a9fd431f176bc40ba4bd345835aa7f5d5a38cac94d4525a898e9e0702d WHIRLPOOL f0645393d1065c35baf7f48e9a68d5988934d5148220f674fe6f6b9ab8f8d99f6690d844728b20c768cb19ad78ea8ca38c8f89dab4ef81f4707e850565543ac4
+DIST bash41-010 1801 SHA256 797758a867b6c93530be0217bf0f82edf747a3f5d7733186ff313d11f8d9d815 SHA512 bacd653d3d8adcd5bc3ea8e2da089a57158d5f5241fc1b2a94bba821a3275ec52df412202d2067015172027f9388ce6ceab6e50c22548752cfe6c9224cb98816 WHIRLPOOL 570218cd68f0db6388f1cfe06fc718c7cca17b2d40e1ad5b8111cbdc18faced81dad17ced0ffd853ee69418b522f2e19e25698539f0edba7ccde37b73130abed
+DIST bash41-011 2444 SHA256 1b2b81a20712cb56c10696a940d583ac2a01d07836f8139252e8fe023d291621 SHA512 9ce8249dad5646d6620188c3d844a1d66f0e5429bffedfe3f87816e801e29c74f18f21c6d1558ccb8fb7c7fbade12a08d532e6b844b285e57529b477a93de3ec WHIRLPOOL 02608ad64cb861d8976251ebe124f241159eac218caef6e4fb283edf3cb1282fff9228d0a97286a80154a3820e2af7b5c5ce6310e14f710b3608f0b7c4036058
+DIST bash41-012 3280 SHA256 272e24a9a2802e896b20dae7c88d6a34b8dc89692c9bc90542cd4bda77607b6d SHA512 8a269842db2bcfb37b94a15cf75f0d1c357f4a451e1d69cf3dbfd71ede9eabeedfdfbfab78e67a4fc07dfd47e52100c34f5cc1d71f7e6bd3d5b27f2b3e255c5a WHIRLPOOL 6eeffda0ad369f196bb719f19c2295c06f9e1c5c5c338199839c568b1a8da44f319c5770ec3adb5cdd702affc64cf3f2046b32573bd58b7eb05132cafde7f04d
+DIST bash41-013 1181 SHA256 cad722e20534882ed6177f7287eedf21dc966816757fd964ca930f0ca230fdf8 SHA512 ae1a0c2a7efd1fa9858801b68f47bd4a2d3eb0f7a37d24029cabb97b980d40b6e116a8559c358d67ce7f8fa290cbc3b88e5c07743a78a8939a41aabd474044dd WHIRLPOOL 86ec7a12959018a6491df9b184ce322af7a2422ce24ac2b2419e1eaac8b126c1b0da9d5d5567d347f87c5d7fd9ebd2aa1ca6ff9c15c13a7cbe49efc3623f2cba
+DIST bash41-014 6672 SHA256 595d1efedea8d63e2eb426e0a800b52a5fa8b62d3d8476b912e1f0d0d7fbf13e SHA512 762e7487e9ba079c18d35dcdf3a2453b7de3ddd176986c502286544e735325ae3b6d710dacb250bece0e8a1251ccb026ddcd0f881f8a95a94d02c1be241ec572 WHIRLPOOL b80fd4f95c5fa1d81bb8072efb4e085f96044f5bca46cb0c1bc842145136d45afebca0721742d37cc793e73578490915dc319b4549ee149372769ebf75acb397
+DIST bash41-015 5085 SHA256 ec580a8e31c04db9d5e7ca279740a0565c4e32b27e87f56db2bfc21df834ce9e SHA512 3044a1acdd380f21317da0bc3b8455f7deddf464c9a70bf35e30ea434278b9b0c04756644e6037a133442b52f673757e223157b3b3301d64bacb939b4cc721a9 WHIRLPOOL 04a6467de9d962f32f5dd63943bb14cdf55c421390a658eec9f6cf19a0fb23ce931be73dcd7a3ea7fe875f32848ac6f5c5b38021d749f2d3abb9b0375245dfc6
+DIST bash41-016 1832 SHA256 743088c7d6dfaeacac0986ba74a959f2beac4c758441b97280b9c3fea29d3089 SHA512 d2e76f9e63787d6c9ece914d75ad4292235d753f146858c9597137b148d56b1847a322a0f7e07092f3d717815b337d3eb369e4b9d661d10561a0857daac5bad8 WHIRLPOOL 05869cdf9c8f98de357655d547ca762f33a1eddcc19107d7c861a0716bd42ce80d780aaf1b9abffecc3b79d5d0f1b90f71181342d5e3dc134b8c3e7574ca92c3
+DIST bash41-017 3771 SHA256 e5bdeaebf7deac2514f3f100e5ff5bccde843377249f648d89a6ddea4c17c06f SHA512 38c90ebf7ffae6b7f93062232a467f789ff1a642f791c8270e47562ddcb6472f696a0ce9336c5f0046b724c495f90e8090bfc48a50ea556782353e00d2ef374a WHIRLPOOL 456cca01a2adcb767b32c1c17a84fb8dde6034567613de66f1e43c8568c07cc29595027cfc447e3e0fcb712da07dc6129c3d4f7e9c2c13afcb76188778fe1dbc
+DIST bash42-001 2944 SHA256 8d6ca028576c4af23e660a2fbc2112221a11c8a785c0b37f033967e5cd12b47a SHA512 931f2f1d4e677925b5057558ea6f157073a9ba87bf4ed59e7d8fe20957c5fc40f3384a98fc4a2d5d7b458129ec096d9e28a860b6844ebf15f377778a6ef8aade WHIRLPOOL 72f1c1453d00f72efe77bd31253ee6978415abb3c943e2de4ba458de09af8e9f76469febfbdda54336e4399ea0f63a2cdc93d023b09b8caa97c435e4eab27a52
+DIST bash42-002 1780 SHA256 febac927e199aceeba2004908d971d4afb49b521796c3f42d1166f9fbbfbcef9 SHA512 b9ca62e397a05b368b74920d8d1b168367ffe840cf168e312b530c5b390cef3ca53e31db63c9fe15fe1a36e4c98369bf10573db40d20712fb1a016f10e0fc893 WHIRLPOOL d0803c477e120a323e79d842269db60eca7ce0eef8e2b829926a8b337d27cead87e9f8bb26c51f8f68eacfcc280123ad4ebd654c3d6744f361a88ef5c12f2a97
+DIST bash42-003 6896 SHA256 5a0a7c15018c87348ea87cb0beea14345faf878dbb0e25c17fa70677194cb4cd SHA512 6cf944ab0f554ab53831cbe114f771671c7a9420778d2caa524c09a24ec8064e7a7ef1355e66ed3a53100b72736284a5b44e2c6bda03a8234a2f2d340ed47ce4 WHIRLPOOL 8ff610b9bf6f81eb7ea68691c6d2bcfdcdc6ae2a5ed503306f4b5cac1f020c59901c3c3a35a6206934407d65be58db60fd2c0e74497a0fd30fc87822e8fbf36f
+DIST bash42-004 1686 SHA256 4e34b0f830d2583d56e14225a66937abc81f45bbafcd2eb49daf61c9462140c1 SHA512 aef5e753e59a82df07e18269064ff1d075e3b7558ac5aff7465da997370496bd4ef9c25920d7a47f66110d2ab719742033d96646921782d9ae15a27541765067 WHIRLPOOL 5cb128049a38905a4aef54c69fd1dbe7c0257c5e13de7bdab4c7a0c35b0979df0d6c34706077889f9e17ccb132f0edea96405caf0d2a3861f18c57c6635a05bc
+DIST bash42-005 3424 SHA256 a81749e73004b81cfdf0fe075bec365dc1fef756ee5e3fd142821e317d1459a0 SHA512 ef7fbc3fcc8174e7dfb27fb5e977d3a52b1b4b989cd7f748b1b35ea0e581a59668f41ec030e80f2afdc8b43dfcf472fad2985da284632b9228a6fd30ba4d0556 WHIRLPOOL fe5d6d320a4f3c3bf939b3b872b4dfdeeb2ac3baaea0ee871745aed01609e9fd8bfa555711a7e0190a32736e9362fe1c65148ac8d66d10877c59913c41855856
+DIST bash42-006 1187 SHA256 c91148945a2ddafa792682d7c8668c59e7e645eae1334b15b0d5d9ad22634bd1 SHA512 018031cc0cb2078937c81bd42459b98cfe793ff7d638ed2bd2859ec1c73da6a420d649f7dd49f2367035fd08af430ba783c68417088b1e4126095ab9467c55c9 WHIRLPOOL 1471ec01a11030b31d479913a952a6b52c65fcdfbcfbc41a76f231ca9de62031bdfa1eef58e5ef1ce493eb018bb97c5a88ff1f371e2337535eb23c770f1af944
+DIST bash42-007 1394 SHA256 405826acf443dd1084f236a15cb76d7f0ee2dbe5edff45c5fb836db571fb7e95 SHA512 65cef48b77530a3b87dec1c8c3fb28f553e83f28f24d5e170022b4962472e3e0021a57051800e1ddeebdb78548a3c192c4e1fef0f6e82612321c5d1335e2f8f8 WHIRLPOOL d937f89d9ddd3695c4f8ea73b555baa3073f31331f541e27baab16fbd476192e198f52c337d25afd153cc5fe5673dcdb747482350cb3ecf962c84c09de41996b
+DIST bash42-008 2164 SHA256 23080d11a60a78941210e2477f6bca066b45db03defa60da86fd765107ba2437 SHA512 5a782a165701967dc3c34d7723d13668b9ca0c4679de0f6150f42a183425e110281d893f30fa81eae27821a6d89e8ce9d9631268d9e02bca57cb8fece0389f3d WHIRLPOOL 98e06ac0869bc789f62b9e0bdfe7cc7d5a8107bddd2c8a4646072537016afb1d97d9999fde06a85d226770ac4a59ca5c19e7e11f2f878bb72383411c9e8d1914
+DIST bash42-009 2384 SHA256 e7ed5440b4c19765786e90e4f1ded43195d38b3e4d1c4b39fcc23de9a74ccb20 SHA512 ad0b58d00f37e8626a0bb664df7e24e0f19dc637aa829ae8f92fbe02a53140a3ca7de00f620c5b53001223a002ec774e5088354b342a640666810fd57cd1ff9a WHIRLPOOL b1af4e438027f10e51112b9e6476d8b3aa14917ccba708634f7927b80adf9333bcaae0a0d91c9aecf32b491b54fac4c8e88cfd355a20d18c7cc28dc6dcc5f05f
+DIST bash42-010 1818 SHA256 acfc5482c25e6923116fcf4b4f7f6345b80f75ad7299749db4b736ad67aa43dc SHA512 66e84164be08be47b0d7c8286b7d94a4da8538316dce8f8be54702fed2a44798d5f717ae3f524ce735d071430195ce10052a264f3f458b950fe26381fe6506d0 WHIRLPOOL 5694177e891a3f4b1906819e59b2d0fefd5537da9adecbe067b1c63c1c6a54fad6ecf8a7cd9e31175ac223fd1893d79229ebbea453ead39b8dc29ce4d579bdde
+DIST bash42-011 1426 SHA256 a491ae359a7ebbd7321aede561728289d71e1fc84777f402766a8afd4d261532 SHA512 0664fe80f3da9e5e64f1f0fc227e3937db6999526f743e74cf8d6eb589add10449c505422e241f1dfa0cd1e02c03c029cc0b7459850a52cc17d9c3a8d9c26a71 WHIRLPOOL bd72e7865c1f89ee4f1b7a7393b322c7ee3e2c053c0b693f50d3de4fa965d66e182a63b4b8452891638d41cfd4d44e7ffd17843fbc1c8672320bf395946df6a5
+DIST bash42-012 4247 SHA256 354433f1d2da02f1b9652cd20a5b85bbfb5bc2aaf79c42461ebd929d89b9b7b8 SHA512 0da4822a29d26d713aa5bfae00911db2db37242ec962edc4f256c8740e345b68e23dcaa4ca8bf37eaaa9e58facde6fe87c3b20c5bad565725a178555aed49503 WHIRLPOOL 23e090f6041c85a5f0057b866200c23852b81aacb8bcfabf44ed6aca4e33eeecb7b0d17b50190b663acffd8ee79c877b4c0b408d1f3cf7b405f2e834cf64d150
+DIST bash42-013 1340 SHA256 3412c5c6cbbce6c88592604aec054d8182ce64410038b5ecea69fc3968cf85ea SHA512 25f4caed2f4eb3f65dfb052b4b9b30a02fff8a1e6d6575e2da6bc1ce02d10aeb113870916f0b74ea2cd0722f81bcf8c05f70be1af178cff3c7091151d5791de5 WHIRLPOOL 5320dfe584243fba6c6c538d5a71304d63a4dee784d87714c2d3e9a9987ea7f39113a83076c431140fb5195645c91b7e51f3ed1e32ce6652ed90ba17aeebb7e3
+DIST bash42-014 1434 SHA256 b5a678e609858532735f94faedb5fabce00dfd6577a4e9ec5eec85fe682c8b33 SHA512 ea8dbe73d40bdc0bfc1752ad6fea9503b72bf4c204a6b0d04ee898429f2b16bf9fd21f8ce25b72e87efb82769a228ace31f1624f03491383129ce7935ead97aa WHIRLPOOL 868ffa5468262939845fba686377c93f1921d3c83b1070e0b9e937c8587a6b25e4bdf8cc41d584d549b647937949b8d515426ac7adf66cb3c6600218d1826660
+DIST bash42-015 1991 SHA256 2d876a8304bdf3d664e87e0a8d73bc4ccc100a9dd8c0d054e8649472d8748a98 SHA512 dd572539a26ae5c80b1c39cce8c548b9de0ab5b5f7e711974413322cb20845690f15d985713facab71957b6988553c0a613d5fa3dee2d263bdd9a8d7a5599ea9 WHIRLPOOL 22a67c207e4f3bd1bfe059d6814b779b5d2efaafad2bdb0442ba40b0344729cfb2ff7ef17c10a970c865d9afe1c28ba9964c8cf319066b7e307668a0bdf357bc
+DIST bash42-016 1410 SHA256 2895ccbcf7fc98da73a8fa3ba7440aaf2bfaef6c0af8bdd3a9c39403cf03e2a6 SHA512 2203fd108df4e9c8c93974ce2ac10d8d7bc9b6df1db92ff88b3b394d6fa26ca13de6e308480c192907ecd658df5b4bd3b077a946127b82167c3cac431c3defa3 WHIRLPOOL 89b9dad82200501de1358d8bfffc533bd4909fb58d3d05e901576fd4cfd862474877912c3221eefe65d6c7886057f0c17d688a5cdeb649c34ae4af2ef5214104
+DIST bash42-017 1399 SHA256 73552444498c761d6073dd67ccfe043b36ef24bb418c266d91d9750884daee7f SHA512 e2b93fb5f904a0064addd2d2d20bf4f8d868120bad1486916ae0774e41ef4123cbf5b31ef64109361d091ff317cbadbd28882d6571d3014052229a14993ed933 WHIRLPOOL cece85996181372a8406fac605f720562161f66d49a57592ee9bb4c5f409edff166854164093d531343773eaa22990702fb756c6783b235006843f77db67e5ad
+DIST bash42-018 1929 SHA256 e2a9457172370d454d31b84bbcba758ee6394316dbe755374553b52aadbb494d SHA512 facbe3d258e0e7514bfe3a8c6516aaf2e405facd233e205794ffab815f850ba7385d2d18d7b3a9c000cfe254a771779c6d8829b2fee66a9d6071b1888155b5a1 WHIRLPOOL 28737af2a1a954d5a34e9fc9faff5a05754f72cfaa51a270108ce90457b2c56a7870ce3017ca05e56ef2938e2e2a601f783f64e4bbe8db304a28aff284376fc6
+DIST bash42-019 1415 SHA256 a8b7cd02207656976016d93cab48e073cb5da002ceb27b7a63fc5ea62007eb56 SHA512 f8086b8358201c10e96d9533b90a58248e26bc379be96a8a9fba88e09c227acf85cddb26c04e93043b35371c12cbf156f591c9af88b1eb61ba8acca53f6d07a1 WHIRLPOOL 0c825c577ffcdb1102f3f9cfb69f6a92ebf73781c0170ff0788090ddfde0d7fb5f3534d06532b4f86b5b8cab7f6c07e30dee4e8f2cbc40bf11a0dd69addf6974
+DIST bash42-020 1825 SHA256 494773f0d0078cb35372d24caa523b00d8fdbbaed71e41dc14c9e47579da3c6f SHA512 23549c7a56e43f9aff7ebc376657ff498d07b47ebbfe6707ba3711e095fd80ca86d077c5379ee62c86711880979debd7b60733d83e12f349ced9e93860d8fc8c WHIRLPOOL 3f4aea688452e778ba440bbccfd0a4e76735ec7b7b3916d5896fcfdc3c4aeafce4c52c4cd21282915b21d12cfc03c170535d2bee86232f90ded87f2731f9cc07
+DIST bash42-021 1532 SHA256 a887a97be226575ecf483be2c76655bd6d1edde1cdfe199c27bd2e6baf32badc SHA512 09783ce72651af6abffebdfb3d3e7446b29ac4bfd395aeec66ef1f5c8a2bdc2238957b7e6f4e896178a5e4e24987de209e6776f29330879c0d8e14e8495d8284 WHIRLPOOL 821d16cfec3cabb2b48a6d46518993d47abd71d1ddcea90301d5f8a7b203c6e224031b344d543ebce2f534e14469b03079d09caa26cf4af4de6006bd477b4a61
+DIST bash42-022 1395 SHA256 9dcdf69df7f8cd2ba88d18c45a0d8f55fbe4f0e273411179db94dd6198b85c6b SHA512 ab6f3f175581f34dc106176fbbf5c2d19e9f421e16f328cffe98f11ee01462b63e0f1e720ec467780d91eb240a4a7fd4fd1cfdf6e0cb1293a8e42e8a4805c152 WHIRLPOOL 80eb65f4cf97167983ead281acb6a114cd866e22a8715b7106c342a442c942992916bd9918931422ee0ddc993762d86a21537724adb7fe4f3543f7fa7b2bf666
+DIST bash42-023 1699 SHA256 5dc11394f1a6c887373c081396efd4f4cc04492696722c57a4811c207965f0bf SHA512 b9d7044800a988dac8c59c48bd4845d3197d6ba965d22fb8f62b51b9d48f5a55519104a16283fb638264a6f858a6d574f8547d75721b96da640721bbdf097d81 WHIRLPOOL 7dee6a8915675019396d0003bd870315a44268c8af1015b29da802cd744fa340a7303d26d189b5a7a162a58f5931ee268a8e8129349b9bf3fa899720b0b119dc
+DIST bash42-024 1363 SHA256 99c826bdd33bee281d0a9191550d62a24d0b256cd41c90afd10abd63a66b99e6 SHA512 b4964ff258905cef806add58eadda17501e98bb3b3b5c8ce8ee0a9250e5bdf0a01329e1bfa973204b1c8e5da8fd068bcef624ec65c2f401c41d0b6b55cb2ba76 WHIRLPOOL c5c615b6d14ec8069b0990be04aa5e4c4ce3d41e910186e041c6ece46311c1591d327598981130c98a2a54144ff0efecfdaad9f6540173c4b0deb7927c70f736
+DIST bash42-025 3969 SHA256 0db0646fd7a559d5702911192bdd387acbbc61cf3c29a34007c3ec840e275515 SHA512 b4b80ef1a7599506454a912e2ee23f422bd199a675199b926c3770ba9091fb69583ddde84e67d897c79e6a047ebecbd18a5ee72557e7526c4108476eb5cff71b WHIRLPOOL c97157bec29f43d3d1367dc3a1625f51cd650646feecf8efc4b902175898c8cd90b7f403a7fb8798cde8232e770933de2e0bfef4f8fc0bd8a3e2bd24ae6fc8d4
+DIST bash42-026 1577 SHA256 e7e90cfaabbce3b4b9c699994e9d9ea4a2f084fd9f37788a80b0b70b47d323d2 SHA512 b00200d0b9040c74117e0150c589abb9e511abb01888c485eac770ab61c234669aeae3957a6752ab99c378ffd8188154bbec713c608b92cd3185a649b71615bf WHIRLPOOL c6851fde44599df98bb1c46bce45fadba204cbf7c368b8c5234ef992d24a2dc43fb107dbc36245ba4d48edda3cdc5c5f6c357c1fc2492ec4c66a36ffc8d97b3f
+DIST bash42-027 1461 SHA256 0c1f6b7256fcc17f42c05f9bbb4138f8e8bb67e79c622c3485711b6f37f7ed42 SHA512 107e13482deb9f6355196b2be9b717090aaffd8cf1580ab347bf38600e607c31cef5173b68e426a45d1678c7c64e7e095d5b6da941a5f53218919a0629e2fcfe WHIRLPOOL b4771a0bb540aa3f196400e4873c565a293ea656831a600d233755b3bc8bddce3d881b39a6f52a57b8ce5f622e9031a624f182a192de7e546b11f999f41a1294
+DIST bash42-028 1834 SHA256 204226de39ba81aaf3dd5a29cd59de052ec9f648538bb9e7f1c8150852b1ed7a SHA512 6e6ad04e7cff2d65045a9afb617c041b571b6c8cc728f9994825545b7d43c0c7868c68b22546784a6f604d3e0ec22b7bf0423e9d49b7109fefdc5d3db4b31399 WHIRLPOOL b13fa3ffaf6a38766743d2760493f58a4787aa7a244038e2fdf266270443d678cdc7aa6205be48665d2455e031f346d2d9095776f2aa879d70857e3132136aa0
+DIST bash42-029 16812 SHA256 d0b08c0817bc5acdb28b466727622a8422ca4d61188313cf162443b7f338f581 SHA512 9349625892201cb46f3669c18a38c86d609c1c9521fb8caecd6880df822897c6d2541dc0cf5d3d11d27779a3be636b0c6550b7e3b010d37e83804fd1ab27d35c WHIRLPOOL 045d8bec5da9508863fe93843cdacbb9fb2ca56e048d1a5bbfa305742688a9476568441633b9dec27a6e9bc56501d96a798714bcc1f9079de6c57d6bd3281cce
+DIST bash42-030 5046 SHA256 12594366591a136d8ccdcb8e218010f2ddab6be28a7f96d0ed32ca927e44afae SHA512 4643252a45b7fe84451c0bea95bd0089a1685067032c8a2e42bc78587deef5b6095de77500d1c54227f92940b201d193984852f65ef886237dd435617639a46a WHIRLPOOL 26c5209c8a29d6c12f61beadbf91d49707d090213d82b44da0aebde28f6ef0d26e256eabb89ef343c24e941a837a6bf57538ca6dc10227dca69536a67bb0f8a6
+DIST bash42-031 2047 SHA256 55f38c4d34775fbb063510c4222b195d998dd86f88288b64a6103e3812f8d9f9 SHA512 de0ea5c279ac956aca48f12e2962dcd4ae2f653349bf2350ae7b53e8370aaf882109fcb29bf559cd81512362bf31a100193de6bf193ff52331e8325df2f82e91 WHIRLPOOL 2dc6e5197beb2204b15493de41c041ef8df948d656d06e18cbaead2ece15d508980306ea7fbb02a1b926bdc92f6e09d182586b07c51fc93716c7c438e2dcbe63
+DIST bash42-032 2416 SHA256 e3a8b563dbb1e5cb7ca85a53515da8b2941213973496d48c4cc5a11c604791ed SHA512 ed35285989290c10f5013770397aa14897e63a28f5ae5a61319ea5881b0abd84410686288cf0f14dd9486d8fd623c410f857b48fbdb62350121e3596527dd3bf WHIRLPOOL f1d156a6b8d68eb71eae54c33aac8c6d24b09bc7ba07e856a71e39ba0f4e4ea7e1a4084d710f4239f7002af2ec73ca8953e81827d4f782ee0fe88406ace86311
+DIST bash42-033 1634 SHA256 f5d12790d69fdfb2f47ac86fa1ea1ecc088880141570273f38dfd3fa4a46434b SHA512 89e277e5a2f43fe75678c0dab57cd7c8761efa38f5902ed0b311ef6a0cdf48f683d3f28fd419908db43afdaf4f81d831f0fd630795f4d20b317543cb9ab95970 WHIRLPOOL 188eb57de7957a73c587904701a16dfa6043e785f47d685b6c4823729806080bb0a11b9c3409b4df69769c3f31ea00306ab42daa73dcfefe37c85ded518b6162
+DIST bash42-034 1345 SHA256 01c1f332101389cedf347c7736102966722a3b213900954e5d625bbc2f1e41b8 SHA512 d59a4a67a241d262de5fb27b96af0f15b0f6e7e922b2d61ea86e037dcd07ea77ec3c1ef6b289e5bbccd011b632538f264bb6426c3a07dba1946c094be56e0b16 WHIRLPOOL e2a2310a55db78a4d668235a4a70d266c28108ac4a04b50864704f7ba745d3e1cf080cf34544b426c1a2d6067adedc32d7491163f0ef5d09df3d51c99451b5cf
+DIST bash42-035 1920 SHA256 cecde463b038b4849635ff0993d9b264fc92403e7ae0accb52c7877aeaed78df SHA512 9f294177e91600f65cfee1b9dbf59b3ad7db449a99cc1013b7c97ef6c814b51afa7a2d2516a37fcc110ff3f0b25c4b06e42094f4665e03e41650bfa69c15eaf7 WHIRLPOOL e8806743da1f16375ffd29fb7c9ae78d8966d6f7faa833025e57fb59bd290a2afdf94777e9ac51917f378312fc8ce05d72ee14525352412c5826e8a2a9909fed
+DIST bash42-036 3123 SHA256 fe293a1bc92ac4d272ae9b9a0de3afef7c06145a2b52337a09cacccc5305aafa SHA512 7e114b99d8f5b210b826715c77adfdbb115e86ace35f7ff331fc6f595a4d0f689a055ccf7adfbafc057c7549f5597e4de455ab9e18a6ffeb5b4fd1d3a2aab99c WHIRLPOOL 6f4e9e9e8251b5a703bad2202301edb45546d94f452669ef681786ff5882269b70791456c7c2040731b5b7cff27c4028823592a61d46204a1271218f7e6c7b8c
+DIST bash42-037 3483 SHA256 c7578cddd3bb2430689c740f58a03403800726dcd1268b28f91bf37f368e1674 SHA512 4466990dc3499ccde5940ddfb383052fa345d4e53fff7c8963ac7482fa280658b4516a1583486175cab2f3a5c8afbbedda8461e3cb1802031bce8db386404608 WHIRLPOOL 918dd53aea5ba7c5da2b6ef3325289d80d5c9e01aa57bd5bf9b9e6a22302865929a670ed7b20a5916237e2078aa69223c681e00c79c5db40dcf4d9ffa455b603
+DIST bash42-038 1290 SHA256 b8c9a81bdf206be58ba491dfad80373b3348af769e80aaf72f7611ddbbbe6d57 SHA512 f835bb393153310fa2e4c2d95a98c0db53a97075f8989d61cccb095db223495777e413b21e9b235391a4a0f34d935a828ff5ccf337520d5dc87d380170efb351 WHIRLPOOL 3625b8a1e17e2ec7925027b6e048262126366ec2691e7a2bdfd23f8da2eefcea6ce967382067c8d6969d1a9cc641ffcd05ab71a713a61762c43d77df01082b8a
+DIST bash42-039 1603 SHA256 f4f9300a60321a5088ae9e54052a64c4d3e876f9a3a17ca104d58fa38b9c1791 SHA512 4c5e44a623840c7efe7894f313a5691307b12aea325dbc923b48deb6ee6ac0bb2ff7afb0d2ee12ab97b04d60c1b9e2a4facc51b66c93be9fe0beda317ec7318f WHIRLPOOL e863174def546d9e9cbcdf5cfa1f735a1503a7caa10ab25a017add965cde524412e37c7fdc43ee80b6dd23676f2231093df64de1d1f41aa823e6cf5c79136531
+DIST bash42-040 1710 SHA256 b265f9caf3c7321f95bc8e0b9e2c46bd86c226f00f05e823699aafb83c4aaa6c SHA512 ff5cfdd2aa846f0831a1f2f7b477e70fc6b68b6c4f4785293c417039a7f3fd4822ade4658ea17046ab9616c3fed02b463e6a3e60aeb7daf6ab667da14b9a482e WHIRLPOOL 7b4672ee3112be3919cef4a30e730daa534ee61c2b5a8e48cef799bf5e17a9bbf58dfbb96626f6edcdad595c92bec0dfc9b5f41a9785c20af7cf3e829553fe65
+DIST bash42-041 1463 SHA256 05cc1951bd9f6624088dd6067486ff47f1825e333273d7df5f1b06b23baaf5eb SHA512 7c9c12fc77bb764dbe8061e6df9419ab84d296a76c4a8bd96cf0f507bf70652a1c869162ac8d8c36f2d16ea0912a142fe14d6db45636bcb6e6fdf1444f0672a6 WHIRLPOOL bfcc374321554787373bac3d1cf22e2cdf4064a0ece447bda2426b90bd55c09f7d2ea2491bbdf2e03c2152783e45bccc98797fb4f12e4fe8095543ddb51f0457
+DIST bash42-042 1571 SHA256 faaa5c1f456517b258b2a65eaa664dd6a01eeff73c8ca4447c3a6de371bbf304 SHA512 99fd4f5f70e3d7d2e8dc1dac80e6ee6e0bb9ba1f629f41019b13f36aba2404aa4d786049bb0039e5fee138a01b813d295d4303c7c3d561a3cf565ffa19bb081e WHIRLPOOL 944cf532a9cdc42dcda55f3b2af96337d31596bcb39e83fb3e223bc3aeb1a45696dfc69e60ef0a68fd0c133728d9d23a037d633d9a267b09f51954ba7693e262
+DIST bash42-043 2110 SHA256 dc2683840f3e890a9c5f85338366ff6cd923285e558eb46aa818a03fa67c5c57 SHA512 70503181c392faf565ef0b23a2f6d1614836ffb9c04791cc4bfb31aff7786fd5efab4072034a4cfba0035595140cf7f9461b1565e4854ec34823cbd4f5ab419d WHIRLPOOL e988a962aac3ed9cd1f105cc5c9a477aaa52defdb049be8d9cd37da40177664507c06550193855cddea3b0a9fea3a04ec027ad14eea845317ee67e1b89697076
+DIST bash42-044 1871 SHA256 10d32d6c9ccdedb1d826f46468631d475f9dcf983fac087766e16df7b99766e6 SHA512 e94cf93c5760225d4ac16f9c73078c3ce9913ffe1e20ffed8fa31084a0efd3dd63762b5437221f6b570078667e3ec19d882169ffe0ba4c498e258e56f17d2511 WHIRLPOOL 23e3fd1ed1a708eead2ce463c0e5acd720accbe9727462b7fd3916b14b8eabf2339c1f7b1dc973249e075bff4fa566753ae43c540ce3ddc84b5cdd72814d568d
+DIST bash42-045 1572 SHA256 ddb7eff0f59d394a483b09feec3771d9026f81ba90afac32846a19b172b2986d SHA512 64f62b19c79eb2c581feda2b9f3c36196b3a794ee9996f6d72078fbb0b8c5878aa2d8ff3e2698cf9769e42083704dd9342bb108212d02aeb79875fad70895560 WHIRLPOOL 02fa25cf02c831675a78a5625e0ba5606b52eb9f3dbdf546cd62983d83cea7fd159b535df94b3c8d39907a7739de7459b69cde3583f28d952a54b384122d264e
+DIST bash42-046 1988 SHA256 95c1323b68c0ecc0ca09565ef2d5218625ced3957b702e04c8bcaad9e7b3816d SHA512 7e4a9d3961cb8bf8559f82684cb75fe8600a377522f582e1a9537696ceccab32d15d1045f850ea91ea8bd2cf286d79412bb47460af26bec8486d5f3137f5d54f WHIRLPOOL 68d83498307dec79bea516c7e7b03dfdff10116a716922c780c66d9017abb38cf6b32f17674490fed93b2701d8271f71f4aaeab6712b184fe4d880b818fab988
+DIST bash42-047 1353 SHA256 c1979201d0345011c419a1c82407cd2a00c60a0c75b7f07e145d17f3718daf7a SHA512 0b43eefcc0ef3a55e309dff339db31a07849ce794e645d917f1836f48c71b84bdc50aa3315b3b2e33acef2e6e81a07f2a026cb43381d0f809c8271cc0a0699a0 WHIRLPOOL 5b2a3000dd72b4cd34f74ffcfe160fe891c8e55766913260207cdad0ed205843398ca9a261f41ef5d54c76782ae291809be0b78c3bb960ea84bb0676cdc6e263
+DIST bash42-048 3258 SHA256 751a5d2330b21ac9aba7323acbbc91c948285f30a4bb41f56796f9a36b983d24 SHA512 4218377052da8900ab6d49b855ae6f7779ad94e9e76daf3424240fbbb1bab37b929989b976ecc3ccbfb66f3c278a7ba546e5d34b214382b41767991945d960b4 WHIRLPOOL 16da3dfb42b1cbb50841e381428135a9d0439d30c519725bd52bf55093c618b7ca8983b4638749dc87d5893a20b4cc5546c1ef5141f62d78fad8ccd5b4261fe7
+DIST bash42-049 1159 SHA256 901cd74cdd9f3e9bb5cc907d563e3d4dcdf9d5f6a751e85b706a958f51bc510e SHA512 a0472af2c3bb30fb3ebf0217b34261aa586314a05fc19c959b4931dcd064e0a6a8b4e37f8b4a9dd13d8fff38822e32e12fb28f4fcb73b0f6dcf42827fa5aba05 WHIRLPOOL a34df0a257a3db06b887abbda2afa823b471e1ba705318822e98d4740ce41fe906edf2d91602bcbbf97f1202067086b33217824af7cf8f2f71c58fb4d6fd65eb
+DIST bash42-050 6650 SHA256 1a19b84455e83b46fcaa27759a5dd643dde2e11ceacd1e84e351970ea04d8ba6 SHA512 317a5f90d909a5db697025894b50f35f26f8293b3ce1ad9b8e9dc6d0661f277659c8cc0a70a113d3889b2de6e932e5af5ba89a427f32879c69d4e3db24e6a2a8 WHIRLPOOL 2d77d23cd0e2baa59f8024e3e09f9db48f0ab999157d9c6911c4893abcf6a3e320f8f1614049ebf2b7b9ff5da57041ef1fd1b873746a940cf720ca947ad75d43
+DIST bash42-051 5063 SHA256 3e15347bc23a116b8ee898acec9d0ac744612ce9bbc0096fff47c4cf1149051c SHA512 de9d35fae23b9c7782139b9812460a602252675a9db556d7e38e8c15ae914db0e4a1f2e06db909e249a36f33ca1f04aed25fc8e036d9b1fc6ab58d8148524e2a WHIRLPOOL 8a61a34206d97e087a298dabe5b6347eaf22e846bdfebedfed1c534063e7b78f9e2a6a68de330f6069aeb736444ec50bcad105c683ecefc64f288abbe8a44b96
+DIST bash42-052 1810 SHA256 f098fa7148f76c80ec82c704a1aab6ae246960a7ce05624ecc8844fa1561dc0c SHA512 94654d078a58a7acdea99c955315f9537575c7965514eeb19d5af9a18973042338500a72e917094ebda60fee1016cac8328f37e1bc011f2b485f167cba2aabdf WHIRLPOOL 9cc299e57c9039ec0d34cfa0031fc89f9a59aca394389b807bfc193bb29ef8b9dc7aec8a0f8a4349bb0b0dab2bbca76a7bc154566188164528e5d05067ee08fe
+DIST bash42-053 3859 SHA256 20e693d7543885c8da78db873782e56206f522d27da2c953103f23b950ffd3de SHA512 241dcc2d3b944d0f136ca5f2564dbf3593491664c5bc18d5643d9861f273ca18dfa92da2f98e2c8d62e770b7450ffc27b82260fd50974708cddc4c26604942e3 WHIRLPOOL 78683a3107521a2dd76b98f8412d96eed69b6402f111f6ecca2bd91b2cb753eb22a7bce302f9618d7a99010e8022259387350258a463e78865f5f9ecdea71cb7
+DIST bash43-001 1617 SHA256 ecb3dff2648667513e31554b3ad054ccd89fce38e33367c9459ac3a285153742 SHA512 a1011392652180a28f9837af4a341a80beb929c1458e2384e282f0007713c5fe8d0b315abf1340b3707748d3caed322135dee87b59eeb7612ee5130f87d79888 WHIRLPOOL 94d34b6ae2496b4007bf9b3af69847828179dfa90528d7fc2f9a91facc451535e2fa46120cc3ea22156974c92f2633f91423f2d43b4733f8960cde69dfff81b9
+DIST bash43-002 1594 SHA256 eee7cd7062ab29a9e4f02924d9c367264dcb8b162703f74ff6eb8f175a91502b SHA512 e3178c85f553522d5d1c5fd39e76f015b680a8ccc84836a5e10283b2aed6e5b7cc3d23af0e67a270b7622dce0abf35dd8a95afa9bb6f89b73a9439f7435175a4 WHIRLPOOL 2d1b6679a1263f7a4325b692c3edac9f5daaa72e3f06dfa88958e70ad64c1fc74b92d8325becfff2c21dd28c002470bdaad50f57037c2676352078291bf0b0bc
+DIST bash43-003 1465 SHA256 000e6eac50cd9053ce0630db01239dcdead04a2c2c351c47e2b51dac1ac1087d SHA512 dc2c5fad8d357d1301e419afd959dfaf015a63172857080c11f77ab1bb7d1d737f411eb0e70a861f98a36bed1b19edb7217a4fa9f4773e21706b62dc56ec3464 WHIRLPOOL 1ef78321cfe3ca6e9f690ae3dd6a7c06bc72d2e6590bfdaa8543b0ac3ff84eae998e4a2aa44531423cab1137c974b09ac30baf5fa2746e2e5a2006cde03a2b32
+DIST bash43-004 1534 SHA256 5ea0a42c6506720d26e6d3c5c358e9a0d49f6f189d69a8ed34d5935964821338 SHA512 6a5177d5f4205ca9d3824601052dc6d0cd768638cdfc125501c5643dd51d537f5d075cbd11a10356caf4205e47a0287c72636065789ecce264129fc92fbda420 WHIRLPOOL 90c2f4f7752cf84a67b1f648137b6c25b8a6f5212fc5dde26d6f0fb6f316e923bec916368ba9ebc6b608bfa0fd82f86b6ac7ec6db32d06b83c3d22730788cfa1
+DIST bash43-005 2636 SHA256 1ac83044032b9f5f11aeca8a344ae3c524ec2156185d3adbb8ad3e7a165aa3fa SHA512 e201aa8ef0ce0d74fa5ee42e8171bbb5ba633d831d863a8e8afc5d5157581bb055d16c52b316cc945979a852b0eae7921244a24b89818acfb7c96572ed04d1f8 WHIRLPOOL fd4c6b03fb8b4344cc3833beb0310738af9826c56d2b0cf7c5262f3d2a99e83f700485dafe0e726e84a2dffcb1b907efcc860a685160ff22c99e40c8a2b659b0
+DIST bash43-006 1445 SHA256 a0648ee72d15e4a90c8b77a5c6b19f8d89e28c1bc881657d22fe26825f040213 SHA512 d1da3c9d3781482d87cdcbfd69ab3958ed4950f2a00e9d15228ecb4ad5ca8ae253eff378010b4908d04df2ecf658e08f7c2efc97d6a0b8dd2317552c1895d7b2 WHIRLPOOL 55e3c5e7be01f5928247a7677482dde1f0c89a0344ca23c947e9f84bf93d43ce1d7f621b39d74e09f0dd2de85ef304c5d34e68eb0af35cdf61c611e649dcbf68
+DIST bash43-007 1331 SHA256 1113e321c59cf6a8648a36245bbe4217cf8acf948d71e67886dad7d486f8f3a3 SHA512 c445b5cdd486d06991c78d4c88e2e44e49f74d1fc07b8e4bc9492cccfc4ff4045587bed6b24d745974c6339340e45b9756c27723fdb79e7591e7d6c5d350a86e WHIRLPOOL 0537006403347466536de5843d62725be75b6f5b4e6d9228c9f5671201de6a473ba04d8fcfa29894584b51f3ee35718bb46c2acc5c014713e03ee24828f10d43
+DIST bash43-008 4575 SHA256 9941a98a4987192cc5ce3d45afe879983cad2f0bec96d441a4edd9033767f95e SHA512 53bae88cd3341a4ef8c60d6a294c09402103d1b20f485cf85775e6730a3d2eec8e6ebe15aa6dd95336e4a1f540f21db394823b9d04b416e5af071a7a6c618900 WHIRLPOOL 94a3e9f004729490f70cb3a33de0605fc11f498b6bde2dc37bc08578283e47a3b625619de9d823b2796ce6fbd4982871fa2d428e94c892c863fc448ef2711482
+DIST bash43-009 2413 SHA256 c0226d6728946b2f53cdebf090bcd1c01627f01fee03295768605caa80bb40a5 SHA512 8d06fe612cd32cb414fdcdc34d4420b8991b268dd3ddd2dd47b3d01679954debd78e21f697a7f495d2340f0dcc8acdc3ad6809b8870bf5fd300afb1439788776 WHIRLPOOL 66e13efba99362a361e9e7d317773d51862f4c474f5c213654eba875a86b6d83b531b246bbd22c53e8a81fa7b67cb564c2de264ce28063967426fcf586ddda4d
+DIST bash43-010 5357 SHA256 ce05799c0137314c70c7b6ea0477c90e1ac1d52e113344be8e32fa5a55c9f0b7 SHA512 e36e550d749f52bab01256ed5f8f1b48fe53190c1a0a0a15c545328261c1f50b85f574b44188855858de1f2d045945770c4940bdecadd8381ea2cf174bde2fee WHIRLPOOL 830e7c82afd2650cbb00818928d22be0e0518aec2752736ff7a5085c5628bc8852c6c409f21684beec0c675d79898917efafb3f8dc1bc6bfcea41e1a8521d4fb
+DIST bash43-011 1533 SHA256 7c63402cdbc004a210f6c1c527b63b13d8bb9ec9c5a43d5c464a9010ff6f7f3b SHA512 678bbcd92b927c86631cd42d6d3ab7596a3ffd20b640f471a9783a7972f05d2d4fb15970c12e7645e90d407c5a2d2aadcad698113211724b0ef8d89eccd2cd66 WHIRLPOOL 1d0b84ff75d19db1bfbd60b37551978825902be2187b6407471a8810ebeb9136b2846e6c76505fec0c828a3e83ba8d4dd0950c5e6020b649da7ae530f7d5bf05
+DIST bash43-012 1365 SHA256 3e1379030b35fbcf314e9e7954538cf4b43be1507142b29efae39eef997b8c12 SHA512 169453248edb55baf761b0c9c7b296ed2c24543b80fcf4756b8dd398054b6317da285c5e9cd68828f2620b05874f21a08773844ee32416daef76b88d0ef3ee6d WHIRLPOOL 52b6c6d6c374b307ac562c1dfda730dc3ba322d3d6e9c7acb3f2a40461bb61ad5cb54dd65e2e4b72e492b55b436c323cae95ed63948df3b06bcd64a3487b3374
+DIST bash43-013 2151 SHA256 bfa8ca5336ab1f5ef988434a4bdedf71604aa8a3659636afa2ce7c7446c42c79 SHA512 536bbf0c9b23eb824579955e7fce892cfc1e1d9fbcfc66810353ac4ff238e9e57361c0a46b3f3573ca8ca563331070ce55442ffea38e2a632840b6a318db1c88 WHIRLPOOL 15fe2e97ac2a07a1d4c0f9946adc63e64b9141a3837391206fd5c934853f7e9ad9ede3baeecdd7a0dbb73e2bf007db8a5b57f0f8e2d03d693de09502dff32636
+DIST bash43-014 3533 SHA256 5a4d6fa2365b6eb725a9d4966248b5edf7630a4aeb3fa8d526b877972658ac13 SHA512 79fb50f62dbdca5e45a1359570e6d2173d442b3d4ddd4eb44809ed45ac022de4fe3f0aadd7672b4c8d9739405d51762486ee0c677b56f9c7d60e6224be84b87a WHIRLPOOL 10b6a2b7a7e5e6dfb3dd730b9ccc2ce3152bda1983a78745aa7367e9f5671695577d45070ad800158a36ffeb7db176e29f6b48d139075770ec773a478adfa1b2
+DIST bash43-015 1894 SHA256 13293e8a24e003a44d7fe928c6b1e07b444511bed2d9406407e006df28355e8d SHA512 38a7af22f13f1f45705ceadf3abb52be75f3239959c2b1d57f333d137f25f14ed92c4d209b35417d449b1ec4291bbd984bb5fd11ad40375b22d2668b33fb8efb WHIRLPOOL c06aa4977f891ec606f107157a0295d5025fbd24a620644547ee3f3a79582aae1ea4cd4be4254f92c6d2aee9322934839f01cc118148cea85af700e6f83c21cc
+DIST bash43-016 3674 SHA256 92d60bcf49f61bd7f1ccb9602bead6f2c9946d79dea0e5ec0589bb3bfa5e0773 SHA512 52ab2966ccd42554c8bd76041e07921388220b46c93c34190197cdda38a085fd499d71e2e0a10daea130e6782ada556f35b1a37d06d023e83c4c4d665d07cd3f WHIRLPOOL 9b7eb252291680d5db2596700774fddcab7e5c6c14ed5b1da7f8e23e1eaae85a927cf69d7662807b99c63fa083d2267f7e70076d4d4927a8bd4cb9273c416b4c
+DIST bash43-017 1565 SHA256 1267c25c6b5ba57042a7bb6c569a6de02ffd0d29530489a16666c3b8a23e7780 SHA512 88b11f324a780823b459b1e8a0904348c56079b4103cb86025d34dbba02543b0b7fbc2397bf043c24c1363f30539a6fe9b9f9fc717be9798f466071d1d420bb9 WHIRLPOOL 1aa1160771b98d393a2fb341e9025c2169aa43123f682bbe7648038e555b4f70eb1dbdba90492edb514c9621468f5005c2cf5fff82921e941ad3ca42534e7b1d
+DIST bash43-018 1315 SHA256 7aa8b40a9e973931719d8cc72284a8fb3292b71b522db57a5a79052f021a3d58 SHA512 f83d8e1d6d8fa8adf1715b8d4130730a13f5cd626f75e9e4b8c63244645a45a3f1fbac03081bb9d1e46864919d1b3189a9bb6d7a5e7a8854e6270ab3269c771f WHIRLPOOL 14a216257c3d1d3501dfc23d72ad8c085a216cdac83d5d909922d51b502ce83fb454c7e64a8d44e91a87a1a09237d965272fb563ae945c5d81688e9f0686264e
+DIST bash43-019 2610 SHA256 a7a91475228015d676cafa86d2d7aa9c5d2139aa51485b6bbdebfdfbcf0d2d23 SHA512 77e6dac3079d9282f6f85940a762b0da2473ac0d35e9bad2ebc2862bf0f3c4376a6220c746c1c37de0b4d492251ec9531a62c8a042a1be5e485f8f5ae6fa0704 WHIRLPOOL 5acde269ea62e2074ca5eb30750dbd67512b69658908f532165a90873f54de7705b0d41515ac6278e942f8ea66e0abe67c13b842e404a41cd7684ec0683928ef
+DIST bash43-020 2777 SHA256 ca5e86d87f178128641fe91f2f094875b8c1eb2de9e0d2e9154f5d5cc0336c98 SHA512 fa06563eb46609115750ffa88098b07c608cc8b13fc31356f33e1428a4da4d2610e122e0241356afcfadfecc5ccee5db4b7cf07f74005e7f30240ada4a81b5f7 WHIRLPOOL 9f05ce5028f20e7cbc11c1995d99a47274f782f228faa752919e0444afe1df748adb7837c0a3affa20633c63ad0175780327b9a02a39f5ada494736f0fd694dd
+DIST bash43-021 1623 SHA256 41439f06883e6bd11c591d9d5e9ae08afbc2abd4b935e1d244b08100076520a9 SHA512 90dc85302d9bc60e68fa8cce472b7e022d8a6ccee361f97aad4cbe5f1585b4870ab9997a3e6fac420aaf84c3dce9757716eb08f4fa6b38e14bac4f2d5d503731 WHIRLPOOL e7930992f6e2a1f5a07458eee74ed118fe93152ceb78fbdb41a4a3d799c5f9aa71fac52bc3cd43c321b983c5a4309e9884d37cac1facb54a2f38383527c8e765
+DIST bash43-022 1782 SHA256 fd4d47bb95c65863f634c4706c65e1e3bae4ee8460c72045c0a0618689061a88 SHA512 721b772349f9e0cc65975e419fabe4acdb23c77796a5d8fde01f110687ea1cb7d23fb706fc0452fb3c2082958a81c95b82f277e1f8f722b1156913efd59afc30 WHIRLPOOL 7387429460d85bffb9f7ce9cbd524f4b2c21b116beff30424db2cb66d48ec81707c7cb9479d5d72bcf36879248963a405dcdf87515fc0f5b6642568d9d236df2
+DIST bash43-023 3414 SHA256 9ac250c7397a8f53dbc84dfe790d2a418fbf1fe090bcece39b4a5c84a2d300d4 SHA512 d45b5f5dc4682c7260c8b6ef6faa99c929d2159cc34534931790f71f76e7324376e4a5d4a2a3bc21c16c25a8206554580943e7a3f672ec5a4af16cbccd216819 WHIRLPOOL 4cee4cdbe8525aff748a42a19d1d7cbc659cc8fe99b0bca3b2875ddfe5b8325f504cfdf09fb6edc70b1040f00eae3a4ab5fcda64cfa93ce96ce1e8d8c902b78f
+DIST bash43-024 1909 SHA256 3b505882a0a6090667d75824fc919524cd44cc3bd89dd08b7c4e622d3f960f6c SHA512 eada2b4839b81f28f63a874e08c72dfee9708c0982d2447347c17770a29c8fbb3d3f8c58c8a22b0d46a9d10abbd79dec11b5815257fb39af06420ef3602f8499 WHIRLPOOL 06059921dccb590aa7847ff5212bcb3e6a177aa96749eb19012d633ebf86badb83aad3b75ba8b304c620380d08395c0e37da4e2934a833ef1c0e1daf0f42ca72
+DIST bash43-025 3940 SHA256 1e5186f5c4a619bb134a1177d9e9de879f3bb85d9c5726832b03a762a2499251 SHA512 b4ea28ea0a24c8609d5c3a10114c5fec87ab978ec60700c36992d093e7afd976dbaee4a0d62c6e41e8ed6674c356fc26589f4c5168642dec8df8d727d7127822 WHIRLPOOL b3385e49dfbbf156bea9ebbd10f18dcb88c1d489c61c5bd6c16d1caac8a2ebf1ce057ec350d661ebd0307330a61f8c1088bef1cb133368919ccd0b5e81c3e7e3
+DIST bash43-026 1575 SHA256 2ecc12201b3ba4273b63af4e9aad2305168cf9babf6d11152796db08724c214d SHA512 d55620c86ab4835eaf53c18033a939e00ebbef7045d1429bd6fb212be6da167c368b4c03aec6c00ba60a1363b9cf8a4828e85c8108c5476b4a342e6c57f03897 WHIRLPOOL 3c21e3b21f1967d85b49386c05945859ee0fab2bbe0062052319876bbe3283bf3a7b50a9e160e36e9ee96fbe79ac13c90d86ffb4157ef0cb0641acd9dafb917e
+DIST bash43-027 6889 SHA256 1eb76ad28561d27f7403ff3c76a36e932928a4b58a01b868d663c165f076dabe SHA512 6941156db9a6ab35b2d6ddc63eec064e03da779e29f47e33b467711e3405c9adb58ad33be3ad3c77aea1e84a314d5404c8e1a8475408991f5f719b93c5a276b3 WHIRLPOOL 241a77807f142765fac71490987bd62a93bbd57c6ad2f83fbc645bf0618286fbfc3cd269eadf99e7f973a9e88ac08c5065868f8ad38727c17bb6056cedc83888
+DIST bash43-028 69606 SHA256 e8b0dbed4724fa7b9bd8ff77d12c7f03da0fbfc5f8251ef5cb8511eb082b469d SHA512 4317380539e3a93167f195eddd0acf0c75a5d86d5ef243cb7f7dca43e745badc3ebbc081b099678ac17dc03d9a3ed4a3ff3c6636bb1887e73e94b8ff9ced7c88 WHIRLPOOL f01e8fe2c09a7bdefacd7114cc8377f7ccd65de6c3bafac05595f1400f330ba0ba63ce97fe7b9b49957639c75438bb5ceb853890094cb0c4e43fadc1795b89b6
+DIST bash43-029 1824 SHA256 4cc4a397fe6bc63ecb97d030a4e44258ef2d4e076d0e90c77782968cc43d6292 SHA512 e25783c7557c1cda8344ba779d59f83e26b90b0aca393b5f7ee389e0583ccf81eba394589e992b33eb6c969083a8a4ff7fc8ce52059cab3b71289d085d381f07 WHIRLPOOL 857275184a8a449461b5aebba12d8231e1e33a2119693fa2c865ead18d4c462dea8151cfc3e0d121c2e5569d9984856ba69820aaa54399ddc77bb849ea9de890
+DIST bash43-030 63206 SHA256 85434f8a2f379d0c49a3ff6d9ffa12c8b157188dd739e556d638217d2a58385b SHA512 ae41a9a5326ceb8e7105e359be097e14876160f6357bfa7c5cd3c4a495a629be762c3db671754c2cffc6abb34998aad91dde4a449ba16a0c6da844bac53feca4 WHIRLPOOL 2184fa715fb90de89f18ba2b27dca612b684a85e9228d58ccf2d62a96a2e575929b3e1a47fbb5809e4c231a6657084be4a076271cfdd5b8b7dde493f2cb40a01
+DIST bash43-031 3689 SHA256 cd529f59dd0f2fdd49d619fe34691da6f0affedf87cc37cd460a9f3fe812a61d SHA512 3178b4ab48860ed284bb64ac9b36b6d4d1681c0d4bc37ceeb93e73c9dd140bd0a71e86a86ae595aab43babedae79d75a4b11c57e6ad6800f43ab5f7647f6c4c9 WHIRLPOOL 1e21f10a8ade1317e6672fc76e7b0e988d7c02feed3b1e553c60e4717df0b6036ce0822e9f9bf603abaf5b9b248ffa63421601a7f5c2dfcc9c60a98fe77b23dc
+DIST bash43-032 1734 SHA256 889357d29a6005b2c3308ca5b6286cb223b5e9c083219e5db3156282dd554f4a SHA512 47afc6308bd4bed20661a87761330854508a745a1c2a7f2d661fbe0d95b00d2d5707cc04f510fcd027b3fdb065d9414697715bff33c707a56955e27341d1bfd0 WHIRLPOOL 4b7ef4ac84269a292fa4527d2796508f4da16f9579726d90664305bbd3c2a3fa9002db6c0d60b022a54e756590a196f5dfcb86492a6d776476189546edb488c7
+DIST bash43-033 7038 SHA256 fb2a7787a13fbe027a7335aca6eb3c21cdbd813e9edc221274b6a9d8692eaa16 SHA512 3eed328960d77317e1742a9b53ccf40b304657cd535d7f283bdc24219c65ebdcb7aca3019fc8fd9e7152f42dc411625acb1b529f80e4a6c5b750b8f7cbd2e4d0 WHIRLPOOL bdfa9cd681ff499daa14b2c28e294b929f4c8526f11d555046158f035cc2c7a9c48f49aa0837c3ea80cdbc6d960119f40260da4a664944d7e599e40d6227254e
+DIST bash43-034 2392 SHA256 f1694f04f110defe1330a851cc2768e7e57ddd2dfdb0e3e350ca0e3c214ff889 SHA512 95d09b843287dc18845b75ac6657a2bd7bd71c31a62f922e7177368678ddf13c0f20498bc17bdf4cd5c1c34d40838174791d1e464ceca168957c68e789e34d06 WHIRLPOOL b9919bf7aabb11e6cc4dd17dd9433775320bc025a22e23b40edbc649e54dfae3e86a3670e30af4863ff8612ade43c91906d15acdb652ac2c37f84f731fba3279
+DIST bash43-035 1800 SHA256 370d85e51780036f2386dc18c5efe996eba8e652fc1973f0f4f2ab55a993c1e3 SHA512 1ea68e7ffb15356fdcf5eed08dd7fe0e16aea2928a4510fcfafe79e926d7ac25f013641bf547bfff0401bbb7e1476a802208e4f1ccb8b02ed20c094f99e450d2 WHIRLPOOL a5818ea98353c191210e8d66af0ea998c0b831e6af73035112405c228e18afc8ff243bdc2f3263728fc1d8aa2e7be43ae559cb02662b277478081e127b4fc37a
+DIST bash43-036 1539 SHA256 ac5f82445b36efdb543dbfae64afed63f586d7574b833e9aa9cd5170bc5fd27c SHA512 089a05879b8b65c9f11c55127364a3281b651e71cbedfad6221e31dc88eca15d813986f999a22921726873db9590b7b50afcd6162027fe516c2a94e8734e3ee7 WHIRLPOOL 3468783b0c10ae74c548e0d0cca3694c21775e6ea83ea1a071ae27b24542b67ffc785e17d6bc849c8030c667c7f531ba1a2de8e808f7820b19e88576e12e098c
+DIST bash43-037 1284 SHA256 33f170dd7400ab3418d749c55c6391b1d161ef2de7aced1873451b3a3fca5813 SHA512 7977c0fb9142cdea259b06322092aab3231b9773cc397519bedb6f731aea02a46441c67615b31fd19c886678eb1985687d07357d15fc7f08e946404efc564966 WHIRLPOOL fc3e010f065aa3087ac4e22352459dc2cdd5a232653749250dfebf17023a405ed78e0b2dd8ad66727aaa2645173dc14be111e32e8fb71a13786f4fe6ac6875ac
+DIST bash43-038 2354 SHA256 adbeaa500ca7a82535f0e88d673661963f8a5fcdc7ad63445e68bf5b49786367 SHA512 2ef2557b17867b5820a9e5619daa1cddb3fadcff7470504c148828a3007217767da4bf540dc835cf263f9c943b2c1aa909c845f8410f69e2d04c8b3d659efee3 WHIRLPOOL 66a2878b850cce96e532625cdcd88d0402c775dc585419c946ddebb206fbf8bee91846cbdce7a88b9caef09e1b02c144e3e71734c918c1b2c09cec67c68fa8d0
+DIST bash43-039 1531 SHA256 ab94dced2215541097691f60c3eb323cc28ef2549463e6a5334bbcc1e61e74ec SHA512 f9745a05bfbbe39f8e5af3865de3a32391d7ff291289977e23340c79a3783b4fad15bdcf8ce62478916b43fe18501c4d7c65cd54d3c20e8bb889919df48a9a19 WHIRLPOOL 3ee69bc81a25afe4998f76d43c9c2f4f6aca61f545a7304156fceda0f8a99c86379b673967bc7f72c26f5bde01248f77d7aee6372164c2e3b94c7781c7f6bd08
+DIST bash43-040 1532 SHA256 84bb396b9262992ca5424feab6ed3ec39f193ef5c76dfe4a62b551bd8dd9d76b SHA512 25a0696f1f0e78cb971afa404e0b7fe634b70d49d6a5a9d6ff5506c42063968e8ede83ad80bd0b79601363676fe3abfedc3b76984f6f9ad2e7798790682e21d0 WHIRLPOOL a435f25ae432161f676b4965cc20cc096fa18af8a191dca7cb311a41e3504e5d27c668fb3430fece1de45e0eed9cb34357dc887e83ace9819f24d585eddf6720
+DIST bash43-041 2362 SHA256 4ec432966e4198524a7e0cd685fe222e96043769c9613e66742ac475db132c1a SHA512 d75cdd6a1fb8aeb1a4e88f046cfea3ec493b994b96f60f27d5577b59408422bb7c51cc4525cadab821fd8c57f44fb07f811b087d077359242caff3b54cfc6819 WHIRLPOOL c88e754d694b69bcb3ce390ab3e29932b30a74f8f15b75b570cc46699c072b0f872824766c45bc2a98627529896bdf5aaf6493a493ffd33932d9ed6a362defb3
+DIST bash43-042 1535 SHA256 ac219322db2791da87a496ee6e8e5544846494bdaaea2626270c2f73c1044919 SHA512 01a6601029c0a55c9bf1a4ace3f387f9d094a9b9ee3511e2113c000123d85b1d5813c369e62d5a6dd329f515ef0d67d11394a6c0e4516956387556c13d13009a WHIRLPOOL 790b15282a81f5717fb675ea4ae752382ddb1b101766e32c68deb1ec1d64fcf8841b3da556b87ac685e18b528a1de31bc4b94900369f6386f8e3991ed76232c1
+DIST bash43-043 1942 SHA256 47a8a3c005b46e25821f4d8f5ccb04c1d653b1c829cb40568d553dc44f7a6180 SHA512 eb05e537fac08587d0755ad59218bb5a51685aefc1476d6e3feaf72acd1e08cbda512988d8c157425e7939863b313d1e36f51b32f8a8497655c6b0710a24b738 WHIRLPOOL 3c9a466b68ea5d94b5ad9d1868ad1ace80df6608a9bd1b77c1cd06f7edb588090061f7f4e2639dd7190763864511d573dec33aad77be722516a1300e8a45ce31
+DIST bash43-044 1658 SHA256 9338820630bf67373b44d8ea68409f65162ea7a47b9b29ace06a0aed12567f99 SHA512 2937ef80c99e93094e4aaa6a93d077efc3e433a4712c17e30590a0abeb5488293365cb8aa19e37d25b7d5c38d3ad26cdea12b904e5ffb2cdb16f18ab12f422fd WHIRLPOOL 488f567b900e49a9de9b92e9a8e29a92a087d390e9f24c3986bf1d89524878c88c7a3c2cae959844427fb20e6858a7b8eae112aac640f3d97ba1f79888f9f25d
+DIST bash43-045 1312 SHA256 ba6ec3978e9eaa1eb3fabdaf3cc6fdf8c4606ac1c599faaeb4e2d69864150023 SHA512 7b79dacff44e5358da736334d2277a2879ca1389e22e9dac50e139f30dab623bc89a56930d89e74efc468a00d051f6747ccaffcd1a30d7c737d49780b9830e3d WHIRLPOOL f361e523879ff1898574ac5eca480661bd787dc278fff204e7f27da89e85439b4e9d36a5f556046b760f3beb115302e745b5196bfa081b402d3f76fb44463558
+DIST bash43-046 1494 SHA256 b3b456a6b690cd293353f17e22d92a202b3c8bce587ae5f2667c20c9ab6f688f SHA512 c036b659fa681f8129110356bec33fad00fb8e469f3b4bcefd0b7ddf5e20030977716adf5c65f58f3ff68cd7af0bdd42392ee077100bc7f45ee123749d082f7d WHIRLPOOL d58384a2ca77f9a80a69a117221da51a701539cf5497d8e0fc634cd1cc0cb0024e02675bea810a0f42b873b557d479ba1b7aee6e6f73bd1422df2dbb29396477
+DIST bash43-047 4437 SHA256 c69248de7e78ba6b92f118fe1ef47bc86479d5040fe0b1f908ace1c9e3c67c4a SHA512 9332d680ac226491cf8e5986a3261eb76b53ef4b0b2a43405564b088afc0e8658077812c9177bdab7900e05394e69f3047d82ddb59553fc01ef721acfa9d5553 WHIRLPOOL 719fa31d0fb09a75d5abbb63ee5a485802c5eadd06720d6074c2282d117aa6e234f5f75cabd340643710bd14e99260047183386bd1df278c9715aed7b98232d7
+DIST bash43-048 1612 SHA256 5b8215451c5d096ca1e115307ffe6613553551a70369525a0778f216c3a4dfa2 SHA512 7c3963bfbc730b4592668460e86c166e727e9897c1a9235a6860a01bc90d365ef0707f0fac7ed62780dcc84e80dbe8484ec59e9e948def22f44ae03e8a169780 WHIRLPOOL e1a435c3b9fbc0deca80dd89bfd3adcbff1d5a3af50884d2aef54635b8ba1063903e2d99a5a23bd1c64c19c5e9c19de6b479ac777cecdb812555dc5683b8cf71
+DIST bash44-001 1896 SHA256 3e28d91531752df9a8cb167ad07cc542abaf944de9353fe8c6a535c9f1f17f0f SHA512 fa7a1b277eb3bad6ae7d2c7a2887cbf2c0eb75b7fee8ed03ec1e9d45879a2fb4b8c7cb16d6b029987493b01a461214bd9a24454a6837e7cfe180b1bc56f61caa WHIRLPOOL 6b2632f07ea76c15e4d8b662e3f78092d6db3607b706d6fdb753ae35d7a02c15afb8cda2d00ec7b342bcaeb8cae63542d3baf33ee4efbb881becfae278e4753f
+DIST bash44-002 1946 SHA256 7020a0183e17a7233e665b979c78c184ea369cfaf3e8b4b11f5547ecb7c13c53 SHA512 526f986057810f89080e283ff95b3a8fd24d37e4ad2f18c39f36d3a2d57956a6441d16220082157735e3c5ccf770d5016e761aa5f309129898e39277d576e6b5 WHIRLPOOL acb904f626a10e0d96a38f52247579560cb7e596c3972e3ae1cec00521903577067e7add7b1819a7cfb86b97a1c3d973040858a29dc21bd4739af2bd13aca1f0
+DIST bash44-003 1593 SHA256 51df5a9192fdefe0ddca4bdf290932f74be03ffd0503a3d112e4199905e718b2 SHA512 e61db89bdd1a7ae15013fe258046a343c9ea41e5a1c6d2c810947500a617fce7536b8d51194e14bb42499fe0de6d70cc9b2c81da0afdcb5a2278459f4f76d748 WHIRLPOOL d1d7ef24cbe04a23e8d759e1db3c6e339086611138a3745a833754c11c6c6a0f37f4e7f11a0cb4762ea86b5713b5e6a28313fb75cedb5e02d26c2a36c023da27
+DIST bash44-004 2350 SHA256 ad080a30a4ac6c1273373617f29628cc320a35c8cd06913894794293dc52c8b3 SHA512 7570cf15518f79230cfe91b3e58c795c16c7fb6ba6418d967355b36fb7982e7919a9eaaef9177fb605c7fb7d7efb8a8335e725c1bacffff69a098433f5adc9c7 WHIRLPOOL fa5c49f7aae54e2316493609fa424d457ab96b558a0a23c937a9325a030565d09f9342af0059a7d9631dd804e684d9c025a624d800e62e7fc7779af956192bca
+DIST bash44-005 1439 SHA256 221e4b725b770ad0bb6924df3f8d04f89eeca4558f6e4c777dfa93e967090529 SHA512 7546a6c90c8e8508567dde713722291477ca87c1116905b46432514a4fc632840a855b84f102591914cd4c44d5bf2eb7400866e26366fc94525fb401ea844a8f WHIRLPOOL 40688381559436cd77a3dffaee24d6cbb48cab471ab94f62b618ebf9372ab08cb00824312b3440249e042159f9d927861ffbb100399b86e360b09b324596b478
+DIST bash44-006 1805 SHA256 6a8e2e2a6180d0f1ce39dcd651622fb6d2fd05db7c459f64ae42d667f1e344b8 SHA512 5edcd76cf97bfe289f71924ba279ff48a1167eb3cc36f811cbcc23732746f5c821d1d39d4b137b7d99d57809a4b7270a54f4a41176fcfde0708bf92ddc68b77f WHIRLPOOL 7f1919a3a0b2ac117c61e67bc54f79fb34ae04f96e5e07268ac91966c4bcbe3139f90225e0802b9dba2d6fecf15339ebe6522a86f563961790764649be3df758
+DIST bash44-007 4640 SHA256 de1ccc07b7bfc9e25243ad854f3bbb5d3ebf9155b0477df16aaf00a7b0d5edaf SHA512 386c019debee414697abc648d9a77894e842bb0b7a2a71709e8b3398582f25065e68963405fa22fb77439c6b431ee94a2ecbb16734c2436af3dfb4d1b5f06fcf WHIRLPOOL 819e79b2a4609baa852a0a61bda1b03be09e0ecc7f20756dc06a0a2d69170006dec4a53733f83dbc3920093de0dedff7ef2bcb0c41a21fe9e78c76f0139f94a0
+DIST bash44-008 2223 SHA256 86144700465933636d7b945e89b77df95d3620034725be161ca0ca5a42e239ba SHA512 d9a8924f1c9263deab89153bb688a87f211913ebd72c8077e607db6fdddc7e5af05042dd22a9a2df593e518ea74b54ca79d20afc796e47d871827a2556e233d0 WHIRLPOOL 2f7a1f6e633334d40d1b729545eddefbb98ec04e079829049b6d8bde0481e2f4c1ae18476d2dffcf32fd9dd6ff5a8024f7da4215eaac3dc1841d7d1f9999b3cd
+DIST bash44-009 3117 SHA256 0b6bdd1a18a0d20e330cc3bc71e048864e4a13652e29dc0ebf3918bea729343c SHA512 3b01c080cf4a54658679b36c282a69a9ac48b900b19ceb42dbaf084abd395d50e5ff14db90a7fdf0c9856dad150897dca561160686c931634765782447fc076e WHIRLPOOL 6de4092994c58164c8c49664a929c9037044c2bad8bfb7a7c01f161fd4716aa7f8fb0b78295a10979dd4b5e076a03adf83072f5bafda752fe0c1eb866e3e9eee
+DIST bash44-010 1670 SHA256 8465c6f2c56afe559402265b39d9e94368954930f9aa7f3dfa6d36dd66868e06 SHA512 54ff556b62fd88381e7a495db50957b016474973b3a566661c65b649a40960f2d3355221b3a71fb292128aad92a45d73d9816d63833bc416b4d15acdef391b98 WHIRLPOOL 5f1f9cd94381c4874aec9eefd9b314a0d505c82b22dbb768f30a4d7e0d2a7bd8b76d8cc983f19f8d74ac3045f487b79608f5604e234db46111c98b5e853cbc4d
+DIST bash44-011 1603 SHA256 dd56426ef7d7295e1107c0b3d06c192eb9298f4023c202ca2ba6266c613d170d SHA512 6b5b068b74978fc691749ccff5e094c768047f702430e97114f5bf342f078696f7d7616d0642d4061b062e9112dfe00a1c2309c65de4147e0e98fb52c593d844 WHIRLPOOL 5de1209872c1650be012a365737123f2a1c1331b814406c98b0a4b56223aa5f9e724ffc134dc8a51a51f99e265ce7c68457744c0caa9b120406137079655f41b
+DIST bash44-012 5768 SHA256 fac271d2bf6372c9903e3b353cb9eda044d7fe36b5aab52f21f3f21cd6a2063e SHA512 4661c4c132f2ea7c9a70368301041c482d5820d8389334a7e3ae44c36fc16c171b20db2f194b7663c84d6c3dcef81aa90f050a48e205218fc7bd3395d09c6a51 WHIRLPOOL b86fe68265186cdd4da9e0d1387c35fbc05b8b0a760603f89edd89380320e148b48f692a6481a60d7f051be096484cab037f29a5e52dbb84d2d03cd790995716
+EBUILD bash-2.05b_p13.ebuild 4625 SHA256 c41b92b26f33d6cf9e9809877e43955addd670f2b9b38331be97ed01efefdc2a SHA512 ad8ad8bf9dde3a8a4ee4947a6a30873eeb4a59ef8c98de5b0e43c4b9d12196b10e07ceda854b3173cc025bfeddafa78e0edb594f4ba8f14003451a566cdd88f6 WHIRLPOOL 9caae6e262a259e18fff4207a2bbf6675f17071573bb51fbdffe3780e245dc19b3084734bee647ef2ba8360a0781ffb1f947e12ed4d3d2da12ec60075deef141
+EBUILD bash-3.0_p22.ebuild 4758 SHA256 59a08c2ecc4dbeaa4f728ff2552ad76d4a9a7cc294dd38b71404d8a7309a4c7c SHA512 54201c4f0cb83962cdd89e0dd53ff768e6838e4ea3c1eb70d402c316a24ee5b87a5f89a7c9b92cffc9508f838b8f466b3865922fa5859628a53d86aa1e3a33d6 WHIRLPOOL f89ee76bcb7badf0958dc88112f6d01729faf9b339c22c4514ccba79852a9e1ceebde66ca0a71f45260379bfb22dad83e7ce231e937c9cbdc37945c4d333ce8c
+EBUILD bash-3.1_p23.ebuild 4439 SHA256 61282335b1b44d5b9ed687953c53f73d2a870f6290d794d9cadda9b9badaeab2 SHA512 69f5c71acb1e03a0096ae6fc6c9ced6cf4f63b51bc1f4f3af966213987fe0f6da6f97fc78a0b310e216db2a503456e84024123c35fc6d02abf042b86a179135a WHIRLPOOL a3e344eab0e9041906ca1a869a9ca7a029ec3658d6d0496f3692baad2fd6dddd11bc469286cb2e5c5f27896ef2218c2441df69121fd7d52be40c2bb70708180d
+EBUILD bash-3.2_p57.ebuild 4546 SHA256 c5cc3a925541fb609e639175da651705c0f821855c27c612115fb99efbb23c92 SHA512 4af8e67a6b1407924ea2ab69e095656ddb0551ace845832b15632930b4485b9809e8f3f238a66bf4830b93a10935fb02aca06f708aacc6e4f89d9729f0b0b815 WHIRLPOOL ccc9c4dd8e0d4afac49ade0e91f176ade255bab35a634b6ea4f10d0cfbc9df072d5c9b14f05cb6276f515aac445604a90becc59b6debd154115f07f77f828fad
+EBUILD bash-4.0_p44.ebuild 4420 SHA256 588e3744931c8fac5297a16e17a08cb71ff94b8e8e45d8bc0bd0537c209b6650 SHA512 54091d257ec24723c187f2d8cfd3d7c23f4f22308067445eb6753bee018c1a2d0dedf5529778a451dad28f47e0ed12b456a22e91c773f4ad212d7a700d6c13ba WHIRLPOOL 2fca6cff16ec19982db486bdaecf73717043e2a39ba1a10cc084a9642e015c33d62568f4d1a43000c336a553c3b55987e8bfe938ec504bff39b4a2086b505737
+EBUILD bash-4.1_p17.ebuild 4154 SHA256 82c43fe7c952d338c2d3c3b18d17aef1ca21d15235ca980fe82f1181c8379a0f SHA512 2b9d6359831b8a053c13f949473025f3702705f1e409d42ced0304ee73f5a9fdbd218760820a10a45281c00f289f48b7f750f9a96ccefca726363bd853d0baaa WHIRLPOOL 4b56600d21f4ddf6ec0bb8b5bd728e51719e31af185e18f43bdf09bc47c930cdd1d23ee1e8fca1d3d0553fc8b39471a93221d6c22ed4d55a04a50556dd2fbf3a
+EBUILD bash-4.2_p53.ebuild 4356 SHA256 e8c0ef61a64d33d0cd244584562556c4883f6177eb51fe622e5e7bb33ee05714 SHA512 1bf922d25ededa1ba9f809f1281c0276a220e4f5f1265caddc6a2f095ec9f62f6026b8a9df93002891eeec6252c8943437940fcd08c61543261dbccb523609d2 WHIRLPOOL aa7f16ec0250b885bea3ae884d80fcf5906ac4cb700ce49c008e825b47b6d6f750753ce4abcb490e235e848d54fc843bd65d30bad909a2ff21e3b55423639a41
+EBUILD bash-4.3_p39_pre0.ebuild 3581 SHA256 62a064281427d097deb7afa6a4ed783ccc33012dc07305d58f2785a9f55dff3e SHA512 f41cf7c82dc1316f61e132a2b29a2e4ac5b7a20f3856b69d51d39a18723c7e4713fec3654331d8bf4425f84d8d43408834d4e63934f7369232d87ce12156d2a2 WHIRLPOOL 5fe2874f0287b50cd51f612e7c88ac61c62c50191c327cf608c98cbadcbfd641ed9fda7ad43c0171436a16d1d0379fb8bd8e1b6af80b697686b788376fee87d2
+EBUILD bash-4.3_p48-r1.ebuild 7260 SHA256 1ca94217dd645c47c3422015bea33ffad845d50e609d9e09266bb6a14eade508 SHA512 7b15ebc166dd814164deddd0821650b4d66e77ce35ee0d3d57682c1b404be4f7ed9437af1fd6bf58696849bd5e9d23d6d92701f44bed2d09362dc3aa3a2b715a WHIRLPOOL fda85a66859ef04cc763c7144e89aae22857c940b4d25d280d1cb0a32cf02ddfaaa4e48c87e5182db4d2937562822e623d8a07b63e3cacd1ae407f04e941a844
+EBUILD bash-4.4_p12.ebuild 7186 SHA256 7cf1cc33c985d5ba28eed0e2d0b94fdff940b9563a37e0caa0efc8f480394234 SHA512 56490387cf9202ba6acb77d36d865e854503e6f8657cdb35680eb8fd14e9ff6e1d84b6fdf716cca31e9e0f5cbd6f696e56b6ecbb21aa0ed84f791fc110289b5a WHIRLPOOL f8e244a43d3013eb1ef5acc2d7f4a94ee22dbf616cd7be0baabc425475740fe75bda9835e1d0cad0417b3534aba14ca02246f4d87268cbd4041e9c852ea201fd
+MISC ChangeLog 23991 SHA256 529720b2aeddc26157d3b2ba4df8056d51956e3983a4f4b2fc1450ff43918419 SHA512 1e31dcfb91da5e3f1974759964801fe6d66285880c7f22443029c718d44d62465eb50a238d062128f8e423c4411b08b16b99d5d16ee94103b660b9a614a2201a WHIRLPOOL b3fcdf40b0cc99ef3d518f53dd295228285d75bcce5b4d2a6058f81808c38c7522d0177cb31f520bc6d55c6e21a75fdb0ee4610cc938aa1306a080dbf513996e
+MISC ChangeLog-2015 75298 SHA256 51ab8cfa0add2586982824d436caf2442369f4f1229b99b9323b90a1f1a8c7fc SHA512 ce206ffc7817b15cfafc589de1799a50d6ad91d0ac9913b1164273ab63c971217bc04bfcb90c5208dc42e6ffca21fe97b65d8f19b861641d20b2403b05d1e957 WHIRLPOOL 1fab776c7e3c790021335e31e3d9ba0a3c2e2606aeba16d7b556586f8a5fa74137f4a17850367d42fa3909d83391fdc97e00c5ae6180c7d9c5be15417b18d29a
+MISC metadata.xml 734 SHA256 7850abd55e656b9360deafb278c98598922eb3b6f884d024d199110afdcf6ff0 SHA512 a9301e8d2347e0cf90a97325d9a705076150c00609d28338e5d7d72c135468e4f0531b2a4077b69679ae6ccf89eee691e0e5f0748caab60689f5f017afb544f1 WHIRLPOOL ce0e36bc0ae83b73aee7abee391d1b0a384f0277dfb7f7282043624a523699685d866ef3291a02e9ad1bde3abf196b47e1351f646e0149f942a40ed4dc940a37
diff --git a/app-shells/bash/bash-2.05b_p13.ebuild b/app-shells/bash/bash-2.05b_p13.ebuild
new file mode 100644
index 000000000000..0b439580aba4
--- /dev/null
+++ b/app-shells/bash/bash-2.05b_p13.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-2.05b-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-2"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/${PN}-2.05b-destdir.patch
+ epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
+ epatch "${FILESDIR}"/${PN}-2.05b-protos.patch
+ epatch "${FILESDIR}"/${PN}-2.05b-empty-herestring.patch
+ epatch "${FILESDIR}"/${PN}-2.05b-rbash.patch #26854
+ epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
+ epatch "${FILESDIR}"/${PN}-2.05b-jobs.patch
+ epatch "${FILESDIR}"/${PN}-2.05b-fix-job-warning.patch
+ epatch "${FILESDIR}"/${PN}-3.1-dev-fd-buffer-overflow.patch #431850
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # Force pgrp synchronization
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
+ export bash_cv_pgrp_pipe=yes
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ # This old autoconf script does not re-exec itself properly and fails when
+ # /bin/sh is not bash. Rather than try to regen everything, just force the
+ # use of bash directly.
+ CONFIG_SHELL="/bin/bash" \
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ --without-gnu-malloc \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-3.0_p22.ebuild b/app-shells/bash/bash-3.0_p22.ebuild
new file mode 100644
index 000000000000..ce4e366ddc5f
--- /dev/null
+++ b/app-shells/bash/bash-3.0_p22.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-2"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
+ epatch "${FILESDIR}"/${PN}-3.0-protos.patch
+ epatch "${FILESDIR}"/${PN}-3.0-rbash.patch #26854
+ epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
+ epatch "${FILESDIR}"/${PN}-3.0-darwin-conn.patch #79124
+ # read patch headers for more info ... many ripped from Fedora/Debian[17]/SuSe/upstream
+ for i in afs crash jobs manpage pwd ulimit histtimeformat \
+ locale multibyteifs subshell \
+ volatile-command
+ do
+ epatch "${FILESDIR}"/${PN}-3.0-${i}.patch
+ done
+ epatch "${FILESDIR}"/${PN}-3.0-read-builtin-pipe.patch #87093
+ epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
+ epatch "${FILESDIR}"/${PN}-3.0-pgrp-pipe-fix.patch #92349
+ epatch "${FILESDIR}"/${PN}-3.0-strnlen.patch
+ epatch "${FILESDIR}"/${PN}-3.1-dev-fd-buffer-overflow.patch #431850
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # Force pgrp synchronization
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
+ export bash_cv_pgrp_pipe=yes
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ --without-gnu-malloc \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-3.1_p23.ebuild b/app-shells/bash/bash-3.1_p23.ebuild
new file mode 100644
index 000000000000..5603d7906e32
--- /dev/null
+++ b/app-shells/bash/bash-3.1_p23.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-3.1-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-2"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/autoconf-mktime-2.53.patch #220040
+ epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
+ epatch "${FILESDIR}"/${PN}-3.1-protos.patch
+ epatch "${FILESDIR}"/${PN}-3.1-ulimit.patch
+ epatch "${FILESDIR}"/${PN}-3.0-read-memleak.patch
+ epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
+ epatch "${FILESDIR}"/${PN}-3.1-fix-dash-login-shell.patch #118257
+ epatch "${FILESDIR}"/${PN}-3.1-dev-fd-test-as-user.patch #131875
+ epatch "${FILESDIR}"/${PN}-3.1-dev-fd-buffer-overflow.patch #431850
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # Force pgrp synchronization
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
+ export bash_cv_pgrp_pipe=yes
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ --without-gnu-malloc \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-3.2_p57.ebuild b/app-shells/bash/bash-3.2_p57.ebuild
new file mode 100644
index 000000000000..3ac94d42b261
--- /dev/null
+++ b/app-shells/bash/bash-3.2_p57.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-3.2-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-2"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/autoconf-mktime-2.59.patch #220040
+ epatch "${FILESDIR}"/${PN}-3.2-loadables.patch
+ epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
+ epatch "${FILESDIR}"/${PN}-3.2-protos.patch
+ epatch "${FILESDIR}"/${PN}-3.2-session-leader.patch #231775
+ epatch "${FILESDIR}"/${PN}-3.2-ldflags-for-build.patch #211947
+ epatch "${FILESDIR}"/${PN}-3.2-process-subst.patch
+ epatch "${FILESDIR}"/${PN}-3.2-ulimit.patch
+ epatch "${FILESDIR}"/${PN}-3.0-trap-fg-signals.patch
+ epatch "${FILESDIR}"/${PN}-3.2-dev-fd-test-as-user.patch #131875
+ epatch "${FILESDIR}"/${PN}-4.2-dev-fd-buffer-overflow.patch #431850
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # Force pgrp synchronization
+ # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81653
+ export bash_cv_pgrp_pipe=yes
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ --without-gnu-malloc \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-4.0_p44.ebuild b/app-shells/bash/bash-4.0_p44.ebuild
new file mode 100644
index 000000000000..85a6795b76ae
--- /dev/null
+++ b/app-shells/bash/bash-4.0_p44.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.0-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-3"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs mem-scramble +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/${PN}-4.0-configure.patch #304901
+ epatch "${FILESDIR}"/${PN}-4.x-deferred-heredocs.patch
+ sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
+ epatch "${FILESDIR}"/${PN}-2.05b-parallel-build.patch #41002
+ epatch "${FILESDIR}"/${PN}-4.0-ldflags-for-build.patch #211947
+ epatch "${FILESDIR}"/${PN}-4.0-negative-return.patch
+ epatch "${FILESDIR}"/${PN}-4.0-parallel-build.patch #267613
+ epatch "${FILESDIR}"/${PN}-4.2-dev-fd-buffer-overflow.patch #431850
+ sed -i '/\.o: .*shell\.h/s:$: pathnames.h:' Makefile.in #267613
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-4.1_p17.ebuild b/app-shells/bash/bash-4.1_p17.ebuild
new file mode 100644
index 000000000000..bff7e9f4c93a
--- /dev/null
+++ b/app-shells/bash/bash-4.1_p17.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.1-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-3"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="afs mem-scramble +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ epatch "${FILESDIR}"/${PN}-4.1-fbsd-eaccess.patch #303411
+ sed -i '1i#define NEED_FPURGE_DECL' execute_cmd.c # needs fpurge() decl
+ epatch "${FILESDIR}"/${PN}-4.1-parallel-build.patch
+ epatch "${FILESDIR}"/${PN}-4.2-dev-fd-buffer-overflow.patch #431850
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ myconf+=( --without-lispdir ) #335896
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-4.2_p53.ebuild b/app-shells/bash/bash-4.2_p53.ebuild
new file mode 100644
index 000000000000..c31082b16347
--- /dev/null
+++ b/app-shells/bash/bash-4.2_p53.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-3"
+SLOT="${MY_PV}"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="afs mem-scramble +net nls +readline static"
+
+LIB_DEPEND=">=sys-libs/ncurses-5.2-r2[static-libs(+)]
+ nls? ( virtual/libintl )
+ readline? ( >=sys-libs/readline-6.2[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+# we only need yacc when the .y files get patched (bash42-005)
+DEPEND="${RDEPEND}
+ virtual/yacc
+ static? ( ${LIB_DEPEND} )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+
+ # Avoid regenerating docs after patches #407985
+ sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
+ touch -r . doc/*
+
+ epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
+ epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
+ epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
+ epatch "${FILESDIR}"/${PN}-4.2-read-retry.patch #447810
+ epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ use static && append-ldflags -static
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=6.2
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ tc-export AR #444070
+ econf \
+ --with-installed-readline=. \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_install() {
+ into /
+ newbin bash bash-${SLOT}
+
+ newman doc/bash.1 bash-${SLOT}.1
+ newman doc/builtins.1 builtins-${SLOT}.1
+
+ insinto /usr/share/info
+ newins doc/bashref.info bash-${SLOT}.info
+ dosym bash-${SLOT}.info /usr/share/info/bashref-${SLOT}.info
+
+ dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
+}
diff --git a/app-shells/bash/bash-4.3_p39_pre0.ebuild b/app-shells/bash/bash-4.3_p39_pre0.ebuild
new file mode 100644
index 000000000000..d16084790da5
--- /dev/null
+++ b/app-shells/bash/bash-4.3_p39_pre0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Old ebuild to help with people doing live upgrades w/old portage versions.
+# We use the bundled versions of readline & termcap to avoid external deps
+# (which in turn would require those packages to keep an old EAPI version).
+
+EAPI="2"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+
+LICENSE="GPL-3"
+SLOT="0"
+#KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
+# Note: We export this because portage wants it enabled.
+IUSE="+readline"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Avoid regenerating docs after patches #407985
+ sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
+ touch -r . doc/*
+
+ epatch "${FILESDIR}"/${PN}-4.3-compat-lvl.patch
+ epatch "${FILESDIR}"/${PN}-4.3-append-process-segfault.patch
+ epatch "${FILESDIR}"/${PN}-4.3-mapfile-improper-array-name-validation.patch
+ epatch "${FILESDIR}"/${PN}-4.3-arrayfunc.patch
+}
+
+src_configure() {
+ local myconf=()
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP
+
+ # Force internal copy of termcap to be used (to avoid ncurses dep).
+ export bash_cv_termcap_lib=gnutermcap
+
+ # Disable the plugins logic by hand since bash doesn't
+ # provide a way of doing it.
+ export ac_cv_func_dl{close,open,sym}=no \
+ ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
+ sed -i \
+ -e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
+ configure || die
+
+ tc-export AR #444070
+ econf \
+ --docdir='$(datarootdir)'/doc/${PF} \
+ --htmldir='$(docdir)/html' \
+ --disable-nls \
+ --without-curses \
+ --without-afs \
+ --disable-net-redirections \
+ --disable-profiling \
+ --disable-mem-scramble \
+ --without-bash-malloc \
+ --enable-readline \
+ --enable-history \
+ --enable-bang-history \
+ "${myconf[@]}"
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ local f
+
+ emake DESTDIR="${D}" install || die
+
+ dodir /bin
+ mv "${D}"/usr/bin/bash "${D}"/bin/ || die
+ dosym bash /bin/rbash
+
+ insinto /etc/bash
+ doins "${FILESDIR}"/bash_logout
+ doins "${FILESDIR}"/bashrc
+ keepdir /etc/bash/bashrc.d
+ insinto /etc/skel
+ for f in bash{_logout,_profile,rc} ; do
+ newins "${FILESDIR}"/dot-${f} .${f}
+ done
+
+ local sed_args=(
+ -e "s:#${USERLAND}#@::"
+ -e '/#@/d'
+ )
+ sed -i \
+ "${sed_args[@]}" \
+ "${D}"/etc/skel/.bashrc \
+ "${D}"/etc/bash/bashrc || die
+}
diff --git a/app-shells/bash/bash-4.3_p48-r1.ebuild b/app-shells/bash/bash-4.3_p48-r1.ebuild
new file mode 100644
index 000000000000..662883784b26
--- /dev/null
+++ b/app-shells/bash/bash-4.3_p48-r1.ebuild
@@ -0,0 +1,252 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic toolchain-funcs multilib
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+# The version of readline this bash normally ships with.
+READLINE_VER="6.3"
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+[[ ${PV} == *_rc* ]] && SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2:0=
+ readline? ( >=sys-libs/readline-${READLINE_VER}:0= )
+ nls? ( virtual/libintl )"
+RDEPEND="${DEPEND}
+ !<sys-apps/portage-2.1.6.7_p1
+ !<sys-apps/paludis-0.26.0_alpha5"
+# we only need yacc when the .y files get patched (bash42-005)
+DEPEND+=" virtual/yacc"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.3-mapfile-improper-array-name-validation.patch
+ "${FILESDIR}"/${PN}-4.3-arrayfunc.patch
+ "${FILESDIR}"/${PN}-4.3-protos.patch
+ "${FILESDIR}"/${PN}-4.4-popd-offset-overflow.patch #600174
+)
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+ if use bashlogger ; then
+ ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
+ ewarn "This will log ALL output you enter into the shell, you have been warned."
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones w/releases.
+ if [[ ${PV} != *_rc* ]] ; then
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+ fi
+
+ # Avoid regenerating docs after patches #407985
+ sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
+ touch -r . doc/*
+
+ epatch "${PATCHES[@]}"
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"${EPREFIX}/usr/local/sbin:${EPREFIX}/usr/local/bin:${EPREFIX}/usr/sbin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"${EPREFIX}/bin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"${EPREFIX}/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"${EPREFIX}/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ -DUSE_MKTEMP -DUSE_MKSTEMP \
+ $(use bashlogger && echo -DSYSLOG_HISTORY)
+
+ # Don't even think about building this statically without
+ # reading Bug 7714 first. If you still build it statically,
+ # don't come crying to us with bugs ;).
+ #use static && export LDFLAGS="${LDFLAGS} -static"
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=${READLINE_VER}
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ if [[ ${PV} != *_rc* ]] ; then
+ # Use system readline only with released versions.
+ myconf+=( --with-installed-readline=. )
+ fi
+
+ if use plugins; then
+ append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
+ else
+ # Disable the plugins logic by hand since bash doesn't
+ # provide a way of doing it.
+ export ac_cv_func_dl{close,open,sym}=no \
+ ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
+ sed -i \
+ -e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
+ configure || die
+ fi
+ tc-export AR #444070
+ econf \
+ --docdir='$(datarootdir)'/doc/${PF} \
+ --htmldir='$(docdir)/html' \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_compile() {
+ emake
+
+ if use plugins ; then
+ emake -C examples/loadables all others
+ fi
+}
+
+src_install() {
+ local d f
+
+ default
+
+ dodir /bin
+ mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
+ dosym bash /bin/rbash
+
+ insinto /etc/bash
+ doins "${FILESDIR}"/bash_logout
+ doins "${FILESDIR}"/bashrc
+ keepdir /etc/bash/bashrc.d
+ insinto /etc/skel
+ for f in bash{_logout,_profile,rc} ; do
+ newins "${FILESDIR}"/dot-${f} .${f}
+ done
+
+ local sed_args=(
+ -e "s:#${USERLAND}#@::"
+ -e '/#@/d'
+ )
+ if ! use readline ; then
+ sed_args+=( #432338
+ -e '/^shopt -s histappend/s:^:#:'
+ -e 's:use_color=true:use_color=false:'
+ )
+ fi
+ sed -i \
+ "${sed_args[@]}" \
+ "${ED}"/etc/skel/.bashrc \
+ "${ED}"/etc/bash/bashrc || die
+
+ if use plugins ; then
+ exeinto /usr/$(get_libdir)/bash
+ doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
+ insinto /usr/include/bash-plugins
+ doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
+ fi
+
+ if use examples ; then
+ for d in examples/{functions,misc,scripts,startup-files} ; do
+ exeinto /usr/share/doc/${PF}/${d}
+ insinto /usr/share/doc/${PF}/${d}
+ for f in ${d}/* ; do
+ if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
+ doexe ${f}
+ else
+ doins ${f}
+ fi
+ done
+ done
+ fi
+
+ doman doc/*.1
+ newdoc CWRU/changelog ChangeLog
+ dosym bash.info /usr/share/info/bashref.info
+}
+
+pkg_preinst() {
+ if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
+ mkdir -p "${EROOT}"/etc/bash
+ mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
+ fi
+
+ if [[ -L ${EROOT}/bin/sh ]] ; then
+ # rewrite the symlink to ensure that its mtime changes. having /bin/sh
+ # missing even temporarily causes a fatal error with paludis.
+ local target=$(readlink "${EROOT}"/bin/sh)
+ local tmp=$(emktemp "${EROOT}"/bin)
+ ln -sf "${target}" "${tmp}"
+ mv -f "${tmp}" "${EROOT}"/bin/sh
+ fi
+}
+
+pkg_postinst() {
+ # If /bin/sh does not exist, provide it
+ if [[ ! -e ${EROOT}/bin/sh ]] ; then
+ ln -sf bash "${EROOT}"/bin/sh
+ fi
+}
diff --git a/app-shells/bash/bash-4.4_p12.ebuild b/app-shells/bash/bash-4.4_p12.ebuild
new file mode 100644
index 000000000000..d1139561d781
--- /dev/null
+++ b/app-shells/bash/bash-4.4_p12.ebuild
@@ -0,0 +1,254 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils flag-o-matic toolchain-funcs multilib prefix
+
+# Official patchlevel
+# See ftp://ftp.cwru.edu/pub/bash/bash-4.4-patches/
+PLEVEL=${PV##*_p}
+MY_PV=${PV/_p*}
+MY_PV=${MY_PV/_/-}
+MY_P=${PN}-${MY_PV}
+is_release() {
+ case ${PV} in
+ *_alpha*|*_beta*|*_rc*) return 1 ;;
+ *) return 0 ;;
+ esac
+}
+[[ ${PV} != *_p* ]] && PLEVEL=0
+patches() {
+ local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
+ [[ ${plevel} -eq 0 ]] && return 1
+ eval set -- {1..${plevel}}
+ set -- $(printf "${pn}${pv/\.}-%03d " "$@")
+ if [[ ${opt} == -s ]] ; then
+ echo "${@/#/${DISTDIR}/}"
+ else
+ local u
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
+ printf "${u}/${pn}-${pv}-patches/%s " "$@"
+ done
+ fi
+}
+
+# The version of readline this bash normally ships with.
+READLINE_VER="7.0"
+
+DESCRIPTION="The standard GNU Bourne again shell"
+HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
+if is_release ; then
+ SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
+else
+ SRC_URI="ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline"
+
+DEPEND=">=sys-libs/ncurses-5.2-r2:0=
+ readline? ( >=sys-libs/readline-${READLINE_VER}:0= )
+ nls? ( virtual/libintl )"
+RDEPEND="${DEPEND}
+ !<sys-apps/portage-2.1.6.7_p1
+ !<sys-apps/paludis-0.26.0_alpha5"
+# we only need yacc when the .y files get patched (bash42-005)
+#DEPEND+=" virtual/yacc"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if is-flag -malign-double ; then #7332
+ eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
+ eerror "as it breaks LFS (struct stat64) on x86."
+ die "remove -malign-double from your CFLAGS mr ricer"
+ fi
+ if use bashlogger ; then
+ ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
+ ewarn "This will log ALL output you enter into the shell, you have been warned."
+ fi
+}
+
+src_unpack() {
+ unpack ${MY_P}.tar.gz
+}
+
+src_prepare() {
+ # Include official patches
+ [[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
+
+ # Clean out local libs so we know we use system ones w/releases.
+ if is_release ; then
+ rm -rf lib/{readline,termcap}/*
+ touch lib/{readline,termcap}/Makefile.in # for config.status
+ sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
+ fi
+
+ # Prefixify hardcoded path names. No-op for non-prefix.
+ hprefixify pathnames.h.in
+
+ # Avoid regenerating docs after patches #407985
+ sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
+ touch -r . doc/*
+
+ epatch_user
+}
+
+src_configure() {
+ local myconf=()
+
+ # For descriptions of these, see config-top.h
+ # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
+ append-cppflags \
+ -DDEFAULT_PATH_VALUE=\'\"${EPREFIX}/usr/local/sbin:${EPREFIX}/usr/local/bin:${EPREFIX}/usr/sbin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/bin\"\' \
+ -DSTANDARD_UTILS_PATH=\'\"${EPREFIX}/bin:${EPREFIX}/usr/bin:${EPREFIX}/sbin:${EPREFIX}/usr/sbin\"\' \
+ -DSYS_BASHRC=\'\"${EPREFIX}/etc/bash/bashrc\"\' \
+ -DSYS_BASH_LOGOUT=\'\"${EPREFIX}/etc/bash/bash_logout\"\' \
+ -DNON_INTERACTIVE_LOGIN_SHELLS \
+ -DSSH_SOURCE_BASHRC \
+ $(use bashlogger && echo -DSYSLOG_HISTORY)
+
+ # Don't even think about building this statically without
+ # reading Bug 7714 first. If you still build it statically,
+ # don't come crying to us with bugs ;).
+ #use static && export LDFLAGS="${LDFLAGS} -static"
+ use nls || myconf+=( --disable-nls )
+
+ # Historically, we always used the builtin readline, but since
+ # our handling of SONAME upgrades has gotten much more stable
+ # in the PM (and the readline ebuild itself preserves the old
+ # libs during upgrades), linking against the system copy should
+ # be safe.
+ # Exact cached version here doesn't really matter as long as it
+ # is at least what's in the DEPEND up above.
+ export ac_cv_rl_version=${READLINE_VER%%_*}
+
+ # Force linking with system curses ... the bundled termcap lib
+ # sucks bad compared to ncurses. For the most part, ncurses
+ # is here because readline needs it. But bash itself calls
+ # ncurses in one or two small places :(.
+
+ if is_release ; then
+ # Use system readline only with released versions.
+ myconf+=( --with-installed-readline=. )
+ fi
+
+ if use plugins; then
+ append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
+ else
+ # Disable the plugins logic by hand since bash doesn't
+ # provide a way of doing it.
+ export ac_cv_func_dl{close,open,sym}=no \
+ ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
+ sed -i \
+ -e '/LOCAL_LDFLAGS=/s:-rdynamic::' \
+ configure || die
+ fi
+ tc-export AR #444070
+ econf \
+ --docdir='$(datarootdir)'/doc/${PF} \
+ --htmldir='$(docdir)/html' \
+ --with-curses \
+ $(use_with afs) \
+ $(use_enable net net-redirections) \
+ --disable-profiling \
+ $(use_enable mem-scramble) \
+ $(use_with mem-scramble bash-malloc) \
+ $(use_enable readline) \
+ $(use_enable readline history) \
+ $(use_enable readline bang-history) \
+ "${myconf[@]}"
+}
+
+src_compile() {
+ emake
+
+ if use plugins ; then
+ emake -C examples/loadables all others
+ fi
+}
+
+src_install() {
+ local d f
+
+ default
+
+ dodir /bin
+ mv "${ED}"/usr/bin/bash "${ED}"/bin/ || die
+ dosym bash /bin/rbash
+
+ insinto /etc/bash
+ doins "${FILESDIR}"/bash_logout
+ doins "$(prefixify_ro "${FILESDIR}"/bashrc)"
+ keepdir /etc/bash/bashrc.d
+ insinto /etc/skel
+ for f in bash{_logout,_profile,rc} ; do
+ newins "${FILESDIR}"/dot-${f} .${f}
+ done
+
+ local sed_args=(
+ -e "s:#${USERLAND}#@::"
+ -e '/#@/d'
+ )
+ if ! use readline ; then
+ sed_args+=( #432338
+ -e '/^shopt -s histappend/s:^:#:'
+ -e 's:use_color=true:use_color=false:'
+ )
+ fi
+ sed -i \
+ "${sed_args[@]}" \
+ "${ED}"/etc/skel/.bashrc \
+ "${ED}"/etc/bash/bashrc || die
+
+ if use plugins ; then
+ exeinto /usr/$(get_libdir)/bash
+ doexe $(echo examples/loadables/*.o | sed 's:\.o::g')
+ insinto /usr/include/bash-plugins
+ doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
+ fi
+
+ if use examples ; then
+ for d in examples/{functions,misc,scripts,startup-files} ; do
+ exeinto /usr/share/doc/${PF}/${d}
+ insinto /usr/share/doc/${PF}/${d}
+ for f in ${d}/* ; do
+ if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
+ doexe ${f}
+ else
+ doins ${f}
+ fi
+ done
+ done
+ fi
+
+ doman doc/*.1
+ newdoc CWRU/changelog ChangeLog
+ dosym bash.info /usr/share/info/bashref.info
+}
+
+pkg_preinst() {
+ if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]] ; then
+ mkdir -p "${EROOT}"/etc/bash
+ mv -f "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/
+ fi
+
+ if [[ -L ${EROOT}/bin/sh ]] ; then
+ # rewrite the symlink to ensure that its mtime changes. having /bin/sh
+ # missing even temporarily causes a fatal error with paludis.
+ local target=$(readlink "${EROOT}"/bin/sh)
+ local tmp=$(emktemp "${EROOT}"/bin)
+ ln -sf "${target}" "${tmp}"
+ mv -f "${tmp}" "${EROOT}"/bin/sh
+ fi
+}
+
+pkg_postinst() {
+ # If /bin/sh does not exist, provide it
+ if [[ ! -e ${EROOT}/bin/sh ]] ; then
+ ln -sf bash "${EROOT}"/bin/sh
+ fi
+}
diff --git a/app-shells/bash/files/autoconf-mktime-2.53.patch b/app-shells/bash/files/autoconf-mktime-2.53.patch
new file mode 100644
index 000000000000..7632b63f4f79
--- /dev/null
+++ b/app-shells/bash/files/autoconf-mktime-2.53.patch
@@ -0,0 +1,199 @@
+https://bugs.gentoo.org/220040
+
+--- a/configure
++++ b/configure
+@@ -12393,22 +12393,25 @@ else
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ /* Test program from Paul Eggert and Tony Leneis. */
+-#if TIME_WITH_SYS_TIME
++#ifdef TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
+ #else
+-# if HAVE_SYS_TIME_H
++# ifdef HAVE_SYS_TIME_H
+ # include <sys/time.h>
+ # else
+ # include <time.h>
+ # endif
+ #endif
+
+-#if HAVE_UNISTD_H
++#include <limits.h>
++#include <stdlib.h>
++
++#ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+
+-#if !HAVE_ALARM
++#ifndef HAVE_ALARM
+ # define alarm(X) /* empty */
+ #endif
+
+@@ -12416,6 +12419,7 @@ else
+ #undef putenv
+
+ static time_t time_t_max;
++static time_t time_t_min;
+
+ /* Values we'll use to set the TZ environment variable. */
+ static const char *const tz_strings[] = {
+@@ -12424,9 +12428,9 @@ static const char *const tz_strings[] = {
+ };
+ #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
+
+-/* Fail if mktime fails to convert a date in the spring-forward gap.
++/* Return 0 if mktime fails to convert a date in the spring-forward gap.
+ Based on a problem report from Andreas Jaeger. */
+-static void
++static int
+ spring_forward_gap ()
+ {
+ /* glibc (up to about 1998-10-07) failed this test. */
+@@ -12445,23 +12449,27 @@ spring_forward_gap ()
+ tm.tm_min = 0;
+ tm.tm_sec = 0;
+ tm.tm_isdst = -1;
+- if (mktime (&tm) == (time_t)-1)
+- exit (1);
++ return mktime (&tm) != (time_t) -1;
+ }
+
+-static void
+-mktime_test (now)
++static int
++mktime_test1 (now)
+ time_t now;
+ {
+ struct tm *lt;
+- if ((lt = localtime (&now)) && mktime (lt) != now)
+- exit (1);
+- now = time_t_max - now;
+- if ((lt = localtime (&now)) && mktime (lt) != now)
+- exit (1);
++ return ! (lt = localtime (&now)) || mktime (lt) == now;
+ }
+
+-static void
++static int
++mktime_test (now)
++ time_t now;
++{
++ return (mktime_test1 (now)
++ && mktime_test1 ((time_t) (time_t_max - now))
++ && mktime_test1 ((time_t) (time_t_min + now)));
++}
++
++static int
+ irix_6_4_bug ()
+ {
+ /* Based on code from Ariel Faigon. */
+@@ -12474,11 +12482,10 @@ irix_6_4_bug ()
+ tm.tm_sec = 0;
+ tm.tm_isdst = -1;
+ mktime (&tm);
+- if (tm.tm_mon != 2 || tm.tm_mday != 31)
+- exit (1);
++ return tm.tm_mon == 2 && tm.tm_mday == 31;
+ }
+
+-static void
++static int
+ bigtime_test (j)
+ int j;
+ {
+@@ -12500,8 +12507,39 @@ bigtime_test (j)
+ && lt->tm_wday == tm.tm_wday
+ && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
+ == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
+- exit (1);
++ return 0;
+ }
++ return 1;
++}
++
++static int
++year_2050_test ()
++{
++ /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
++ ignoring leap seconds. */
++ unsigned long int answer = 2527315200UL;
++
++ struct tm tm;
++ time_t t;
++ tm.tm_year = 2050 - 1900;
++ tm.tm_mon = 2 - 1;
++ tm.tm_mday = 1;
++ tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
++ tm.tm_isdst = -1;
++
++ /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
++ instead of "TZ=America/Vancouver" in order to detect the bug even
++ on systems that don't support the Olson extension, or don't have the
++ full zoneinfo tables installed. */
++ putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
++
++ t = mktime (&tm);
++
++ /* Check that the result is either a failure, or close enough
++ to the correct answer that we can assume the discrepancy is
++ due to leap seconds. */
++ return (t == (time_t) -1
++ || (0 < t && answer - 120 <= t && t <= answer + 120));
+ }
+
+ int
+@@ -12515,9 +12553,15 @@ main ()
+ isn't worth using anyway. */
+ alarm (60);
+
+- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
+- continue;
+- time_t_max--;
++ for (;;)
++ {
++ t = (time_t_max << 1) + 1;
++ if (t <= time_t_max)
++ break;
++ time_t_max = t;
++ }
++ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
++
+ delta = time_t_max / 997; /* a suitable prime number */
+ for (i = 0; i < N_STRINGS; i++)
+ {
+@@ -12525,17 +12569,22 @@ main ()
+ putenv (tz_strings[i]);
+
+ for (t = 0; t <= time_t_max - delta; t += delta)
+- mktime_test (t);
+- mktime_test ((time_t) 60 * 60);
+- mktime_test ((time_t) 60 * 60 * 24);
+-
+- for (j = 1; 0 < j; j *= 2)
+- bigtime_test (j);
+- bigtime_test (j - 1);
++ if (! mktime_test (t))
++ return 1;
++ if (! (mktime_test ((time_t) 1)
++ && mktime_test ((time_t) (60 * 60))
++ && mktime_test ((time_t) (60 * 60 * 24))))
++ return 1;
++
++ for (j = 1; ; j <<= 1)
++ if (! bigtime_test (j))
++ return 1;
++ else if (INT_MAX / 2 < j)
++ break;
++ if (! bigtime_test (INT_MAX))
++ return 1;
+ }
+- irix_6_4_bug ();
+- spring_forward_gap ();
+- exit (0);
++ return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
diff --git a/app-shells/bash/files/autoconf-mktime-2.59.patch b/app-shells/bash/files/autoconf-mktime-2.59.patch
new file mode 100644
index 000000000000..3ac3ad1da867
--- /dev/null
+++ b/app-shells/bash/files/autoconf-mktime-2.59.patch
@@ -0,0 +1,197 @@
+http://bugs.gentoo.org/220040
+--- configure
++++ configure
+@@ -5299,26 +6059,25 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ /* Test program from Paul Eggert and Tony Leneis. */
+-#if TIME_WITH_SYS_TIME
++#ifdef TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
+ #else
+-# if HAVE_SYS_TIME_H
++# ifdef HAVE_SYS_TIME_H
+ # include <sys/time.h>
+ # else
+ # include <time.h>
+ # endif
+ #endif
+
+-#if HAVE_STDLIB_H
+-# include <stdlib.h>
+-#endif
++#include <limits.h>
++#include <stdlib.h>
+
+-#if HAVE_UNISTD_H
++#ifdef HAVE_UNISTD_H
+ # include <unistd.h>
+ #endif
+
+-#if !HAVE_ALARM
++#ifndef HAVE_ALARM
+ # define alarm(X) /* empty */
+ #endif
+
+@@ -5335,9 +6094,9 @@
+ };
+ #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
+
+-/* Fail if mktime fails to convert a date in the spring-forward gap.
++/* Return 0 if mktime fails to convert a date in the spring-forward gap.
+ Based on a problem report from Andreas Jaeger. */
+-static void
++static int
+ spring_forward_gap ()
+ {
+ /* glibc (up to about 1998-10-07) failed this test. */
+@@ -5356,29 +6115,27 @@
+ tm.tm_min = 0;
+ tm.tm_sec = 0;
+ tm.tm_isdst = -1;
+- if (mktime (&tm) == (time_t)-1)
+- exit (1);
++ return mktime (&tm) != (time_t) -1;
+ }
+
+-static void
++static int
+ mktime_test1 (now)
+ time_t now;
+ {
+ struct tm *lt;
+- if ((lt = localtime (&now)) && mktime (lt) != now)
+- exit (1);
++ return ! (lt = localtime (&now)) || mktime (lt) == now;
+ }
+
+-static void
++static int
+ mktime_test (now)
+ time_t now;
+ {
+- mktime_test1 (now);
+- mktime_test1 ((time_t) (time_t_max - now));
+- mktime_test1 ((time_t) (time_t_min + now));
++ return (mktime_test1 (now)
++ && mktime_test1 ((time_t) (time_t_max - now))
++ && mktime_test1 ((time_t) (time_t_min + now)));
+ }
+
+-static void
++static int
+ irix_6_4_bug ()
+ {
+ /* Based on code from Ariel Faigon. */
+@@ -5391,11 +6148,10 @@
+ tm.tm_sec = 0;
+ tm.tm_isdst = -1;
+ mktime (&tm);
+- if (tm.tm_mon != 2 || tm.tm_mday != 31)
+- exit (1);
++ return tm.tm_mon == 2 && tm.tm_mday == 31;
+ }
+
+-static void
++static int
+ bigtime_test (j)
+ int j;
+ {
+@@ -5417,8 +6173,39 @@
+ && lt->tm_wday == tm.tm_wday
+ && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
+ == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
+- exit (1);
++ return 0;
+ }
++ return 1;
++}
++
++static int
++year_2050_test ()
++{
++ /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
++ ignoring leap seconds. */
++ unsigned long int answer = 2527315200UL;
++
++ struct tm tm;
++ time_t t;
++ tm.tm_year = 2050 - 1900;
++ tm.tm_mon = 2 - 1;
++ tm.tm_mday = 1;
++ tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
++ tm.tm_isdst = -1;
++
++ /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
++ instead of "TZ=America/Vancouver" in order to detect the bug even
++ on systems that don't support the Olson extension, or don't have the
++ full zoneinfo tables installed. */
++ putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
++
++ t = mktime (&tm);
++
++ /* Check that the result is either a failure, or close enough
++ to the correct answer that we can assume the discrepancy is
++ due to leap seconds. */
++ return (t == (time_t) -1
++ || (0 < t && answer - 120 <= t && t <= answer + 120));
+ }
+
+ int
+@@ -5432,12 +6219,15 @@
+ isn't worth using anyway. */
+ alarm (60);
+
+- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
+- continue;
+- time_t_max--;
+- if ((time_t) -1 < 0)
+- for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
+- continue;
++ for (;;)
++ {
++ t = (time_t_max << 1) + 1;
++ if (t <= time_t_max)
++ break;
++ time_t_max = t;
++ }
++ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
++
+ delta = time_t_max / 997; /* a suitable prime number */
+ for (i = 0; i < N_STRINGS; i++)
+ {
+@@ -5445,18 +6235,22 @@
+ putenv (tz_strings[i]);
+
+ for (t = 0; t <= time_t_max - delta; t += delta)
+- mktime_test (t);
+- mktime_test ((time_t) 1);
+- mktime_test ((time_t) (60 * 60));
+- mktime_test ((time_t) (60 * 60 * 24));
+-
+- for (j = 1; 0 < j; j *= 2)
+- bigtime_test (j);
+- bigtime_test (j - 1);
++ if (! mktime_test (t))
++ return 1;
++ if (! (mktime_test ((time_t) 1)
++ && mktime_test ((time_t) (60 * 60))
++ && mktime_test ((time_t) (60 * 60 * 24))))
++ return 1;
++
++ for (j = 1; ; j <<= 1)
++ if (! bigtime_test (j))
++ return 1;
++ else if (INT_MAX / 2 < j)
++ break;
++ if (! bigtime_test (INT_MAX))
++ return 1;
+ }
+- irix_6_4_bug ();
+- spring_forward_gap ();
+- exit (0);
++ return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
+ }
+ _ACEOF
+ rm -f conftest$ac_exeext
diff --git a/app-shells/bash/files/bash-2.05b-destdir.patch b/app-shells/bash/files/bash-2.05b-destdir.patch
new file mode 100644
index 000000000000..a1089d293c16
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-destdir.patch
@@ -0,0 +1,28 @@
+support DESTDIR install
+
+--- bash-2.05b/Makefile.in
++++ bash-2.05b/Makefile.in
+@@ -20,16 +20,16 @@
+ all: .made
+
+ # Include some boilerplate Gnu makefile definitions.
+-prefix = @prefix@
++prefix = $(DESTDIR)@prefix@
+
+-exec_prefix = @exec_prefix@
+-bindir = @bindir@
+-libdir = @libdir@
+-infodir = @infodir@
+-includedir = @includedir@
++exec_prefix = $(DESTDIR)@exec_prefix@
++bindir = $(DESTDIR)@bindir@
++libdir = $(DESTDIR)@libdir@
++infodir = $(DESTDIR)@infodir@
++includedir = $(DESTDIR)@includedir@
+ datadir = @datadir@
+
+-mandir = @mandir@
++mandir = $(DESTDIR)@mandir@
+ manpfx = man
+
+ man1ext = .1
diff --git a/app-shells/bash/files/bash-2.05b-empty-herestring.patch b/app-shells/bash/files/bash-2.05b-empty-herestring.patch
new file mode 100644
index 000000000000..db868c49aea7
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-empty-herestring.patch
@@ -0,0 +1,25 @@
+###################################################################
+# Added by Tavis Ormandy <taviso@gentoo.org> 01/05/2003
+# Reproduce with
+#
+# $ xargs <<< ${EMTPY_VARIABLE}
+# Segmentation fault.
+#
+# note: bash will still give you a "\n" with this patch, but this is
+# standard behaviour, if you need proof:
+#
+# $ wc -l <<< ""
+###############################
+
+--- bash-2.05b/redir.c
++++ bash-2.05b/redir.c
+@@ -263,7 +263,7 @@
+ int herelen, n, e;
+
+ herestr = expand_string_to_string (redirectee->word, 0);
+- herelen = strlen (herestr);
++ herelen = (herestr == NULL) ? 0 : strlen (herestr);
+
+ n = write (fd, herestr, herelen);
+ if (n == herelen)
+ {
diff --git a/app-shells/bash/files/bash-2.05b-fix-job-warning.patch b/app-shells/bash/files/bash-2.05b-fix-job-warning.patch
new file mode 100644
index 000000000000..fcec078d3d0c
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-fix-job-warning.patch
@@ -0,0 +1,14 @@
+fix obvious error:
+common.c:247:5: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
+
+--- a/builtins/common.c
++++ b/builtins/common.c
+@@ -244,7 +244,7 @@
+ char *s;
+ {
+ if (s)
+- builtin_error ("%s: no job control");
++ builtin_error ("%s: no job control", s);
+ else
+ builtin_error ("no job control");
+ }
diff --git a/app-shells/bash/files/bash-2.05b-jobs.patch b/app-shells/bash/files/bash-2.05b-jobs.patch
new file mode 100644
index 000000000000..4ed475eab799
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-jobs.patch
@@ -0,0 +1,28 @@
+Fix using bash with post-20040808 glibc ebuilds (from fedora)
+
+--- bash-2.05b/jobs.c
++++ bash-2.05b/jobs.c
+@@ -2423,6 +2423,7 @@
+ PROCESS *child;
+ pid_t pid;
+ int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
++ static int wcontinued_not_supported = 0;
+
+ call_set_current = children_exited = 0;
+ last_stopped_job = NO_JOB;
+@@ -2436,7 +2437,15 @@
+ : 0;
+ if (sigchld || block == 0)
+ waitpid_flags |= WNOHANG;
++ retry:
++ if (wcontinued_not_supported)
++ waitpid_flags &= ~WCONTINUED;
+ pid = WAITPID (-1, &status, waitpid_flags);
++ if (pid == -1 && errno == EINVAL)
++ {
++ wcontinued_not_supported = 1;
++ goto retry;
++ }
+
+ /* The check for WNOHANG is to make sure we decrement sigchld only
+ if it was non-zero before we called waitpid. */
diff --git a/app-shells/bash/files/bash-2.05b-parallel-build.patch b/app-shells/bash/files/bash-2.05b-parallel-build.patch
new file mode 100644
index 000000000000..382ffd6dfd5e
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-parallel-build.patch
@@ -0,0 +1,15 @@
+Fix parallel make
+
+http://bugs.gentoo.org/41002
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -604,7 +604,7 @@
+
+ config.h: stamp-h
+
+-stamp-h: config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
++stamp-h: version.h config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
+ CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
+
+ config.status: $(srcdir)/configure
diff --git a/app-shells/bash/files/bash-2.05b-protos.patch b/app-shells/bash/files/bash-2.05b-protos.patch
new file mode 100644
index 000000000000..2a42ced54711
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-protos.patch
@@ -0,0 +1,25 @@
+move prototypes around so they show up when needed
+
+--- a/externs.h
++++ b/externs.h
+@@ -327,6 +327,9 @@
+ #undef xstrchr
+ extern char *xstrchr __P((const char *, int));
+
++/* declarations for functions defined in lib/sh/zcatfd.c */
++extern int zcatfd __P((int, int, char *));
++
+ /* declarations for functions defined in lib/sh/zread.c */
+ extern ssize_t zread __P((int, char *, size_t));
+ extern ssize_t zreadintr __P((int, char *, size_t));
+--- a/jobs.h
++++ b/jobs.h
+@@ -175,6 +175,8 @@
+ extern void ignore_tty_job_signals __P((void));
+ extern void default_tty_job_signals __P((void));
+
++extern void close_pgrp_pipe __P((void));
++
+ #if defined (JOB_CONTROL)
+ extern int job_control;
+ #endif
diff --git a/app-shells/bash/files/bash-2.05b-rbash.patch b/app-shells/bash/files/bash-2.05b-rbash.patch
new file mode 100644
index 000000000000..19b89ca35e2f
--- /dev/null
+++ b/app-shells/bash/files/bash-2.05b-rbash.patch
@@ -0,0 +1,27 @@
+Fix broken rbash functionality when used as a login shell via /etc/passwd
+
+http://bugs.gentoo.org/26854
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=170298
+
+Backported from bash-3.1
+
+--- bash-2.05b/shell.c
++++ bash-2.05b/shell.c
+@@ -1065,6 +1099,8 @@
+ if (restricted)
+ return 1;
+ temp = base_pathname (name);
++ if (*temp == '-')
++ temp++;
+ return (STREQ (temp, RESTRICTED_SHELL_NAME));
+ }
+
+@@ -1082,6 +1118,8 @@
+ char *temp;
+
+ temp = base_pathname (name);
++ if (*temp == '-')
++ temp++;
+ if (restricted || (STREQ (temp, RESTRICTED_SHELL_NAME)))
+ {
+ set_var_read_only ("PATH");
diff --git a/app-shells/bash/files/bash-3.0-afs.patch b/app-shells/bash/files/bash-3.0-afs.patch
new file mode 100644
index 000000000000..f07371c39eb4
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-afs.patch
@@ -0,0 +1,20 @@
+Ripped from Fedora
+
+- Fixed AFS support for output redirection, so that the correct errors
+ are reported for other filesystems (bug #155373).
+
+https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155373
+
+--- bash-3.0/redir.c.afs 2005-04-20 09:16:15.000000000 +0100
++++ bash-3.0/redir.c 2005-04-20 09:16:58.000000000 +0100
+@@ -596,7 +596,9 @@
+ fd = open (filename, flags, mode);
+ #if defined (AFS)
+ if ((fd < 0) && (errno == EACCES))
+- fd = open (filename, flags & ~O_CREAT, mode);
++ if ((fd = open (filename, flags & ~O_CREAT, mode)) < 0)
++ /* Restore previous errno. */
++ errno = EACCES;
+ #endif /* AFS */
+ }
+
diff --git a/app-shells/bash/files/bash-3.0-crash.patch b/app-shells/bash/files/bash-3.0-crash.patch
new file mode 100644
index 000000000000..984e85d82ed3
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-crash.patch
@@ -0,0 +1,46 @@
+> Machine Type: i686-pc-linux-gnu
+>
+> Bash Version: 3.0
+> Patch Level: 0
+> Release Status: release
+>
+> Description:
+> GNU bash, version 3.00.0(1)-release (i686-pc-linux-gnu)
+> (and
+> GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
+>
+> dumps a core because of a null pointer "in make_bare_word
+> at make_cmd.c:90" (see gdb output below)
+
+Thanks for the report. Here's a quick fix:
+
+*** arrayfunc.c~ Sat Nov 6 15:08:29 2004
+--- arrayfunc.c Mon Jan 31 11:56:21 2005
+***************
+*** 709,713 ****
+ return ((char *)NULL);
+ }
+! else if (var == 0)
+ return ((char *)NULL);
+ else if (array_p (var) == 0)
+--- 709,713 ----
+ return ((char *)NULL);
+ }
+! else if (var == 0 || value_cell (var) == 0)
+ return ((char *)NULL);
+ else if (array_p (var) == 0)
+
+
+Chet
+
+--
+``The lyf so short, the craft so long to lerne.'' - Chaucer
+( ``Discere est Dolere'' -- chet )
+ Live...Laugh...Love
+Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/
+
+
+_______________________________________________
+Bug-bash mailing list
+Bug-bash@gnu.org
+http://lists.gnu.org/mailman/listinfo/bug-bash
diff --git a/app-shells/bash/files/bash-3.0-darwin-conn.patch b/app-shells/bash/files/bash-3.0-darwin-conn.patch
new file mode 100644
index 000000000000..f83e4c3f701d
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-darwin-conn.patch
@@ -0,0 +1,20 @@
+Sune Foldager writes:
+On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a
+network connection (such as ssh, rsh etc.), when stdin stems from the pipe()
+system call. This is because bash's heuristic code for determining if it's
+been started over a net connection is incorrect on Darwin kernels.
+
+http://bugs.gentoo.org/79124
+
+--- a/lib/sh/netconn.c
++++ b/lib/sh/netconn.c
+@@ -53,7 +53,8 @@
+ l = sizeof(sa);
+ rv = getpeername(fd, &sa, &l);
+ /* Solaris 2.5 getpeername() returns EINVAL if the fd is not a socket. */
+- return ((rv < 0 && (errno == ENOTSOCK || errno == EINVAL)) ? 0 : 1);
++ /* Darwin 7.7.0 getpeername() returns ENOTCONN if the fd was created with pipe(). */
++ return ((rv < 0 && (errno == ENOTSOCK || errno == ENOTCONN || errno == EINVAL)) ? 0 : 1);
+ #else /* !HAVE_GETPEERNAME || SVR4_2 || __BEOS__ */
+ # if defined (SVR4) || defined (SVR4_2)
+ /* Sockets on SVR4 and SVR4.2 are character special (streams) devices. */
diff --git a/app-shells/bash/files/bash-3.0-histtimeformat.patch b/app-shells/bash/files/bash-3.0-histtimeformat.patch
new file mode 100644
index 000000000000..b910600fd896
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-histtimeformat.patch
@@ -0,0 +1,56 @@
+Ripped from Debian
+
+http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00008.html
+
+From: Enrique Perez-Terron <enrio@online.no>
+To: bug-bash@gnu.org
+Subject: When using HISTTIMEFORMAT, the date and the command are run
+ together.
+Date: Sun, 01 Aug 2004 18:36:45 +0200
+
+Configuration Information [Automatically generated, do not change]:
+Machine: i586
+OS: linux-gnu
+Compiler: gcc
+Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
+-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu'
+-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale'
+-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
+-g -O2
+uname output: Linux arabia.home.lan 2.6.6-1.435.2.3 #1 Thu Jul 1
+09:11:28 EDT 2004 i586 i586 i386 GNU/Linux
+Machine Type: i586-pc-linux-gnu
+
+# DP: Add space separating the time and the command in the
+# DP: output from the history builtin command.
+
+Bash Version: 3.0
+Patch Level: 0
+Release Status: release
+
+Description:
+ There is no space separating the time and the command in the
+ output from the history builtin command.
+
+Repeat-By:
+ $ export HISTTIMEFORMAT=_A_format_string_
+ $ history 3
+ 997 _A_format_string_echo $BASH_VERSION
+ 998 _A_format_string_export HISTTIMEFORMAT=_A_format_string_
+ 999 _A_format_string_history 3
+
+Fix:
+--- ./builtins/history.def.orig 2003-12-20 00:02:09.000000000 +0100
++++ ./builtins/history.def 2004-08-01 18:18:02.652720102 +0200
+@@ -287,9 +287,10 @@
+ QUIT;
+
+ timestr = (histtimefmt && *histtimefmt) ? histtime (hlist[i], histtimefmt) : (char *)NULL;
+- printf ("%5d%c %s%s\n", i + history_base,
++ printf ("%5d%c %s%s%s\n", i + history_base,
+ histdata(i) ? '*' : ' ',
+ ((timestr && *timestr) ? timestr : ""),
++ ((timestr && *timestr) ? " " : ""),
+ histline(i));
+ i++;
+ }
diff --git a/app-shells/bash/files/bash-3.0-jobs.patch b/app-shells/bash/files/bash-3.0-jobs.patch
new file mode 100644
index 000000000000..72c149c71cf5
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-jobs.patch
@@ -0,0 +1,56 @@
+Ripped from Fedora
+
+* Wed Sep 8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
+- Check for EINVAL from waitpid() and avoid WCONTINUED in that case.
+- Fixed jobs4 test.
+
+From: Tim Waugh
+Subject: [patch] bash-3.0: avoid WCONTINUED if invalid
+Date: Wed, 8 Sep 2004 16:52:38 +0100
+User-agent: Mutt/1.4.1i
+
+Hi,
+
+GNU libc defines WCONTINUED, but (at least on Linux 2.4.x kernels)
+waitpid() returns -1 with errno set to EINVAL if WCONTINUED is
+supplied in options.
+
+Here is a patch to retry without WCONTINUED set in that case.
+
+Tim.
+
+--- bash-3.0/tests/jobs4.sub
++++ bash-3.0/tests/jobs4.sub
+@@ -18,5 +18,5 @@
+
+ wait
+
+-cat &
++sleep 100 &
+ kill -1 %% && echo i killed it || echo could not kill it
+--- bash-3.0/jobs.c
++++ bash-3.0/jobs.c
+@@ -2475,6 +2475,7 @@
+ PROCESS *child;
+ pid_t pid;
+ int call_set_current, last_stopped_job, job, children_exited, waitpid_flags;
++ static int wcontinued_not_supported = 0;
+
+ call_set_current = children_exited = 0;
+ last_stopped_job = NO_JOB;
+@@ -2488,7 +2489,15 @@
+ : 0;
+ if (sigchld || block == 0)
+ waitpid_flags |= WNOHANG;
++ retry:
++ if (wcontinued_not_supported)
++ waitpid_flags &= ~WCONTINUED;
+ pid = WAITPID (-1, &status, waitpid_flags);
++ if (pid == -1 && errno == EINVAL)
++ {
++ wcontinued_not_supported = 1;
++ goto retry;
++ }
+
+ /* The check for WNOHANG is to make sure we decrement sigchld only
+ if it was non-zero before we called waitpid. */
diff --git a/app-shells/bash/files/bash-3.0-locale.patch b/app-shells/bash/files/bash-3.0-locale.patch
new file mode 100644
index 000000000000..ea1ef3deae36
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-locale.patch
@@ -0,0 +1,112 @@
+Ripped from SuSe
+
+http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00005.html
+
+From: schwab@suse.de
+To: bug-bash@gnu.org
+Subject: HISTTIMEFORMAT doesn't track locale changes
+Date: Sun, 1 Aug 2004 11:14:00 +0200 (CEST)
+
+Configuration Information [Automatically generated, do not change]:
+Machine: ia64
+OS: linux-gnu
+Compiler: gcc
+Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='ia64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='ia64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash-3.0 -I../bash-3.0/include -I../bash-3.0/lib -O2 -g
+uname output: Linux sykes 2.6.5-22-default #1 SMP Fri Jul 2 13:43:23 UTC 2004 ia64 ia64 ia64 GNU/Linux
+Machine Type: ia64-unknown-linux-gnu
+
+Bash Version: 3.0
+Patch Level: 0
+Release Status: release
+
+Description:
+Bash doesn't use the current locale when formatting HISTTIMEFORMAT.
+
+Repeat-By:
+sykes:/tmp/bash/Build/:[0]$ locale
+LANG=de_DE.UTF-8
+LC_CTYPE="de_DE.UTF-8"
+LC_NUMERIC=POSIX
+LC_TIME=POSIX
+LC_COLLATE=POSIX
+LC_MONETARY="de_DE.UTF-8"
+LC_MESSAGES=en_US.UTF-8
+LC_PAPER="de_DE.UTF-8"
+LC_NAME="de_DE.UTF-8"
+LC_ADDRESS="de_DE.UTF-8"
+LC_TELEPHONE="de_DE.UTF-8"
+LC_MEASUREMENT="de_DE.UTF-8"
+LC_IDENTIFICATION="de_DE.UTF-8"
+LC_ALL=
+sykes:/tmp/bash/Build/:[0]$ history 1
+ 1502 history 1
+sykes:/tmp/bash/Build/:[0]$ HISTTIMEFORMAT=%c
+sykes:/tmp/bash/Build/:[0]$ history 1
+ 1504 Sun Aug 1 10:56:59 2004history 1
+sykes:/tmp/bash/Build/:[0]$ export LC_TIME=$LANG
+sykes:/tmp/bash/Build/:[0]$ history 1
+ 1506 Sun Aug 1 10:57:24 2004history 1
+
+--- bash-3.0/locale.c
++++ bash-3.0/locale.c
+@@ -71,9 +71,10 @@ set_default_locale ()
+ textdomain (PACKAGE);
+ }
+
+-/* Set default values for LC_CTYPE, LC_COLLATE, LC_MESSAGES and LC_NUMERIC
+- if they are not specified in the environment, but LC_ALL is. This
+- should be called from main() after parsing the environment. */
++/* Set default values for LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_NUMERIC
++ and LC_TIME if they are not specified in the environment, but LC_ALL
++ is. This should be called from main() after parsing the
++ environment. */
+ void
+ set_default_locale_vars ()
+ {
+@@ -109,6 +110,12 @@ set_default_locale_vars ()
+ setlocale (LC_NUMERIC, lc_all);
+ # endif /* LC_NUMERIC */
+
++# if defined (LC_TIME)
++ val = get_string_value ("LC_TIME");
++ if (val == 0 && lc_all && *lc_all)
++ setlocale (LC_TIME, lc_all);
++# endif /* LC_TIME */
++
+ #endif /* HAVE_SETLOCALE */
+
+ val = get_string_value ("TEXTDOMAIN");
+@@ -213,6 +220,13 @@ set_locale_var (var, value)
+ return (setlocale (LC_NUMERIC, get_locale_var ("LC_NUMERIC")) != 0);
+ # endif /* LC_NUMERIC */
+ }
++ else if (var[3] == 'T' && var[4] == 'I') /* LC_TIME */
++ {
++# if defined (LC_TIME)
++ if (lc_all == 0 || *lc_all == '\0')
++ return (setlocale (LC_TIME, get_locale_var ("LC_TIME")) != 0);
++# endif /* LC_TIME */
++ }
+ #endif /* HAVE_SETLOCALE */
+
+ return (0);
+@@ -285,6 +299,9 @@ reset_locale_vars ()
+ # if defined (LC_NUMERIC)
+ setlocale (LC_NUMERIC, get_locale_var ("LC_NUMERIC"));
+ # endif
++# if defined (LC_TIME)
++ setlocale (LC_TIME, get_locale_var ("LC_TIME"));
++# endif
+
+ locale_setblanks ();
+
+--- bash-3.0/variables.c
++++ bash-3.0/variables.c
+@@ -3646,6 +3646,7 @@ static struct name_and_function special_
+ { "LC_CTYPE", sv_locale },
+ { "LC_MESSAGES", sv_locale },
+ { "LC_NUMERIC", sv_locale },
++ { "LC_TIME", sv_locale },
+
+ { "MAIL", sv_mail },
+ { "MAILCHECK", sv_mail },
diff --git a/app-shells/bash/files/bash-3.0-manpage.patch b/app-shells/bash/files/bash-3.0-manpage.patch
new file mode 100644
index 000000000000..08e3143e5422
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-manpage.patch
@@ -0,0 +1,15 @@
+Ripped from Fedora
+
+fix obvious display bug
+
+--- bash-3.0/doc/bash.1
++++ bash-3.0/doc/bash.1
+@@ -3929,7 +3929,7 @@
+ .B SIGHUP
+ to all jobs when an interactive login shell exits.
+ .PP
+-If \Bbash\fP is waiting for a command to complete and receives a signal
++If \fBbash\fP is waiting for a command to complete and receives a signal
+ for which a trap has been set, the trap will not be executed until
+ the command completes.
+ When \fBbash\fP is waiting for an asynchronous command via the \fBwait\fP
diff --git a/app-shells/bash/files/bash-3.0-multibyteifs.patch b/app-shells/bash/files/bash-3.0-multibyteifs.patch
new file mode 100644
index 000000000000..1e74832b638a
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-multibyteifs.patch
@@ -0,0 +1,281 @@
+From: Tim Waugh <twaugh@redhat.com>
+To: bug-bash@gnu.org
+Subject: [patch] multibyte IFS values
+Date: Tue, 24 Aug 2004 13:34:59 +0100
+
+Hi,
+
+Here is a patch to address these problems:
+
+http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00294.html
+http://lists.gnu.org/archive/html/bug-bash/2004-07/msg00296.html
+
+It works well for me at least.
+
+Tim.
+
+--- bash-3.0/subst.c.multibyteifs 2004-08-20 15:22:48.366497771 +0100
++++ bash-3.0/subst.c 2004-08-20 18:13:30.833624616 +0100
+@@ -124,7 +124,12 @@
+ SHELL_VAR *ifs_var;
+ char *ifs_value;
+ unsigned char ifs_cmap[UCHAR_MAX + 1];
++#if defined (HANDLE_MULTIBYTE)
++unsigned char ifs_firstc[MB_LEN_MAX];
++size_t ifs_firstc_len;
++#else
+ unsigned char ifs_firstc;
++#endif
+
+ /* Extern functions and variables from different files. */
+ extern int last_command_exit_value, last_command_exit_signal;
+@@ -862,8 +867,14 @@
+ char *charlist;
+ {
+ register int i = *sindex;
++ size_t slen;
++#if defined (HANDLE_MULTIBYTE)
++ size_t clen;
++ wchar_t *wcharlist = NULL;
++#endif
+ int c;
+ char *temp;
++ DECLARE_MBSTATE;
+
+ if (charlist[0] == '\'' && charlist[1] == '\0')
+ {
+@@ -872,18 +883,65 @@
+ return temp;
+ }
+
+- for (i = *sindex; c = string[i]; i++)
++ slen = strlen (string + *sindex) + *sindex;
++ i = *sindex;
++#if defined (HANDLE_MULTIBYTE)
++ clen = strlen (charlist);
++#endif
++ while ((c = string[i]))
+ {
++#if defined (HANDLE_MULTIBYTE)
++ size_t mblength;
++#endif
++
+ if (c == CTLESC)
+ {
+- i++;
++ i += 2;
+ continue;
+ }
+
++#if defined (HANDLE_MULTIBYTE)
++ mblength = mblen (string + i, slen - i);
++ if (mblength > 1)
++ {
++ wchar_t wc;
++ size_t mblength = mbtowc (&wc, string + i, slen - i);
++ if (MB_INVALIDCH (mblength))
++ {
++ if (MEMBER (c, charlist))
++ break;
++ }
++ else
++ {
++ if (!wcharlist)
++ {
++ size_t len = mbstowcs (wcharlist, charlist, 0);
++ if (len == -1)
++ len = 0;
++ wcharlist = xmalloc (sizeof (wchar_t) * (len + 1));
++ mbstowcs (wcharlist, charlist, 1 + len);
++ }
++
++ if (wcschr (wcharlist, wc))
++ {
++ break;
++ }
++ }
++ }
++ else
++#endif
++
+ if (MEMBER (c, charlist))
+ break;
++
++ ADVANCE_CHAR (string, slen, i);
+ }
+
++#if defined (HANDLE_MULTIBYTE)
++ if (wcharlist)
++ free (wcharlist);
++#endif
++
+ temp = substring (string, *sindex, i);
+ *sindex = i;
+
+@@ -1456,11 +1514,36 @@
+ d2 = 0;
+ if (delims)
+ {
+- d2 = (char *)xmalloc (strlen (delims) + 1);
+- for (i = ts = 0; delims[i]; i++)
++ size_t slength = strlen (delims);
++#if defined (HANDLE_MULTIBYTE)
++ size_t mblength = 1;
++ DECLARE_MBSTATE;
++#endif
++
++ d2 = (char *)xmalloc (slength + 1);
++ i = ts = 0;
++ while (delims[i])
+ {
++#if defined (HANDLE_MULTIBYTE)
++ mbstate_t state_bak = state;
++ mblength = mbrlen (delims + i, slength, &state);
++
++ if (MB_INVALIDCH (mblength))
++ state = state_bak;
++ else if (mblength != 1)
++ {
++ memcpy (d2 + ts, delims + i, mblength);
++ ts += mblength;
++ i += mblength;
++ slength -= mblength;
++ continue;
++ }
++#endif
++
+ if (whitespace(delims[i]) == 0)
+ d2[ts++] = delims[i];
++ i++;
++ slength--;
+ }
+ d2[ts] = '\0';
+ }
+@@ -1654,10 +1737,19 @@
+ string_list_dollar_star (list)
+ WORD_LIST *list;
+ {
++#if defined (HANDLE_MULTIBYTE)
++ char sep[MB_CUR_MAX + 1];
++#else
+ char sep[2];
++#endif
+
++#if defined (HANDLE_MULTIBYTE)
++ memcpy (sep, ifs_firstc, ifs_firstc_len);
++ sep[ifs_firstc_len] = '\0';
++#else
+ sep[0] = ifs_firstc;
+ sep[1] = '\0';
++#endif
+
+ return (string_list_internal (list, sep));
+ }
+@@ -1676,14 +1768,41 @@
+ WORD_LIST *list;
+ int quoted;
+ {
+- char *ifs, sep[2];
++ char *ifs;
++#if defined (HANDLE_MULTIBYTE)
++ char sep[MB_CUR_MAX + 1];
++#else
++ char sep[2];
++#endif
+ WORD_LIST *tlist;
+
+ /* XXX this could just be ifs = ifs_value; */
+ ifs = ifs_var ? value_cell (ifs_var) : (char *)0;
+
++#if defined (HANDLE_MULTIBYTE)
++ if (ifs && *ifs)
++ {
++ size_t mblength = mblen (ifs, strnlen (ifs, MB_CUR_MAX));
++ if (MB_INVALIDCH (mblength))
++ {
++ sep[0] = *ifs;
++ sep[1] = '\0';
++ }
++ else
++ {
++ memcpy (sep, ifs, mblength);
++ sep[mblength] = '\0';
++ }
++ }
++ else
++ {
++ sep[0] = ' ';
++ sep[1] = '\0';
++ }
++#else
+ sep[0] = (ifs == 0 || *ifs == 0) ? ' ' : *ifs;
+ sep[1] = '\0';
++#endif
+
+ tlist = ((quoted & (Q_HERE_DOCUMENT|Q_DOUBLE_QUOTES)) || (ifs && *ifs == 0))
+ ? quote_list (list)
+@@ -1732,6 +1851,7 @@
+ WORD_DESC *t;
+ char *current_word, *s;
+ int sindex, sh_style_split, whitesep;
++ size_t slen = 0;
+
+ if (!string || !*string)
+ return ((WORD_LIST *)NULL);
+@@ -1805,7 +1925,12 @@
+
+ /* Move past the current separator character. */
+ if (string[sindex])
+- sindex++;
++ {
++ DECLARE_MBSTATE;
++ if (!slen)
++ slen = strlen (string);
++ ADVANCE_CHAR (string, slen, sindex);
++ }
+
+ /* Now skip sequences of space, tab, or newline characters if they are
+ in the list of separators. */
+@@ -6796,7 +6921,27 @@
+ ifs_cmap[uc] = 1;
+ }
+
++#if defined (HANDLE_MULTIBYTE)
++ if (!ifs_value)
++ {
++ ifs_firstc[0] = '\0';
++ ifs_firstc_len = 1;
++ }
++ else
++ {
++ size_t ifs_len = strnlen (ifs_value, MB_CUR_MAX);
++ ifs_firstc_len = mblen (ifs_value, ifs_len);
++ if (MB_INVALIDCH (ifs_firstc_len))
++ {
++ ifs_firstc[0] = '\0';
++ ifs_firstc_len = 1;
++ }
++ else
++ memcpy (ifs_firstc, ifs_value, ifs_firstc_len);
++ }
++#else
+ ifs_firstc = ifs_value ? *ifs_value : 0;
++#endif
+ }
+
+ char *
+--- bash-3.0/subst.h.multibyteifs 2004-08-20 15:51:08.301074583 +0100
++++ bash-3.0/subst.h 2004-08-20 15:51:39.070206473 +0100
+@@ -231,7 +231,12 @@
+ extern SHELL_VAR *ifs_var;
+ extern char *ifs_value;
+ extern unsigned char ifs_cmap[];
++#if defined (HANDLE_MULTIBYTE)
++extern unsigned char ifs_firstc[];
++extern size_t ifs_firstc_len;
++#else
+ extern unsigned char ifs_firstc;
++#endif
+
+ /* Evaluates to 1 if C is a character in $IFS. */
+ #define isifs(c) (ifs_cmap[(unsigned char)(c)] != 0)
diff --git a/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch b/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch
new file mode 100644
index 000000000000..35b0b7d05924
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-pgrp-pipe-fix.patch
@@ -0,0 +1,20 @@
+Fix an error when using pipes and PGRP_PIPE is enabled.
+( exec 3>&1; : `echo >&3` )
+bash: 3: Bad file descriptor
+
+http://bugs.gentoo.org/92349
+
+Patch from upstream
+
+*** jobs.c Wed Sep 8 11:08:16 2004
+--- jobs.c Thu Jun 30 17:21:26 2005
+***************
+*** 3456,3459 ****
+--- 3901,3907 ----
+ stop_making_children ();
+ start_pipeline ();
++ #if defined (PGRP_PIPE)
++ pipe_close (pgrp_pipe);
++ #endif
+ delete_all_jobs (0);
+ set_job_control (0);
diff --git a/app-shells/bash/files/bash-3.0-protos.patch b/app-shells/bash/files/bash-3.0-protos.patch
new file mode 100644
index 000000000000..b1337b203954
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-protos.patch
@@ -0,0 +1,68 @@
+move prototypes around so they show up when needed
+
+--- a/externs.h
++++ b/externs.h
+@@ -327,6 +327,9 @@
+ #undef xstrchr
+ extern char *xstrchr __P((const char *, int));
+
++/* declarations for functions defined in lib/sh/zcatfd.c */
++extern int zcatfd __P((int, int, char *));
++
+ /* declarations for functions defined in lib/sh/zread.c */
+ extern ssize_t zread __P((int, char *, size_t));
+ extern ssize_t zreadintr __P((int, char *, size_t));
+--- a/jobs.h
++++ b/jobs.h
+@@ -175,6 +175,8 @@
+ extern void ignore_tty_job_signals __P((void));
+ extern void default_tty_job_signals __P((void));
+
++extern void close_pgrp_pipe __P((void));
++
+ #if defined (JOB_CONTROL)
+ extern int job_control;
+ #endif
+--- a/general.c
++++ b/general.c
+@@ -39,6 +39,8 @@
+ #include "bashintl.h"
+
+ #include "shell.h"
++#include "test.h"
++
+ #include <tilde/tilde.h>
+
+ #if !defined (errno)
+--- a/builtins/evalfile.c
++++ b/builtins/evalfile.c
+@@ -39,6 +39,7 @@
+ #include "../flags.h"
+ #include "../input.h"
+ #include "../execute_cmd.h"
++#include "../trap.h"
+
+ #if defined (HISTORY)
+ # include "../bashhist.h"
+--- a/lib/glob/strmatch.c
++++ b/lib/glob/strmatch.c
+@@ -25,9 +25,6 @@
+ #include "strmatch.h"
+
+ extern int xstrmatch __P((char *, char *, int));
+-#if defined (HAVE_MULTIBYTE)
+-extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+-#endif
+
+ int
+ strmatch (pattern, string, flags)
+--- a/lib/glob/strmatch.h
++++ b/lib/glob/strmatch.h
+@@ -57,6 +57,7 @@
+
+ #if HANDLE_MULTIBYTE
+ extern int wcsmatch __P((wchar_t *, wchar_t *, int));
++extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+ #endif
+
+ #endif /* _STRMATCH_H */
diff --git a/app-shells/bash/files/bash-3.0-pwd.patch b/app-shells/bash/files/bash-3.0-pwd.patch
new file mode 100644
index 000000000000..77f0918fb4d8
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-pwd.patch
@@ -0,0 +1,16 @@
+Ripped from Fedora
+
+* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-30
+- Fix PS1 expansion crash when PWD is unset (bg #151116).
+
+--- bash-3.0/parse.y.pwd 2005-03-15 14:22:36.000000000 +0000
++++ bash-3.0/parse.y 2005-03-15 14:22:37.000000000 +0000
+@@ -4103,7 +4103,7 @@
+ #define ROOT_PATH(x) ((x)[0] == '/' && (x)[1] == 0)
+ #define DOUBLE_SLASH_ROOT(x) ((x)[0] == '/' && (x)[1] == '/' && (x)[2] == 0)
+ /* Abbreviate \W as ~ if $PWD == $HOME */
+- if (c == 'W' && (((t = get_string_value ("HOME")) == 0) || STREQ (t, temp) == 0))
++ if (c == 'W' && (((t = get_string_value ("HOME")) == 0) || STREQ (t, t_string) == 0))
+ {
+ if (ROOT_PATH (t_string) == 0 && DOUBLE_SLASH_ROOT (t_string) == 0)
+ {
diff --git a/app-shells/bash/files/bash-3.0-rbash.patch b/app-shells/bash/files/bash-3.0-rbash.patch
new file mode 100644
index 000000000000..e804d20f06a9
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-rbash.patch
@@ -0,0 +1,18 @@
+Fix broken rbash functionality when used as a login shell via /etc/passwd
+
+http://bugs.gentoo.org/26854
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=170298
+
+Backported from bash-3.1
+
+--- bash-3.0/shell.c
++++ bash-3.0/shell.c
+@@ -1089,6 +1099,8 @@
+ if (restricted)
+ return 1;
+ temp = base_pathname (name);
++ if (*temp == '-')
++ temp++;
+ return (STREQ (temp, RESTRICTED_SHELL_NAME));
+ }
+
diff --git a/app-shells/bash/files/bash-3.0-read-builtin-pipe.patch b/app-shells/bash/files/bash-3.0-read-builtin-pipe.patch
new file mode 100644
index 000000000000..466e45ae3004
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-read-builtin-pipe.patch
@@ -0,0 +1,20 @@
+Description:
+When using 'read -u 3' or the like, and the pipe-buf already contains
+more than one line, the first line is returned, and bytes up to the next
+multiple of 128 are skipped.
+
+http://lists.gnu.org/archive/html/bug-bash/2005-03/msg00168.html
+http://lists.gnu.org/archive/html/bug-bash/2005-03/msg00173.html
+http://bugs.gentoo.org/show_bug.cgi?id=87093
+
+--- builtins/read.def
++++ builtins/read.def
+@@ -276,7 +276,7 @@
+ input_is_tty = isatty (fd);
+ if (input_is_tty == 0)
+ #ifndef __CYGWIN__
+- input_is_pipe = (lseek (0, 0L, SEEK_CUR) < 0) && (errno == ESPIPE);
++ input_is_pipe = (lseek (fd, 0L, SEEK_CUR) < 0) && (errno == ESPIPE);
+ #else
+ input_is_pipe = 1;
+ #endif
diff --git a/app-shells/bash/files/bash-3.0-read-memleak.patch b/app-shells/bash/files/bash-3.0-read-memleak.patch
new file mode 100644
index 000000000000..6cb769f3af34
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-read-memleak.patch
@@ -0,0 +1,15 @@
+Ripped from Fedora
+
+http://lists.gnu.org/archive/html/bug-bash/2005-12/msg00013.html
+https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173283
+
+--- bash-3.0/builtins/read.def
++++ bash-3.0/builtins/read.def
+@@ -461,6 +461,7 @@
+ if (retval < 0)
+ {
+ builtin_error (_("read error: %d: %s"), fd, strerror (errno));
++ run_unwind_frame ("read_builtin");
+ return (EXECUTION_FAILURE);
+ }
+ #endif
diff --git a/app-shells/bash/files/bash-3.0-strnlen.patch b/app-shells/bash/files/bash-3.0-strnlen.patch
new file mode 100644
index 000000000000..056e00b3de57
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-strnlen.patch
@@ -0,0 +1,175 @@
+Add strnlen function for non-glibc systems, as one of Fedora's patches requires it.
+
+--- bash-3.0/configure.in
++++ bash-3.0/configure.in
+@@ -613,6 +613,9 @@
+ AC_LIBOBJ(vprint)
+ fi
+
++AC_CHECK_FUNCS([strnlen])
++AC_LIBOBJ(strnlen)
++
+ dnl signal stuff
+ AC_TYPE_SIGNAL
+
+--- /dev/null
++++ bash-3.0/lib/sh/strnlen.c
+@@ -0,0 +1,27 @@
++/*
++ Copyright (C) 2005 Gentoo Foundation
++
++ This program is free software; you can redistribute it and/or
++ modify it under the terms of the GNU General Public License
++ as published by the Free Software Foundation; either version 2
++ of the License, or (at your option) any later version.
++
++ This program is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ GNU General Public License for more details.
++
++ You should have received a copy of the GNU General Public License
++ along with this program; if not, write to the Free Software
++ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, US
++*/
++
++#include <stdlib.h>
++
++size_t strnlen(const char *s, size_t n)
++{
++ int i;
++ for (i=0; s[i] && i<n; i++)
++ /* noop */ ;
++ return i;
++}
+--- bash-3.0/configure
++++ bash-3.0/configure
+@@ -10696,9 +10696,127 @@ _ACEOF
+ fi
+
+ if test "$ac_cv_func_vprintf" = no && test "$ac_cv_func__doprnt" = "yes"; then
+- LIBOBJS="$LIBOBJS vprint.$ac_objext"
++ case $LIBOBJS in
++ "vprint.$ac_objext" | \
++ *" vprint.$ac_objext" | \
++ "vprint.$ac_objext "* | \
++ *" vprint.$ac_objext "* ) ;;
++ *) LIBOBJS="$LIBOBJS vprint.$ac_objext" ;;
++esac
++
+ fi
+
++
++for ac_func in strnlen
++do
++as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
++echo "$as_me:$LINENO: checking for $ac_func" >&5
++echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
++if eval "test \"\${$as_ac_var+set}\" = set"; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h. */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h. */
++/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
++ For example, HP-UX 11i <limits.h> declares gettimeofday. */
++#define $ac_func innocuous_$ac_func
++
++/* System header to define __stub macros and hopefully few prototypes,
++ which can conflict with char $ac_func (); below.
++ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
++ <limits.h> exists even on freestanding compilers. */
++
++#ifdef __STDC__
++# include <limits.h>
++#else
++# include <assert.h>
++#endif
++
++#undef $ac_func
++
++/* Override any gcc2 internal prototype to avoid an error. */
++#ifdef __cplusplus
++extern "C"
++{
++#endif
++/* We use char because int might match the return type of a gcc2
++ builtin and then its argument prototype would still apply. */
++char $ac_func ();
++/* The GNU C library defines this for functions which it implements
++ to always fail with ENOSYS. Some functions are actually named
++ something starting with __ and the normal name is an alias. */
++#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
++choke me
++#else
++char (*f) () = $ac_func;
++#endif
++#ifdef __cplusplus
++}
++#endif
++
++int
++main ()
++{
++return f != $ac_func;
++ ;
++ return 0;
++}
++_ACEOF
++rm -f conftest.$ac_objext conftest$ac_exeext
++if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
++ (eval $ac_link) 2>conftest.er1
++ ac_status=$?
++ grep -v '^ *+' conftest.er1 >conftest.err
++ rm -f conftest.er1
++ cat conftest.err >&5
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); } &&
++ { ac_try='test -z "$ac_c_werror_flag"
++ || test ! -s conftest.err'
++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; } &&
++ { ac_try='test -s conftest$ac_exeext'
++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
++ (eval $ac_try) 2>&5
++ ac_status=$?
++ echo "$as_me:$LINENO: \$? = $ac_status" >&5
++ (exit $ac_status); }; }; then
++ eval "$as_ac_var=yes"
++else
++ echo "$as_me: failed program was:" >&5
++sed 's/^/| /' conftest.$ac_ext >&5
++
++eval "$as_ac_var=no"
++fi
++rm -f conftest.err conftest.$ac_objext \
++ conftest$ac_exeext conftest.$ac_ext
++fi
++echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
++echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
++if test `eval echo '${'$as_ac_var'}'` = yes; then
++ cat >>confdefs.h <<_ACEOF
++#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
++_ACEOF
++
++fi
++done
++
++case $LIBOBJS in
++ "strnlen.$ac_objext" | \
++ *" strnlen.$ac_objext" | \
++ "strnlen.$ac_objext "* | \
++ *" strnlen.$ac_objext "* ) ;;
++ *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" ;;
++esac
++
++
+ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
+ echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
+ if test "${ac_cv_type_signal+set}" = set; then
diff --git a/app-shells/bash/files/bash-3.0-subshell.patch b/app-shells/bash/files/bash-3.0-subshell.patch
new file mode 100644
index 000000000000..a1d7dfe7d342
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-subshell.patch
@@ -0,0 +1,39 @@
+Ripped from Fedora which took this from upstream
+
+* Tue Nov 22 2005 Tim Waugh <twaugh@redhat.com> 3.0-37
+- Applied patch from upstream to fix parsing problem (bug #146638).
+
+http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146638
+
+--- bash-3.0/parse.y.subshell 2005-11-22 13:19:11.000000000 +0000
++++ bash-3.0/parse.y 2005-11-22 13:19:24.000000000 +0000
+@@ -2055,14 +2055,6 @@
+ if (uc)
+ shell_input_line_index++;
+
+- if MBTEST(uc == '\\' && remove_quoted_newline && shell_input_line[shell_input_line_index] == '\n')
+- {
+- if (SHOULD_PROMPT ())
+- prompt_again ();
+- line_number++;
+- goto restart_read;
+- }
+-
+ #if defined (ALIAS) || defined (DPAREN_ARITHMETIC)
+ /* If UC is NULL, we have reached the end of the current input string. If
+ pushed_string_list is non-empty, it's time to pop to the previous string
+@@ -2078,6 +2070,14 @@
+ }
+ #endif /* ALIAS || DPAREN_ARITHMETIC */
+
++ if MBTEST(uc == '\\' && remove_quoted_newline && shell_input_line[shell_input_line_index] == '\n')
++ {
++ if (SHOULD_PROMPT ())
++ prompt_again ();
++ line_number++;
++ goto restart_read;
++ }
++
+ if (!uc && shell_input_line_terminator == EOF)
+ return ((shell_input_line_index != 0) ? '\n' : EOF);
+
diff --git a/app-shells/bash/files/bash-3.0-trap-fg-signals.patch b/app-shells/bash/files/bash-3.0-trap-fg-signals.patch
new file mode 100644
index 000000000000..cde18326ed2d
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-trap-fg-signals.patch
@@ -0,0 +1,23 @@
+Don't barf on handled signals inside of scripts. Makes for nicer output.
+
+patch by Martin Schlemmer <azarah@gentoo.org>
+
+--- jobs.c
++++ jobs.c
+@@ -2893,11 +2893,11 @@
+ }
+ else if (IS_FOREGROUND (job))
+ {
+-#if !defined (DONT_REPORT_SIGPIPE)
+- if (termsig && WIFSIGNALED (s) && termsig != SIGINT)
+-#else
+- if (termsig && WIFSIGNALED (s) && termsig != SIGINT && termsig != SIGPIPE)
+-#endif
++ if (termsig && WIFSIGNALED (s) && termsig != SIGINT &&
++#if defined (DONT_REPORT_SIGPIPE)
++ termsig != SIGPIPE &&
++#endif
++ signal_is_trapped (termsig) == 0)
+ {
+ fprintf (stderr, "%s", j_strsignal (termsig));
+
diff --git a/app-shells/bash/files/bash-3.0-ulimit.patch b/app-shells/bash/files/bash-3.0-ulimit.patch
new file mode 100644
index 000000000000..8202b95d2769
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-ulimit.patch
@@ -0,0 +1,186 @@
+Ripped from Fedora
+
+--- bash-3.0/builtins/ulimit.def
++++ bash-3.0/builtins/ulimit.def
+@@ -34,15 +34,20 @@
+ -a all current limits are reported
+ -c the maximum size of core files created
+ -d the maximum size of a process's data segment
++ -e the maximum scheduling priority (`nice')
+ -f the maximum size of files created by the shell
++ -i the maximum number of pending signals
+ -l the maximum size a process may lock into memory
+ -m the maximum resident set size
+ -n the maximum number of open file descriptors
+ -p the pipe buffer size
++ -q the maximum number of bytes in POSIX message queues
++ -r the maximum rt priority
+ -s the maximum stack size
+ -t the maximum amount of cpu time in seconds
+ -u the maximum number of user processes
+ -v the size of virtual memory
++ -x the maximum number of file locks
+
+ If LIMIT is given, it is the new value of the specified resource;
+ the special LIMIT values `soft', `hard', and `unlimited' stand for
+@@ -199,7 +204,13 @@
+ #ifdef RLIMIT_DATA
+ { 'd', RLIMIT_DATA, 1024, "data seg size", "kbytes" },
+ #endif
++#ifdef RLIMIT_NICE
++ { 'e', RLIMIT_NICE, 1, "max nice", (char *)NULL},
++#endif /* RLIMIT_NICE */
+ { 'f', RLIMIT_FILESIZE, 1024, "file size", "blocks" },
++#ifdef RLIMIT_SIGPENDING
++ { 'i', RLIMIT_SIGPENDING, 1, "pending signals", (char *)NULL},
++#endif
+ #ifdef RLIMIT_MEMLOCK
+ { 'l', RLIMIT_MEMLOCK, 1024, "max locked memory", "kbytes" },
+ #endif
+@@ -208,6 +219,12 @@
+ #endif /* RLIMIT_RSS */
+ { 'n', RLIMIT_OPENFILES, 1, "open files", (char *)NULL},
+ { 'p', RLIMIT_PIPESIZE, 512, "pipe size", "512 bytes" },
++#ifdef RLIMIT_MSGQUEUE
++ { 'q', RLIMIT_MSGQUEUE, 1, "POSIX message queues", "bytes" },
++#endif
++#ifdef RLIMIT_RTPRIO
++ { 'r', RLIMIT_RTPRIO, 1, "max rt priority", (char *)NULL},
++#endif /* RLIMIT_RTPRIO */
+ #ifdef RLIMIT_STACK
+ { 's', RLIMIT_STACK, 1024, "stack size", "kbytes" },
+ #endif
+@@ -221,6 +238,9 @@
+ #ifdef RLIMIT_SWAP
+ { 'w', RLIMIT_SWAP, 1024, "swap size", "kbytes" },
+ #endif
++#ifdef RLIMIT_LOCKS
++ { 'x', RLIMIT_LOCKS, 1, "file locks", (char *)NULL},
++#endif
+ { -1, -1, -1, (char *)NULL, (char *)NULL }
+ };
+ #define NCMDS (sizeof(limits) / sizeof(limits[0]))
+@@ -647,11 +667,11 @@
+
+ for (i = 0; limits[i].option > 0; i++)
+ {
+- if (get_limit (i, &softlim, &hardlim) < 0)
++ if (get_limit (i, &softlim, &hardlim) == 0)
++ printone (i, (mode & LIMIT_SOFT) ? softlim : hardlim, 1);
++ else if (errno != EINVAL)
+ builtin_error ("%s: cannot get limit: %s", limits[i].description,
+ strerror (errno));
+- else
+- printone (i, (mode & LIMIT_SOFT) ? softlim : hardlim, 1);
+ }
+ }
+
+@@ -670,7 +690,7 @@
+ else
+ sprintf (unitstr, "(-%c) ", limits[limind].option);
+
+- printf ("%-18s %16s", limits[limind].description, unitstr);
++ printf ("%-20s %16s", limits[limind].description, unitstr);
+ }
+ if (curlim == RLIM_INFINITY)
+ puts ("unlimited");
+--- bash-3.0/doc/bashref.texi
++++ bash-3.0/doc/bashref.texi
+@@ -3793,7 +3793,7 @@
+ @item ulimit
+ @btindex ulimit
+ @example
+-ulimit [-acdflmnpstuvSH] [@var{limit}]
++ulimit [-acdeflmnpqrstuvxSH] [@var{limit}]
+ @end example
+ @code{ulimit} provides control over the resources available to processes
+ started by the shell, on systems that allow such control. If an
+@@ -3814,9 +3814,15 @@
+ @item -d
+ The maximum size of a process's data segment.
+
++@item -e
++The maximum scheduling priority.
++
+ @item -f
+ The maximum size of files created by the shell.
+
++@item -i
++The maximum number of pending signals.
++
+ @item -l
+ The maximum size that may be locked into memory.
+
+@@ -3829,6 +3835,12 @@
+ @item -p
+ The pipe buffer size.
+
++@item -q
++The maximum number of bytes in POSIX message queues.
++
++@item -r
++The maximum RT priority.
++
+ @item -s
+ The maximum stack size.
+
+@@ -3841,6 +3853,9 @@
+ @item -v
+ The maximum amount of virtual memory available to the process.
+
++@item -x
++The maximum amount of file locks.
++
+ @end table
+
+ If @var{limit} is given, it is the new value of the specified resource;
+--- bash-3.0/doc/bash.1
++++ bash-3.0/doc/bash.1
+@@ -8362,7 +8362,7 @@
+ returns true if any of the arguments are found, false if
+ none are found.
+ .TP
+-\fBulimit\fP [\fB\-SHacdflmnpstuv\fP [\fIlimit\fP]]
++\fBulimit\fP [\fB\-SHacdefilmnpqrstuvx\fP [\fIlimit\fP]]
+ Provides control over the resources available to the shell and to
+ processes started by it, on systems that allow such control.
+ The \fB\-H\fP and \fB\-S\fP options specify that the hard or soft limit is
+@@ -8398,9 +8398,15 @@
+ .B \-d
+ The maximum size of a process's data segment
+ .TP
++.B \-e
++The maximum scheduling priority (`nice')
++.TP
+ .B \-f
+ The maximum size of files created by the shell
+ .TP
++.B \-i
++The maximum number of pending signals
++.TP
+ .B \-l
+ The maximum size that may be locked into memory
+ .TP
+@@ -8414,6 +8420,12 @@
+ .B \-p
+ The pipe size in 512-byte blocks (this may not be set)
+ .TP
++.B \-q
++The maximum number of bytes in POSIX message queues
++.TP
++.B \-r
++The maximum rt priority
++.TP
+ .B \-s
+ The maximum stack size
+ .TP
+@@ -8425,6 +8437,9 @@
+ .TP
+ .B \-v
+ The maximum amount of virtual memory available to the shell
++.TP
++.B \-x
++The maximum number of file locks
+ .PD
+ .PP
+ If
diff --git a/app-shells/bash/files/bash-3.0-volatile-command.patch b/app-shells/bash/files/bash-3.0-volatile-command.patch
new file mode 100644
index 000000000000..8b89b35914b1
--- /dev/null
+++ b/app-shells/bash/files/bash-3.0-volatile-command.patch
@@ -0,0 +1,16 @@
+Ripped from Debian
+
+# DP: current_command must be declared volatile to prevent assignments from
+# being optimized away as dead code. In reality, the use of setjmp/longjmp
+# makes it not dead code at all.
+
+--- eval.old 2003-12-18 23:44:15.000000000 -0500
++++ eval.c 2005-10-03 01:59:31.000000000 -0400
+@@ -63,7 +63,7 @@
+ reader_loop ()
+ {
+ int our_indirection_level;
+- COMMAND *current_command = (COMMAND *)NULL;
++ COMMAND * volatile current_command = (COMMAND *)NULL;
+
+ USE_VAR(current_command);
diff --git a/app-shells/bash/files/bash-3.1-dev-fd-buffer-overflow.patch b/app-shells/bash/files/bash-3.1-dev-fd-buffer-overflow.patch
new file mode 100644
index 000000000000..9d08856e5b00
--- /dev/null
+++ b/app-shells/bash/files/bash-3.1-dev-fd-buffer-overflow.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/431850
+
+this is a backport of the upstream bash42-033 patch for bash 3.1/3.0/2.05
+
+--- a/test.c
++++ b/test.c
+@@ -194,7 +194,8 @@
+ trailing slash. Make sure /dev/fd/xx really uses DEV_FD_PREFIX/xx.
+ On most systems, with the notable exception of linux, this is
+ effectively a no-op. */
+- char pbuf[32];
++ static char *pbuf = 0;
++ pbuf = xrealloc (pbuf, sizeof (DEV_FD_PREFIX) + strlen (path + 8));
+ strcpy (pbuf, DEV_FD_PREFIX);
+ strcat (pbuf, path + 8);
+ return (stat (pbuf, finfo));
diff --git a/app-shells/bash/files/bash-3.1-dev-fd-test-as-user.patch b/app-shells/bash/files/bash-3.1-dev-fd-test-as-user.patch
new file mode 100644
index 000000000000..80a4b0a1a034
--- /dev/null
+++ b/app-shells/bash/files/bash-3.1-dev-fd-test-as-user.patch
@@ -0,0 +1,14 @@
+Fix the /dev/fd test when running as a non root user
+after logging in as a root user #131875
+
+--- bash-3.1/configure
++++ bash-3.1/configure
+@@ -23098,7 +23098,7 @@
+ if test -d /dev/fd && test -r /dev/fd/0 < /dev/null; then
+ # check for systems like FreeBSD 5 that only provide /dev/fd/[012]
+ exec 3<&0
+- if test -r /dev/fd/3; then
++ if test -e /dev/fd/3; then
+ bash_cv_dev_fd=standard
+ else
+ bash_cv_dev_fd=absent
diff --git a/app-shells/bash/files/bash-3.1-fix-dash-login-shell.patch b/app-shells/bash/files/bash-3.1-fix-dash-login-shell.patch
new file mode 100644
index 000000000000..3ca7518fbb50
--- /dev/null
+++ b/app-shells/bash/files/bash-3.1-fix-dash-login-shell.patch
@@ -0,0 +1,52 @@
+http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00054.html
+http://bugs.gentoo.org/118257
+
+Date: Fri, 13 Jan 2006 17:11:10 +0000
+From: Tim Waugh <twaugh@redhat.com>
+To: bug-bash@gnu.org
+Subject: [patch] fix 'exec -l /bin/bash'
+
+Configuration Information [Automatically generated, do not change]:
+Machine: i386
+OS: linux-gnu
+Compiler: i386-redhat-linux-gcc
+Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables
+uname output: Linux gene.surrey.redhat.com 2.6.13-1.1597_FC5 #1 Thu Oct 6 02:13:06 EDT 2005 i686 i686 i386 GNU/Linux
+Machine Type: i386-redhat-linux-gnu
+
+Bash Version: 3.1
+Patch Level: 1
+Release Status: release
+
+Description:
+ If bash has argv[0] as '-/bin/bash' it does not become a login
+ shell.
+
+Repeat-By:
+ exec -l /bin/bash
+ shopt
+
+Fix:
+
+--- bash-3.1/shell.c.login 2006-01-13 16:52:14.000000000 +0000
++++ bash-3.1/shell.c 2006-01-13 16:52:15.000000000 +0000
+@@ -1543,9 +1543,10 @@
+ any startup files; just try to be more like /bin/sh. */
+ shell_name = argv0 ? base_pathname (argv0) : PROGRAM;
+
+- if (*shell_name == '-')
++ if (argv0 && *argv0 == '-')
+ {
+- shell_name++;
++ if (*shell_name == '-')
++ shell_name++;
+ login_shell++;
+ }
+
+
+
+_______________________________________________
+Bug-bash mailing list
+Bug-bash@gnu.org
+http://lists.gnu.org/mailman/listinfo/bug-bash
+
diff --git a/app-shells/bash/files/bash-3.1-protos.patch b/app-shells/bash/files/bash-3.1-protos.patch
new file mode 100644
index 000000000000..32ae8cfe91a3
--- /dev/null
+++ b/app-shells/bash/files/bash-3.1-protos.patch
@@ -0,0 +1,67 @@
+move prototypes around so they show up when needed
+
+--- a/jobs.h
++++ b/jobs.h
+@@ -182,6 +182,7 @@
+
+ extern int count_all_jobs __P((void));
+
++extern void close_pgrp_pipe __P((void));
+ extern void terminate_current_pipeline __P((void));
+ extern void terminate_stopped_jobs __P((void));
+ extern void hangup_all_jobs __P((void));
+--- a/lib/glob/strmatch.c
++++ b/lib/glob/strmatch.c
+@@ -25,9 +25,6 @@
+ #include "strmatch.h"
+
+ extern int xstrmatch __P((char *, char *, int));
+-#if defined (HAVE_MULTIBYTE)
+-extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+-#endif
+
+ int
+ strmatch (pattern, string, flags)
+--- a/lib/glob/strmatch.h
++++ b/lib/glob/strmatch.h
+@@ -57,6 +57,7 @@
+
+ #if HANDLE_MULTIBYTE
+ extern int wcsmatch __P((wchar_t *, wchar_t *, int));
++extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+ #endif
+
+ #endif /* _STRMATCH_H */
+--- a/builtins/echo.def
++++ b/builtins/echo.def
+@@ -31,6 +31,8 @@
+ #include <stdio.h>
+ #include "../shell.h"
+
++#include "common.h"
++
+ $BUILTIN echo
+ $FUNCTION echo_builtin
+ $DEPENDS_ON V9_ECHO
+--- a/lib/sh/winsize.c
++++ b/lib/sh/winsize.c
+@@ -55,6 +55,7 @@
+ #if defined (READLINE)
+ extern void rl_set_screen_size __P((int, int));
+ #endif
++extern void sh_set_lines_and_columns __P((int, int));
+
+ void
+ get_new_window_size (from_sig, rp, cp)
+--- a/support/bashversion.c
++++ b/support/bashversion.c
+@@ -47,6 +47,9 @@
+ extern char *dist_version;
+ extern int patch_level;
+
++extern char *shell_version_string __P((void));
++extern void show_shell_version __P((int));
++
+ char *shell_name = "bash";
+ char *progname;
+
diff --git a/app-shells/bash/files/bash-3.1-ulimit.patch b/app-shells/bash/files/bash-3.1-ulimit.patch
new file mode 100644
index 000000000000..432fb54966b8
--- /dev/null
+++ b/app-shells/bash/files/bash-3.1-ulimit.patch
@@ -0,0 +1,122 @@
+Ripped from Fedora
+
+Add support for RLIMIT_NICE/RLIMIT_RTPRIO and add missing documentation
+for many other options
+
+--- builtins/ulimit.def
++++ builtins/ulimit.def
+@@ -24,7 +24,7 @@
+ $BUILTIN ulimit
+ $FUNCTION ulimit_builtin
+ $DEPENDS_ON !_MINIX
+-$SHORT_DOC ulimit [-SHacdfilmnpqstuvx] [limit]
++$SHORT_DOC ulimit [-SHacdefilmnpqrstuvx] [limit]
+ Ulimit provides control over the resources available to processes
+ started by the shell, on systems that allow such control. If an
+ option is given, it is interpreted as follows:
+@@ -34,18 +34,20 @@
+ -a all current limits are reported
+ -c the maximum size of core files created
+ -d the maximum size of a process's data segment
++ -e the maximum scheduling priority (`nice')
+ -f the maximum size of files created by the shell
+- -i the maximum number of pending signals
++ -i the maximum number of pending signals
+ -l the maximum size a process may lock into memory
+ -m the maximum resident set size
+ -n the maximum number of open file descriptors
+ -p the pipe buffer size
+- -q the maximum number of bytes in POSIX message queues
++ -q the maximum number of bytes in POSIX message queues
++ -r the maximum rt priority
+ -s the maximum stack size
+ -t the maximum amount of cpu time in seconds
+ -u the maximum number of user processes
+ -v the size of virtual memory
+- -x the maximum number of file locks
++ -x the maximum number of file locks
+
+ If LIMIT is given, it is the new value of the specified resource;
+ the special LIMIT values `soft', `hard', and `unlimited' stand for
+@@ -202,6 +204,9 @@
+ #ifdef RLIMIT_DATA
+ { 'd', RLIMIT_DATA, 1024, "data seg size", "kbytes" },
+ #endif
++#ifdef RLIMIT_NICE
++ { 'e', RLIMIT_NICE, 1, "max nice", (char *)NULL},
++#endif
+ { 'f', RLIMIT_FILESIZE, 1024, "file size", "blocks" },
+ #ifdef RLIMIT_SIGPENDING
+ { 'i', RLIMIT_SIGPENDING, 1, "pending signals", (char *)NULL },
+@@ -217,6 +222,9 @@
+ #ifdef RLIMIT_MSGQUEUE
+ { 'q', RLIMIT_MSGQUEUE, 1, "POSIX message queues", "bytes" },
+ #endif
++#ifdef RLIMIT_RTPRIO
++ { 'r', RLIMIT_RTPRIO, 1, "max rt priority", (char *)NULL},
++#endif
+ #ifdef RLIMIT_STACK
+ { 's', RLIMIT_STACK, 1024, "stack size", "kbytes" },
+ #endif
+--- doc/bashref.texi
++++ doc/bashref.texi
+@@ -3833,7 +3833,7 @@
+ @item ulimit
+ @btindex ulimit
+ @example
+-ulimit [-acdfilmnpqstuvxSH] [@var{limit}]
++ulimit [-acdefilmnpqrstuvxSH] [@var{limit}]
+ @end example
+ @code{ulimit} provides control over the resources available to processes
+ started by the shell, on systems that allow such control. If an
+@@ -3854,6 +3854,9 @@
+ @item -d
+ The maximum size of a process's data segment.
+
++@item -e
++The maximum scheduling priority.
++
+ @item -f
+ The maximum size of files created by the shell.
+
+@@ -3875,6 +3878,9 @@
+ @item -q
+ The maximum number of bytes in POSIX message queues.
+
++@item -r
++The maximum RT priority.
++
+ @item -s
+ The maximum stack size.
+
+--- doc/bash.1
++++ doc/bash.1
+@@ -8490,7 +8490,7 @@
+ returns true if any of the arguments are found, false if
+ none are found.
+ .TP
+-\fBulimit\fP [\fB\-SHacdfilmnpqstuvx\fP [\fIlimit\fP]]
++\fBulimit\fP [\fB\-SHacdefilmnpqrstuvx\fP [\fIlimit\fP]]
+ Provides control over the resources available to the shell and to
+ processes started by it, on systems that allow such control.
+ The \fB\-H\fP and \fB\-S\fP options specify that the hard or soft limit is
+@@ -8526,6 +8526,9 @@
+ .B \-d
+ The maximum size of a process's data segment
+ .TP
++.B \-e
++The maximum scheduling priority (`nice')
++.TP
+ .B \-f
+ The maximum size of files created by the shell
+ .TP
+@@ -8548,6 +8551,9 @@
+ .B \-q
+ The maximum number of bytes in POSIX message queues
+ .TP
++.B \-r
++The maximum rt priority
++.TP
+ .B \-s
+ The maximum stack size
+ .TP
diff --git a/app-shells/bash/files/bash-3.2-dev-fd-test-as-user.patch b/app-shells/bash/files/bash-3.2-dev-fd-test-as-user.patch
new file mode 100644
index 000000000000..8aca7767161d
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-dev-fd-test-as-user.patch
@@ -0,0 +1,26 @@
+diff -ur bash-3.2.orig/aclocal.m4 bash-3.2/aclocal.m4
+--- bash-3.2.orig/aclocal.m4 2006-12-30 20:00:31 +0000
++++ bash-3.2/aclocal.m4 2006-12-30 20:02:02 +0000
+@@ -1544,7 +1544,8 @@
+ if test -d /dev/fd && test -r /dev/fd/0 < /dev/null; then
+ # check for systems like FreeBSD 5 that only provide /dev/fd/[012]
+ exec 3</dev/null
+- if test -r /dev/fd/3; then
++ # bash test builtin always works here, so we use the test binary
++ if `which test || echo test` -e /dev/fd/3; then
+ bash_cv_dev_fd=standard
+ else
+ bash_cv_dev_fd=absent
+diff -ur bash-3.2.orig/configure bash-3.2/configure
+--- bash-3.2.orig/configure 2006-12-30 20:03:24 +0000
++++ bash-3.2/configure 2006-12-30 20:01:50 +0000
+@@ -27179,7 +27179,8 @@
+ if test -d /dev/fd && test -r /dev/fd/0 < /dev/null; then
+ # check for systems like FreeBSD 5 that only provide /dev/fd/[012]
+ exec 3</dev/null
+- if test -r /dev/fd/3; then
++ # bash test builtin always works here, so we use the test binary
++ if `which test || echo test` -e /dev/fd/3; then
+ bash_cv_dev_fd=standard
+ else
+ bash_cv_dev_fd=absent
diff --git a/app-shells/bash/files/bash-3.2-ldflags-for-build.patch b/app-shells/bash/files/bash-3.2-ldflags-for-build.patch
new file mode 100644
index 000000000000..2dc1dd6ef790
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-ldflags-for-build.patch
@@ -0,0 +1,37 @@
+http://bugs.gentoo.org/211947
+
+fix from Takashi YOSHII: dont use target ldflags for build apps
+
+--- bash/builtins/Makefile.in
++++ bash/builtins/Makefile.in
+@@ -63,7 +63,7 @@
+
+ LIBS = @LIBS@
+ LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
+-LDFLAGS_FOR_BUILD = $(LDFLAGS)
++LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
+ LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
+ #LIBS_FOR_BUILD = @LIBS_FOR_BUILD@
+ LIBS_FOR_BUILD = $(LIBS)
+--- bash/support/Makefile.in
++++ bash/support/Makefile.in
+@@ -58,7 +58,7 @@
+
+ LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
+ LDFLAGS = @LDFLAGS@ $(LOCAL_LDFLAGS) $(CFLAGS)
+-LDFLAGS_FOR_BUILD = $(LDFLAGS)
++LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
+
+ INCLUDES = -I${BUILD_DIR} -I${topdir}
+
+--- bash/Makefile.in
++++ bash/Makefile.in
+@@ -143,7 +143,7 @@
+ CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
+
+ LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
+-LDFLAGS_FOR_BUILD = $(LDFLAGS)
++LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
+
+ INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
+
diff --git a/app-shells/bash/files/bash-3.2-loadables.patch b/app-shells/bash/files/bash-3.2-loadables.patch
new file mode 100644
index 000000000000..cd0e1e1a8e9e
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-loadables.patch
@@ -0,0 +1,239 @@
+--- bash-3.2/examples/loadables/basename.c
++++ bash-3.2/examples/loadables/basename.c
+@@ -11,6 +11,7 @@
+ #include <stdio.h>
+ #include "builtins.h"
+ #include "shell.h"
++#include "common.h"
+
+ basename_builtin (list)
+ WORD_LIST *list;
+--- bash-3.2/examples/loadables/cut.c
++++ bash-3.2/examples/loadables/cut.c
+@@ -63,6 +63,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/dirname.c
++++ bash-3.2/examples/loadables/dirname.c
+@@ -11,6 +11,7 @@
+ #include <stdio.h>
+ #include "builtins.h"
+ #include "shell.h"
++#include "common.h"
+
+ dirname_builtin (list)
+ WORD_LIST *list;
+--- bash-3.2/examples/loadables/finfo.c
++++ bash-3.2/examples/loadables/finfo.c
+@@ -12,6 +12,7 @@
+ #include <pwd.h>
+ #include <grp.h>
+ #include <errno.h>
++#include <time.h>
+
+ #include "bashansi.h"
+ #include "shell.h"
+--- bash-3.2/examples/loadables/head.c
++++ bash-3.2/examples/loadables/head.c
+@@ -21,6 +21,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/ln.c
++++ bash-3.2/examples/loadables/ln.c
+@@ -18,6 +18,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/logname.c
++++ bash-3.2/examples/loadables/logname.c
+@@ -11,6 +11,7 @@
+
+ #include "builtins.h"
+ #include "shell.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/mkdir.c
++++ bash-3.2/examples/loadables/mkdir.c
+@@ -16,6 +16,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/pathchk.c
++++ bash-3.2/examples/loadables/pathchk.c
+@@ -45,6 +45,7 @@
+ #include "stdc.h"
+ #include "bashgetopt.h"
+ #include "maxpath.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/print.c
++++ bash-3.2/examples/loadables/print.c
+@@ -17,6 +17,8 @@
+ #include "builtins.h"
+ #include "stdc.h"
+ #include "bashgetopt.h"
++#include "builtext.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/printenv.c
++++ bash-3.2/examples/loadables/printenv.c
+@@ -11,6 +11,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ extern char **export_env;
+
+--- bash-3.2/examples/loadables/push.c
++++ bash-3.2/examples/loadables/push.c
+@@ -11,6 +11,7 @@
+ #include "shell.h"
+ #include "jobs.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #ifndef errno
+ extern int errno;
+--- bash-3.2/examples/loadables/realpath.c
++++ bash-3.2/examples/loadables/realpath.c
+@@ -34,6 +34,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #ifndef errno
+ extern int errno;
+@@ -67,14 +68,14 @@
+ vflag = 1;
+ break;
+ default:
+- usage();
++ builtin_usage();
+ }
+ }
+
+ list = loptend;
+
+ if (list == 0)
+- usage();
++ builtin_usage();
+
+ for (es = EXECUTION_SUCCESS; list; list = list->next) {
+ p = list->word->word;
+--- bash-3.2/examples/loadables/rmdir.c
++++ bash-3.2/examples/loadables/rmdir.c
+@@ -8,6 +8,7 @@
+ #include <errno.h>
+ #include "builtins.h"
+ #include "shell.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/sleep.c
++++ bash-3.2/examples/loadables/sleep.c
+@@ -27,6 +27,7 @@
+
+ #include "shell.h"
+ #include "builtins.h"
++#include "common.h"
+
+ #define RETURN(x) \
+ do { \
+--- bash-3.2/examples/loadables/tee.c
++++ bash-3.2/examples/loadables/tee.c
+@@ -22,6 +22,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #if !defined (errno)
+ extern int errno;
+--- bash-3.2/examples/loadables/truefalse.c
++++ bash-3.2/examples/loadables/truefalse.c
+@@ -1,5 +1,7 @@
+ /* true and false builtins */
+
++#include <config.h>
++
+ #include "bashtypes.h"
+ #include "shell.h"
+ #include "builtins.h"
+--- bash-3.2/examples/loadables/tty.c
++++ bash-3.2/examples/loadables/tty.c
+@@ -8,6 +8,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ extern char *ttyname ();
+
+--- bash-3.2/examples/loadables/uname.c
++++ bash-3.2/examples/loadables/uname.c
+@@ -27,6 +27,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ #define FLAG_SYSNAME 0x01 /* -s */
+ #define FLAG_NODENAME 0x02 /* -n */
+--- bash-3.2/examples/loadables/unlink.c
++++ bash-3.2/examples/loadables/unlink.c
+@@ -14,6 +14,7 @@
+
+ #include "builtins.h"
+ #include "shell.h"
++#include "common.h"
+
+ #ifndef errno
+ extern int errno;
+--- bash-3.2/examples/loadables/whoami.c
++++ bash-3.2/examples/loadables/whoami.c
+@@ -8,6 +8,7 @@
+ #include "builtins.h"
+ #include "shell.h"
+ #include "bashgetopt.h"
++#include "common.h"
+
+ whoami_builtin (list)
+ WORD_LIST *list;
+--- bash-3.2/examples/loadables/Makefile.in
++++ bash-3.2/examples/loadables/Makefile.in
+@@ -68,7 +68,7 @@
+ SHOBJ_CC = @SHOBJ_CC@
+ SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
+ SHOBJ_LD = @SHOBJ_LD@
+-SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
++SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@ @LDFLAGS@
+ SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
+ SHOBJ_LIBS = @SHOBJ_LIBS@
+ SHOBJ_STATUS = @SHOBJ_STATUS@
diff --git a/app-shells/bash/files/bash-3.2-process-subst.patch b/app-shells/bash/files/bash-3.2-process-subst.patch
new file mode 100644
index 000000000000..bd0b3f4e1792
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-process-subst.patch
@@ -0,0 +1,12 @@
+Fix process substitution on BSD
+
+--- execute_cmd.c
++++ execute_cmd.c
+@@ -2672,6 +2672,7 @@
+
+ do_piping (pipe_in, pipe_out);
+
++ subshell_environment = 0;
+ if (async)
+ subshell_environment |= SUBSHELL_ASYNC;
+ if (pipe_in != NO_PIPE || pipe_out != NO_PIPE)
diff --git a/app-shells/bash/files/bash-3.2-protos.patch b/app-shells/bash/files/bash-3.2-protos.patch
new file mode 100644
index 000000000000..0a9ea74adfb0
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-protos.patch
@@ -0,0 +1,57 @@
+move prototypes around so they show up when needed
+
+--- a/jobs.h
++++ b/jobs.h
+@@ -182,6 +182,7 @@
+
+ extern int count_all_jobs __P((void));
+
++extern void close_pgrp_pipe __P((void));
+ extern void terminate_current_pipeline __P((void));
+ extern void terminate_stopped_jobs __P((void));
+ extern void hangup_all_jobs __P((void));
+--- a/lib/glob/strmatch.c
++++ b/lib/glob/strmatch.c
+@@ -25,9 +25,6 @@
+ #include "strmatch.h"
+
+ extern int xstrmatch __P((char *, char *, int));
+-#if defined (HAVE_MULTIBYTE)
+-extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+-#endif
+
+ int
+ strmatch (pattern, string, flags)
+--- a/lib/glob/strmatch.h
++++ b/lib/glob/strmatch.h
+@@ -57,6 +57,7 @@
+
+ #if HANDLE_MULTIBYTE
+ extern int wcsmatch __P((wchar_t *, wchar_t *, int));
++extern int internal_wstrmatch __P((wchar_t *, wchar_t *, int));
+ #endif
+
+ #endif /* _STRMATCH_H */
+--- a/quit.h
++++ b/quit.h
+@@ -21,6 +21,8 @@
+ #if !defined (_QUIT_H_)
+ #define _QUIT_H_
+
++#include "sig.h"
++
+ /* Non-zero means SIGINT has already ocurred. */
+ extern volatile int interrupt_state;
+ extern volatile int terminating_signal;
+--- a/support/bashversion.c
++++ b/support/bashversion.c
+@@ -47,6 +47,9 @@
+ extern char *dist_version;
+ extern int patch_level;
+
++extern char *shell_version_string __P((void));
++extern void show_shell_version __P((int));
++
+ char *shell_name = "bash";
+ char *progname;
+
diff --git a/app-shells/bash/files/bash-3.2-session-leader.patch b/app-shells/bash/files/bash-3.2-session-leader.patch
new file mode 100644
index 000000000000..82f7d9806333
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-session-leader.patch
@@ -0,0 +1,65 @@
+http://bugs.gentoo.org/231775
+http://lists.gnu.org/archive/html/bug-bash/2008-07/msg00010.html
+
+A parent bash shell sometimes will set the session leader tty (using tcsetpgrp)
+back to itself, taking control away from a child bash shell, due to a race
+condition. A result is that the child can then not then execute some commands
+(like stty) from its init script (e.g. .bashrc). The result I (and others)
+have seen is that the bash shell will hang while reading the init script.
+
+*** jobs.c.20080704 2008-07-10 15:14:13.000000000 -0400
+--- jobs.c 2008-07-10 15:17:59.000000000 -0400
+***************
+*** 266,269 ****
+--- 266,270 ----
+ static void set_job_running __P((int));
+ static void setjstatus __P((int));
++ static int maybe_give_terminal_to __P((pid_t, pid_t, int));
+ static void mark_all_jobs_as_dead __P((void));
+ static void mark_dead_jobs_as_notified __P((int));
+***************
+*** 637,641 ****
+ */
+ if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0)
+! give_terminal_to (newjob->pgrp, 0);
+ }
+ }
+--- 638,642 ----
+ */
+ if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0)
+! maybe_give_terminal_to (shell_pgrp, newjob->pgrp, 0);
+ }
+ }
+***************
+*** 3833,3836 ****
+--- 3834,3863 ----
+ }
+
++ /* Give terminal to NPGRP iff it's currently owned by OPGRP. FLAGS are the
++ flags to pass to give_terminal_to(). */
++ static int
++ maybe_give_terminal_to (opgrp, npgrp, flags)
++ pid_t opgrp, npgrp;
++ int flags;
++ {
++ int tpgrp;
++
++ tpgrp = tcgetpgrp (shell_tty);
++ if (tpgrp == npgrp)
++ {
++ terminal_pgrp = npgrp;
++ return 0;
++ }
++ else if (tpgrp != opgrp)
++ {
++ #if defined (DEBUG)
++ internal_warning ("maybe_give_terminal_to: terminal pgrp == %d shell pgrp = %d", tpgrp, opgrp);
++ #endif
++ return -1;
++ }
++ else
++ return (give_terminal_to (npgrp, flags));
++ }
++
+ /* Clear out any jobs in the job array. This is intended to be used by
+ children of the shell, who should not have any job structures as baggage
diff --git a/app-shells/bash/files/bash-3.2-ulimit.patch b/app-shells/bash/files/bash-3.2-ulimit.patch
new file mode 100644
index 000000000000..a0975cb6e9a8
--- /dev/null
+++ b/app-shells/bash/files/bash-3.2-ulimit.patch
@@ -0,0 +1,13 @@
+add missing docs for -e and -r options
+
+--- builtins/ulimit.def
++++ builtins/ulimit.def
+@@ -24,7 +24,7 @@
+ $BUILTIN ulimit
+ $FUNCTION ulimit_builtin
+ $DEPENDS_ON !_MINIX
+-$SHORT_DOC ulimit [-SHacdfilmnpqstuvx] [limit]
++$SHORT_DOC ulimit [-SHacdefilmnpqrstuvx] [limit]
+ Ulimit provides control over the resources available to processes
+ started by the shell, on systems that allow such control. If an
+ option is given, it is interpreted as follows:
diff --git a/app-shells/bash/files/bash-4.0-configure.patch b/app-shells/bash/files/bash-4.0-configure.patch
new file mode 100644
index 000000000000..e57cb6b2402e
--- /dev/null
+++ b/app-shells/bash/files/bash-4.0-configure.patch
@@ -0,0 +1,25 @@
+http://bugs.gentoo.org/304901
+
+newer patches touch configure ... we don't want autotool deps, so update
+the files ourselves
+
+--- bash-4.0/configure
++++ bash-4.0/configure
+@@ -5806,7 +5806,7 @@
+ # static version specified as -llibname to override the
+ # dynamic version
+ case "${host_os}" in
+- darwin[89]*) READLINE_LIB='${READLINE_LIBRARY}' ;;
++ darwin[89]*|darwin10*) READLINE_LIB='${READLINE_LIBRARY}' ;;
+ *) READLINE_LIB=-lreadline ;;
+ esac
+ fi
+@@ -5847,7 +5847,7 @@
+ # static version specified as -llibname to override the
+ # dynamic version
+ case "${host_os}" in
+- darwin[89]*) HISTORY_LIB='${HISTORY_LIBRARY}' ;;
++ darwin[89]*|darwin10*) HISTORY_LIB='${HISTORY_LIBRARY}' ;;
+ *) HISTORY_LIB=-lhistory ;;
+ esac
+ fi
diff --git a/app-shells/bash/files/bash-4.0-ldflags-for-build.patch b/app-shells/bash/files/bash-4.0-ldflags-for-build.patch
new file mode 100644
index 000000000000..089264f97e40
--- /dev/null
+++ b/app-shells/bash/files/bash-4.0-ldflags-for-build.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/211947
+
+fix from Takashi YOSHII: dont use target ldflags for build apps
+
+--- bash/Makefile.in
++++ bash/Makefile.in
+@@ -143,7 +143,7 @@
+ CCFLAGS_FOR_BUILD = $(BASE_CCFLAGS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
+
+ LDFLAGS = @LDFLAGS@ $(STATIC_LD) $(LOCAL_LDFLAGS) $(PROFILE_FLAGS) $(CFLAGS)
+-LDFLAGS_FOR_BUILD = $(LDFLAGS)
++LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ $(LOCAL_LDFLAGS) $(CFLAGS_FOR_BUILD)
+
+ INCLUDES = -I. @RL_INCLUDE@ -I$(srcdir) -I$(BASHINCDIR) -I$(LIBSRC) $(INTL_INC)
+
diff --git a/app-shells/bash/files/bash-4.0-negative-return.patch b/app-shells/bash/files/bash-4.0-negative-return.patch
new file mode 100644
index 000000000000..32affa18c179
--- /dev/null
+++ b/app-shells/bash/files/bash-4.0-negative-return.patch
@@ -0,0 +1,33 @@
+http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00158.html
+
+make `return` accept negative values again
+
+hack by me (vapier@gentoo.org) ... i'm not familiar with bash source code, so
+i imagine this isn't the best way to do it ...
+
+--- bash/builtins/return.def
++++ bash/builtins/return.def
+@@ -60,9 +60,23 @@
+ return_builtin (list)
+ WORD_LIST *list;
+ {
++ int neg = 0;
++ if (list && list->word && list->word->word) {
++ char *word = list->word->word;
++ if (*word == '-') {
++ while (*word++)
++ if (!isdigit(*word))
++ break;
++ if (!*word)
++ neg = 1;
++ }
++ }
++
++ if (!neg) {
+ if (no_options (list))
+ return (EX_USAGE);
+ list = loptend; /* skip over possible `--' */
++ }
+
+ return_catch_value = get_exitstat (list);
+
diff --git a/app-shells/bash/files/bash-4.0-parallel-build.patch b/app-shells/bash/files/bash-4.0-parallel-build.patch
new file mode 100644
index 000000000000..8384e2c9019c
--- /dev/null
+++ b/app-shells/bash/files/bash-4.0-parallel-build.patch
@@ -0,0 +1,65 @@
+http://bugs.gentoo.org/267613
+
+add missing dep
+
+patch by Peter Alfredsen
+
+--- bash-4.0/Makefile.in
++++ bash-4.0/Makefile.in
+@@ -1022,10 +1022,11 @@
+ subst.o: flags.h jobs.h siglist.h execute_cmd.h ${BASHINCDIR}/filecntl.h trap.h pathexp.h
+ subst.o: mailcheck.h input.h $(DEFSRC)/getopt.h $(DEFSRC)/common.h
+ subst.o: bashline.h bashhist.h ${GLOB_LIBSRC}/strmatch.h
+ subst.o: ${BASHINCDIR}/chartypes.h
+ subst.o: ${BASHINCDIR}/shmbutil.h
++subst.o: ${DEFDIR}/builtext.h
+ test.o: bashtypes.h ${BASHINCDIR}/posixstat.h ${BASHINCDIR}/filecntl.h
+ test.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h command.h ${BASHINCDIR}/stdc.h error.h
+ test.o: general.h xmalloc.h bashtypes.h variables.h arrayfunc.h conftypes.h array.h hashlib.h
+ test.o: quit.h ${BASHINCDIR}/maxpath.h unwind_prot.h dispose_cmd.h
+ test.o: make_cmd.h subst.h sig.h pathnames.h externs.h test.h
+
+http://bugs.gentoo.org/284633
+
+and another ...
+
+--- bash-4.0/lib/sh/Makefile.in
++++ bash-4.0/lib/sh/Makefile.in
+@@ -136,6 +136,9 @@
+ ${BUILD_DIR}/version.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
+ -( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} version.h )
+
++${BUILD_DIR}/pathnames.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
++ -( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} pathnames.h )
++
+ # rules for losing makes, like SunOS
+ casemod.o: casemod.c
+ clktck.o: clktck.c
+
+http://bugs.gentoo.org/300143
+
+and another ...
+
+--- bash-4.0/lib/glob/Makefile.in
++++ bash-4.0/lib/glob/Makefile.in
+@@ -119,6 +119,11 @@
+ mostlyclean: clean
+ -( cd doc && $(MAKE) $(MFLAGS) $@ )
+
++# Dependencies
++
++${BUILD_DIR}/pathnames.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
++ -( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} pathnames.h )
++
+ ######################################################################
+ # #
+ # Dependencies for the object files which make up this library. #
+@@ -136,7 +141,7 @@
+ strmatch.o: $(BUILD_DIR)/config.h
+ strmatch.o: $(BASHINCDIR)/stdc.h
+
+-glob.o: $(BUILD_DIR)/config.h
++glob.o: $(BUILD_DIR)/config.h $(topdir)/shell.h $(BUILD_DIR)/pathnames.h
+ glob.o: $(topdir)/bashtypes.h $(BASHINCDIR)/ansi_stdlib.h $(topdir)/bashansi.h
+ glob.o: $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/memalloc.h
+ glob.o: strmatch.h glob.h
diff --git a/app-shells/bash/files/bash-4.1-fbsd-eaccess.patch b/app-shells/bash/files/bash-4.1-fbsd-eaccess.patch
new file mode 100644
index 000000000000..576a8a47a619
--- /dev/null
+++ b/app-shells/bash/files/bash-4.1-fbsd-eaccess.patch
@@ -0,0 +1,29 @@
+Bash built-in test fails to correctly report exeuctable status for non-
+executable files when run by root on FreeBSD.
+
+See http://bugs.gentoo.org/303411
+
+Patch from Johan Hattne <johan.hattne@utsuthwestern.edu>
+--- lib/sh/eaccess.c.orig
++++ lib/sh/eaccess.c
+@@ -198,11 +198,19 @@
+ char *path;
+ int mode;
+ {
++ struct stat s;
++ int ret;
++
+ if (path_is_devfd (path))
+ return (sh_stataccess (path, mode));
+
+ #if defined (HAVE_EACCESS) /* FreeBSD */
+- return (eaccess (path, mode));
++ if (stat (path, &s) != 0)
++ return (-1);
++ ret = eaccess (path, mode);
++ if (mode == X_OK && ret == 0 && !S_ISDIR(s.st_mode) && geteuid() == 0)
++ return ((s.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0 ? -1 : 0);
++ return (ret);
+ #elif defined (EFF_ONLY_OK) /* SVR4(?), SVR4.2 */
+ return access (path, mode|EFF_ONLY_OK);
+ #else
diff --git a/app-shells/bash/files/bash-4.1-parallel-build.patch b/app-shells/bash/files/bash-4.1-parallel-build.patch
new file mode 100644
index 000000000000..ae44bcc0cf6d
--- /dev/null
+++ b/app-shells/bash/files/bash-4.1-parallel-build.patch
@@ -0,0 +1,23 @@
+--- bash-4.1/lib/glob/Makefile.in
++++ bash-4.1/lib/glob/Makefile.in
+@@ -119,6 +119,11 @@
+ mostlyclean: clean
+ -( cd doc && $(MAKE) $(MFLAGS) $@ )
+
++# Dependencies
++
++${BUILD_DIR}/pathnames.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
++ -( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} pathnames.h )
++
+ ######################################################################
+ # #
+ # Dependencies for the object files which make up this library. #
+@@ -136,7 +141,7 @@
+ strmatch.o: $(BUILD_DIR)/config.h
+ strmatch.o: $(BASHINCDIR)/stdc.h
+
+-glob.o: $(BUILD_DIR)/config.h
++glob.o: $(BUILD_DIR)/config.h $(topdir)/shell.h $(BUILD_DIR)/pathnames.h
+ glob.o: $(topdir)/bashtypes.h $(BASHINCDIR)/ansi_stdlib.h $(topdir)/bashansi.h
+ glob.o: $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/memalloc.h
+ glob.o: strmatch.h glob.h
diff --git a/app-shells/bash/files/bash-4.2-dev-fd-buffer-overflow.patch b/app-shells/bash/files/bash-4.2-dev-fd-buffer-overflow.patch
new file mode 100644
index 000000000000..bef960ab980c
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-dev-fd-buffer-overflow.patch
@@ -0,0 +1,46 @@
+https://bugs.gentoo.org/431850
+
+this is a minor tweak to the upstream patch to also apply to bash 4.1/4.0/3.2
+
+ BASH PATCH REPORT
+ =================
+
+Bash-Release: 4.2
+Patch-ID: bash42-033
+
+Bug-Reported-by: David Leverton <levertond@googlemail.com>
+Bug-Reference-ID: <4FCCE737.1060603@googlemail.com>
+Bug-Reference-URL:
+
+Bug-Description:
+
+Bash uses a static buffer when expanding the /dev/fd prefix for the test
+and conditional commands, among other uses, when it should use a dynamic
+buffer to avoid buffer overflow.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.2-patched/lib/sh/eaccess.c 2011-01-08 20:50:10.000000000 -0500
+--- lib/sh/eaccess.c 2012-06-04 21:06:43.000000000 -0400
+***************
+*** 83,86 ****
+--- 83,88 ----
+ struct stat *finfo;
+ {
++ static char *pbuf = 0;
++
+ if (*path == '\0')
+ {
+***************
+*** 107,111 ****
+ On most systems, with the notable exception of linux, this is
+ effectively a no-op. */
+! char pbuf[32];
+ strcpy (pbuf, DEV_FD_PREFIX);
+ strcat (pbuf, path + 8);
+--- 109,113 ----
+ On most systems, with the notable exception of linux, this is
+ effectively a no-op. */
+! pbuf = xrealloc (pbuf, sizeof (DEV_FD_PREFIX) + strlen (path + 8));
+ strcpy (pbuf, DEV_FD_PREFIX);
+ strcat (pbuf, path + 8);
diff --git a/app-shells/bash/files/bash-4.2-execute-job-control.patch b/app-shells/bash/files/bash-4.2-execute-job-control.patch
new file mode 100644
index 000000000000..82b73e5157ca
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-execute-job-control.patch
@@ -0,0 +1,24 @@
+fix build when job control is disabled
+
+http://lists.gnu.org/archive/html/bug-bash/2011-06/msg00110.html
+http://lists.gnu.org/archive/html/bug-bash/2011-07/msg00057.html
+http://lists.gnu.org/archive/html/bug-bash/2011-09/msg00039.html
+https://bugs.gentoo.org/383237
+
+should be fixed in next release of bash ...
+
+--- a/execute_cmd.c
++++ b/execute_cmd.c
+@@ -2202,7 +2202,11 @@
+ /* If the `lastpipe' option is set with shopt, and job control is not
+ enabled, execute the last element of non-async pipelines in the
+ current shell environment. */
+- if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
++ if (lastpipe_opt &&
++#if defined(JOB_CONTROL)
++ job_control == 0 &&
++#endif
++ asynchronous == 0 && pipe_out == NO_PIPE && prev > 0)
+ {
+ lstdin = move_to_high_fd (0, 0, 255);
+ if (lstdin > 0)
diff --git a/app-shells/bash/files/bash-4.2-no-readline.patch b/app-shells/bash/files/bash-4.2-no-readline.patch
new file mode 100644
index 000000000000..14eb6bf421e9
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-no-readline.patch
@@ -0,0 +1,19 @@
+fix building when readline is disabled
+
+--- a/builtins/complete.def
++++ b/builtins/complete.def
+@@ -49,6 +49,8 @@ $END
+
+ #include <config.h>
+
++#ifdef READLINE
++
+ #include <stdio.h>
+
+ #include "../bashtypes.h"
+@@ -867,3 +869,5 @@ compopt_builtin (list)
+
+ return (ret);
+ }
++
++#endif
diff --git a/app-shells/bash/files/bash-4.2-parallel-build.patch b/app-shells/bash/files/bash-4.2-parallel-build.patch
new file mode 100644
index 000000000000..ab2de86206a3
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-parallel-build.patch
@@ -0,0 +1,106 @@
+https://lists.gnu.org/archive/html/bug-bash/2011-10/msg00036.html
+
+the current yacc rules allow multiple runs to generate the same files. usually
+this doesn't come up as the generated files are shipped in the tarball, but
+when you modify parse.y (applying a patch or developing or whatever), you can
+hit this problem.
+
+simple way of showing this:
+ make -j y.tab.{c,h}
+a correct system would not show the yacc parser running twice :)
+
+simple patch is to have the .h file depend on the .c file, and have the .h file
+itself issue a dummy rule (to avoid make thinking things changed).
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -579,16 +579,17 @@
+
+ # old rules
+ GRAM_H = parser-built
+-y.tab.o: y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
++y.tab.o: y.tab.h y.tab.c ${GRAM_H} command.h ${BASHINCDIR}/stdc.h input.h
+ ${GRAM_H}: y.tab.h
+ @-if test -f y.tab.h ; then \
+ cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
+ fi
+-y.tab.c y.tab.h: parse.y
++y.tab.c: parse.y
+ # -if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
+ $(YACC) -d $(srcdir)/parse.y
+ touch parser-built
+ # -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; else cp -p y.tab.h ${GRAM_H}; fi
++y.tab.h: y.tab.c ; @true
+
+ # experimental new rules - work with GNU make but not BSD (or OSF) make
+ #y.tab.o: y.tab.c y.tab.h
+
+https://lists.gnu.org/archive/html/bug-bash/2011-10/msg00037.html
+
+the current code generates a bunch of local libraries in subdirs and then
+links bash against that. those subdirs sometimes need version.h. so they
+have a rule to change back up to the parent dir and build version.h (which is
+fine). the trouble is that the top level objects and the subdirs are allowed
+to build in parallel, so it's possible for multiple children to see that
+version.h is not available and that it needs to be created, so they all do.
+
+there is even more trouble is that version.h depends on all the top level
+sources, some of which are compiled (like syntax.c). so these parallel
+children all kick off a job to generate syntax.c which in turn requires the
+mksyntax helper executable. obviously multiple processes rm-ing, compiling,
+and linking the same files quickly falls apart.
+
+so tweak the subdirs to all depend on the .build target which in turn depends
+on all of these top level files being generated. now the subdirs won't try and
+recursively enter the top level.
+
+(noticed by David James)
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -597,6 +598,11 @@
+ # $(YACC) -d $(srcdir)/parse.y
+ # -if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
+
++# Subdirs will often times want version.h, so they'll change back up to
++# the top level and try to create it. This causes parallel build issues
++# so just force top level sanity before we descend.
++$(LIBDEP): .build
++
+ $(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
+ @echo making $@ in ${RL_LIBDIR}
+ @( { test "${RL_LIBDIR}" = "${libdir}" && exit 0; } || \
+
+http://lists.gnu.org/archive/html/bug-bash/2011-10/msg00107.html
+
+the top level Makefile will recurse into the defdir for multiple targets
+(libbuiltins.a, common.o, bashgetopt.o, builtext.h), and since these do
+not have any declared interdependencies, parallel makes will recurse into
+the subdir and build the respective targets.
+
+nothing depends on common.o or bashgetopt.o, so those targets don't get
+used normally. this leaves libbuiltins.a and builtext.h. at a glance,
+this shouldn't be a big deal, but when we look closer, there's a subtle
+failure lurking.
+
+most of the objects in the defdir need to be generated which means they
+need to build+link the local mkbuiltins helper. the builtext.h header
+also needs to be generated by the mkbuiltins helper. so when the top
+level launches a child for libbuiltins.a and a child for builtext.h, we
+can hit a race condition where the two try to generate mkbuiltins, and
+the build randomly fails.
+
+so update libbuiltins.a to depend on builtext.h. this should be fairly
+simple since it's only a single target.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -674,7 +674,7 @@
+ $(RM) $@
+ ./mksyntax$(EXEEXT) -o $@
+
+-$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h version.h
++$(BUILTINS_LIBRARY): $(BUILTIN_DEFS) $(BUILTIN_C_SRC) config.h ${BASHINCDIR}/memalloc.h ${DEFDIR}/builtext.h version.h
+ @(cd $(DEFDIR) && $(MAKE) $(MFLAGS) DEBUG=${DEBUG} libbuiltins.a ) || exit 1
+
+ # these require special rules to circumvent make builtin rules
diff --git a/app-shells/bash/files/bash-4.2-read-retry.patch b/app-shells/bash/files/bash-4.2-read-retry.patch
new file mode 100644
index 000000000000..44903c68afe1
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-read-retry.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/447810
+
+fix from upstream to workaround broken BSD kernels
+
+commit 208fdb509e072977ae7a621e916dfcd32c76047d
+Author: Chet Ramey <chet@caleb.ins.cwru.edu>
+Date: Mon Mar 4 08:09:29 2013 -0500
+
+ commit bash-20130201 snapshot
+
+diff --git a/redir.c b/redir.c
+index d7da2f3..aa3d16d 100644
+--- a/redir.c
++++ b/redir.c
+@@ -650,7 +650,7 @@ redir_open (filename, flags, mode, ri)
+ int flags, mode;
+ enum r_instruction ri;
+ {
+- int fd, r;
++ int fd, r, e;
+
+ r = find_string_in_alist (filename, _redir_special_filenames, 1);
+ if (r >= 0)
+@@ -666,7 +666,16 @@ redir_open (filename, flags, mode, ri)
+ }
+ else
+ {
+- fd = open (filename, flags, mode);
++ do
++ {
++ fd = open (filename, flags, mode);
++ e = errno;
++ if (fd < 0 && e == EINTR)
++ QUIT;
++ errno = e;
++ }
++ while (fd < 0 && errno == EINTR);
++
+ #if defined (AFS)
+ if ((fd < 0) && (errno == EACCES))
+ {
diff --git a/app-shells/bash/files/bash-4.2-speed-up-read-N.patch b/app-shells/bash/files/bash-4.2-speed-up-read-N.patch
new file mode 100644
index 000000000000..b96ad0c887e1
--- /dev/null
+++ b/app-shells/bash/files/bash-4.2-speed-up-read-N.patch
@@ -0,0 +1,112 @@
+http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00034.html
+
+From 530d4988afd68ea9d2cf1b0267d4dc821d0d204f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 19 Nov 2012 17:58:51 -0500
+Subject: [PATCH] bash: speed up `read -N`
+
+Rather than using 1 byte reads, use the existing cache read logic.
+This could be sped up more, but this change is not as invasive and
+should (hopefully) be fairly safe.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ builtins/read.def | 21 ++++++++++++++++-----
+ externs.h | 1 +
+ lib/sh/zread.c | 15 +++++++++++++--
+ 3 files changed, 30 insertions(+), 7 deletions(-)
+
+diff --git a/builtins/read.def b/builtins/read.def
+index e32dec7..81a1b3f 100644
+--- a/builtins/read.def
++++ b/builtins/read.def
+@@ -457,7 +457,10 @@ read_builtin (list)
+ interrupt_immediately++;
+ terminate_immediately++;
+
+- unbuffered_read = (nchars > 0) || (delim != '\n') || input_is_pipe;
++ if ((nchars > 0) && !input_is_tty && ignore_delim)
++ unbuffered_read = 2;
++ else if ((nchars > 0) || (delim != '\n') || input_is_pipe)
++ unbuffered_read = 1;
+
+ if (prompt && edit == 0)
+ {
+@@ -505,10 +508,18 @@ read_builtin (list)
+ print_ps2 = 0;
+ }
+
+- if (unbuffered_read)
+- retval = zread (fd, &c, 1);
+- else
+- retval = zreadc (fd, &c);
++ switch (unbuffered_read)
++ {
++ case 2:
++ retval = zreadcn (fd, &c, nchars - nr);
++ break;
++ case 1:
++ retval = zread (fd, &c, 1);
++ break;
++ default:
++ retval = zreadc (fd, &c);
++ break;
++ }
+
+ if (retval <= 0)
+ {
+diff --git a/externs.h b/externs.h
+index 09244fa..a5ad645 100644
+--- a/externs.h
++++ b/externs.h
+@@ -479,6 +479,7 @@ extern ssize_t zread __P((int, char *, size_t));
+ extern ssize_t zreadretry __P((int, char *, size_t));
+ extern ssize_t zreadintr __P((int, char *, size_t));
+ extern ssize_t zreadc __P((int, char *));
++extern ssize_t zreadcn __P((int, char *, int));
+ extern ssize_t zreadcintr __P((int, char *));
+ extern void zreset __P((void));
+ extern void zsyncfd __P((int));
+diff --git a/lib/sh/zread.c b/lib/sh/zread.c
+index 5db21a9..af7d02b 100644
+--- a/lib/sh/zread.c
++++ b/lib/sh/zread.c
+@@ -101,15 +101,18 @@ static char lbuf[128];
+ static size_t lind, lused;
+
+ ssize_t
+-zreadc (fd, cp)
++zreadcn (fd, cp, len)
+ int fd;
+ char *cp;
++ int len;
+ {
+ ssize_t nr;
+
+ if (lind == lused || lused == 0)
+ {
+- nr = zread (fd, lbuf, sizeof (lbuf));
++ if (len > sizeof (lbuf))
++ len = sizeof (lbuf);
++ nr = zread (fd, lbuf, len);
+ lind = 0;
+ if (nr <= 0)
+ {
+@@ -123,6 +126,14 @@ zreadc (fd, cp)
+ return 1;
+ }
+
++ssize_t
++zreadc (fd, cp)
++ int fd;
++ char *cp;
++{
++ return zreadcn (fd, cp, sizeof (lbuf));
++}
++
+ /* Don't mix calls to zreadc and zreadcintr in the same function, since they
+ use the same local buffer. */
+ ssize_t
+--
+1.7.12.4
+
diff --git a/app-shells/bash/files/bash-4.3-append-process-segfault.patch b/app-shells/bash/files/bash-4.3-append-process-segfault.patch
new file mode 100644
index 000000000000..6c9b2e83067a
--- /dev/null
+++ b/app-shells/bash/files/bash-4.3-append-process-segfault.patch
@@ -0,0 +1,18 @@
+https://lists.gnu.org/archive/html/bug-bash/2014-08/msg00048.html
+
+*** ../bash-4.3-patched/execute_cmd.c 2014-07-30 10:26:52.000000000 -0400
+--- execute_cmd.c 2014-08-11 16:55:57.000000000 -0400
+***************
+*** 2406,2410 ****
+ {
+ #if defined (JOB_CONTROL)
+! append_process (savestring (the_printed_command), dollar_dollar_pid, exec_result, lastpipe_jid);
+ #endif
+ lstdin = wait_for (lastpid);
+--- 2433,2438 ----
+ {
+ #if defined (JOB_CONTROL)
+! if (INVALID_JOB (lastpipe_jid) == 0)
+! append_process (savestring (the_printed_command_except_trap), dollar_dollar_pid, exec_result, lastpipe_jid);
+ #endif
+ lstdin = wait_for (lastpid);
diff --git a/app-shells/bash/files/bash-4.3-arrayfunc.patch b/app-shells/bash/files/bash-4.3-arrayfunc.patch
new file mode 100644
index 000000000000..f44d18478454
--- /dev/null
+++ b/app-shells/bash/files/bash-4.3-arrayfunc.patch
@@ -0,0 +1,15 @@
+http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00178.html
+
+diff --git a/arrayfunc.c b/arrayfunc.c
+index 804e6da..0f900aa 100644
+--- a/arrayfunc.c
++++ b/arrayfunc.c
+@@ -498,7 +498,7 @@ assign_compound_array_list (var, nlist, flags)
+
+ for (list = nlist; list; list = list->next)
+ {
+- iflags = flags;
++ iflags = (flags & ~ASS_APPEND);
+ w = list->word->word;
+
+ /* We have a word of the form [ind]=value */
diff --git a/app-shells/bash/files/bash-4.3-compat-lvl.patch b/app-shells/bash/files/bash-4.3-compat-lvl.patch
new file mode 100644
index 000000000000..5734687ffeb9
--- /dev/null
+++ b/app-shells/bash/files/bash-4.3-compat-lvl.patch
@@ -0,0 +1,13 @@
+https://lists.gnu.org/archive/html/bug-bash/2014-06/msg00046.html
+
+--- a/builtins/shopt.def
++++ b/builtins/shopt.def
+@@ -160,7 +160,7 @@ static struct {
+ { "compat32", &shopt_compat32, set_compatibility_level },
+ { "compat40", &shopt_compat40, set_compatibility_level },
+ { "compat41", &shopt_compat41, set_compatibility_level },
+- { "compat42", &shopt_compat41, set_compatibility_level },
++ { "compat42", &shopt_compat42, set_compatibility_level },
+ #if defined (READLINE)
+ { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},
+ { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand },
diff --git a/app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch b/app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch
new file mode 100644
index 000000000000..20bf340fdbd3
--- /dev/null
+++ b/app-shells/bash/files/bash-4.3-mapfile-improper-array-name-validation.patch
@@ -0,0 +1,13 @@
+http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00097.html
+
+--- bash-4.3/builtins/mapfile.def
++++ bash-4.3/builtins/mapfile.def
+@@ -339,7 +339,7 @@
+ else
+ array_name = list->word->word;
+
+- if (legal_identifier (array_name) == 0 && valid_array_reference (array_name) == 0)
++ if (legal_identifier (array_name) == 0)
+ {
+ sh_invalidid (array_name);
+ return (EXECUTION_FAILURE);
diff --git a/app-shells/bash/files/bash-4.3-protos.patch b/app-shells/bash/files/bash-4.3-protos.patch
new file mode 100644
index 000000000000..7af84ff707f3
--- /dev/null
+++ b/app-shells/bash/files/bash-4.3-protos.patch
@@ -0,0 +1,10 @@
+--- a/redir.c
++++ b/redir.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include "filecntl.h"
+ #include "posixstat.h"
++#include "trap.h"
+
+ #if defined (HAVE_UNISTD_H)
+ # include <unistd.h>
diff --git a/app-shells/bash/files/bash-4.4-popd-offset-overflow.patch b/app-shells/bash/files/bash-4.4-popd-offset-overflow.patch
new file mode 100644
index 000000000000..c6ef19d03f5a
--- /dev/null
+++ b/app-shells/bash/files/bash-4.4-popd-offset-overflow.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/600174
+https://lists.gnu.org/archive/html/bug-bash/2016-11/msg00099.html
+
+*** ../bash-4.4-patched/builtins/pushd.def 2016-01-25 13:31:49.000000000 -0500
+--- builtins/pushd.def 2016-10-28 10:46:49.000000000 -0400
+***************
+*** 366,370 ****
+ }
+
+! if (which > directory_list_offset || (directory_list_offset == 0 && which == 0))
+ {
+ pushd_error (directory_list_offset, which_word ? which_word : "");
+--- 366,370 ----
+ }
+
+! if (which > directory_list_offset || (which < -directory_list_offset) || (directory_list_offset == 0 && which == 0))
+ {
+ pushd_error (directory_list_offset, which_word ? which_word : "");
+***************
+*** 388,391 ****
+--- 388,396 ----
+ of the list into place. */
+ i = (direction == '+') ? directory_list_offset - which : which;
++ if (i < 0 || i > directory_list_offset)
++ {
++ pushd_error (directory_list_offset, which_word ? which_word : "");
++ return (EXECUTION_FAILURE);
++ }
+ free (pushd_directory_list[i]);
+ directory_list_offset--;
diff --git a/app-shells/bash/files/bash-4.x-deferred-heredocs.patch b/app-shells/bash/files/bash-4.x-deferred-heredocs.patch
new file mode 100644
index 000000000000..698d277a3db5
--- /dev/null
+++ b/app-shells/bash/files/bash-4.x-deferred-heredocs.patch
@@ -0,0 +1,47 @@
+http://bugs.gentoo.org/310197
+http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00063.html
+
+fix heredocs handling in `set` output
+
+*** ../bash-4.1-patched/print_cmd.c 2009-09-16 15:32:26.000000000 -0400
+--- print_cmd.c 2010-03-22 21:15:30.000000000 -0400
+***************
+*** 114,117 ****
+--- 114,123 ----
+ #define CHECK_XTRACE_FP xtrace_fp = (xtrace_fp ? xtrace_fp : stderr)
+
++ #define PRINT_DEFERRED_HEREDOCS(x) \
++ do { \
++ if (deferred_heredocs) \
++ print_deferred_heredocs (x); \
++ } while (0)
++
+ /* Non-zero means the stuff being printed is inside of a function def. */
+ static int inside_function_def;
+***************
+*** 561,571 ****
+ {
+ print_for_command_head (for_command);
+-
+ cprintf (";");
+ newline ("do\n");
+ indentation += indentation_amount;
+ make_command_string_internal (for_command->action);
+ semicolon ();
+ indentation -= indentation_amount;
+ newline ("done");
+ }
+--- 566,578 ----
+ {
+ print_for_command_head (for_command);
+ cprintf (";");
+ newline ("do\n");
++
+ indentation += indentation_amount;
+ make_command_string_internal (for_command->action);
++ PRINT_DEFERRED_HEREDOCS ("");
+ semicolon ();
+ indentation -= indentation_amount;
++
+ newline ("done");
+ }
diff --git a/app-shells/bash/files/bash_logout b/app-shells/bash/files/bash_logout
new file mode 100644
index 000000000000..50a79331c08e
--- /dev/null
+++ b/app-shells/bash/files/bash_logout
@@ -0,0 +1,9 @@
+# /etc/bash/bash_logout
+
+# This file is sourced when a login shell terminates.
+
+# You may wish to clear everyone's screen when they logout.
+#clear
+
+# Or maybe you want to leave a thoughtful note.
+#fortune
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
new file mode 100644
index 000000000000..03694691d4a7
--- /dev/null
+++ b/app-shells/bash/files/bashrc
@@ -0,0 +1,113 @@
+# /etc/bash/bashrc
+#
+# This file is sourced by all *interactive* bash shells on startup,
+# including some apparently interactive shells such as scp and rcp
+# that can't tolerate any output. So make sure this doesn't display
+# anything or bad things will happen !
+
+
+# Test for an interactive shell. There is no need to set anything
+# past this point for scp and rcp, and it's important to refrain from
+# outputting anything in those cases.
+if [[ $- != *i* ]] ; then
+ # Shell is non-interactive. Be done now!
+ return
+fi
+
+# Bash won't get SIGWINCH if another process is in the foreground.
+# Enable checkwinsize so that bash will check the terminal size when
+# it regains control. #65623
+# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
+shopt -s checkwinsize
+
+# Disable completion when the input buffer is empty. i.e. Hitting tab
+# and waiting a long time for bash to expand all of $PATH.
+shopt -s no_empty_cmd_completion
+
+# Enable history appending instead of overwriting when exiting. #139609
+shopt -s histappend
+
+# Save each command to the history file as it's executed. #517342
+# This does mean sessions get interleaved when reading later on, but this
+# way the history is always up to date. History is not synced across live
+# sessions though; that is what `history -n` does.
+# Disabled by default due to concerns related to system recovery when $HOME
+# is under duress, or lives somewhere flaky (like NFS). Constantly syncing
+# the history will halt the shell prompt until it's finished.
+#PROMPT_COMMAND='history -a'
+
+# Change the window title of X terminals
+case ${TERM} in
+ [aEkx]term*|rxvt*|gnome*|konsole*|interix)
+ PS1='\[\033]0;\u@\h:\w\007\]'
+ ;;
+ screen*)
+ PS1='\[\033k\u@\h:\w\033\\\]'
+ ;;
+ *)
+ unset PS1
+ ;;
+esac
+
+# Set colorful PS1 only on colorful terminals.
+# dircolors --print-database uses its own built-in database
+# instead of using /etc/DIR_COLORS. Try to use the external file
+# first to take advantage of user additions.
+# We run dircolors directly due to its changes in file syntax and
+# terminal name patching.
+use_color=false
+if type -P dircolors >/dev/null ; then
+ # Enable colors for ls, etc. Prefer ~/.dir_colors #64489
+ LS_COLORS=
+ if [[ -f ~/.dir_colors ]] ; then
+ eval "$(dircolors -b ~/.dir_colors)"
+ elif [[ -f /etc/DIR_COLORS ]] ; then
+ eval "$(dircolors -b /etc/DIR_COLORS)"
+ else
+ eval "$(dircolors -b)"
+ fi
+ # Note: We always evaluate the LS_COLORS setting even when it's the
+ # default. If it isn't set, then `ls` will only colorize by default
+ # based on file attributes and ignore extensions (even the compiled
+ # in defaults of dircolors). #583814
+ if [[ -n ${LS_COLORS:+set} ]] ; then
+ use_color=true
+ else
+ # Delete it if it's empty as it's useless in that case.
+ unset LS_COLORS
+ fi
+else
+ # Some systems (e.g. BSD & embedded) don't typically come with
+ # dircolors so we need to hardcode some terminals in here.
+ case ${TERM} in
+ [aEkx]term*|rxvt*|gnome*|konsole*|screen|cons25|*color) use_color=true;;
+ esac
+fi
+
+if ${use_color} ; then
+ if [[ ${EUID} == 0 ]] ; then
+ PS1+='\[\033[01;31m\]\h\[\033[01;34m\] \w \$\[\033[00m\] '
+ else
+ PS1+='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
+ fi
+
+ #BSD#@export CLICOLOR=1
+ #GNU#@alias ls='ls --color=auto'
+ alias grep='grep --colour=auto'
+ alias egrep='egrep --colour=auto'
+ alias fgrep='fgrep --colour=auto'
+else
+ if [[ ${EUID} == 0 ]] ; then
+ # show root@ when we don't have colors
+ PS1+='\u@\h \w \$ '
+ else
+ PS1+='\u@\h \w \$ '
+ fi
+fi
+
+for sh in /etc/bash/bashrc.d/* ; do
+ [[ -r ${sh} ]] && source "${sh}"
+done
+
+# Try to keep environment pollution down, EPA loves us.
+unset use_color sh
diff --git a/app-shells/bash/files/dot-bash_logout b/app-shells/bash/files/dot-bash_logout
new file mode 100644
index 000000000000..44b6f79ca8eb
--- /dev/null
+++ b/app-shells/bash/files/dot-bash_logout
@@ -0,0 +1,6 @@
+# /etc/skel/.bash_logout
+
+# This file is sourced when a login shell terminates.
+
+# Clear the screen for security's sake.
+clear
diff --git a/app-shells/bash/files/dot-bash_profile b/app-shells/bash/files/dot-bash_profile
new file mode 100644
index 000000000000..1de05a45e34a
--- /dev/null
+++ b/app-shells/bash/files/dot-bash_profile
@@ -0,0 +1,7 @@
+# /etc/skel/.bash_profile
+
+# This file is sourced by bash for login shells. The following line
+# runs your .bashrc and is recommended by the bash info pages.
+if [[ -f ~/.bashrc ]] ; then
+ . ~/.bashrc
+fi
diff --git a/app-shells/bash/files/dot-bashrc b/app-shells/bash/files/dot-bashrc
new file mode 100644
index 000000000000..34dbd8c892f6
--- /dev/null
+++ b/app-shells/bash/files/dot-bashrc
@@ -0,0 +1,18 @@
+# /etc/skel/.bashrc
+#
+# This file is sourced by all *interactive* bash shells on startup,
+# including some apparently interactive shells such as scp and rcp
+# that can't tolerate any output. So make sure this doesn't display
+# anything or bad things will happen !
+
+
+# Test for an interactive shell. There is no need to set anything
+# past this point for scp and rcp, and it's important to refrain from
+# outputting anything in those cases.
+if [[ $- != *i* ]] ; then
+ # Shell is non-interactive. Be done now!
+ return
+fi
+
+
+# Put your fun stuff here.
diff --git a/app-shells/bash/metadata.xml b/app-shells/bash/metadata.xml
new file mode 100644
index 000000000000..9b5e498670bf
--- /dev/null
+++ b/app-shells/bash/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<use>
+ <flag name="bashlogger">Log ALL commands typed into bash; should ONLY be
+ used in restricted environments such as honeypots</flag>
+ <flag name="mem-scramble">Build with custom malloc/free overwriting allocated/freed memory</flag>
+ <flag name="net">Enable /dev/tcp/host/port redirection</flag>
+ <flag name="plugins">Add support for loading builtins at runtime via
+ 'enable'</flag>
+</use>
+<upstream>
+ <remote-id type="cpe">cpe:/a:gnu:bash</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-shells/bashdb/Manifest b/app-shells/bashdb/Manifest
new file mode 100644
index 000000000000..d5bc77f351fc
--- /dev/null
+++ b/app-shells/bashdb/Manifest
@@ -0,0 +1,9 @@
+DIST bashdb-4.3-0.91.tar.bz2 660370 SHA256 60117745813f29070a034c590c9d70153cc47f47024ae54bfecdc8cd86d9e3ea SHA512 903710e61efcf272213c3dcc20799842e8ef969e791e3d1a8eab071e5b7538a195f621320945019611042ed623d005e481bd75724194cc10cb6f668b615ce3af WHIRLPOOL 075ee878713a7611b7437d4c3420669c6bcff949a9e2991cbfc533874e2b215e1c9a4d23f4f414205d979190c09eec1a2a8daa3857053dfade6f8864211534be
+DIST bashdb-4.4-0.92.tar.bz2 678961 SHA256 6a8c2655e04339b954731a0cb0d9910e2878e45b2fc08fe469b93e4f2dbaaf92 SHA512 68d5cdf4fb6cbacb0e7b69fb793ab9ead3114e152ea87dfb9d540103c9975af8dcaa78ad9a89b00a0f85f3ab1f090d9b6ca6a13c3e09673b5ab073762500fb80 WHIRLPOOL 5577a7a9a3e905a758ffbed931846bc408c038ce80cfedd7e2bd6bb57902acb63567b0ed461fd4ee76ba6d0a8d4109d9ecfd651367d42f2a1e5ab5e5546bfb54
+DIST bashdb-4.4-0.94.tar.bz2 810610 SHA256 5931afc2f153aa595b4c59e53d303d845952ab6101227c34654a1b83686dc006 SHA512 97e7d057f16d90d7f1677e1b29d2467d5ee263e9aaad64e2d7a8b8a19b3f3ca68023f23a45faea235fdba57e803fae762a19aab67f650b81e868a8a01c5b1fb7 WHIRLPOOL 425f8883c96ab7c68c12dc352cb2de6a0073944f49ca7ada93ec4e51bdda125babf6ff4f2d95980a09614bd41ebda26191497b0edb90756c62cfac08210daa2d
+EBUILD bashdb-4.3.0.91-r2.ebuild 823 SHA256 c4fa9256e26257684feacd05c680310dcb096b64c86d4dce21556d63cfe22f65 SHA512 c033a061731873fb0d2a355f05503a7c259c6b6d21829eaca4956a8c6aea28df6fd77046fa30cdb7b405397446e4ddac1e34e75c6801d5cc45df55edba5f1dc4 WHIRLPOOL f2e1361d118513fe21a7912685a6b66f1473d690f1e0a4553e3666618f7c4456d65415510b61083ef307d86079262a85afb3be02cbcfe3fffdf585522f77ef9b
+EBUILD bashdb-4.4.0.92.ebuild 837 SHA256 af6cfdfb91d590a7d965b5655ad6fcfb895a95c6b9afd5fe146331d3c9c653e5 SHA512 986bf2b35d7b8d3a22225c3082077334909311b5a1e3b203af391ce17a93223054c592f759526277c7f88e3f69636a543f8db89c4641a77eff3ad199db020df0 WHIRLPOOL 818d32367170cb3e877b35261995b883bc08e316a323ec45fa0d505e99971d7124d48ab829d8b0827b0726c420a42454e3208e53e61fe1a12830d4cc12951f7a
+EBUILD bashdb-4.4.0.94.ebuild 837 SHA256 e602718a2fa6d8d2705b7f1dc3513ab7f3b20b0535b7649581888e210a2c03be SHA512 f9adef378b907f9ed78e433c39a67a0801b664774b63c1aa76615b9e414491997549c71398952818d7e69c58c49ada1e0049bbae3fbc0789b4f7cd59efa4b4b2 WHIRLPOOL 46831b96a2dac447a318936f472bbcb59ebbde009ce5e723f2c62f9be35a73926c512c14a0160a9df242a6c7848afa8bf321f57bdf2968e6f45ac6557153a397
+MISC ChangeLog 4778 SHA256 8ba104db89d60faecf12a19c45194afc47f5fda9e186e6eb9217aa8cb2074090 SHA512 ef0eaac8fa5afae57385113e3e39abc7eb683c4b6315235ed433fdca03765c3cfce74ad18b6d65bbce1c9734c533ac0794abb2ec761429124f866c8b6593356b WHIRLPOOL 96f1a36668643c3bcd6ffdd7078e603b3814344a368b65774880406163acd699623c472314afc533acbc521c7c42745d37f438281d1e712d016665f48b4f214c
+MISC ChangeLog-2015 1666 SHA256 c5519ffd7e59a97ccb9f825dc496a66815abfa8917ff9e5af1e3d0e3c26a1e9b SHA512 496c64aa3d4f83ffafde88554c654d09d2010d0adf2ac271bf5612b7b8fb0dc3259c17c6b937c7e6afe4956318c507416bed0c000d914f3e0603fc81917a9027 WHIRLPOOL 15a54bc0f28e7d39b13470d39003080763a0115e389a3ac342b0c8b19614acdfa31ccaf10eb2a46e59886d96676a950032ef0c09fa3b686448cc0dfa3aabc424
+MISC metadata.xml 333 SHA256 dbb072ce0154995a669389b837aa3f1e450f82f0848b0dffc03a7f8afb678d9f SHA512 eb1b078a7e431900181f558710bba93fb5c4633733364664e85e07b4bd05c8ba7492948d4a3ac8cb4866f128b116d82b5b6f1c8b2966318fb9ed61a9c78dda82 WHIRLPOOL 262572b396c97a91489044e7d29fba168fcffd3f1232cf5e1da14f9091a1feb3ecae657219e8caa7946705ea9dfca2d4185f785be1d1b19ebcc1707cd5d9047c
diff --git a/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild b/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild
new file mode 100644
index 000000000000..665558ef2924
--- /dev/null
+++ b/app-shells/bashdb/bashdb-4.3.0.91-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-${PV:0:3}-${PV:4}"
+DESCRIPTION="bash source code debugging"
+HOMEPAGE="http://bashdb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bashdb/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+DEPEND="!>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
+
+S="${WORKDIR}/${MY_P}"
+
+# Unfortunately, not all tests pass.
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ # We don't install this, so don't bother building it. #468044
+ sed -i 's:texi2html:true:' doc/Makefile.in || die
+}
+
+src_configure() {
+ # This path matches the bash sources. If we ever change bash,
+ # we'll probably have to change this to match. #591994
+ econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
+}
diff --git a/app-shells/bashdb/bashdb-4.4.0.92.ebuild b/app-shells/bashdb/bashdb-4.4.0.92.ebuild
new file mode 100644
index 000000000000..e48a511f0157
--- /dev/null
+++ b/app-shells/bashdb/bashdb-4.4.0.92.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${PN}-${PV:0:3}-${PV:4}"
+DESCRIPTION="bash source code debugging"
+HOMEPAGE="http://bashdb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bashdb/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="!>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
+
+S="${WORKDIR}/${MY_P}"
+
+# Unfortunately, not all tests pass. #276877
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ # We don't install this, so don't bother building it. #468044
+ sed -i 's:texi2html:true:' doc/Makefile.in || die
+}
+
+src_configure() {
+ # This path matches the bash sources. If we ever change bash,
+ # we'll probably have to change this to match. #591994
+ econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
+}
diff --git a/app-shells/bashdb/bashdb-4.4.0.94.ebuild b/app-shells/bashdb/bashdb-4.4.0.94.ebuild
new file mode 100644
index 000000000000..8a43d82f6358
--- /dev/null
+++ b/app-shells/bashdb/bashdb-4.4.0.94.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${PN}-${PV:0:3}-${PV:4}"
+DESCRIPTION="bash source code debugging"
+HOMEPAGE="http://bashdb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bashdb/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="!>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
+
+S="${WORKDIR}/${MY_P}"
+
+# Unfortunately, not all tests pass. #276877
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ # We don't install this, so don't bother building it. #468044
+ sed -i 's:texi2html:true:' doc/Makefile.in || die
+}
+
+src_configure() {
+ # This path matches the bash sources. If we ever change bash,
+ # we'll probably have to change this to match. #591994
+ econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
+}
diff --git a/app-shells/bashdb/metadata.xml b/app-shells/bashdb/metadata.xml
new file mode 100644
index 000000000000..006e9510723c
--- /dev/null
+++ b/app-shells/bashdb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">bashdb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/bashish/Manifest b/app-shells/bashish/Manifest
new file mode 100644
index 000000000000..450ddaaabaab
--- /dev/null
+++ b/app-shells/bashish/Manifest
@@ -0,0 +1,5 @@
+DIST bashish-2.2.4.tar.gz 241565 SHA256 3de48bc1aa69ec73dafc7436070e688015d794f22f6e74d5c78a0b09c938204b SHA512 667ad91c71c99b2f0975eaf64ce4c2be1e60ce921e7232842fae62b6fdd9eca073c5941d5fd9b1af0d77dbb08e9ace3e0c43ed113761c2442f99f762ad581d46 WHIRLPOOL 5bf6c6199d69aec39b35b705a7f5b05f00f1bfe60af1d9b3524d302a33ea5846622e833804ec21343053c3c7d59f7cc04975c7c73ed174b98f7df4de8e5fce66
+EBUILD bashish-2.2.4.ebuild 455 SHA256 b05193a3633bb67feaced099d84d5d7b7b760fdd70f1f50dcae449da0964e949 SHA512 3923e1c335637b8bab1f76f9c7c3973f85135e32cff33134c1cce8125d9ab25434ba3c5130be7102ba3588391807ea3eddb842c64255011f72b517c214705e37 WHIRLPOOL 73d290830d36a17e274085993ee4a67549a047e38f0b032a9b3974934f9cff834b2843a64bcfbf6883b4ce7be0b0a46091f9c9ad0481047c4e53cea5ff3a7632
+MISC ChangeLog 2178 SHA256 65b92a6d9333f2c0c0781524bbe850439054706aa6b704803a6343a212d18d56 SHA512 16881c06882d9035925d2d257b3a7150b3276df9c1aa7f64a93c09e30a551fa22977a6c23abe2d85f8a84081c82db12472ac012bfd276821679d1f495868127b WHIRLPOOL b54413a349339e4c411bf9333a4ca0cffe3dcf5c51995dabd02cc432fd447ace726ee0e55fc98edd628b48e076ab66130d3d7e9a9e9b06277585272bc7b0ac7c
+MISC ChangeLog-2015 3218 SHA256 4d789eabf25be600939b3be540a944392e3ea8734d98ca0e5627b9c75b2e8042 SHA512 07fa25e9faa5aafb1cbc2a0ffb189cc400ed231cfaeb7a3dac92c5e360f37d44145acd1962245f0c07b8467d1cdccee09fa43260bb9de1e657dbf51688d624ed WHIRLPOOL 50d6bdfa9282ac0c37ae1be71f7df8ceb317a0981c42fa1e28a14c2c77622ca1bcb294e542b21cbbe1387f73139fc95a7679000b2daca636c86655068a58d904
+MISC metadata.xml 321 SHA256 5fc0a8ae6525cbb0077294808e6c225c6891d6801997db618ea87189606312dc SHA512 c5237f9a6c236c670f85b4c684ac0dfeea3d4f8af3d31d3197618a24bd3317c6ca84fec660eae0fa6318a5f9a099294077e8351431d546184fa3785469068529 WHIRLPOOL 195ddfb931c3621c744c4d33b9819a2695ff6a4f8eba310b4249905caae067d4a3a177ced40de4aafe71002ecec750dc22bcd1c4c88a2dc235cb574bce8050d7
diff --git a/app-shells/bashish/bashish-2.2.4.ebuild b/app-shells/bashish/bashish-2.2.4.ebuild
new file mode 100644
index 000000000000..dab12500462c
--- /dev/null
+++ b/app-shells/bashish/bashish-2.2.4.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Text console theme engine"
+HOMEPAGE="http://bashish.sourceforge.net/"
+SRC_URI="mirror://sourceforge/bashish/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-util/dialog-1.0"
+
+src_install() {
+ default
+ mv "${D}"/usr/share/doc/{${PN},${PF}} || die "mv docs failed"
+}
diff --git a/app-shells/bashish/metadata.xml b/app-shells/bashish/metadata.xml
new file mode 100644
index 000000000000..6d4250d4c68e
--- /dev/null
+++ b/app-shells/bashish/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">bashish</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/ccsh/Manifest b/app-shells/ccsh/Manifest
new file mode 100644
index 000000000000..d753b5cbd9dc
--- /dev/null
+++ b/app-shells/ccsh/Manifest
@@ -0,0 +1,5 @@
+DIST ccsh-0.0.4.tar.gz 11625 SHA256 d0be3edb97fd227e267cd917eb252b1cdb1b7bba3de0509598014dacb89227ec SHA512 114c471870a23682ebc6bf1967bb82af55eb8a56abcb3472492d08a39906d9a6476adb619f2b9a6097c4ccf75f9ea266d297e50de39a277aea4eadea15cc06ba WHIRLPOOL 6957d3f23da773dbb567bbfefdc00b269af72f4486e3e0763b2481a04ef979c0dcac5c459eba0b2827298e60e7ffa99372c974a17bebbf2faeaa74c76ff6f874
+EBUILD ccsh-0.0.4-r4.ebuild 543 SHA256 db4cde3f3daa254f5f71e1f6f67d8a1a3594f3645d151744ef9be9ccb36eea76 SHA512 d385ac4bb08cf6b8ed450e2b301273ba1fd407403a72a5202e0cc5128af59cc8b08594817dffc5c9047accc82dbc1d8b73ca177bc9912c8ef997dc44e114e90f WHIRLPOOL 9f1f80dc5a5fdafb0fd4f6087b28028d04c3cb2f7e4ffe3650a0ea96f0ebfbdb74fefa1b1f9a6fed03510565eec996ba533a6a2b7cfd9f1599251824aca53a04
+MISC ChangeLog 3092 SHA256 c6d6ccf1462a467d84026204c422266050fc5614792602923bf7a45678f501e0 SHA512 063a0c246a9df61f0ffd68fc7b2e9e66bd5e16c4eaa9a9bc565aa666135165686a43b3a21c8114deb0e4e03b4104d3dd9262eefe0da1db54d3b53bb48a105431 WHIRLPOOL 90ebc55183ddab474b8875fe5dcc1f036f2d07b07726d02e11f2b6872483a737bb145ad43a68fd85203b320023637d967edc62914b1abf1c420970f89737a677
+MISC ChangeLog-2015 2284 SHA256 536a4c493feeec69f65c41dd9b04ade21b4848d276b04c89370a928c19d962d7 SHA512 8b350651a2a32fb18e9b33cd4bdf2958129dd4779eb07a0e7d37be5192881233035fa33e5c0965d8d82e4b9592bd456fdc85626089de13bbc0c1ad73c2a3a1df WHIRLPOOL 8e1fc8b19bed70ef04beebce32f2c190c62790c24b23f5256d9957dbdb3829cdcb3c8841d6ee5c0f919ad734f836d03fbe5d0f205ba1ec4ab38e6bd72c8b9da8
+MISC metadata.xml 321 SHA256 b989a30b5e102b17a71337b1fe3a69723a1310b3f78af0f2960dd3193db54a8e SHA512 56f89beb2b946325d15336def06a0e034b45b259d1685d15bddeca7e7ddccc83b8da2c6be1c673832b44e6ab3b35fee9d3d8cf280b2b4fd5d0216fe5440f30b8 WHIRLPOOL b7bd082a53ec873f8a76e87978daae7b8db8d5b2ebad75637eadfc984f37a78a4d4f3c2cff04559b7834d0c57ce71181db9beb0993bb9ab545a451e2e9f24a81
diff --git a/app-shells/ccsh/ccsh-0.0.4-r4.ebuild b/app-shells/ccsh/ccsh-0.0.4-r4.ebuild
new file mode 100644
index 000000000000..aa40d26b0182
--- /dev/null
+++ b/app-shells/ccsh/ccsh-0.0.4-r4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="UNIX Shell for people already familiar with the C language"
+HOMEPAGE="http://ccsh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ccsh/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 sparc x86"
+IUSE=""
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ exeinto /bin
+ doexe "${PN}"
+ newman "${PN}.man" "${PN}.1"
+ dodoc ChangeLog README TODO
+}
diff --git a/app-shells/ccsh/metadata.xml b/app-shells/ccsh/metadata.xml
new file mode 100644
index 000000000000..20334e42be7a
--- /dev/null
+++ b/app-shells/ccsh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ccsh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/ctypes-sh/Manifest b/app-shells/ctypes-sh/Manifest
new file mode 100644
index 000000000000..b8b57e28aa9a
--- /dev/null
+++ b/app-shells/ctypes-sh/Manifest
@@ -0,0 +1,5 @@
+AUX ctypes-sh-1.1-makefile-fix.patch 893 SHA256 7a68e1209dc36859606cfa67a1a6a9e56c007a608948a19f3722aea949f85ac5 SHA512 4acbc4639058b628c09082aafeb7592b1f85e3db5ffe77d6db8807a6b4ae787c24685f305149ed9a76c5558c01e3d17fd6714aa1103c435364166b76df7baa26 WHIRLPOOL 378f71d910d35b2bc6215f4dcd453410e39f87a30ba7a36c7207933f23be4846f774998630eabf19483ce0884948290cac1a434995173ae301b73f0e01b5027e
+DIST ctypes-sh-1.1.tar.gz 437637 SHA256 f7c8276b556101c51838296560d152fdcd96b860254a38d216b92986f31f8297 SHA512 0e136f5b9fc342875d02b1087daed60eed46f411765538f185d1da61430205113db72994ecdb125aded3eae114b3f487e7af398c1326334efdd197ee7de18a61 WHIRLPOOL 7625df5a8d7e5284ee6012e59dc0ff1a2e11ccbec37edb5203d31529715916aefa609d0cd3c7964dfc225d0f476e37213f5936c17c74c2b76fb5ad0a9e02874c
+EBUILD ctypes-sh-1.1.ebuild 740 SHA256 5d3d677f3512551d94ef30a96e303858935069077ba9676a9193bad3b7ad5798 SHA512 7a698c3831b7c4f551e803c6d1d1fc7f28b293d316a92d2b5b738802bcdfd925bd31aef83cc8ad6f8e706e30ee90f164a553bee46cd4032a7d29f7f14d9e1382 WHIRLPOOL 8903fac6605e7d1b91f5431649ec3d25871c2e0a894aaeee2f10f0629846cda64e9493f5a8d3ca9525706cb50674ce4b9f9e1afb8f6777b6337daecfa12054bc
+MISC ChangeLog 554 SHA256 682dae55a57ff0c7669d004efbe28b3f4676a4c35124c79943290cf9ff8672e2 SHA512 c7e187b64c82d1e237a048f1612d4fea8bedc6089414d4ee7868e25606269d551115cf35259886cfa72e30a15fd420271c06a5f08bf501b47e7f709057fe588c WHIRLPOOL f37ad035427d8b1ea632fbbfb98982dac7057a59057cdedffa3df60980aedc8e6cdc2c562b0919b3cfa864b6487e040e24c7961b9de049eee894b0c289560597
+MISC metadata.xml 558 SHA256 8bdcbd15b8d2a3bc21a999be61aebc89e9f9db9c342e31aacccee3a4ac3b0afd SHA512 514d59c04f3c419abcf7ab54a8860506bbcca810c2cafb911b4dcf468cb7b81f63e6f5c01b92c3bb5b2d10c2266bb7adf0ba264aba3bfe632aebcf7d1d3fb1a7 WHIRLPOOL 55479f6a0af9a105ac3114145a46838edc52d05aee4fd4f422be8bbd48f1be1ad5254ba8143a70dac3d2015ba0b95770156cc3f7558bbe9e2fdc51e825cc4eb5
diff --git a/app-shells/ctypes-sh/ctypes-sh-1.1.ebuild b/app-shells/ctypes-sh/ctypes-sh-1.1.ebuild
new file mode 100644
index 000000000000..e737d10f3e87
--- /dev/null
+++ b/app-shells/ctypes-sh/ctypes-sh-1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Foreign function interface for bash"
+HOMEPAGE="http://ctypes.sh/"
+SRC_URI="https://github.com/taviso/${PN/-/.}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="virtual/libffi
+ virtual/libelf
+ app-arch/xz-utils
+ app-arch/bzip2
+ app-shells/bash[plugins]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${P}-makefile-fix.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_test() {
+ pushd test
+ PATH="${S}:${PATH}" \
+ LD_LIBRARY_PATH="${S}/src/.libs" \
+ make CC="$(tc-getCC)" || die "make check failed"
+ popd
+}
diff --git a/app-shells/ctypes-sh/files/ctypes-sh-1.1-makefile-fix.patch b/app-shells/ctypes-sh/files/ctypes-sh-1.1-makefile-fix.patch
new file mode 100644
index 000000000000..9a2965a62bc5
--- /dev/null
+++ b/app-shells/ctypes-sh/files/ctypes-sh-1.1-makefile-fix.patch
@@ -0,0 +1,18 @@
+commit 5e305160cc219fa63658148e3d258cb62dd043a3
+Author: rtlanceroad <rtlanceroad@gmail.com>
+Date: Wed Jul 27 14:49:21 2016 +0800
+
+ fix Makefile.am in src dir
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 8a9b682..71347bb 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -11,6 +11,6 @@ ctypes_la_LIBADD += libstruct.la
+ noinst_LTLIBRARIES += libstruct.la
+ noinst_HEADERS += struct/dutil.h struct/dwarves.h struct/elf_symtab.h struct/gobuffer.h struct/hash.h struct/list.h struct/rbtree.h struct/strings.h
+ libstruct_la_SOURCES = struct/dutil.c struct/dwarves.c struct/gobuffer.c struct/struct.c struct/strings.c struct/dwarf_loader.c struct/dwarves_fprintf.c struct/elf_symtab.c struct/rbtree.c
+-libstruct_la_CFLAGS = -std=gnu99 -D_GNU_SOURCE
++libstruct_la_CFLAGS = -std=gnu99 -D_GNU_SOURCE $(FFI_CFLAGS)
+ libstruct_la_CPPFLAGS = -I../include -I../lib
+ endif
diff --git a/app-shells/ctypes-sh/metadata.xml b/app-shells/ctypes-sh/metadata.xml
new file mode 100644
index 000000000000..6086f8198355
--- /dev/null
+++ b/app-shells/ctypes-sh/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <longdescription lang="en">
+ctypes.sh is a bash plugin that provides a foreign function interface directly
+in your shell. In other words, it allows you to call routines in shared
+libraries from within bash.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">taviso/ctypes.sh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/dash/Manifest b/app-shells/dash/Manifest
new file mode 100644
index 000000000000..f550a7d2e861
--- /dev/null
+++ b/app-shells/dash/Manifest
@@ -0,0 +1,15 @@
+AUX dash-0.5.8.1-dumb-echo.patch 2669 SHA256 7f024dac7ac6dedd54121308834f6ec2c83464abcc2ab553a2af217d2f8f3461 SHA512 5e849eae3022463832c247ac85f085893b068df1043d5a4df4c09c4f7eeb541c659f90b8f516eea09fc8a92828c723a156e08743b6405f0e21badc547823f3aa WHIRLPOOL f21fcd414b568e2dd17f3927844019be5342476beb69789197053cc29bc10c998cf96c0b2c02274a39f80b368b343aa160e5703c2b7d4d9253684711d891ebf7
+AUX dash-0.5.8.1-eval-warnx.patch 241 SHA256 13840812b0e03039c4061fac9bfd01106e53ce51e9bfb794c8c4015e6f3033e9 SHA512 fc44b181f236927e3e15f79c8304f212a55d332acfe981a526e957ff27b8ee56f128e1a5c805045218918f7f6d32945ea2d5b099e988f34cf2f56ad061d654ce WHIRLPOOL 6687f231588d3a47f236b1a4ccbba38f5fccf53e441789e789176c4f73dcabe11298c0ae3da6a09a8e51d23766607ee80a88c239223ba4d7372403a7b1159ad9
+AUX dash-0.5.9-dumb-echo.patch 2534 SHA256 8839fca662ec0456ab55f7f86db28de38f5576bb65bc18592ccf1eb85540be40 SHA512 984341da04a0c925ec976c0074e36d36cfdb83904f23dd4c3bb5efe577dacae12a36821daa184c6f2624a8b32f551a1cbb244ddca4e1846bb6aab2cc13ef145e WHIRLPOOL c71824f71a23e993da3b0da18b47873016e5c378e42a9dc8c12c6c330f5252865bab652deb16031d0b89a4cd1c652d7a313f4b2c37654ec376467c018e8201eb
+AUX dash-0.5.9.1-dumb-echo.patch 2592 SHA256 656875cf5906cc9bcb8e50aa3e374ed4b9b0fb85859367ec649775bc3390de5d SHA512 8dcbee6a53b46b78986c17860f84f47c94b3137b84cf46cd521ec9e4f0b5b4f5a2afbc9e7faa8130b591b3a0f9d2c9dc7853803c8b092c4ec1b5c5b7411fecbf WHIRLPOOL e375e380cae982bdbc928a63c3c44f2fde6a0bd758f76e832d92d70b93dea9c8003f3b7246dcf668ba3347fc04591348082b266bcdb3006331b22894a263e2db
+AUX dash-0.5.9.1-format-security.patch 374 SHA256 0ce7a1417b4e780f184588e761b4bea5d068c2312b23d954183076edf2f9432d SHA512 4726d96ad1a86e47374c129f1cbd13bf5f2b6c77faa4e3e85be65978222cc040175313218fe29da176af2bbc2546c432d84247ea342d261a284b64b42ce138c6 WHIRLPOOL 6584caf7d4cb57c0b7324bb8b54b72b110c57c211f6d8813507dee4b92c86fc0665edb11d83b637d19554bb61459f317f5daf24fc54a0a1be29416395ec26f00
+DIST dash-0.5.8.tar.gz 223028 SHA256 c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f SHA512 3dc42d3503b33c50b62c0f9104c0e41c4e8fa7490ba72bc09213fcc894d6fd92b9688c58389acf8b538b08f8e9cc179f0bf5572e22175d1960f04554594237b8 WHIRLPOOL df79b1cf81cdbba0d7556175510d1f4d7294185c91a10cc0a8d4a9f940e2c26c681e377103b5f4e5291211b4555340433eae10144cb778d2d4e65e6ab54c98a3
+DIST dash-0.5.9.1.tar.gz 225217 SHA256 5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659 SHA512 d56a043b8fab4693d3f70cceb531c37174e7ded4acd5549e53048d7ce29125ff21d7e758f51a4a73e06250d051e246467039989275838c19a2579edea3f72b7d WHIRLPOOL 233ced314d1091a7a27fc9a0f86a3d87f9a08d067a8b171ead7294a12b573071e9d63a5607424eb6d4f7a0c193f374a461cd94b205412928b93341d4b75a9095
+DIST dash_0.5.8-2.diff.gz 41715 SHA256 00168a934864c26cae9a51367fe7ea013ece2d4844ff8bd6893fc00a8fa7b38c SHA512 f067ca162cc463a60b5bcd7926bd6ab1f6cb1757e9cd7894cbf7ba5849b6d9af5381b8ec7264c503db544242690db067b6c034041e262ff93d237f1c06e50e56 WHIRLPOOL 1c904df104c6026d3ec53843fb67563d88dd8a4babb779b369ccd037e1774d722a85ad92c184d713cd7a440be4885c7e739da17f038fcf88545afc527ddabb3f
+EBUILD dash-0.5.8.2.ebuild 1696 SHA256 bfc5526949abc2a6321882fcae4805738c2334765885303eb7ef0b6e666784f2 SHA512 66d84df096ffdce607a3f4bc4e857d807955d945245f96db6e9a33640306ccd3418c79691f2f7e08efef7a877c3e79902c39340ec68d5bab9b0cc657554fbbd7 WHIRLPOOL b84b7e4d6e06a5cb670cbd4aa93f58e3837c188edf159689b4461e762f342cacf3ca224cf526e6f5204d66332c28295cd0c98f04e6d3a9024a22abde0510fdfd
+EBUILD dash-0.5.9.1-r1.ebuild 1949 SHA256 6f2d7aca634cd3cba114c8ecf261ff39a8991db1798890c0b6e5ac5ad8171bd1 SHA512 37324ad3e7fdb9f23924191ab0ae841e6f1948e7b9a9149af55314ee13b1577965c1f3fa5b464536928adb5045a2b5573eb8785316dd60f5008aeae8efe7e199 WHIRLPOOL a91fd8511f18111ae8a488f105b90b578588902dcd8485816936b57790d775a7cffd10b3569e5b2e4e8e2c52d5a4e29fad1dd2be9998c40c6472882ccd0b6f9e
+EBUILD dash-0.5.9.1-r2.ebuild 2048 SHA256 fa063b40842e91cde7d130daa0ac8c0c8d4c21189f873ec9580c9e5b6fd53420 SHA512 59341ffefbc51e667f45412a518ae5264b2192657d201a2852e446445e243e8da2f1ddc0ade395616ec5359037ee38bbaa6804b68e809e30f106796964b8bc5d WHIRLPOOL accc020b9532f4491340dacd4806471381692164107634f992afca399df40c77b0f4f5e917dde33721bb72c66a367c5db201230ae0e2d394685f1f2c8bc245d9
+EBUILD dash-0.5.9.1-r3.ebuild 2107 SHA256 ae6f34c4c586b160d58ea77faa674f1690061b0a6aedbff31005e7cf1af27602 SHA512 3b189415655b3ffcebedc77bdb241f4b26c993b5f28a3813dc9bfd1088159fc4b1301badb57d3eeb57de5b02ef17db2a09bf7238c1a99bd7adbfd3506cdd9927 WHIRLPOOL 1764f5b27ab5b4883d423de91d31ae0a774f6194c74e1eddcdc25334b3b7c6ac9760febe13886bc298f9c23e0733bd515b14e94736c8227fb54e268c8d27af12
+MISC ChangeLog 4024 SHA256 34814af15c0326e0550d05b318c80c92cb2d2c8cc1b73c351899496f6e93a9be SHA512 ec30c4d901539291f6283e2168bb568e5ffa2094a7d9b5943479e9fee4b25aff48249c9f89e2aa4c7c743ff30fe7be5b6c178a2296ec0ccfdc01b93b515dbaa3 WHIRLPOOL ff46e3a76f0ac408ae8f2d8dfb72a79933c17f8ddfc8c912f1539bd8bcfc5fd0ca0c2a2f070e2945e6b6be5bc075de736971ca2c61b63c18b4620624dcd0b503
+MISC ChangeLog-2015 18249 SHA256 8603fd4a2bb147a85bbc0d443ecb01237ca2607e5de8e3131f7677c5053dbf42 SHA512 2a33ff70bbb487004062b25f615229b2f36ccb8e906cac77cee864ac8b3d86451ad5f791019cdd1305256cff4e610497df25d9884e2b49ebe4484d5652073156 WHIRLPOOL 015ff7d5fb87a8cbbbb0917924801179c458aa83a77f8152ef3589a387b29a8e6cf9b447f3125384999df25880647d777862d114316495c15553c35b611a76da
+MISC metadata.xml 598 SHA256 424265a2612ef7988f5b18f295731dd2feb92837c2c7394017d888284fb4ea92 SHA512 a477ff729919625c910ef9a0b95ea85e683122383c4026c1c51f163d8faca06749ec05eef8b4f01ed9eede68b49e637f24f94202b8a00e67bb01bc21294610e6 WHIRLPOOL 57ae7f76ae9a062b54db43161bfbe74412ddcdda26fb6da0e82ebad02f593e4ec48e67608a80b45f9637692a5bfaeb8b63f2c6dba8d8cc418571c7a201ed2867
diff --git a/app-shells/dash/dash-0.5.8.2.ebuild b/app-shells/dash/dash-0.5.8.2.ebuild
new file mode 100644
index 000000000000..31bc5f3be813
--- /dev/null
+++ b/app-shells/dash/dash-0.5.8.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DEB_PV=${PV%.*}
+DEB_PATCH=${PV##*.}
+DEB_PF="${PN}_${DEB_PV}-${DEB_PATCH}"
+MY_P="${PN}-${DEB_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${PN}-${DEB_PV}.tar.gz
+ mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="libedit static"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${WORKDIR}"/${DEB_PF}.diff
+ epatch */debian/diff/*
+ epatch "${FILESDIR}"/${PN}-0.5.8.1-dumb-echo.patch #337329 #527848
+ epatch "${FILESDIR}"/${PN}-0.5.8.1-eval-warnx.patch
+
+ # Fix the invalid sort
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+ # Use pkg-config for libedit linkage
+ sed -i \
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+ configure || die
+}
+
+src_configure() {
+ append-cppflags -DJOBS=$(usex libedit 1 0)
+ use static && append-ldflags -static
+ # Do not pass --enable-glob due to #443552.
+ # Autotools use $LINENO as a proxy for extended debug support
+ # (i.e. they're running bash), so disable that. #527644
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --enable-fnmatch \
+ --disable-lineno \
+ $(use_with libedit)
+}
+
+src_install() {
+ default
+ dodoc */debian/changelog
+}
diff --git a/app-shells/dash/dash-0.5.9.1-r1.ebuild b/app-shells/dash/dash-0.5.9.1-r1.ebuild
new file mode 100644
index 000000000000..d2edb4b7565e
--- /dev/null
+++ b/app-shells/dash/dash-0.5.9.1-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs versionator
+
+#MY_PV="$(get_version_component_range 1-3)"
+DEB_PATCH="" #$(get_version_component_range 4)
+#MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz"
+if [[ -n "${DEB_PATCH}" ]] ; then
+ DEB_PF="${PN}_${MY_PV}-${DEB_PATCH}"
+ SRC_URI+=" mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="libedit static vanilla"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+#S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.8.1-eval-warnx.patch
+)
+
+src_prepare() {
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ epatch "${WORKDIR}"/${DEB_PF}.diff
+ epatch */debian/diff/*
+ fi
+ epatch "${PATCHES[@]}"
+
+ #337329 #527848
+ use vanilla || epatch "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
+
+ # Fix the invalid sort
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+ # Use pkg-config for libedit linkage
+ sed -i \
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+ configure || die
+}
+
+src_configure() {
+ append-cppflags -DJOBS=$(usex libedit 1 0)
+ use static && append-ldflags -static
+ # Do not pass --enable-glob due to #443552.
+ # Autotools use $LINENO as a proxy for extended debug support
+ # (i.e. they're running bash), so disable that. #527644
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --enable-fnmatch \
+ --disable-lineno \
+ $(use_with libedit)
+}
+
+src_install() {
+ default
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ dodoc */debian/changelog
+ fi
+}
diff --git a/app-shells/dash/dash-0.5.9.1-r2.ebuild b/app-shells/dash/dash-0.5.9.1-r2.ebuild
new file mode 100644
index 000000000000..d775db54f946
--- /dev/null
+++ b/app-shells/dash/dash-0.5.9.1-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs versionator
+
+#MY_PV="$(get_version_component_range 1-3)"
+DEB_PATCH="" #$(get_version_component_range 4)
+#MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz"
+if [[ -n "${DEB_PATCH}" ]] ; then
+ DEB_PF="${PN}_${MY_PV}-${DEB_PATCH}"
+ SRC_URI+=" mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="libedit static vanilla"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+src_prepare() {
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ eapply "${WORKDIR}"/${DEB_PF}.diff
+ eapply */debian/diff/*
+ fi
+ default
+
+ #337329 #527848
+ use vanilla || eapply "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
+
+ # Fix the invalid sort
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+ # Use pkg-config for libedit linkage
+ sed -i \
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+ configure || die
+}
+
+src_configure() {
+ # don't redefine stat on Solaris
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ export ac_cv_func_stat64=yes
+ fi
+ append-cppflags -DJOBS=$(usex libedit 1 0)
+ use static && append-ldflags -static
+ # Do not pass --enable-glob due to #443552.
+ # Autotools use $LINENO as a proxy for extended debug support
+ # (i.e. they're running bash), so disable that. #527644
+ local myeconfargs=(
+ --bindir="${EPREFIX}"/bin
+ --enable-fnmatch
+ --disable-lineno
+ $(use_with libedit)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ dodoc */debian/changelog
+ fi
+}
diff --git a/app-shells/dash/dash-0.5.9.1-r3.ebuild b/app-shells/dash/dash-0.5.9.1-r3.ebuild
new file mode 100644
index 000000000000..445e4265793b
--- /dev/null
+++ b/app-shells/dash/dash-0.5.9.1-r3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs versionator
+
+#MY_PV="$(get_version_component_range 1-3)"
+DEB_PATCH="" #$(get_version_component_range 4)
+#MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Debian Almquist Shell"
+HOMEPAGE="http://gondor.apana.org.au/~herbert/dash/"
+SRC_URI="http://gondor.apana.org.au/~herbert/dash/files/${P}.tar.gz"
+if [[ -n "${DEB_PATCH}" ]] ; then
+ DEB_PF="${PN}_${MY_PV}-${DEB_PATCH}"
+ SRC_URI+=" mirror://debian/pool/main/d/dash/${DEB_PF}.diff.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="libedit static vanilla"
+
+RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ libedit? ( static? ( dev-libs/libedit[static-libs] ) )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.5.9.1-format-security.patch )
+
+src_prepare() {
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ eapply "${WORKDIR}"/${DEB_PF}.diff
+ eapply */debian/diff/*
+ fi
+
+ #337329 #527848
+ use vanilla || eapply "${FILESDIR}"/${PN}-0.5.9.1-dumb-echo.patch
+
+ default
+
+ # Fix the invalid sort
+ sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins
+
+ # Use pkg-config for libedit linkage
+ sed -i \
+ -e "/LIBS/s:-ledit:\`$(tc-getPKG_CONFIG) --libs libedit $(usex static --static '')\`:" \
+ configure || die
+}
+
+src_configure() {
+ # don't redefine stat on Solaris
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ export ac_cv_func_stat64=yes
+ fi
+ append-cppflags -DJOBS=$(usex libedit 1 0)
+ use static && append-ldflags -static
+ # Do not pass --enable-glob due to #443552.
+ # Autotools use $LINENO as a proxy for extended debug support
+ # (i.e. they're running bash), so disable that. #527644
+ local myeconfargs=(
+ --bindir="${EPREFIX}"/bin
+ --enable-fnmatch
+ --disable-lineno
+ $(use_with libedit)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ if [[ -n "${DEB_PATCH}" ]] ; then
+ dodoc */debian/changelog
+ fi
+}
diff --git a/app-shells/dash/files/dash-0.5.8.1-dumb-echo.patch b/app-shells/dash/files/dash-0.5.8.1-dumb-echo.patch
new file mode 100644
index 000000000000..4059a80e3301
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.8.1-dumb-echo.patch
@@ -0,0 +1,105 @@
+http://bugs.gentoo.org/337329
+http://bugs.gentoo.org/527848
+
+there's no requirement for `echo` to support escape sequences. bash, by default,
+does not, while dash always does. POSIX permits either behavior:
+http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
+
+however, since the behavior is not portable, no one should be relying on echo
+having any specific behavior. they should use `printf` when they want an escape
+sequence. it also makes dash smaller & faster to disable this logic entirely.
+
+--- a/src/bltin/printf.c
++++ b/src/bltin/printf.c
+@@ -439,34 +444,12 @@
+ int
+ echocmd(int argc, char **argv)
+ {
+- int nonl = 0;
+- struct output *outs = out1;
+-
+- if (!*++argv)
+- goto end;
+- if (equal(*argv, "-n")) {
+- nonl = ~nonl;
+- if (!*++argv)
+- goto end;
++ int i;
++ for (i = 1; i < argc; ++i) {
++ outstr(argv[i], out1);
++ if (i < argc - 1)
++ outc(' ', out1);
+ }
+-
+- do {
+- int c;
+-
+- nonl += conv_escape_str(*argv);
+- outstr(stackblock(), outs);
+- if (nonl > 0)
+- break;
+-
+- c = ' ';
+- if (!*++argv) {
+-end:
+- if (nonl) {
+- break;
+- }
+- c = '\n';
+- }
+- outc(c, outs);
+- } while (*argv);
++ outc('\n', out1);
+ return 0;
+ }
+--- a/src/dash.1
++++ b/src/dash.1
+@@ -1180,43 +1180,15 @@
+ option turns off the effect of any preceding
+ .Fl P
+ options.
+-.It Xo echo Op Fl n
++.It Xo echo
+ .Ar args...
+ .Xc
+ Print the arguments on the standard output, separated by spaces.
+-Unless the
+-.Fl n
+-option is present, a newline is output following the arguments.
+-.Pp
+-If any of the following sequences of characters is encountered during
+-output, the sequence is not output. Instead, the specified action is
+-performed:
+-.Bl -tag -width indent
+-.It Li \eb
+-A backspace character is output.
+-.It Li \ec
+-Subsequent output is suppressed. This is normally used at the end of the
+-last argument to suppress the trailing newline that
+-.Ic echo
+-would otherwise output.
+-.It Li \ef
+-Output a form feed.
+-.It Li \en
+-Output a newline character.
+-.It Li \er
+-Output a carriage return.
+-.It Li \et
+-Output a (horizontal) tab character.
+-.It Li \ev
+-Output a vertical tab.
+-.It Li \e0 Ns Ar digits
+-Output the character whose value is given by zero to three octal digits.
+-If there are zero digits, a nul character is output.
+-.It Li \e\e
+-Output a backslash.
+-.El
+ .Pp
+-All other backslash sequences elicit undefined behaviour.
++No arguments or backslash sequences are supported as they are not portable.
++They will be printed out exactly as passed in.
++.Pp
++You can replace `echo -n ...` with the portable `printf %s ...` construct.
+ .It eval Ar string ...
+ Concatenate all the arguments with spaces.
+ Then re-parse and execute the command.
diff --git a/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch b/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch
new file mode 100644
index 000000000000..51530bfdaf53
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.8.1-eval-warnx.patch
@@ -0,0 +1,12 @@
+fix one of the Debian patches -- it uses warnx but doesn't include err.h.
+
+--- a/src/eval.c
++++ b/src/eval.c
+@@ -36,6 +36,7 @@
+ #include <signal.h>
+ #include <unistd.h>
+ #include <sys/types.h>
++#include <err.h>
+
+ /*
+ * Evaluate a command.
diff --git a/app-shells/dash/files/dash-0.5.9-dumb-echo.patch b/app-shells/dash/files/dash-0.5.9-dumb-echo.patch
new file mode 100644
index 000000000000..9bcf6e65a8a2
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.9-dumb-echo.patch
@@ -0,0 +1,93 @@
+http://bugs.gentoo.org/337329
+http://bugs.gentoo.org/527848
+
+there's no requirement for `echo` to support escape sequences. bash, by default,
+does not, while dash always does. POSIX permits either behavior:
+http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
+
+however, since the behavior is not portable, no one should be relying on echo
+having any specific behavior. they should use `printf` when they want an escape
+sequence. it also makes dash smaller & faster to disable this logic entirely.
+
+--- a/src/bltin/printf.c
++++ b/src/bltin/printf.c
+@@ -442,21 +442,12 @@
+ int
+ echocmd(int argc, char **argv)
+ {
+- int nonl;
+-
+- nonl = *++argv ? equal(*argv, "-n") : 0;
+- argv += nonl;
+-
+- do {
+- int c;
+-
+- if (likely(*argv))
+- nonl += print_escape_str("%s", NULL, NULL, *argv++);
+- if (nonl > 0)
+- break;
+-
+- c = *argv ? ' ' : '\n';
+- out1c(c);
+- } while (*argv);
++ int i;
++ for (i = 1; i < argc; ++i) {
++ outstr(argv[i], out1);
++ if (i < argc - 1)
++ outc(' ', out1);
++ }
++ outc('\n', out1);
+ return 0;
+ }
+--- a/src/dash.1
++++ b/src/dash.1
+@@ -1182,43 +1182,15 @@
+ option turns off the effect of any preceding
+ .Fl P
+ options.
+-.It Xo echo Op Fl n
++.It Xo echo
+ .Ar args...
+ .Xc
+ Print the arguments on the standard output, separated by spaces.
+-Unless the
+-.Fl n
+-option is present, a newline is output following the arguments.
+-.Pp
+-If any of the following sequences of characters is encountered during
+-output, the sequence is not output. Instead, the specified action is
+-performed:
+-.Bl -tag -width indent
+-.It Li \eb
+-A backspace character is output.
+-.It Li \ec
+-Subsequent output is suppressed. This is normally used at the end of the
+-last argument to suppress the trailing newline that
+-.Ic echo
+-would otherwise output.
+-.It Li \ef
+-Output a form feed.
+-.It Li \en
+-Output a newline character.
+-.It Li \er
+-Output a carriage return.
+-.It Li \et
+-Output a (horizontal) tab character.
+-.It Li \ev
+-Output a vertical tab.
+-.It Li \e0 Ns Ar digits
+-Output the character whose value is given by zero to three octal digits.
+-If there are zero digits, a nul character is output.
+-.It Li \e\e
+-Output a backslash.
+-.El
+ .Pp
+-All other backslash sequences elicit undefined behaviour.
++No arguments or backslash sequences are supported as they are not portable.
++They will be printed out exactly as passed in.
++.Pp
++You can replace `echo -n ...` with the portable `printf %s ...` construct.
+ .It eval Ar string ...
+ Concatenate all the arguments with spaces.
+ Then re-parse and execute the command.
diff --git a/app-shells/dash/files/dash-0.5.9.1-dumb-echo.patch b/app-shells/dash/files/dash-0.5.9.1-dumb-echo.patch
new file mode 100644
index 000000000000..cbf5febafd19
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.9.1-dumb-echo.patch
@@ -0,0 +1,92 @@
+http://bugs.gentoo.org/337329
+http://bugs.gentoo.org/527848
+
+there's no requirement for `echo` to support escape sequences. bash, by default,
+does not, while dash always does. POSIX permits either behavior:
+http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
+
+however, since the behavior is not portable, no one should be relying on echo
+having any specific behavior. they should use `printf` when they want an escape
+sequence. it also makes dash smaller & faster to disable this logic entirely.
+
+--- dash-0.5.9.1/src/bltin/printf.c
++++ dash-0.5.9.1/src/bltin/printf.c
+@@ -449,21 +449,12 @@
+ int
+ echocmd(int argc, char **argv)
+ {
+- int nonl;
+-
+- nonl = *++argv ? equal(*argv, "-n") : 0;
+- argv += nonl;
+-
+- do {
+- int c;
+-
+- if (likely(*argv))
+- nonl += print_escape_str("%s", NULL, NULL, *argv++);
+- if (likely((nonl + !*argv) > 1))
+- break;
+-
+- c = *argv ? ' ' : '\n';
+- out1c(c);
+- } while (*argv);
++ int i;
++ for (i = 1; i < argc; ++i) {
++ outstr(argv[i], out1);
++ if (i < argc - 1)
++ outc(' ', out1);
++ }
++ outc('\n', out1);
+ return 0;
+ }
+--- dash-0.5.9.1/src/dash.1
++++ dash-0.5.9.1/src/dash.1
+@@ -1182,43 +1182,15 @@
+ option turns off the effect of any preceding
+ .Fl P
+ options.
+-.It Xo echo Op Fl n
++.It Xo echo
+ .Ar args...
+ .Xc
+ Print the arguments on the standard output, separated by spaces.
+-Unless the
+-.Fl n
+-option is present, a newline is output following the arguments.
+ .Pp
+-If any of the following sequences of characters is encountered during
+-output, the sequence is not output. Instead, the specified action is
+-performed:
+-.Bl -tag -width indent
+-.It Li \eb
+-A backspace character is output.
+-.It Li \ec
+-Subsequent output is suppressed. This is normally used at the end of the
+-last argument to suppress the trailing newline that
+-.Ic echo
+-would otherwise output.
+-.It Li \ef
+-Output a form feed.
+-.It Li \en
+-Output a newline character.
+-.It Li \er
+-Output a carriage return.
+-.It Li \et
+-Output a (horizontal) tab character.
+-.It Li \ev
+-Output a vertical tab.
+-.It Li \e0 Ns Ar digits
+-Output the character whose value is given by zero to three octal digits.
+-If there are zero digits, a nul character is output.
+-.It Li \e\e
+-Output a backslash.
+-.El
++No arguments or backslash sequences are supported as they are not portable.
++They will be printed out exactly as passed in.
+ .Pp
+-All other backslash sequences elicit undefined behaviour.
++You can replace `echo -n ...` with the portable `printf %s ...` construct.
+ .It eval Ar string ...
+ Concatenate all the arguments with spaces.
+ Then re-parse and execute the command.
diff --git a/app-shells/dash/files/dash-0.5.9.1-format-security.patch b/app-shells/dash/files/dash-0.5.9.1-format-security.patch
new file mode 100644
index 000000000000..ea2114f392b3
--- /dev/null
+++ b/app-shells/dash/files/dash-0.5.9.1-format-security.patch
@@ -0,0 +1,13 @@
+Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1037030#c2
+
+--- a/src/jobs.c
++++ a/src/jobs.c
+@@ -427,7 +427,7 @@ sprint_status(char *s, int status, int sigonly)
+ goto out;
+ #endif
+ }
+- col = fmtstr(s, 32, strsignal(st));
++ col = fmtstr(s, 32, "%s", strsignal(st));
+ #ifdef WCOREDUMP
+ if (WCOREDUMP(status)) {
+ col += fmtstr(s + col, 16, " (core dumped)");
diff --git a/app-shells/dash/metadata.xml b/app-shells/dash/metadata.xml
new file mode 100644
index 000000000000..0d01a34d50df
--- /dev/null
+++ b/app-shells/dash/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:dash:dash</remote-id>
+ </upstream>
+ <use>
+ <flag name="vanilla">Support echo -n, and enable echo -e all the time (unsupported)</flag>
+ </use>
+ <longdescription lang="en">
+ DASH is a direct descendant of the NetBSD version of ash (the Almquist SHell)
+ and is POSIX compliant.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-shells/dsh/Manifest b/app-shells/dsh/Manifest
new file mode 100644
index 000000000000..013e4e08261c
--- /dev/null
+++ b/app-shells/dsh/Manifest
@@ -0,0 +1,5 @@
+DIST dsh-0.25.10.tar.gz 394506 SHA256 520031a5474c25c6b3f9a0840e06a4fea4750734043ab06342522f533fa5b4d0 SHA512 a53fba14e65644ce5858b1e9827601016db6d61cb50b0229ea53eeaee676f5870d2dbfd6ebde237008bfc7144316484529c646104e72d99868d44d814a41a009 WHIRLPOOL 63c88c40063ca333c9c94d4e83847c122443e6edb5754efa8b2da0182378c58c79dd26d2a368b63d0956dd760e4b37ce35627222bdb17a95e81f7e56657e0fdb
+EBUILD dsh-0.25.10.ebuild 682 SHA256 d716ab393a50f4599def7bd0046fc6b25eaac1f2ac8a907760355f08879e9a02 SHA512 d11da3036bc12f7479e39dec0834e701dd16be5f1685770a85090c16f59cb3345abffe17c557d0e668ae224a86e3d0ce33a779bc8bf2184b5cb83ea5fe221f96 WHIRLPOOL ab389fd4e407e7b06cb00649172584f4d3a8d8e2009dd0bc182cbd582be6e7bd86fa88c69176c600b5b8abd35ac6c448e86e2d54e003ea365991463b584a9c66
+MISC ChangeLog 2421 SHA256 f87ff37c2a05783a499f7346ed04d39ac226ea5ac62ddddc47bf61300aa40d34 SHA512 3d441cee8c6988209081812e8461dcfbabadee3a47ce05617b4652735a7e3ed0ced634b7a7b53dcb896bd896924c61f582d80dd7b3edfbc5922251ae59b926dc WHIRLPOOL c4ddb2f66bc3bc01d33e1d51a0b65442635621252d84b24135fc4557cdc29f8e78bd30593a9c7f53204de5f59b0144cb2087365fabbdd1a87d36e319a8353a26
+MISC ChangeLog-2015 2612 SHA256 098ae8935a1250351518b98c6a34c0245f2a29b520834e222838e3b3d40e2d20 SHA512 68a11bdf7933bedb2e9238ad0cc0e42ff093774458bbb29b25543e037b4c3200696722e37d6bab108897cb714e37fa2b05c4d4c31691b657bb7e9063d4b13da8 WHIRLPOOL ad77607a125cba22a432fcde3b5c181e6067c5c7d1bd048a84931bd5ef2dc1008e94cbfa07d32bf48cf1166444a8ad431b31c539d41b73280e1a0a21463db7df
+MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e
diff --git a/app-shells/dsh/dsh-0.25.10.ebuild b/app-shells/dsh/dsh-0.25.10.ebuild
new file mode 100644
index 000000000000..fccb114ca850
--- /dev/null
+++ b/app-shells/dsh/dsh-0.25.10.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+DESCRIPTION="Distributed Shell"
+HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
+SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~m68k-mint"
+IUSE="nls"
+
+DEPEND="dev-libs/libdshconfig"
+RDEPEND="${DEPEND}
+ virtual/ssh"
+
+src_configure() {
+ econf --sysconfdir="${EPREFIX}"/etc/dsh $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodir /etc/dsh/group
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+}
diff --git a/app-shells/dsh/metadata.xml b/app-shells/dsh/metadata.xml
new file mode 100644
index 000000000000..4a09d7ba8d61
--- /dev/null
+++ b/app-shells/dsh/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-shells/esh/Manifest b/app-shells/esh/Manifest
new file mode 100644
index 000000000000..85e2bfafdb59
--- /dev/null
+++ b/app-shells/esh/Manifest
@@ -0,0 +1,5 @@
+DIST esh-0.8.5.tar.gz 214040 SHA256 8801c8ffacc07240da20425728bd69897fc26f07839e7e8d5ee9059097961744 SHA512 2473cc2418f70533136305f47dfe59bee560206a8b58c080e2113297dd82483e867937bda1b015069a7220552b4d03346a3b71026a24a2795b0b499e355490a0 WHIRLPOOL c75b59102d6b4bfdc64802016b1af96598d541d75efeb5e255a3d61a4245b0980b5e7d83b453f47eb366aab26a832870e6049cf52ad912e68aaf73b577f22114
+EBUILD esh-0.8.5-r2.ebuild 1035 SHA256 b3ee554fe40ba4e43c04cb5169082b073acd6b197d001b6b5a1bf79beb5620ec SHA512 f16ba2db0e0a5bb8ca0030d64f813c2d8ba84e8631db0db764d72c26b6a272d53822a7248adff2de47c234d6469455338fbb52007373ef0654477a072e39c60e WHIRLPOOL 85d60219de6cf76dcff6d4ca48dd3d70eb0fe4af5881c2d0a690bed3310ec70b1ca0ef3098f2269a0626b92a65d82a306b4ee2220da7edc9103a6f3bbcdead04
+MISC ChangeLog 2518 SHA256 4315820e72207bfcc8326ed721ae8fb12ae77a67f1fd90ff7a0c395f121b76df SHA512 8c269909c0e98e08f3e9eb722e4d1be048970d3bf3cdd4ccf3b430e832ac512a25ff3bed31a6238f153ecc061d9211a3283ed70377aef549c552e5a32cab7087 WHIRLPOOL 0298610e260b2541b1e08b06769772190362085c4ae012fe79af42653246fa6b025493e72ec08fa5f111ddb2da9541d092b6200b799528b4bb18422ed5e396c7
+MISC ChangeLog-2015 3584 SHA256 03d75ca794c945c48c90d634d52ffc4421d56d8db46e94b4762d6bc580e44d5f SHA512 c113d26e8ea619631695ab0bc7587848ca50ed47abc4164b28c5a4db55bbcaf324bb3643fe75ff0a3475c2860d78f4374a5692e77f125df0b1f391082ba3fbfc WHIRLPOOL 665f50a8881885865a996b1d7e99d32a67d1aad1567cba03fdae341da86e111816cc0f35ce90bf1d9d7e8712bd0dc45f676e5961c6c7807d5eac826e79e57cfc
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-shells/esh/esh-0.8.5-r2.ebuild b/app-shells/esh/esh-0.8.5-r2.ebuild
new file mode 100644
index 000000000000..052258caf92d
--- /dev/null
+++ b/app-shells/esh/esh-0.8.5-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="A UNIX Shell with a simplified Scheme syntax"
+HOMEPAGE="http://slon.ttk.ru/esh/"
+SRC_URI="http://slon.ttk.ru/esh/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+DEPEND=">=sys-libs/readline-4.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ emake clean
+
+ sed -i \
+ -e 's|-g ||' \
+ -e 's|-DMEM_DEBUG ||' \
+ -e 's|^CFLAGS|&+|g' \
+ -e 's|$(CC) |&$(CFLAGS) $(LDFLAGS) |g' \
+ -e 's:-ltermcap::' \
+ Makefile || die
+}
+
+src_compile() {
+ # For some reason, this tarball has binary files in it for x86.
+ # Make clean so we can rebuild for our arch and optimization.
+
+ use debug && append-flags -DMEM_DEBUG
+
+ emake \
+ CC="$(tc-getCC)" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin esh
+ doinfo doc/esh.info
+ dodoc CHANGELOG CREDITS GC_README HEADER READLINE-HACKS TODO
+ dohtml doc/*.html
+ docinto examples
+ dodoc examples/*
+}
diff --git a/app-shells/esh/metadata.xml b/app-shells/esh/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-shells/esh/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest
new file mode 100644
index 000000000000..be8691eef107
--- /dev/null
+++ b/app-shells/fish/Manifest
@@ -0,0 +1,10 @@
+AUX fish-2.5.0-honor-linguas.patch 1013 SHA256 15a1e08fef5a1b55a7d95adf8460e7269056e33ab659d577be726d5203fa33bd SHA512 c6800b5f45ab031418dd6492878ebe58a9b997cf265d6b17b90a1a4716f94eafbcdc5a1f1681e00ceede012d30b6200d61c94b5a28adc2379774eafcfc20664d WHIRLPOOL 134bd3f3f22f68a847587ae62031a07bb0a733a0832686b4316383b76407d75e7e672f6ce2da0ea29ec6eb5dcc85de367e9f1ca611762e4b96521d933bc716f3
+DIST fish-2.4.0.tar.gz 3455874 SHA256 06bbb2323360439c4044da762d114ec1aa1aba265cec71c0543e6a0095c9efc5 SHA512 b27a2291c284fda7a12b3cd5dcba8dfcbf2738f50de40d9aac1500afa3bd98be04b4f67d7e6d3bb2f808c11a8c2dd6b1b5cc2dfe3e8e0e7d1bc88f8d8994d57b WHIRLPOOL abb9c31237a33553b25920fe3284f4ca90941aed2b8f1ec4b69fdb4231f7b2585f0292bc647ffe3acf88f6b01ac61931f615fa9a56ede35a8182e3a69aa11861
+DIST fish-2.5.0.tar.gz 3496831 SHA256 f8c0edadca2de379ccf305aeace660a9255fa2180c72e85e97705a24c256b2a5 SHA512 6d94bb70a5f1cefaada4d10ac845992f87c9bfc8c253f38bdfcc3a573a35503d825c9487d2ce8ef3819713594ab7b54ebf6c89fe3362c7010c63dbefc99b424d WHIRLPOOL a16d5f75e95573f2b766527fb124d99083a7ab84522a4826cd5b3aaf3a73ae6728f30defbd0598698b496f279f686eddcb4e81779767e89888037abe0b908849
+DIST fish-2.6.0.tar.gz 3575346 SHA256 7ee5bbd671c73e5323778982109241685d58a836e52013e18ee5d9f2e638fdfb SHA512 d4ded5ce24600e85673a7bb016e9dc36bce999b27f40e6b1ce0b9ca49a421be2d444d9d2b6f178f6eee963e59daa4a65df4c3de2a8086a610486f758fcfb0ed1 WHIRLPOOL 3316c1bd8778a1eba5b7b65edf28495ec89ec01ba3d0bc26cbc64ce69bfcd73a538c9a5463c9385f55689e3e680241d37e36bfec309f87c6ee98934f74fd7aa4
+EBUILD fish-2.4.0.ebuild 1877 SHA256 29a7ab3301e00e6610cedb280d95fd094f97eb2e62a4fef0f3f1ac0eac91843d SHA512 d933209c285be394428524f844cd3bb55a471fbc79be0a3581a8cec73b0dbb73ab386782bf5b9a8ecbfa1fcc20290be4b822948deb644fa185145941cb9f25d7 WHIRLPOOL 7131a648485aa4a5fddd16599febc4ff5324e5cad5e2235fcd444eabc929927dbf58d791b29a96437a22d01c641851109331f326f7f57ccefe3bc14c4a0609c5
+EBUILD fish-2.5.0.ebuild 2122 SHA256 faf104bead0103640a62bf883dfaf063daa387bae3b1551b85a913782a579121 SHA512 28dbe1515cb8f96b35a9809a5b103bf45a79203050d2374838fc031f4b7b97fad07459d8899bab702ec98e2798540ce9e52963eb4f5430c0260528a8ec6851a7 WHIRLPOOL 3ce775ee38e1f4c7a2a39ef0afbce080eb08cbde3c5a9be7d3aff4b5fb6eee081f5d6c49fd27bc85da2fe5e189a60332db0427e57f7c4aa2e84f04d23d17a3b4
+EBUILD fish-2.6.0.ebuild 2103 SHA256 7be05b398f9a826b5282dec274978c55949ecb1e46cab034e038efe539cba550 SHA512 223a3d7c7fceaa6aea83138b737cf74ab72a1b2b17c7438f43e837d986fcfd5583bda79a3f718cd524bfba79d11b1bda61e814b3708a75ccd932d9eb08919a85 WHIRLPOOL 944500326abcb1d9a22450b92892d351e2823bcb3edffc41c0efb1bb25c88c36272d909c18e0b9f80a391096b834e5fd72fa69c5f1388ed360d6a81528926bad
+MISC ChangeLog 4266 SHA256 a1da0515d9df5080a95f75942508c85d0a11971edc4cec45c0fe9d1b6e0724da SHA512 94ce9fd4fe7754244eb5cf33804c27a4a46f262e7f35f6b73991d741c2e28e0e898b0102e070582daa9821582fa6ffa66967bb9c39fd30224a04c7b6c38928f8 WHIRLPOOL 94cd84f0494023da953bce4fe02f7ab19a8da8b4638122ad2b9dbca271fa5a1ca0dccca663ff1898609153b5da1da15d833b8efe5835f12a569891cd66b798c1
+MISC ChangeLog-2015 12909 SHA256 4cb0e569f70bf96e0968b9ab6fcabdcaa7c1ec3e36a3f8897174b6fac87cda73 SHA512 c74ef90c9574c8115a3c23dc147095f036ff6b121933f837af451a8fbb974d4d8599668da9cd81afcde71ec7a10dda331ea25b64f5ca9296cb1a0708f83a86ba WHIRLPOOL cb88ef78f054b75d1687b98536f23b45ad4fc79a92d6727f61b5f2eb443d64fc50dd89ade150bd5912ca9bb9da2c27091294f81456562c1acf762b1b2a3ec72d
+MISC metadata.xml 509 SHA256 73aa49594b1c3a374bbcd282f4c66ad58744a88ed0b858d1ea57b0ac50016d5b SHA512 b4ba8bf04d8814847af718f64bfc59e79f6146f2841da5b8e9d1854caa9d72526cca85d2235483970656f5d78a9bcaba2d636b91ef6406f6f6a32a9fee3c312f WHIRLPOOL 23985a921962a204f7e8d732a8384c990b6acc393cf3bf00d2c2c2d425f933ea93bf9830010703f9d885a3f4377acf88ea7eea694c516c70a86c249d38c9ffc9
diff --git a/app-shells/fish/files/fish-2.5.0-honor-linguas.patch b/app-shells/fish/files/fish-2.5.0-honor-linguas.patch
new file mode 100644
index 000000000000..843036d6e5d3
--- /dev/null
+++ b/app-shells/fish/files/fish-2.5.0-honor-linguas.patch
@@ -0,0 +1,32 @@
+diff --git a/Makefile.in b/Makefile.in
+index 35e63ae..b73c612 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -195,11 +195,16 @@ ifeq ($(shell uname), Darwin)
+ endif
+
+ #
+-# All translation message catalogs
++# All translation message catalogs, filter files based on LINGUAS.
+ #
+ TRANSLATIONS_SRC := $(wildcard po/*.po)
+-ifdef HAVE_GETTEXT
++ifeq ($(HAVE_GETTEXT), 1)
+ TRANSLATIONS := $(TRANSLATIONS_SRC:.po=.gmo)
++ifdef LINGUAS
++ TRANSLATIONS_ALL := $(TRANSLATIONS)
++ TRANSLATIONS_WANTED = $(patsubst %,po/%.gmo,$(LINGUAS))
++ TRANSLATIONS = $(filter $(TRANSLATIONS_WANTED),$(TRANSLATIONS_ALL))
++endif
+ else
+ TRANSLATIONS :=
+ endif
+@@ -764,7 +769,7 @@ uninstall: uninstall-translations | show-prefix show-bindir show-sysconfdir show
+ .PHONY: uninstall
+
+ install-translations: $(TRANSLATIONS) | show-HAVE_GETTEXT
+-ifdef HAVE_GETTEXT
++ifeq ($(HAVE_GETTEXT), 1)
+ @echo "Installing translations..."
+ $v for i in $(TRANSLATIONS); do \
+ $(INSTALL) -m 755 -d $(DESTDIR)$(localedir)/`basename $$i .gmo`/LC_MESSAGES; \
diff --git a/app-shells/fish/fish-2.4.0.ebuild b/app-shells/fish/fish-2.4.0.ebuild
new file mode 100644
index 000000000000..e4b272b56390
--- /dev/null
+++ b/app-shells/fish/fish-2.4.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
+
+DESCRIPTION="fish is the Friendly Interactive SHell"
+HOMEPAGE="http://fishshell.com/"
+SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="X"
+
+DEPEND="sys-libs/ncurses:0=
+ sys-devel/bc
+ sys-devel/gettext
+ X? ( x11-misc/xsel )"
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # Set things up for fish to be a default shell.
+ # It has to be in /bin in case /usr is unavailable.
+ # Also, all of its utilities have to be in /bin.
+ econf \
+ docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --bindir="${EPREFIX}"/bin
+}
+
+src_test() {
+ if has_version ~${CATEGORY}/${P} ; then
+ emake test
+ else
+ ewarn "The test suite only works when the package is already installed"
+ fi
+}
+
+pkg_postinst() {
+ elog "fish is now installed on your system."
+ elog "To run fish, type 'fish' in your terminal."
+ elog
+ elog "To use fish as your login shell:"
+ elog "* add the line '${EPREFIX}/bin/${PN}'"
+ elog "* to the file '${EPREFIX}/etc/shells'."
+ elog "* use the command 'chsh -s ${EPREFIX}/bin/${PN}'."
+ elog
+ elog "To set your colors, run 'fish_config'"
+ elog "To scan your man pages for completions, run 'fish_update_completions'"
+ elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
+ elog
+ elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the"
+ elog "browser of your choice to get acces to ${PN}'s help system:"
+ elog " BROWSER=\"/usr/bin/firefox\""
+ elog
+ elog "In order to get lzma and xz support for man-page completion please"
+ elog "emerge one of the following packages:"
+ elog " dev-python/backports-lzma"
+ elog " >=dev-lang/python-3.3"
+ elog
+ elog "Have fun!"
+}
diff --git a/app-shells/fish/fish-2.5.0.ebuild b/app-shells/fish/fish-2.5.0.ebuild
new file mode 100644
index 000000000000..6d94ff16ddfb
--- /dev/null
+++ b/app-shells/fish/fish-2.5.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="fish is the Friendly Interactive SHell"
+HOMEPAGE="http://fishshell.com/"
+SRC_URI="http://fishshell.com/files/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="
+ >=dev-libs/libpcre2-10.21[pcre32]
+ sys-libs/ncurses:0=
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/bc
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=( "${FILESDIR}/${P}-honor-linguas.patch" )
+
+src_configure() {
+ # Set things up for fish to be a default shell.
+ # It has to be in /bin in case /usr is unavailable.
+ # Also, all of its utilities have to be in /bin.
+ econf \
+ docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --bindir="${EPREFIX}"/bin \
+ --without-included-pcre2 \
+ $(use_with nls gettext)
+}
+
+src_test() {
+ if has_version ~${CATEGORY}/${P} ; then
+ emake test
+ else
+ ewarn "The test suite only works when the package is already installed"
+ fi
+}
+
+pkg_postinst() {
+ elog "fish is now installed on your system."
+ elog "To run fish, type 'fish' in your terminal."
+ elog
+ elog "It is advised not to set fish as a default login shell."
+ elog "see bug #545830 for more details."
+ elog "Executing fish using ~/.bashrc is an alternative"
+ elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details"
+ elog
+ elog "To set your colors, run 'fish_config'"
+ elog "To scan your man pages for completions, run 'fish_update_completions'"
+ elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
+ elog
+ elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the"
+ elog "browser of your choice to get acces to ${PN}'s help system:"
+ elog " BROWSER=\"/usr/bin/firefox\""
+ elog
+ elog "In order to get lzma and xz support for man-page completion please"
+ elog "emerge one of the following packages:"
+ elog " dev-python/backports-lzma"
+ elog " >=dev-lang/python-3.3"
+ elog
+ elog "If you have issues with cut'n'paste in X-terminals, install the"
+ elog "x11-misc/xsel package."
+ elog
+ elog "Have fun!"
+}
diff --git a/app-shells/fish/fish-2.6.0.ebuild b/app-shells/fish/fish-2.6.0.ebuild
new file mode 100644
index 000000000000..fdb99dc66952
--- /dev/null
+++ b/app-shells/fish/fish-2.6.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="fish is the Friendly Interactive SHell"
+HOMEPAGE="http://fishshell.com/"
+SRC_URI="https://github.com/${PN}-shell/${PN}-shell/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="
+ >=dev-libs/libpcre2-10.21[pcre32]
+ sys-libs/ncurses:0=
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/bc
+ nls? ( sys-devel/gettext )
+"
+
+src_configure() {
+ # Set things up for fish to be a default shell.
+ # It has to be in /bin in case /usr is unavailable.
+ # Also, all of its utilities have to be in /bin.
+ econf \
+ docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --bindir="${EPREFIX}"/bin \
+ --without-included-pcre2 \
+ $(use_with nls gettext)
+}
+
+src_test() {
+ if has_version ~${CATEGORY}/${P} ; then
+ emake test
+ else
+ ewarn "The test suite only works when the package is already installed"
+ fi
+}
+
+pkg_postinst() {
+ elog "fish is now installed on your system."
+ elog "To run fish, type 'fish' in your terminal."
+ elog
+ elog "It is advised not to set fish as a default login shell."
+ elog "see bug #545830 for more details."
+ elog "Executing fish using ~/.bashrc is an alternative"
+ elog "see https://wiki.gentoo.org/wiki/Fish#Caveats for details"
+ elog
+ elog "To set your colors, run 'fish_config'"
+ elog "To scan your man pages for completions, run 'fish_update_completions'"
+ elog "To autocomplete command suggestions press Ctrl + F or right arrow key."
+ elog
+ elog "Please add a \"BROWSER\" variable to ${PN}'s environment pointing to the"
+ elog "browser of your choice to get acces to ${PN}'s help system:"
+ elog " BROWSER=\"/usr/bin/firefox\""
+ elog
+ elog "In order to get lzma and xz support for man-page completion please"
+ elog "emerge one of the following packages:"
+ elog " dev-python/backports-lzma"
+ elog " >=dev-lang/python-3.3"
+ elog
+ elog "If you have issues with cut'n'paste in X-terminals, install the"
+ elog "x11-misc/xsel package."
+ elog
+ elog "Have fun!"
+}
diff --git a/app-shells/fish/metadata.xml b/app-shells/fish/metadata.xml
new file mode 100644
index 000000000000..918d136fd201
--- /dev/null
+++ b/app-shells/fish/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ya@sysdump.net</email>
+ <name>Georgy Yakovlev</name>
+ <description>Proxied maintainer. Please assign bugs to him.</description>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ <description>Proxy maintainer of Georgy. Please CC on bugs.</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-shells/gentoo-bashcomp/Manifest b/app-shells/gentoo-bashcomp/Manifest
new file mode 100644
index 000000000000..669450babbb0
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/Manifest
@@ -0,0 +1,10 @@
+AUX gentoo-bashcomp-20101217-make_globals.patch 312 SHA256 d535e8f15f996639de5c18990bc22a6dde1e3f46ca20211282dd9163f7d182f6 SHA512 52c57defde061ab2c28521a601e840cc6e00f4be3ea438edee7089a9ca98e6c540148c5da51744fd6108742b3d219997c93810bfc6f42ade29629ccb90b09af6 WHIRLPOOL 9d2b784cbb755c672f87cb9e4f0be147c68f933735f7ff77854100e778ec25c070869ff0ce0278eaad45aee059fc89f484fa1f9cf93a9e456a5260fb9cc0de5a
+DIST gentoo-bashcomp-20101217.tar.bz2 23095 SHA256 834e62a9189294f30771fce3fcdeca5fae6fd706c7fd35047f246fb2c0e8cd5a SHA512 29c4802b8f71585b7146e454f44700954de8655aa46dda7046338ed46e1e9835f4ea4141cfd5a813a5f75b6586b030e0e0cbde4c8030ec303f98110fa7a5e316 WHIRLPOOL 1d2c0ea0cd9a4888cc86b05bc9f9c9e9810a7af3c601c000cfc03d1f648cf958308d0d0c09615aec9b1d5b1f550398fca08b6a5b60cbc86d189650d13d2d0987
+DIST gentoo-bashcomp-20121024.tar.bz2 28025 SHA256 e7c23a671fa5fee6647729bfb0f93984fda3a33256cf5a29af6f525f2068c42a SHA512 ca755de801b8ecba6267395930024cbd6eb7f3f78c08de5caff6621bcf99554b68f8d3bb93f517f6a7fe27b08c42c8896910b0b93f8917db6e0172bfd614bacd WHIRLPOOL f4a08409874d9481618392810aa942c489337075d01050da24ee88b0dd41e303fc0b44a7f919034d1ddf543cc2a06c3d1cb46430e356a7f6f910a9874d0144bf
+DIST gentoo-bashcomp-20140911.tar.bz2 30258 SHA256 71d14492f9af8fe53e20bb130884fea36cf4ea643c8854713aa509b8602b7fb3 SHA512 cacd1c3353bce7e67d00758a714829860111932ab7addd0a84a06cae9218ff18aff4ea562e0682ca4db859408ca15817edd81548d54144223ed5016667549f7f WHIRLPOOL fb208cb268efa43dcb5a71a29c96c3ebe3731cbcb2cfa3d10776fa5ede20eadd496eab69d2c448346deaf367b49cca8ae92b77af40ceb4fac725249caffd6def
+EBUILD gentoo-bashcomp-20101217-r1.ebuild 1411 SHA256 e723fd2ec23a2d1eb68c4e8a0c65f5892233869bd9c13d760c445e9d3c822110 SHA512 799fd62b1fba1f8a20ce92b3b754bc13ab709a50a6e28ab19a5469248f6a5ec9543421c2871b2c31a63758a0e3dc07a214dfaa0e0cc6b36517396435497130b7 WHIRLPOOL cd38ef16a6082847fe7096786d3898045584bdf2991996dad936fc582456926f6ccd1bdd04fa0140d0bd2c8b10ed275dd96266f2d50f396bf558d3383301bcbb
+EBUILD gentoo-bashcomp-20121024.ebuild 1312 SHA256 e69370e10075642fec289c5fcc18a3b900919dced7ed79166c70371e2318227a SHA512 231c9d39eb88721cc79286c9c8f15a64e5ece68adadad634967f3e1d2acdd465253e675a7a875b00167984b5fff883b7ad893537f9a546009b7cffad0bfefd3e WHIRLPOOL ce65eccd6e22e2c07b7f4ae39e75e92c5ed635ede439e9005d964e3be5f456a635013165090ceafa6cf5ec6bc07b6f96b06c406f9c9597e0ec386b4430ed19bb
+EBUILD gentoo-bashcomp-20140911.ebuild 752 SHA256 ebf15674a8c2a55bf65f39f20ace67f2fabf278249c5eb42c81b2193988ecb5d SHA512 f0aa4db120aa031d9c98136e22d95fb635dd21cf5343588924c0ed75417f879c635c79fe48873d4edba4899c39b707b5a0b227b035e04ddc7d62ee06a06df5ff WHIRLPOOL 41d1a9fbbbd0d78e98b25508b431973aa3f0c262b8e672cc0ab5a06d3c1f59536027c0a09d0bd5616a366218ed0afc76bef29f6fd2cbda246fcd1164c22bcf75
+MISC ChangeLog 2775 SHA256 c06323f792c19c405f4ac89db2e5a5c227b0ca5301f7d52e84af7a2e7b92f268 SHA512 95dd40bd74a3b2f7ff963e8723440595875e9d29a3889f5133b6339538568d7a095ae42a144cf3e7f5c67ed45fae9f7b1c566abaa7540aec62ebc1f9e8150573 WHIRLPOOL 838b77402e4f5d5c38696ab17ebb7f2efb40ceca6c3c7e047b1e4f8e3fe39457cab79e127da65dbd7debdf9af96752e21c81d0d91f3d8f922da3a570a469da94
+MISC ChangeLog-2015 11726 SHA256 e03312228515a877ce679894f15509f3e17c3db52326f39c1e54909f0ab7481d SHA512 c55a68a66787893fbde4b9baa1ec19b72df277c257e416a36c4c27bbc02a32117a9e347fcdee7cda0094d8c30e8d9cb111ee10aba6bbcc71a083a0bae8552404 WHIRLPOOL 7c935af2abde6bff03445b59042c2a21aba41eaa95660f5b31d229d7c71e41795ca2f722c54f66a94844d1db67e4373fa7a3ab100d54d8e31f4ccc1c95366288
+MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519
diff --git a/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch b/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch
new file mode 100644
index 000000000000..ff5262cdabf2
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/files/gentoo-bashcomp-20101217-make_globals.patch
@@ -0,0 +1,11 @@
+--- a/gentoo
++++ b/gentoo
+@@ -21,7 +21,7 @@ have()
+ _portdir()
+ {
+ (
+- source @GENTOO_PORTAGE_EPREFIX@/etc/make.globals 2>/dev/null
++ source @GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals 2>/dev/null
+ source @GENTOO_PORTAGE_EPREFIX@/etc/make.conf 2>/dev/null
+
+ echo ${PORTDIR}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild
new file mode 100644
index 000000000000..9b9190536b91
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils prefix
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ https://dev.gentoo.org/~darkside/tmp/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+RDEPEND="app-shells/bash-completion"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-make_globals.patch" #431034
+ eprefixify gentoo
+}
+
+src_compile() { :; } # There is a useless Makefile in the distfile
+
+src_install() {
+ insinto /usr/share/bash-completion
+ doins gentoo || die "failed to install gentoo module"
+ doins repoman || die "failed to install repoman module"
+ doins layman || die "failed to install layman module"
+ dodoc AUTHORS ChangeLog TODO
+}
+
+pkg_postinst() {
+ # can't use bash-completion.eclass.
+ elog "To enable command-line completion for ${PN}, run:"
+ elog
+ elog " eselect bashcomp enable gentoo"
+ elog
+ elog "to install locally, or"
+ elog
+ elog " eselect bashcomp enable --global gentoo"
+ elog
+ elog "to install system-wide. (and/or repoman instead of gentoo if you use"
+ elog "repoman frequently)"
+}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild
new file mode 100644
index 000000000000..6feed7d34c84
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils prefix
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+RDEPEND="app-shells/bash-completion"
+
+src_prepare() {
+ eprefixify gentoo
+}
+
+src_compile() { :; } # There is a useless Makefile in the distfile
+
+src_install() {
+ insinto /usr/share/bash-completion
+ doins gentoo || die "failed to install gentoo module"
+ doins repoman || die "failed to install repoman module"
+ doins layman || die "failed to install layman module"
+ dodoc AUTHORS ChangeLog TODO
+}
+
+pkg_postinst() {
+ # can't use bash-completion.eclass.
+ elog "To enable command-line completion for ${PN}, run:"
+ elog
+ elog " eselect bashcomp enable gentoo"
+ elog
+ elog "to install locally, or"
+ elog
+ elog " eselect bashcomp enable --global gentoo"
+ elog
+ elog "to install system-wide. (and/or repoman instead of gentoo if you use"
+ elog "repoman frequently)"
+}
diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild
new file mode 100644
index 000000000000..de1290e2a58b
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20140911.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit bash-completion-r1
+
+DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
+IUSE=""
+
+src_install() {
+ emake DESTDIR="${D}" install \
+ completionsdir="$(get_bashcompdir)" \
+ helpersdir="$(get_bashhelpersdir)" \
+ compatdir="${EPREFIX}/etc/bash_completion.d"
+}
diff --git a/app-shells/gentoo-bashcomp/metadata.xml b/app-shells/gentoo-bashcomp/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-shells/gentoo-bashcomp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-shells/gentoo-zsh-completions/Manifest b/app-shells/gentoo-zsh-completions/Manifest
new file mode 100644
index 000000000000..7fc172df9047
--- /dev/null
+++ b/app-shells/gentoo-zsh-completions/Manifest
@@ -0,0 +1,8 @@
+DIST gentoo-zsh-completions-20141115.tar.xz 19672 SHA256 8da688b38065728056a0557971894668657c029bf1127521eb088268c421bc27 SHA512 23debde6227574285ba123ad312db535d40813de686ef4c89f1e4cd9acb3c1ab63f5094194a50e6d272ad9ce3fa1ec6ef0bf4cf93424e2ec7adcb4c74572e420 WHIRLPOOL d22a5e897d4eb48e7191172f9da40c23b84f9fade10fb383e251562522b7b96c918af2de047a1a88ac385e13a6d0dc86fc1292dc9b7d5ad42696d48b618f6c21
+DIST gentoo-zsh-completions-20150103.tar.gz 23759 SHA256 b9636fe7a2d9b586437688c30b53efc6c005d2e4599a001af72ebb6cef772631 SHA512 4d87edda071d98672df79e3dbb9565757c0738bc50751d31e5dfefab4f17523387fb2342906ecc0600ce86d888ab4a785756bbb1daf37ca56a3ce1af9e5ae173 WHIRLPOOL 8b685bd0838f14feaed7a23c47b9af884a509fbf99db9d91cac39604671405f2e5a2e9e3945c6bd049f85a2ecde244c92bc8db2e72d4a9b852b021dd78fe8900
+EBUILD gentoo-zsh-completions-20141115.ebuild 844 SHA256 35969c0419e308f34c9349bc3faf29c14443b546718b800ec67e9f653eb70b24 SHA512 053c74453f62292fb121765de5ba2772cae9645730dd6230afcf01f4173b93a507fc0c44302896f005e569ecde718366fa8eb849948f21c8ea570f21506f5d08 WHIRLPOOL b1a2bf724045a2bfecdbbddfa00ac2dd5cfdf8382f166fddafcec2d4fc592072a11dd24b24b3e6e99c8aedf4144404dfa6f2bbb8c6558195de42ec387304a5ef
+EBUILD gentoo-zsh-completions-20150103.ebuild 783 SHA256 e4335c698953ab505d6c522192ecab689c217455f1918896068b0c2e9f51be01 SHA512 0c37b1717cc91c04603c205fd223089ba33e5b3ab9821c2b6326e3c20aca7c00c3f69e8856d5e15d0cd56ea6b2cdfc07195b6e570158932f4deec573598cef31 WHIRLPOOL d04c7510e88326bf6a2ed2d1df25251aca9bdf5a01e0135641079080bf3938c50d007908e218dce698128d10f46107522c09f596029cc736d1afea79a218ee36
+EBUILD gentoo-zsh-completions-99999999.ebuild 783 SHA256 e4335c698953ab505d6c522192ecab689c217455f1918896068b0c2e9f51be01 SHA512 0c37b1717cc91c04603c205fd223089ba33e5b3ab9821c2b6326e3c20aca7c00c3f69e8856d5e15d0cd56ea6b2cdfc07195b6e570158932f4deec573598cef31 WHIRLPOOL d04c7510e88326bf6a2ed2d1df25251aca9bdf5a01e0135641079080bf3938c50d007908e218dce698128d10f46107522c09f596029cc736d1afea79a218ee36
+MISC ChangeLog 2820 SHA256 0c64898b1276e3557d8585a2ad32511a566dca53502894e787625b8cd8e9f232 SHA512 6861f3fcbbf98dfa4d8ee75d1619828a16f4527b3ebffc2bc609b8f30910910bf20ccb6e188508774968fe6dc5acd65112e2650b35ce3216be60f0c14a38240d WHIRLPOOL 1726965e05543d0c483e9f563816678b6bd87d55e387d1c590f22ff38f08113f314304d5eaf4247aa59728577dd9b039d7eb79ca68dd9779ab03de5ae442e8d4
+MISC ChangeLog-2015 10068 SHA256 f519b297f4978827002897de835c4a3190c5fecd67859f579b9ffc2d9566c17a SHA512 e2feb6efd04dfbe4590be4cb1aa4e652f3282352b1c72175742f15128435b7317a6afd36ca51b47ee62bb1e65135940d0a2b1b55f7a0528a00ca1d1749957882 WHIRLPOOL 38a1de7d0c2c29d89c78cbeca50aa705afb916b1b7a7d854a1869f2d4e5b90a97ddaa467313da1d55f268bd4bd0b66670ce6cddb087ec56c0ea68f55cad22954
+MISC metadata.xml 350 SHA256 723ee11e3cbbfe50be3ad9fd25b85ecfa892cb468d8ed74acd219df2ca3fdd76 SHA512 06072032aaba8a33b43231772067bbadedc05abe289933b54108d30e6acd81fab23e621db91dd1269df46a171bb11c3903e8e942a7ce964c1229e44912702d59 WHIRLPOOL 17e2aa57e9c3083acf7bfd7140f3a1bb8aa0f5745a7c98beda2c9dd3330a3fdba5041ce6f5466f9a4e4523c003217336a1b02b4abbc9a0b4c8ed14348c6078d5
diff --git a/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20141115.ebuild b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20141115.ebuild
new file mode 100644
index 000000000000..a7aa565f0652
--- /dev/null
+++ b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20141115.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Gentoo specific zsh completion support (includes emerge and ebuild commands)"
+HOMEPAGE="https://github.com/radhermit/gentoo-zsh-completions"
+SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz"
+
+LICENSE="ZSH"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+
+RDEPEND=">=app-shells/zsh-4.3.5"
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins _*
+
+ dodoc AUTHORS
+}
+
+pkg_postinst() {
+ elog
+ elog "If you happen to compile your functions, you may need to delete"
+ elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
+ elog "to your shell."
+ elog
+}
diff --git a/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20150103.ebuild b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20150103.ebuild
new file mode 100644
index 000000000000..5a4fa4c7fa0e
--- /dev/null
+++ b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-20150103.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gentoo/gentoo-zsh-completions.git"
+else
+ SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+fi
+
+DESCRIPTION="Gentoo specific zsh completion support (includes emerge and ebuild commands)"
+HOMEPAGE="https://github.com/gentoo/gentoo-zsh-completions"
+
+LICENSE="ZSH"
+SLOT="0"
+
+RDEPEND=">=app-shells/zsh-4.3.5"
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins src/_*
+
+ dodoc AUTHORS
+}
diff --git a/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-99999999.ebuild b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-99999999.ebuild
new file mode 100644
index 000000000000..5a4fa4c7fa0e
--- /dev/null
+++ b/app-shells/gentoo-zsh-completions/gentoo-zsh-completions-99999999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gentoo/gentoo-zsh-completions.git"
+else
+ SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris"
+fi
+
+DESCRIPTION="Gentoo specific zsh completion support (includes emerge and ebuild commands)"
+HOMEPAGE="https://github.com/gentoo/gentoo-zsh-completions"
+
+LICENSE="ZSH"
+SLOT="0"
+
+RDEPEND=">=app-shells/zsh-4.3.5"
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins src/_*
+
+ dodoc AUTHORS
+}
diff --git a/app-shells/gentoo-zsh-completions/metadata.xml b/app-shells/gentoo-zsh-completions/metadata.xml
new file mode 100644
index 000000000000..bb95fea0f268
--- /dev/null
+++ b/app-shells/gentoo-zsh-completions/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">gentoo/gentoo-zsh-completions</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/heirloom-sh/Manifest b/app-shells/heirloom-sh/Manifest
new file mode 100644
index 000000000000..686fe3dbea91
--- /dev/null
+++ b/app-shells/heirloom-sh/Manifest
@@ -0,0 +1,5 @@
+DIST heirloom-sh-050706.tar.bz2 82725 SHA256 25fb8409e1eb75bb5da21ca32baf2d5eebcb8b84a1288d66e65763a125809e1d SHA512 3a0dbec19eb093b6a818910a1b24f2d7328dc785dc12cd0097c37f98e7ac558d31cda8717381d814259bd54f5de12e50cc8d9d617bd4e09c4a903ef63838807f WHIRLPOOL 4be1e76719493e5ab85b99953e1359658c71e5fd68a3025526c218650079518ab61d4b7ead76903ec68898f0fef5ec2db8ca6b691db929fe9e33b6e44c84b9bf
+EBUILD heirloom-sh-050706-r1.ebuild 653 SHA256 f250bce3f40fa77023cafaa85db7a4e5d98abbd3ded6de26ebe2d94c2b5b7e52 SHA512 fb98910ae4e9a33ad4cb0653c2481f11791488d92d38dc2b7c904e9bb274f5f95ccb47120e556624b9c314ba9c1291b3263cae3269bf4ee58b8d1c66f93264df WHIRLPOOL 35afaa7805e5b406a92aacd7ce9bd2b8cfa06ca7c72a95a3a0f7a80fa8b0cf267718dbeeb2cdd8db99b6b7988030687046672d0b91f501bf2f33d44b2136b759
+MISC ChangeLog 2192 SHA256 8689ae1e6f92519ad7f89e6d8b867666a246d161b1fbf3141d446763018c860a SHA512 97162692722891e7e2c2825da2d3fd084eaf9757637eb04ea735b57b7d8b62e84979255f0dfa55df82bf6d35a1fe3c4761999619fe2d5d14989a2a46c5a3b52d WHIRLPOOL 13b7e5e26bdf6d1d32c67c57db3027c6eb8ce45cce71f25d8893d271d6932fd46e184765651a2857f38680a58ef43d70a3b61e1eb3cefbec40341c5f01d7dc77
+MISC ChangeLog-2015 592 SHA256 7f48cabfc2a7632307d173c87a61084e83da7550ae465eca9384509c2b67c10f SHA512 ae5276ee5b2c06ca8790a91efe83c97fc1e5a4175eebf98cdc5837d20f1841089394d1e48a9a3637ecdfe324de16509e2be2f722f5cb59ca9d538afc2c6cee62 WHIRLPOOL eeb6c40b049b0f90002dc873a6e98ee53cbc1f98696752f2c3b5f8c03c74852ec4bfc1d21cce5318da42b31c0b837716fef80f59140ba4b41c4c97c55738d666
+MISC metadata.xml 325 SHA256 a247a85ff13b84f21c984ec6d6a39c4fda320c8c2691b975aafcda66cc0019cc SHA512 54940bbe65218aceba90442526963ae60b9132d253d71d672d6e7fbef47de99b50249925b39702d0a1f1283cc57ccf91dfe9dd1dcfb88930176752ad46742d62 WHIRLPOOL 21be469cc3c3dd6a5a00afbca937fbfdb809bfef44c97240d4f3dfd092073e13f6775dab79ca8dcfec11f0c8803a84d9707cf9b7185b3dc7ddd58b12793e9f7d
diff --git a/app-shells/heirloom-sh/heirloom-sh-050706-r1.ebuild b/app-shells/heirloom-sh/heirloom-sh-050706-r1.ebuild
new file mode 100644
index 000000000000..6e939fa84091
--- /dev/null
+++ b/app-shells/heirloom-sh/heirloom-sh-050706-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+# slightly broken
+RESTRICT="test"
+
+DESCRIPTION="Heirloom Bourne Shell, derived from OpenSolaris code SVR4/SVID3"
+HOMEPAGE="http://heirloom.sourceforge.net/sh.html"
+SRC_URI="mirror://sourceforge/heirloom/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ append-cppflags -D_GNU_SOURCE
+ emake \
+ "CFLAGS=${CFLAGS}" \
+ "CPPFLAGS=${CPPFLAGS}" \
+ "LDFLAGS=${LDFLAGS}" \
+ "LARGEF=" \
+ "CC=$(tc-getCC)"
+}
+
+src_install() {
+ exeinto /bin
+ newexe sh jsh
+ newman sh.1 jsh.1
+}
diff --git a/app-shells/heirloom-sh/metadata.xml b/app-shells/heirloom-sh/metadata.xml
new file mode 100644
index 000000000000..104a871f1a1a
--- /dev/null
+++ b/app-shells/heirloom-sh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">heirloom</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/hstr/Manifest b/app-shells/hstr/Manifest
new file mode 100644
index 000000000000..24848a2496e9
--- /dev/null
+++ b/app-shells/hstr/Manifest
@@ -0,0 +1,4 @@
+DIST hstr-1.22.tar.gz 46487 SHA256 c4995e7041dc66e2118f83bd4c6c7f4cff5b4c493ca28bd7e4aef76edeff71ba SHA512 5f31434410963c236f4e0d1117f09849b0a391d4173924d9eb2b2ddb9977a8bcb5a0c9b2e01045b618d01dfbcebd9c5db41534cb6abbb024a3515d5994b442cd WHIRLPOOL 30c6e42c91eebbcf55d6e8d89921d0760e3bda8e84ece0e2ccc7ef6be51dae15806f3db434b79a3afa4e8a9ebe63462fa927cc305c7a8d89a5d0651aa342493e
+EBUILD hstr-1.22-r1.ebuild 576 SHA256 ff0a28ba1f3ebef80b68740220b2670f2c7c836b35f3fc9c7dacc7894f4c48fd SHA512 f4ad8cff119c85dd88dd422fa0fedab0aaa0f054aaa5d87dc63309ee6f1223b7e8a6ef7c870b92925f27663e6901cb0624ce30419b6a8c7ce24acaebaa5e83f3 WHIRLPOOL 3aa273d43b37d5aa82c6393a78c6491fc4860a6c35ea586b730a511017ee8771699d3d12822a1864585646cc678e912cc15cbbfa9af8c945d18e4115b7fabd2a
+MISC ChangeLog 3712 SHA256 5d2c53d011ccdb09d25131db3f0532a680cdd7508bee75ccbd00eab615a14163 SHA512 7a86fc361251bd8f96317a7c2342b64bee0acfbd6a66f90f65ec573a711894d8d12f948555dfcf57f2163d6421f0da1c1bb2dad2263e7a735185ee08db7866b9 WHIRLPOOL 93e427b083558eff0d02fe7f2de2556f035db89ffd9359b08ddd9d1154333958d9311b690f135031f696d6111b7b651c73030e4ad6fd115a7e8a3ac528d66be8
+MISC metadata.xml 453 SHA256 2f9f38443be80130f444597b76b236123206ccddf8bf56653ad266858f39c63e SHA512 07997cef95d27c283b525f9a09d2762338c5bc8c2129904672cabf85e0d441ef7dc9b06608c0d38f0ae8d5d86e3fe8fc22bf8ebc7b29a81f8e9469436e62cf3e WHIRLPOOL 6b1db3b0a665c78622d524be8048b862991427199edca4151c6929e3dfbaed7ffd22f88ce7673d1562444f79884ae7de13aa9691740e9ce38a4d6750a5a3cbbe
diff --git a/app-shells/hstr/hstr-1.22-r1.ebuild b/app-shells/hstr/hstr-1.22-r1.ebuild
new file mode 100644
index 000000000000..120e39a10373
--- /dev/null
+++ b/app-shells/hstr/hstr-1.22-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Shell history suggest box"
+HOMEPAGE="https://github.com/dvorka/hstr http://www.mindforger.com"
+SRC_URI="https://github.com/dvorka/hstr/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="sys-libs/ncurses:0="
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( CONFIGURATION.md README.md )
+
+src_prepare() {
+ default
+ sed \
+ -e 's:-O2::g' \
+ -i src/Makefile.am || die
+ eautoreconf
+}
diff --git a/app-shells/hstr/metadata.xml b/app-shells/hstr/metadata.xml
new file mode 100644
index 000000000000..4e43fd2494d4
--- /dev/null
+++ b/app-shells/hstr/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dvorka/hstr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest
new file mode 100644
index 000000000000..1cc87b6b7fc9
--- /dev/null
+++ b/app-shells/ksh/Manifest
@@ -0,0 +1,10 @@
+AUX cpp.patch 865 SHA256 c8b9b72af426e2cbe805f711f0ab4b74ed25fdbff25f003cbf5bd92490b484a2 SHA512 68b50627a548cfda24579ae5316ec1e42a959d6533df2c88dda572b0432e0080f0b6e4cbaa7a9a7f148a0f89ac1bda36ed414850a00fccfb36c2782a349fb1b5 WHIRLPOOL d2e9d90b72ef066c1b2994a6ad5938b51625dfd3c27291e164f14a91a475c670a69c4a562a7219a7004b4d30bf7e3ded299bea7fc2d2022f32d9c4610747109d
+AUX ksh-prefix.patch 1780 SHA256 9dd102cbd377e403ac01fb138d5a98ce7f9f352c9ce0a1fc38f57ebba8a6e8c3 SHA512 32ae89b988cc0bed839039646f5658c7a1e64b6b8a85ba4afecd02cfda4d6b64a968a4f8da8d290b90357b9b6231c609c51f4989935cc56ea378b5032569c315 WHIRLPOOL 2bc10c1209fed433adce600e89474c9b1cb6ec367e3088be5d13a099c36d76291f0608ff4744f6b97f01b83a3a994fd2b7af2cc6497d9907bdc29ab17de6e4ad
+DIST INIT.2014-06-25.tgz 385531 SHA256 e73302b6ab2854421c960f179c3ac079f9e21f0362cfdec58476bda36c163f14 SHA512 9034cdf5b798c134472d786195d0f5d14e7e7a1f8226dcbccf962880cd59cd59d3a5597307587163f90a9187cce0232235cf79bcd66842044b2c624b335ba730 WHIRLPOOL 9e33c998c90878829e6e3007a3fa1b0b7d3128f4761a75630bb449e9e3e29b49c6c54e509c56a1e73119ff87aabc1a84108f4943928920745156d95abf2b0d20
+DIST ast-base.2014-06-25.tgz 9609090 SHA256 58588b07b076f05dbbd5f4f095d5753309a8356ba1e5475262ce77d6bff42dae SHA512 3006dd187c6042798ffd6da5aad8d6340bf4fbad687338b2b9797556136966b65d90295eb267dba198a83ea5b651a9a339d9ff48179f3d7e25b3de76c41bf737 WHIRLPOOL b07c4809e729359d0ed613310f49fa391c199a225e4a3c589f9015af54d1159e199135ee4eadebd9d09f21f3131103550c1c17badc3a643943e3828df79d98d2
+DIST ksh-93.20160110.tar.gz 26416127 SHA256 59cf3c8e8945b593e10946bc0ae1172f62c18ddde1de0f7427599195aecbd591 SHA512 cf6e13e5f6b0fd62b12cbcd007c09306ba1ff7e733c207be34cb360b6b269b8e75f2134a32775c65626ea6cfbdf1bbffecab22c7b2ff244fe91981b3d8fa8688 WHIRLPOOL e7548707b3bb8d3ac8fab749f826ae4db775ca03af2fd51b7fcecd7ba766b64065d18a6ded1b64e1e9aecd4e8ef3bb613dfd744eaf788ca227068bb20d444d62
+EBUILD ksh-93.20140625.ebuild 1173 SHA256 e1900933144248c58af69e1c40a464f9000a77ca47184962e3d11f5174e3b444 SHA512 9b93f2101fcc17470fdab5facd402143971edbcf06ffff74b6a969dbd7340d863bbd5a825e852bc661e3db52fc32542aa37a3507c9889ffd24a0f89da367b53c WHIRLPOOL 01352d5ac88fa4595132d62f9699c127ae6e80a5f300c5a9c802a2bebb85270880f91cb8f9a74ebc8c2bf6899a3e7a577e26a16ec6d6e4ee968a6d1fa37799d8
+EBUILD ksh-93.20160110.ebuild 1115 SHA256 e95e8c0f3e21a373a278e0a71381bfef0f71f55b5903f9aabbe60bcbf8ce3231 SHA512 09e6068ad0b4393a5b60ff40324045856b2ad8ed36fcb14d04412552ab601bad8305ddd1f9267a6382f06f64c6bf2058235391e850adbf2ffd39a9433b830f17 WHIRLPOOL 7a8081ace45cf8b6f0e54d2f4cb1ddccbaed91bf46a6b6c02d0a924fb4104666d791e24269777bce1215d9d551fbf70f0393b2e8162ba8aed29b0d75f244d2a8
+MISC ChangeLog 3881 SHA256 4ef3664099ef912ead9c432ed11ca10564f82dca5e30df4e6689871f6108ccbc SHA512 79361175f9d07f3ead908f66b6429647db3b1d3c7d9c059be03ad727a4f612983204b64cf8f44fcf505ebcb31fd8247d0c8556083b25c40672e2bccc4db34aec WHIRLPOOL 0b3cb07d8d778a92f78c76556ecf2e9b0a12ec82aacbb602eed22e957f00ccd72a069339ee912c9d88a42128f8411743f2ca70abb5e86adc2851d3bb32b75c10
+MISC ChangeLog-2015 8642 SHA256 6c04b8e984a18f59140ab908f65c0221fda3aa799bfe385dbfb126c88d62524e SHA512 564cc8f46348c51d9fd126dcdd92c2b2a40f5fbcdb2083d55c80565e9ab77158b2859547ee93ee6dd56a478f5afe28c44b1ec2140b7b5056e27cd75206a186e3 WHIRLPOOL 0a396ce8020c18122adde2950dd8fba1cab2c21169ea5725b7aa00dab8f989d32edc9b98127368c657b5ad0cb494ab40bcbb4a9d46330bacc4994a1a2f736094
+MISC metadata.xml 1371 SHA256 d115c86f3cd2d03c6ec67c587d8eb73fafd2c0c167d1b4aee4d068fe0421856e SHA512 b74fe4a12ce5868839cd32fe9c4f88c216a0703a3f477b005dcf7b47f697d129c695a011a9b37894c39716b5d47ddc9abeb5bd4946ba6b6849707a73b5901810 WHIRLPOOL 3baf53c5c28c1398521dddc87a2bc2eb6400d91e414ba2823a81795ae13554c1fb8d5884dd56ad851ee6398a74b0f95d5af369ea6113d81c280f98f4aea16047
diff --git a/app-shells/ksh/files/cpp.patch b/app-shells/ksh/files/cpp.patch
new file mode 100644
index 000000000000..7075bcfc1f7f
--- /dev/null
+++ b/app-shells/ksh/files/cpp.patch
@@ -0,0 +1,24 @@
+iffe depends on cc -E not inserting newlines between tokens
+
+https://build.opensuse.org/package/view_file/home:Andreas_Schwab:Factory/ksh/cpp.patch?expand=1
+
+--- a/src/cmd/INIT/iffe.sh
++++ b/src/cmd/INIT/iffe.sh
+@@ -3427,7 +3427,7 @@
+ (eval "$src") <&$nullin || e=1
+ ;;
+ mac*|nomac*)
+- if compile $cc -E $tmp.c <&$nullin >$tmp.i
++ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
+ then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i
+ else e=1
+ fi
+@@ -3718,7 +3718,7 @@
+ <<\"#define $v\">> $v <<\"/* native $v */\">>
+ <<\"#endif\">>
+ #endif" > $tmp.c
+- if compile $cc -E $tmp.c <&$nullin >$tmp.i
++ if compile $cc -E -P $tmp.c <&$nullin >$tmp.i
+ then sed -e '/<<[ ]*".*"[ ]*>>/!d' -e 's/<<[ ]*"//g' -e 's/"[ ]*>>//g' $tmp.i > $tmp.t
+ if test -s $tmp.t
+ then success
diff --git a/app-shells/ksh/files/ksh-prefix.patch b/app-shells/ksh/files/ksh-prefix.patch
new file mode 100644
index 000000000000..c97cbe333ca1
--- /dev/null
+++ b/app-shells/ksh/files/ksh-prefix.patch
@@ -0,0 +1,42 @@
+--- a/src/cmd/ksh93/data/msg.c
++++ b/src/cmd/ksh93/data/msg.c
+@@ -180,7 +180,7 @@
+ const char e_sptbnl[] = " \t\n";
+ const char e_tolower[] = "tolower";
+ const char e_toupper[] = "toupper";
+-const char e_defpath[] = "/bin:/usr/bin:";
++const char e_defpath[] = "@GENTOO_PORTAGE_EPREFIX@/bin:@GENTOO_PORTAGE_EPREFIX@/usr/bin:";
+ const char e_defedit[] = _pth_ed;
+ const char e_unknown [] = "<command unknown>";
+ const char e_devnull[] = "/dev/null";
+@@ -188,24 +188,24 @@
+ const char e_supprompt[] = "# ";
+ const char e_stdprompt[] = "$ ";
+ const char e_profile[] = "$HOME/.profile";
+-const char e_sysprofile[] = "/etc/profile";
+-const char e_suidprofile[] = "/etc/suid_profile";
++const char e_sysprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/profile";
++const char e_suidprofile[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_profile";
+ #if SHOPT_SYSRC
+-const char e_sysrc[] = "/etc/ksh.kshrc";
++const char e_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/ksh.kshrc";
+ #endif
+ #if SHOPT_BASH
+ #if SHOPT_SYSRC
+-const char e_bash_sysrc[] = "/etc/bash.bashrc";
++const char e_bash_sysrc[] = "@GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc";
+ #endif
+ const char e_bash_rc[] = "$HOME/.bashrc";
+ const char e_bash_login[] = "$HOME/.bash_login";
+ const char e_bash_logout[] = "$HOME/.bash_logout";
+ const char e_bash_profile[] = "$HOME/.bash_profile";
+ #endif
+-const char e_crondir[] = "/usr/spool/cron/atjobs";
++const char e_crondir[] = "@GENTOO_PORTAGE_EPREFIX@/usr/spool/cron/atjobs";
+ const char e_prohibited[] = "login setuid/setgid shells prohibited";
+ #if SHOPT_SUID_EXEC
+- const char e_suidexec[] = "/etc/suid_exec";
++ const char e_suidexec[] = "@GENTOO_PORTAGE_EPREFIX@/etc/suid_exec";
+ #endif /* SHOPT_SUID_EXEC */
+ const char hist_fname[] = "/.sh_history";
+ const char e_dot[] = ".";
diff --git a/app-shells/ksh/ksh-93.20140625.ebuild b/app-shells/ksh/ksh-93.20140625.ebuild
new file mode 100644
index 000000000000..c8a15396a51d
--- /dev/null
+++ b/app-shells/ksh/ksh-93.20140625.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs prefix eutils
+
+DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
+HOMEPAGE="http://www.kornshell.com/"
+
+KSH_PV=${PV:3:4}-${PV:7:2}-${PV:9:2}
+
+SRC_URI="https://dev.gentoo.org/~floppym/distfiles/INIT.${KSH_PV}.tgz
+ https://dev.gentoo.org/~floppym/distfiles/ast-base.${KSH_PV}.tgz"
+
+LICENSE="CPL-1.0 EPL-1.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ppc ~ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="!app-shells/pdksh"
+
+S=${WORKDIR}
+
+src_prepare() {
+ # Bug 238906.
+ sed -i -e 's,cd /tmp,cd "${TMPDIR:-/tmp}",' \
+ bin/package src/cmd/INIT/package.sh || die
+
+ epatch "${FILESDIR}"/${PN}-prefix.patch
+ epatch "${FILESDIR}"/cpp.patch
+ eprefixify src/cmd/ksh93/data/msg.c
+}
+
+src_compile() {
+ tc-export AR CC LD NM
+ export CCFLAGS="${CFLAGS}"
+ sh bin/package flat only make ast-ksh SHELL=sh SHOPT_SYSRC=1 || die
+}
+
+src_install() {
+ dodoc lib/package/ast-base.README
+ dohtml lib/package/ast-base.html
+
+ local myhost=$(sh bin/package host)
+ into /
+ dobin bin/ksh
+ dosym ksh /bin/rksh
+ newman man/man1/sh.1 ksh.1
+}
diff --git a/app-shells/ksh/ksh-93.20160110.ebuild b/app-shells/ksh/ksh-93.20160110.ebuild
new file mode 100644
index 000000000000..13f64f1a69ea
--- /dev/null
+++ b/app-shells/ksh/ksh-93.20160110.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs prefix eutils
+
+DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
+HOMEPAGE="http://www.kornshell.com/"
+
+COMMIT="c506cb548d9b4bcebef92c86e948657728760e15"
+SRC_URI="https://github.com/att/ast/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="CPL-1.0 EPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="!app-shells/pdksh"
+
+S="${WORKDIR}/ast-${COMMIT}"
+
+PATCHES=(
+ "${FILESDIR}"/ksh-prefix.patch
+ "${FILESDIR}"/cpp.patch
+)
+
+src_prepare() {
+ default
+
+ # Bug 238906.
+ sed -i -e 's,cd /tmp,cd "${TMPDIR:-/tmp}",' \
+ bin/package src/cmd/INIT/package.sh || die
+
+ eprefixify src/cmd/ksh93/data/msg.c
+}
+
+src_compile() {
+ tc-export AR CC LD NM
+ export CCFLAGS="${CFLAGS}"
+ sh bin/package flat only make ast-ksh SHELL=sh SHOPT_SYSRC=1 || die
+ # The build system doesn't exit properly
+ [[ -e bin/ksh ]] || die
+}
+
+src_install() {
+ into /
+ dobin bin/ksh
+ dosym ksh /bin/rksh
+ newman man/man1/sh.1 ksh.1
+}
diff --git a/app-shells/ksh/metadata.xml b/app-shells/ksh/metadata.xml
new file mode 100644
index 000000000000..6018c787c35e
--- /dev/null
+++ b/app-shells/ksh/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>floppym@gentoo.org</email>
+ <name>Mike Gilbert</name>
+ </maintainer>
+ <longdescription lang="en">
+ The KornShell language was designed and developed by David G. Korn at
+ AT&amp;T Bell Laboratories. It is an interactive command language that
+ provides access to the UNIX system and to many other systems, on the
+ many different computers and workstations on which it is implemented.
+
+ ksh has the functionality of other scripting languages such as awk,
+ icon, perl, rexx, and tcl. For this and many other reasons, ksh is a
+ much better scripting language than any of the other popular shells.
+ The code size for ksh is larger than the Bourne shell or C shell
+ programs. The revised version is even larger.
+
+ In spite of its increased size, ksh provides better performance. You
+ can write programs to run faster with ksh than with either the Bourne
+ shell or the C shell, sometimes an order of magnitude faster. ksh has
+ evolved and matured with extensive user feedback. It has been used by
+ many thousands of people at AT&amp;T since 1982, and at many other
+ companies and universities.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">att/ast</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/localshell/Manifest b/app-shells/localshell/Manifest
new file mode 100644
index 000000000000..2ea20bdf4343
--- /dev/null
+++ b/app-shells/localshell/Manifest
@@ -0,0 +1,5 @@
+DIST localshell-1.3.4.tar.bz2 113170 SHA256 666b56b7d17e099d121c3d3dfeefc2c713e7471c6b6926f28acd4284486cd811 SHA512 3a302b7d1b00e6ac8025a2145b3d12b916a60a9bad811d63c78c6eaac1b9a832f8796ab4429c677423287f70d6f6b31283aa2c90d3634ebe4bed52e1e240390d WHIRLPOOL 7aa67206e11d4ab1088cc42cfa36899a2dafad2e97dfc611f3901556da2b51fee76ebabe69bf749bdfa64406e0a6e06f68c754a0e06011adb2cec8bbb78ad85c
+EBUILD localshell-1.3.4-r1.ebuild 797 SHA256 22b739c4788afe73cabba713a03d1775c330c091d2d407e6cda3659cfcf9c406 SHA512 07b4f295af6363b15fbfcaa44b344afeb1744af1b9306b9d4fea4c7600e5bb80c5792eef8c8c08ba6b4c0225d432625059fc01a9821175811d265be6610f4b4a WHIRLPOOL ee021a284491d5bf642eac09f835f6519b1d572586fab6d97c97255d1a59ba2c08ed81d7d680ebb970a24da6c472217ae72ef0c34033ec6ae0af872cc6ad8b19
+MISC ChangeLog 3252 SHA256 a4ac7c6dec464493a47d5eb54b44d396ef4b5ba65ac5c3c1afebe0034cc3f9c6 SHA512 40ba93c806cd53d454febe78c281e8aa40e2bd650b3c14fc25d037e73fa72eca1a0b5783f220c756ba742b76955cff1664e9e1d21ec4049246c1f8cf9e2ef651 WHIRLPOOL 271e9a9990e068155effdbaeff27a1a41f4a2422933911589008a583a92ee752e73895dd8a14d4da2ff7190c0bb875c4b51aeff4ecfb5eab8967e641548eddd7
+MISC ChangeLog-2015 2678 SHA256 19f6cd4e463d1b132efa016ed951d79448f6f10283818f1422c5f8c41836f258 SHA512 37de0282fa5661d3ff31ab2e8656c82f5791d8a3ecb824f5750f197d1fc88723afd975fdec503e87a03750a700449afc3657e5141a5b6ea04b487dad34f530ef WHIRLPOOL 2153018fd9c47f2d5685cd6853616492eaa21a6b0f26bfe6c122bdf2f8cb93bbf52d096c5daca10c86e35a85cedbeed320fb183629aab313c57c1a6f1f535bb7
+MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16
diff --git a/app-shells/localshell/localshell-1.3.4-r1.ebuild b/app-shells/localshell/localshell-1.3.4-r1.ebuild
new file mode 100644
index 000000000000..585a3dcd2131
--- /dev/null
+++ b/app-shells/localshell/localshell-1.3.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit base eutils
+
+DESCRIPTION="Localshell allows per-user/group local control of shell execution"
+HOMEPAGE="http://git.orbis-terrarum.net/?p=infrastructure/localshellc.git;a=summary"
+SRC_URI="${HOMEPAGE}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~ppc64"
+IUSE=""
+
+src_configure() {
+ # this is a shell, it needs to be in /bin
+ econf --bindir=/bin --sysconfdir=/etc
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL}
+}
+
+pkg_postinst() {
+ elog "Remember to add /bin/localshell to /etc/shells and create"
+ elog "/etc/localshell.conf based on the included configuration examples"
+}
diff --git a/app-shells/localshell/metadata.xml b/app-shells/localshell/metadata.xml
new file mode 100644
index 000000000000..79d462e85571
--- /dev/null
+++ b/app-shells/localshell/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-shells/metadata.xml b/app-shells/metadata.xml
new file mode 100644
index 000000000000..f70a0494ef8d
--- /dev/null
+++ b/app-shells/metadata.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The app-shells category contains shells and their extensions.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie app-shells enthält Kommandozeileninterpreter (Shells)
+ sowie deren Erweiterungen.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría app-shells contiene shells y sus extensiones.
+ </longdescription>
+ <longdescription lang="nl">
+ De app-shells categorie bevat opdrachtverwerkers (shells) en hun uitbreidingen.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm app-shells chứa các loại shell và các phần mở
+ rộng của shell.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria app-shells contiene shells e loro estensioni.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria app-shells contém shells e suas extensões.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria app-shells zawiera interpretery poleceń (powłoki) oraz ich
+ rozszerzenia.
+ </longdescription>
+</catmetadata>
+
diff --git a/app-shells/mksh/Manifest b/app-shells/mksh/Manifest
new file mode 100644
index 000000000000..9d313880007f
--- /dev/null
+++ b/app-shells/mksh/Manifest
@@ -0,0 +1,16 @@
+DIST mksh-R52.tgz 383814 SHA256 45c2f5cdd2c63a6a831ffae65cea0afd021eabb983537aa21ff893ee38b3768f SHA512 83b478baa401dc6116c363043d9d6629028bbcdf19448db939738c5b98f8e4f7da92932296c2ee813b317151d31a1b6cd55d27f062f79e587e22991b018a0285 WHIRLPOOL 524524b950d5f7f21a2660235f955c45e645bcebf1e6120e71c183a0d50da5974840d7f70a18ab6d0766ad5345f62cd657f2fbcc1cd2d33976943f3bb28c243a
+DIST mksh-R52b.tgz 385085 SHA256 93231332a1df0a9c8d4a0d54a519d8b485989a52f7400f0e6451366a0c74b81f SHA512 d204f0d0e221a8592dc0efdb31b909ce522792708937ab1f3ec0a4b1098f2d5171c06cda029a9f7e63eb087a1acf53210f4701cee5564868c15c6294e6fe322f WHIRLPOOL 687eba233332ad7d4de53a57e53a5f851558190ea69daca21ea820a85fbeca00da8fa92e9d8a4dd833498d9adb80482c3394913a61251e9fe2a3cc9e962e74e4
+DIST mksh-R52c.tgz 386254 SHA256 c6341acea725103f782c14e994d6e12dabaee69e60fe1bc78603a41258d43ba6 SHA512 f2434f2e165da290cc3f5d78846fb4774115a6e35ef3299d0343b1797b3773921d614396b0da78f8e9a451d6029df9abff503575c5cdcb232e18df7731d18da0 WHIRLPOOL 86ed90260285180fc097296ea5ba90015222fc2733570dfd9a056a867dba9661e2083e863632bca3f771699dec60ca65b1e1dc8821b492269bcc095b8bad2f9e
+DIST mksh-R53a.tgz 393344 SHA256 3bb2453c8cb65abbda24f9bdd8b8371e30a6e1c2f7a0d5474a3efae438639635 SHA512 634e1cbdba7eaa3b6a7d75d9ade23e6465c8874ef616adb708867f6c46e5722bd2e4818f92350aeb7908872678fb446635224fff990d4dcdd4cf4f666cf2e91c WHIRLPOOL f35a34fb99df4a1b0e8284b17735bb0788355753114969bee328895afafa087e90d4e3c78eced242fcd44f827212f866c74602acf71f74556177a1f2fb87849b
+DIST mksh-R56.tgz 414865 SHA256 ad38fa722f64d1ccf6a58cfacd5da9eb866c5d80de022e91bb32a62292949ff4 SHA512 33839ed112b1b80eb6090f7fd3027d136e5b7c57ff5b3bd16f76f76fe1f39c8c0d49a0b43381ecfd3b20366c5edec515e554535151fe17021ab3dfaa70e84d82 WHIRLPOOL f03625a87d198fb059f38e1770f19a0ab6f38f9fef4818985cb82621a18e787593d4902a884ea8b75307ee3151aa1c8439c963095f32a4feebb109bd8a45d6ad
+DIST mksh-R56b.tgz 415088 SHA256 40ec744eec256583e4e18907cde22af57c980286f535df47326fed07e48c9a7f SHA512 a6f9061b2bfd19e9f4fdf3212a1c5a53a53cdb52650c95287cd380530c08f4a65a1ccec4bdcbba5e7c34e4764bf04eb43abb01742bcbf83107847a6996cc77a8 WHIRLPOOL 2ced0dd9daa6822ddf8dbf6290424311837bd935458a541cb51ea5084695e471b5e2cd1b44b264b44ac0a335327a1f9d5626b5a7659c4034d627a695dca0cb94
+EBUILD mksh-52.ebuild 1082 SHA256 ab96a3074753868fd7c76c3ca88dabe9c44091c4c4de395b0cfb434e37dda7d8 SHA512 90f87cb081ada2babc72b0048b6703beb1c35a3206aa174922b0a4b3b81466d4bbaf96898cd43c778fba62c4e78bde4517317cfe215faa42c77c579b395dcb27 WHIRLPOOL 2cc9a49609036861c0d2644066a8297ef49550e333be6603039171fbe51d749459178add34b89582e660f6d3f93b3d1ea2088741047e94ff3bec405205a7bfe2
+EBUILD mksh-52b.ebuild 1085 SHA256 05bd83430031368b04ec517ee1921d0adad0e4b36f0d7f63936fa4e22eb14eb5 SHA512 ca4a8a47682e493fd4c49fa9e35c91300958168136963e5945b8c6952e3d3e4679ee6992c1b7bad8397ccbca8574105906fcfe556b4efc2e50f8c36c8d381e27 WHIRLPOOL 72d2509b26c0ecf8b033ce76f20fbb733dc6f91b2da088d5d84e57e7baa51cda7267c6b962073b5204cd25740275c80c9327fff78c5b9a1466040a78f5aba87e
+EBUILD mksh-52c.ebuild 1085 SHA256 46be7386403953fcbe1b164d195942ecde49554d5998e98164c9ab7f073ceb37 SHA512 b24cc00634ed94becd73b64a8ed60e2c39d9fa1c6ab2227ac4c82d1acfd892d3c76bd874b53c5599b6693e55ce713b7364dc1d3e0565d69f7a89a247edc60c95 WHIRLPOOL de8cfe4c918d034c88d255e6c159eb39700c5063e911ffddae28c88fb56eb28c4786bc4b0ccf2875a39a35a11692aa60a31c1fb44b99f93b1ec81b5a07482a34
+EBUILD mksh-53a.ebuild 1085 SHA256 46be7386403953fcbe1b164d195942ecde49554d5998e98164c9ab7f073ceb37 SHA512 b24cc00634ed94becd73b64a8ed60e2c39d9fa1c6ab2227ac4c82d1acfd892d3c76bd874b53c5599b6693e55ce713b7364dc1d3e0565d69f7a89a247edc60c95 WHIRLPOOL de8cfe4c918d034c88d255e6c159eb39700c5063e911ffddae28c88fb56eb28c4786bc4b0ccf2875a39a35a11692aa60a31c1fb44b99f93b1ec81b5a07482a34
+EBUILD mksh-56.ebuild 1085 SHA256 8bb94d9de5db83018f62743335860046690bf9cf81d1ed9c211c6d2d9e1e9916 SHA512 2a8b4e31a3cb2fe1701cd884b2803eade709aeeccafef03327b3f581227b4c919b945c7fe56872d737658207fae09db19498b17285feddea474548779a3b1413 WHIRLPOOL 655845b55a6c3cadef52df48fac39bf9058adf497508cbdb4e6deaecd33f0792617a8c0d89ce54681323a4a7283e62694372cf97ba707732d22f630364c57838
+EBUILD mksh-56b.ebuild 1085 SHA256 8bb94d9de5db83018f62743335860046690bf9cf81d1ed9c211c6d2d9e1e9916 SHA512 2a8b4e31a3cb2fe1701cd884b2803eade709aeeccafef03327b3f581227b4c919b945c7fe56872d737658207fae09db19498b17285feddea474548779a3b1413 WHIRLPOOL 655845b55a6c3cadef52df48fac39bf9058adf497508cbdb4e6deaecd33f0792617a8c0d89ce54681323a4a7283e62694372cf97ba707732d22f630364c57838
+EBUILD mksh-9999.ebuild 1244 SHA256 261b28906eba148d97b8f1317c3434c58e471002e1cee7354bb337816746055e SHA512 636cf54fe70436f74837d1e41fbfcf82dfd2c199a8b6a7fb85b72bf83b32373238b711fdb21fbcf57aab227460337a71a16055f264c76c2beea86cf8587581d5 WHIRLPOOL 3d916c5dc4936840a4097ea33be307c370c822912f83a2fc54d30c6413f1a1d8b460c47612b5474040bf89115feab589474cf8ca09212816e91d34365601fb58
+MISC ChangeLog 4125 SHA256 8789270e0ff6c4c7f1a2d95ab95b70e348e05bc6d04598d1be8b92dc5989e34d SHA512 2d19168058d2a1ed0f71ad944fe7323358fd0ad5f0e16e2d9e6aa5bb176c6342017deb888cf5d5902b900fe0d9c7ce2ed8367f0e303c8a031b83334f41d91291 WHIRLPOOL 6bf139415d01c41db7d7e2f9723ebf7d1378fe67f9cd07d59bf45492555fe5877f8d03e08bcc286a07e8b2d2569207ebd3fa3f4f2d860d03439fa6b51334eaec
+MISC ChangeLog-2015 7876 SHA256 bc953a7275bc4b75e035e84bc08a4388b99d185fbaf941728966f0e96744eae7 SHA512 f6da6050c3e21df922f1384fa7a96c29ce1d2de1e1f687ff63ab81ac9669ef16bf211d292b438984636b4a32d22f38157e651bd0bc9f33cfdfa811c4e2cc8a94 WHIRLPOOL 5ce9d1f9c3dff8740e73cda2e53744d01c2ffb6d6af784eaf0a4f4924c6aa6729c1c3c0fc8fd9f622abb9329ae52951b848bea2c7bf5aa5232625e41d9097abe
+MISC metadata.xml 210 SHA256 261430405ac37ae531b59949774ba64133ecc8593015df002402afe0f0f60d7e SHA512 27fbc849a311e57c8dbad0cae9975d564c03ae8a7b495b2e7a5cd160c6a09c0101e695ba4d2edf07c0d4c4d7329ff9a4bd91656aa685623342883b83bcb9ac0f WHIRLPOOL daffaf412be04b8235613f91913fd8a88e1650897a3563641f50de943a4cdee417461a6627acdf7a99a3ff9f5ccf080c0676ae37105f6bfcda3a8200718d1ada
diff --git a/app-shells/mksh/metadata.xml b/app-shells/mksh/metadata.xml
new file mode 100644
index 000000000000..28ef3c7b080f
--- /dev/null
+++ b/app-shells/mksh/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person"><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/app-shells/mksh/mksh-52.ebuild b/app-shells/mksh/mksh-52.ebuild
new file mode 100644
index 000000000000..a68670f3d6d1
--- /dev/null
+++ b/app-shells/mksh/mksh-52.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-52b.ebuild b/app-shells/mksh/mksh-52b.ebuild
new file mode 100644
index 000000000000..5542dd336260
--- /dev/null
+++ b/app-shells/mksh/mksh-52b.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-52c.ebuild b/app-shells/mksh/mksh-52c.ebuild
new file mode 100644
index 000000000000..fd3888862257
--- /dev/null
+++ b/app-shells/mksh/mksh-52c.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-53a.ebuild b/app-shells/mksh/mksh-53a.ebuild
new file mode 100644
index 000000000000..fd3888862257
--- /dev/null
+++ b/app-shells/mksh/mksh-53a.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-56.ebuild b/app-shells/mksh/mksh-56.ebuild
new file mode 100644
index 000000000000..a538d6b19725
--- /dev/null
+++ b/app-shells/mksh/mksh-56.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-56b.ebuild b/app-shells/mksh/mksh-56b.ebuild
new file mode 100644
index 000000000000..a538d6b19725
--- /dev/null
+++ b/app-shells/mksh/mksh-56b.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="MirBSD KSH Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+DEPEND="static? ( dev-libs/klibc )"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static ; then
+ unset CC
+ export CC="/usr/bin/klcc"
+ export LDSTATIC="-static"
+ fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ # we can't assume lto existing/enabled, so we add a fallback
+ sh Build.sh -r -c lto || sh Build.sh -r || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mksh/mksh-9999.ebuild b/app-shells/mksh/mksh-9999.ebuild
new file mode 100644
index 000000000000..36449d037d42
--- /dev/null
+++ b/app-shells/mksh/mksh-9999.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+if [[ $PV = 9999 ]]; then
+ inherit cvs
+ ECVS_SERVER="anoncvs.mirbsd.org:/cvs"
+ ECVS_MODULE="mksh"
+ ECVS_USER="_anoncvs"
+ ECVS_AUTH="ext"
+ KEYWORDS=""
+ DEPEND="static? ( dev-libs/klibc )"
+else
+ inherit unpacker
+ DEPEND="app-arch/cpio
+ static? ( dev-libs/klibc )"
+ SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.cpio.gz"
+ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+fi
+
+DESCRIPTION="MirBSD Korn Shell"
+HOMEPAGE="http://mirbsd.de/mksh"
+LICENSE="BSD"
+SLOT="0"
+IUSE="static"
+RDEPEND=""
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ tc-export CC
+ # we want to build static with klibc
+ if use static; then unset CC; export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
+ export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
+ sh Build.sh -r -c lto || sh Rebuild.sh || die
+}
+
+src_install() {
+ exeinto /bin
+ doexe mksh
+ doman mksh.1
+ dodoc dot.mkshrc
+}
+
+src_test() {
+ ./test.sh || die
+}
+
+pkg_postinst() {
+ ebegin "Updating /etc/shells"
+ ( grep -v "^/bin/mksh$" "${ROOT}"etc/shells; echo "/bin/mksh" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+ eend $?
+}
diff --git a/app-shells/mpibash/Manifest b/app-shells/mpibash/Manifest
new file mode 100644
index 000000000000..1753411a1fc3
--- /dev/null
+++ b/app-shells/mpibash/Manifest
@@ -0,0 +1,6 @@
+DIST mpibash-1.2.tar.gz 347083 SHA256 5c2faaa74464111205dbae4799bd89c2425810ec3708d004237b42d620c8be57 SHA512 db755dd2c6212a8d7dfd6cbff17d5dffcbc3b6a0286abdad4d2e21790453d2356e88c566abe4648da138d6964098fad581b8fd5beae1335f5787de92f4659104 WHIRLPOOL 94fcf50d89250a6478a2ed56a0c1769dd678869884e1e80066ebdb479dd0c6d64048ade7829020fdad050b1e77a2315ab7e325a97aa472291d3e9a4888c915e3
+EBUILD mpibash-1.2.ebuild 1018 SHA256 d3c9d3cb1965f75c94ecaa4cdef13530e9ffe4cf71e198653b9264e3a0a03321 SHA512 ed96bc0db5a157c7c6698398ad49f310a1569a908530ee25ec434557be6e28fd2427e574e1559f73a88622428549bdd72a524457c21bd621702207883f376dc2 WHIRLPOOL 44d892932e33fba73febd4c40e77dec91fabccf21d62d2ed396eab5209862c9c52d3753a0114d4a2cd34ab2f9f61bb80a2b32e4ee59051f4eb83f7dbee7e4a9a
+EBUILD mpibash-9999.ebuild 1018 SHA256 d3c9d3cb1965f75c94ecaa4cdef13530e9ffe4cf71e198653b9264e3a0a03321 SHA512 ed96bc0db5a157c7c6698398ad49f310a1569a908530ee25ec434557be6e28fd2427e574e1559f73a88622428549bdd72a524457c21bd621702207883f376dc2 WHIRLPOOL 44d892932e33fba73febd4c40e77dec91fabccf21d62d2ed396eab5209862c9c52d3753a0114d4a2cd34ab2f9f61bb80a2b32e4ee59051f4eb83f7dbee7e4a9a
+MISC ChangeLog 2762 SHA256 25595c673d942a4e6a21670b180fd7f6ff7c8cc82ea804d9db45f0b2e025e101 SHA512 d7605fb4571ac15851f23b4f3f54d47d1e1b5cb005cce0b8dce56c57926b89aea9ebe7a0421bdc029da72f19b9657a234052f6acc5c26cfdb1a49c5a724f385d WHIRLPOOL e079ebe7e0218cc37ff2a0f96e694a73db11ce105c14e42973603064fd261523e3d754ce083a1c5a4e3f825cd2b5b84ec46d33bd4fce713b689936592c80fc59
+MISC ChangeLog-2015 870 SHA256 ff79f3f3059cb1c3306a531ed02522e397bab1adfaf35044c0b1766d1cffed12 SHA512 f89747a73d22ef81bb095ecfc7192577a0acc0909c357fe62803eb8e2e86c49415fa2b71ff310fb9fb681a38fe3e2b1ac50ae9ae45cb1c9105cf097e3837a71a WHIRLPOOL ede20a6722c43d98b6d0bdf16d98fa54d4f64caf96c02ab5f65cd9e24b3fddc853ee01a89a7a5fb2ddb179d99d10c81d249ccb669b264153ef34127652f02756
+MISC metadata.xml 461 SHA256 ed713d3ed1180e196bff711002163250a61f20aef544ed957476562811f78ed6 SHA512 c859d865a24aa9ba99b293ce2ef438ae6060860faed308d358c173d83f3a17017a51f509e80e1e63347781fae2db0bcd7e4a03e8c16561d0f09210ccbdde0c64 WHIRLPOOL b6a05a5f8e2901d6541d2073ba7c432ccc19a4d411e649b19d64b23daba9409022bc5e1c6e5db9c79c0795102f49dab845099d81d199ec8920135b4cbbb6bbf6
diff --git a/app-shells/mpibash/metadata.xml b/app-shells/mpibash/metadata.xml
new file mode 100644
index 000000000000..1a4b981f1128
--- /dev/null
+++ b/app-shells/mpibash/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lanl/MPI-Bash</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/mpibash/mpibash-1.2.ebuild b/app-shells/mpibash/mpibash-1.2.ebuild
new file mode 100644
index 000000000000..594ac6bc88cb
--- /dev/null
+++ b/app-shells/mpibash/mpibash-1.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/lanl/MPI-Bash.git"
+ inherit git-r3
+ KEYWORDS=""
+ AUTOTOOLS_AUTORECONF=1
+else
+ SRC_URI="https://github.com/lanl/MPI-Bash/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)"
+HOMEPAGE="https://github.com/lanl/MPI-Bash"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="virtual/mpi
+ >=app-shells/bash-4.2[plugins]
+ sys-cluster/libcircle"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myeconfargs=(
+ --with-bashdir="${EPREFIX}"/usr/include/bash-plugins
+ --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ sed -i '/^export LD_LIBRARY_PATH/d' "${ED}/usr/bin/${PN}" || die
+ use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die
+}
diff --git a/app-shells/mpibash/mpibash-9999.ebuild b/app-shells/mpibash/mpibash-9999.ebuild
new file mode 100644
index 000000000000..594ac6bc88cb
--- /dev/null
+++ b/app-shells/mpibash/mpibash-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/lanl/MPI-Bash.git"
+ inherit git-r3
+ KEYWORDS=""
+ AUTOTOOLS_AUTORECONF=1
+else
+ SRC_URI="https://github.com/lanl/MPI-Bash/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Parallel scripting right from the Bourne-Again Shell (Bash)"
+HOMEPAGE="https://github.com/lanl/MPI-Bash"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="virtual/mpi
+ >=app-shells/bash-4.2[plugins]
+ sys-cluster/libcircle"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myeconfargs=(
+ --with-bashdir="${EPREFIX}"/usr/include/bash-plugins
+ --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/bash
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ sed -i '/^export LD_LIBRARY_PATH/d' "${ED}/usr/bin/${PN}" || die
+ use examples || rm -r "${ED}/usr/share/doc/${PF}/examples" || die
+}
diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest
new file mode 100644
index 000000000000..8d2b42262616
--- /dev/null
+++ b/app-shells/mpv-bash-completion/Manifest
@@ -0,0 +1,6 @@
+DIST mpv-bash-completion-3.3.12.tar.gz 19310 SHA256 9291ef730af6f69cc0efc82e88d170d43d79266a1500461b08719130507870ef SHA512 f019e9a66072333b40213437f07097cacb9f01a1f322fded763e695ef5ef4656016ca07fcb402d406fd99785026dba1fc7292a2c04a14ac18a24557bb8ab2cd1 WHIRLPOOL 96db10c112767d8c8e648a989f416cb02123018e8406842ee27bfc603f5f6ca9ee6360f6aa46a19e14a194f44d510eb971219b10bb598785720c3a6f23047f6c
+DIST mpv-bash-completion-3.3.15.tar.gz 19830 SHA256 1c3f4a6b95de7b573db3480dc79f7359207f7c95d31ac7368f6f5c84e9176ed8 SHA512 d4e263bb7c21f80b962bac9f1b01c594d5038d7a7095af0e7702dc5688fd69a9de1b5d8976f24d7a652a8fba4ceaf3ea2a81c771e7ea704807aeac0c526a09f6 WHIRLPOOL 740dc9f3e43031cba115b8c23bd7ac8d000f10f0a6e7a89144437c39b085d20dc09b47d540772afe7b2743cd444d71cda6231c795602fe9d262e8a699a4cdb77
+EBUILD mpv-bash-completion-3.3.12.ebuild 1011 SHA256 3efcbf73c517f6d5147d660191d36531c9b084bef4b3a793d66681dbd7aa0e82 SHA512 4a32d4d8cc9fe52735bacba4b351522b702a7daf01eb74662f2c935952d1d005f1c3c7be1229bc183d477fa12071ef6688b80061d03ea2e7b98a495ea78479f6 WHIRLPOOL 7c418c1b5af7b3c6185f9800abdc0348a551c414b103472b6feacc125259b2ce5c2624b1bc831c51408df18053dcb543b53000b28a6117d9f8cc6cc8bfa738f4
+EBUILD mpv-bash-completion-3.3.15.ebuild 1012 SHA256 743d40de9db8e50ffc968be4419877ddfcee5754f82a79825e5f445cad8d3e8b SHA512 612b2af3a767013de5cd392be076fe6cf70e3863928b5048ef60faba7edd7ccbacc3e40ef568206a6e9065d9309f6af723d18c84d3ef4ef3cd424fe62c7ebbaa WHIRLPOOL f3ab8cbf2b7997440c1c0e4691b865a878cc95328abee762678b783e619583d20c855c7bdacef913419b5e401bbf2f500f5a4fe9ba04200b24f298cb2a08dbf1
+MISC ChangeLog 4743 SHA256 6e2e8288ed0576a1c4153e1430596ddb3febcce70c13216ad6292bd1982bcf70 SHA512 d409b1699c949fbf68ffaa7811247b96e2baba1283dea8535c7c0453d1cc95e640af2a7c3328de45c33fbf763be3bba68d9903b95f29a499b6733e3426904769 WHIRLPOOL c77628457d2fcefa74d8c38f690ebd47d7876142339db9cfbc583087b6779a292d2fd35be66f67ec87bd77ac6e21402ed2d94e657941c3929c6da7e84362999f
+MISC metadata.xml 643 SHA256 efaea7fcbd73ae56724c730600ec7cb55baea6a8a34b28d8a30750f5f9fc039b SHA512 8f27bb84763dbeb1b45290b6a0ff6ede7d5a3e15513d1ccbdbb544bf20a324c8cd687a517b50823320f5f0ddc7b8a71efe7cadb29ed3ca1fa4a1c43500f6ca76 WHIRLPOOL 6c2b2179cc89e5fce95bb973a34b9442519b45757b6278eaf7826453a1c36c2ad19a78e380f1c31d76eafe5c04fa302b95badfdc77fc234a7aa176fac6237f37
diff --git a/app-shells/mpv-bash-completion/metadata.xml b/app-shells/mpv-bash-completion/metadata.xml
new file mode 100644
index 000000000000..9c81b8770e4c
--- /dev/null
+++ b/app-shells/mpv-bash-completion/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>itumaykin+gentoo@gmail.com</email>
+ <name>Coacher</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg></flag>
+ </use>
+ <upstream>
+ <changelog>https://github.com/2ion/mpv-bash-completion/releases</changelog>
+ <remote-id type="github">2ion/mpv-bash-completion</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild
new file mode 100644
index 000000000000..73163ee89721
--- /dev/null
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Bash completion for the mpv video player"
+HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
+SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="luajit"
+
+COMMON_DEPEND=">=media-video/mpv-0.14.0[cli]"
+RDEPEND="${COMMON_DEPEND}
+ >=app-shells/bash-completion-2.3-r1
+"
+DEPEND="${COMMON_DEPEND}
+ !luajit? ( dev-lang/lua:* )
+ luajit? ( dev-lang/luajit:2 )
+"
+
+src_prepare() {
+ default_src_prepare
+ # Avoid 'mpv' make target that supports lua only.
+ sed -i -e 's|check: mpv|check:|' Makefile || die
+}
+
+src_compile() {
+ $(usex luajit 'luajit' 'lua') gen.lua > mpv || die
+}
+
+src_install() {
+ dobashcomp mpv
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! has_version 'x11-apps/xrandr'; then
+ elog
+ elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
+ elog
+ fi
+}
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild
new file mode 100644
index 000000000000..cc0b326cb44d
--- /dev/null
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Bash completion for the mpv video player"
+HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
+SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit"
+
+COMMON_DEPEND=">=media-video/mpv-0.25.0[cli]"
+RDEPEND="${COMMON_DEPEND}
+ >=app-shells/bash-completion-2.3-r1
+"
+DEPEND="${COMMON_DEPEND}
+ !luajit? ( dev-lang/lua:* )
+ luajit? ( dev-lang/luajit:2 )
+"
+
+src_prepare() {
+ default_src_prepare
+ # Avoid 'mpv' make target that supports lua only.
+ sed -i -e 's|check: mpv|check:|' Makefile || die
+}
+
+src_compile() {
+ $(usex luajit 'luajit' 'lua') gen.lua > mpv || die
+}
+
+src_install() {
+ dobashcomp mpv
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! has_version 'x11-apps/xrandr'; then
+ elog
+ elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
+ elog
+ fi
+}
diff --git a/app-shells/pdmenu/Manifest b/app-shells/pdmenu/Manifest
new file mode 100644
index 000000000000..461a7ec48f2b
--- /dev/null
+++ b/app-shells/pdmenu/Manifest
@@ -0,0 +1,6 @@
+AUX pdmenu-impl-dec.patch 400 SHA256 6c48ddad85cac5989ef113e2194c83de4148cbac01a9f4fa07858460e02b1c36 SHA512 9a676d9384b575466b28ece1ce84d346a6f193288ed686aea94bcebe8f73a0e38723590356cbe822e34644b5b103adab6317b654cfddc961a40b005bc0e0fb0a WHIRLPOOL c0413a93a87a762fa11ae3be18858db0d41378471ea82ea2193745998663c8cbbc662f6d0ec7a25caaa505abe58ee1df806e8c7bbe4d3231d2f7d5313ed24dbc
+DIST pdmenu_1.3.4.tar.gz 161002 SHA256 302aa81b8868133ff5a0f3e3e897f71d425bc628c0d7439addb623f12c277bea SHA512 2540b3040a799f4682de1014f8da750501000cef7080ea24b066a7e44971e33452a25e3885849bc47a156727641c4acb8d1268d3c16a2aab2cb37d510f50f3ad WHIRLPOOL ab5a0566b470d8db84b1da6308961b696d7a9490d8f30471c731d1537bbe0132a2d9c3a610ead61f55e5c8656c1d0021f5de40a4ae526a69895104dab48e0c86
+EBUILD pdmenu-1.3.4-r1.ebuild 1286 SHA256 220e7af4ed260b913a40e296f3bc99fae71780dbe82dc359e72a2792de30cb49 SHA512 4bceb51b5c06a2501b6622bfa1633cc54d5987f46499ef29313e175ff4f948ae6aef94bccd5171f99a3a5c315257fe2fc06c5db65c1a07651130fa1c6dc28f43 WHIRLPOOL 539dc2d652b11ef2b68302c295d7976209855f06138383500b395579047342b934c95e8d5a2b3c94bd2c6a9c247a3edd9dc8c4da6d9cc35a136937139f5e25a1
+MISC ChangeLog 3915 SHA256 f2b57f950d2269b429e09993ca842017b63f0f44366c3f6125b7e82b7ede4a2d SHA512 5dd5575752560ca7df3e4720f4315f0f58f97d2a48a92b386f505dc2ca13da99ec17cc3964db7b3c0d8b143ec4b0707aec1e4c6bf72a03498d2ed75a7c5a5c82 WHIRLPOOL b2b06a0676b8169afd72feadd254ca97ed61012a1105afd3ecfd30b60d84e42c4e577a3ac34f2aaeb947ea68accb0cab8daf8e3badeee82794b2ac492a9ba144
+MISC ChangeLog-2015 3268 SHA256 3da9eb02a81a219378e3721b0793e27cf6a926362c49c7cef5162fb4f692b090 SHA512 89877e7b22100affc03575c5d64a126a052a01fade702812a548ae4e5a574c59aa0e3e34ccc2393c839a2b0f414f16f941af7fd9ab2224c4e14845563987be61 WHIRLPOOL 7b24800c29ef1609a957aea54efff90a09c4ab22f3ca453f26abcedb712a0c0e0527c660738225d0ca5060460657fb6da68ec7d638836fd9ec629c90ef91667a
+MISC metadata.xml 220 SHA256 998ce4afb847c8594ee92e054f8a06ae3de375d38b2e400eebab911ebbad60a8 SHA512 1db105eebacb6c7d44fd17746981e6e24badb2e81327410aa935a7603379cfcc8f3cf27dcf4e9d870cea2f73f6a15cf052e3e785205095ea9a93d72980ff71cc WHIRLPOOL 23c78e4c05afc8a04239236928ca26e539b0a969f44389b90a34fef3f4a57f18d9db2838d3df439c482cd4b89ce8b959dde5e83500c44ebd2af453629ef79a3d
diff --git a/app-shells/pdmenu/files/pdmenu-impl-dec.patch b/app-shells/pdmenu/files/pdmenu-impl-dec.patch
new file mode 100644
index 000000000000..c0cd7ce3ac99
--- /dev/null
+++ b/app-shells/pdmenu/files/pdmenu-impl-dec.patch
@@ -0,0 +1,16 @@
+ src/actions.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/src/actions.c b/src/actions.c
+index d42a63a..1f5a0d1 100644
+--- a/src/actions.c
++++ b/src/actions.c
+@@ -30,6 +30,8 @@
+ #include <libintl.h>
+ #define _(String) gettext (String)
+
++#include <ctype.h>
++
+ /* Handle a control c by either exiting pdmenu or doing nothing. */
+ void Handle_Ctrl_C() {
+ if (Q_Exits) {
diff --git a/app-shells/pdmenu/metadata.xml b/app-shells/pdmenu/metadata.xml
new file mode 100644
index 000000000000..294c350c6960
--- /dev/null
+++ b/app-shells/pdmenu/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
new file mode 100644
index 000000000000..55be86bd2f44
--- /dev/null
+++ b/app-shells/pdmenu/pdmenu-1.3.4-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple console menu program"
+HOMEPAGE="http://joeyh.name/code/pdmenu/"
+SRC_URI="mirror://debian/pool/main/p/${PN}/pdmenu_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips x86"
+IUSE="nls gpm examples"
+
+DEPEND="
+ sys-libs/slang
+ gpm? ( sys-libs/gpm )
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${PN}"
+
+RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-impl-dec.patch
+)
+
+DOCS=( doc/ANNOUNCE doc/BUGS doc/TODO )
+
+src_prepare() {
+ default
+ sed \
+ -e 's:\(-o pdmenu\):$(LDFLAGS) \1:g' \
+ -i Makefile || die
+}
+
+src_configure() {
+ CC=$(tc-getCC) econf \
+ $(use_with gpm) \
+ $(use_enable nls)
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin "${PN}"
+ use examples && dodoc -r examples
+ mv "doc/${PN}.man" "doc/${PN}.1" || die
+ mv "doc/${PN}rc.man" "doc/${PN}rc.5" || die
+ doman "doc/${PN}.1" "doc/${PN}rc.5"
+ einstalldocs
+}
+
+pkg_postinst() {
+ ewarn "Note this part from man page: Security warning! Any exec command"
+ ewarn "that uses the 'edit' flag will be a security hole. The user need"
+ ewarn "only to enter text with a ';' in it, and they can run an"
+ ewarn "arbitrary command after the semicolon!"
+}
diff --git a/app-shells/pdsh/Manifest b/app-shells/pdsh/Manifest
new file mode 100644
index 000000000000..9b4c9562ff2e
--- /dev/null
+++ b/app-shells/pdsh/Manifest
@@ -0,0 +1,8 @@
+AUX pdsh-2.18-unbundle-libtool.patch 1738 SHA256 72253852315ea3c19dffa9d62b5e280efffc32d64473c82b66d913db7216f349 SHA512 e36e284cc9fde9cedc9d2daac31dd1c272c306b1b84d2ee6a55430ad755ced23d6bd5e5a50bf4f6621fcebe96cb105cf49e70c6d4c5cf5913deb66ba0d86491f WHIRLPOOL 75aef6cbac1aeeb8e021e8f9862bacec293fbaa8f7678d96e165825fd2d2664504b8d21845cd66926336d6975476fbef1e585fd9745b49d8440cbbc9863e2c86
+DIST pdsh-2.18.tar.bz2 453729 SHA256 8c94acb17b4af8a9f553db180b4d5745c9c98844a5dc070e2ce80590e8e8a539 SHA512 20cd9be5fc38add69f61620f528dd952296615ef099d6288be2ce908ab04cc7a9585387d93936462a1fb577aa6495789ae201f838131623d8f4f01bf904f7b5a WHIRLPOOL c751b207bcf937b0d1fc48e86136b3fb212db58070f92d05bcaf548694ed62ee9d704870f7d1195477b1e36d59b3edb4e0dbbd696bb71761ad686bece827c528
+DIST pdsh-2.26.tar.bz2 490732 SHA256 ada2f35509064bf9cd0fd5ca39a351108cdd6f5155b05f39f1711a271298469a SHA512 3f15b3bb4fc2cff27a3b5d68de3e6cb74bb4001288a787763358a0641d0cc77c840b2c6641213ef31bc9d9d69cfe9531b25d7a9375630a5b008b1bcffbe95c0a WHIRLPOOL 44fb75cab5b2b2ea7d65482ceccb44b36440fd56b07b464fa4d0c347f584c5dc7a22ae73bb8149b50a24171c957cd624e4aca7138953e329f17d1bf75774753c
+EBUILD pdsh-2.18-r1.ebuild 1609 SHA256 9e6b1998f959ff829f030694e4df098067775c71c8fd6caea8bdeaef562d55fc SHA512 0c114901331e290ce61c60a7519672d62a572ee804573b702c2869a3972ad57842fbd5ac2ce12113aec1f8555346b21a8ae953f55cc3ae45ef58e9cbad64204c WHIRLPOOL bcf3f5c253bf9622ec1ae58c317a0f9f6516af5c6191923fcb92a61825385f92e55546bf1e9582e6a8333630d9a090df09e44f43774594ff04cc096325e9b54c
+EBUILD pdsh-2.26.ebuild 1333 SHA256 0975d938a936ff962516c819d4b13787e52aec31a19506ba67a86a7f4901507e SHA512 3d22d6c74c7e505af153f0c44b92515f7d2f4fa1b21f436ddf97fbae599a61b9cdd3a891277a9a68216595a88de6b6547f616c33b9eac2456a03dd1f6c62b938 WHIRLPOOL 2c332959763dbbb7b0dc91e1c395ae471bb3ea9e7f8139bf9e41b5dabbefa4a58367d5253e5ebaf3713ecae35cef0bf9a4cf18c6fd57080f85277eae28e5177f
+MISC ChangeLog 2511 SHA256 61c3c925bb8b23609e2751c94b34261bf8f6f83c2a5842cec5448b2ab1c3b97b SHA512 094ab3f7d048674d395fda0083ad682ed153832ccf3e9ce54a0dbea40b69843d334ca23919152d0a65ae74c2830ed10cf4052c50fe1ba6b46b782ca09a487483 WHIRLPOOL 39c2a30cdd0ea630f2a8703520e431904ea28c188df803d8f391b2a42a67e0d77b410210e926866204ebea94ec5eeefa2cb9e6a435c9cc183bfbabe35a2b1245
+MISC ChangeLog-2015 3554 SHA256 fbc6b0259e6e4d231bd03e0b14a22c4753dae17284e5dbd4514ac4089bbd0762 SHA512 d98d9e104c3a70b7a9eadc7ce388a9250bcefa0b9197a28aba28140600acd803ebabdcfb380a891cae97cdf066309eaf1d5e884f384be7cb8e0fecebce9ca096 WHIRLPOOL dfd271ea1f0d8aa65849309850df723a42e840047903dfe6f8b9916d8d38437b096e90857929ef7b2a7fa9a9c54ee17dbfbc72a95380ef15a0570bedb4c0f0b8
+MISC metadata.xml 1180 SHA256 045d0e5f706e2ba1bd04d960ae06fcba4b5e7c87910558417d6aa5d064e2356b SHA512 c26bed4ec5369eb9c1e366994540f50170138285845dc85bfbcb6eb7a248df834186760bfa66fd7fd0cdda82a5f13cfae430ac26ebf4d7374815100ea8740e51 WHIRLPOOL 7a5b10962d59b66de1a43a7f6b0ef3c49db18cc409c5846d0d79a4fd46a164be14094a26f64c9e6c2084f153274b1a8c1cc38ef204c5a7b16346e013289cb507
diff --git a/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch b/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch
new file mode 100644
index 000000000000..e73fb12d2e79
--- /dev/null
+++ b/app-shells/pdsh/files/pdsh-2.18-unbundle-libtool.patch
@@ -0,0 +1,56 @@
+From d055c4e9e2d414c9d51f7a6f2cf51cedfc79260f Mon Sep 17 00:00:00 2001
+From: Justin Bronder <jsbronder@gmail.com>
+Date: Tue, 6 Apr 2010 11:48:28 -0400
+Subject: [PATCH] unbundle libtool
+
+Bundled libltdl is vulnerable, CVE-2009-3736.
+Patch grabbed from Debian:
+http://ftp.de.debian.org/debian/pool/main/p/pdsh/pdsh_2.18-6.debian.tar.gz
+---
+ configure.ac | 6 ++++--
+ src/pdsh/Makefile.am | 5 ++---
+ 2 files changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2680344..196356b 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -38,8 +38,10 @@ AC_DEBUG
+ # Libtool and ltld.[ch] support
+ #
+ AC_LIBTOOL_DLOPEN
+-AC_PROG_LIBTOOL
+-AC_LIB_LTDL
++LT_INIT
++AC_SUBST(LT_CURRENT)
++AC_SUBST(LT_REVISION)
++AC_SUBST(LT_AGE)
+
+ AM_CONDITIONAL(WITH_GNU_LD, test "$with_gnu_ld" = "yes")
+
+diff --git a/src/pdsh/Makefile.am b/src/pdsh/Makefile.am
+index dfc48a3..beac854 100644
+--- a/src/pdsh/Makefile.am
++++ b/src/pdsh/Makefile.am
+@@ -14,8 +14,7 @@ if WITH_STATIC_MODULES
+ MODULE_LIBS = $(top_builddir)/src/modules/libmods.la
+ else
+ MODULE_FLAGS = -export-dynamic $(AIX_PDSH_LDFLAGS)
+-LTDL_FILES = ltdl.h ltdl.c
+-LTDL_LDADD = $(LIBADD_DL)
++LTDL_LDADD = $(LIBADD_DL) -lltdl
+ endif
+
+ pdsh_LDADD = $(READLINE_LIBS) $(LTDL_LDADD)
+@@ -25,7 +24,7 @@ pdsh_LDFLAGS = $(MODULE_LIBS) $(MODULE_FLAGS) \
+ pdsh_inst_LDADD = $(pdsh_LDADD)
+ pdsh_inst_LDFLAGS = $(pdsh_LDFLAGS)
+
+-pdsh_SOURCES = $(PDSH_SOURCES) $(LTDL_FILES)
++pdsh_SOURCES = $(PDSH_SOURCES)
+ pdsh_inst_SOURCES = $(pdsh_SOURCES)
+ nodist_pdsh_SOURCES = testconfig.c
+ nodist_pdsh_inst_SOURCES = config.c
+--
+1.6.6.2
+
diff --git a/app-shells/pdsh/metadata.xml b/app-shells/pdsh/metadata.xml
new file mode 100644
index 000000000000..ed37c170f2ba
--- /dev/null
+++ b/app-shells/pdsh/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <longdescription>
+Pdsh is a high-performance, parallel remote shell utility. It has built-in,
+thread-safe clients for Berkeley and Kerberos V4 rsh, and can call SSH
+externally (though with reduced performance). Pdsh uses a "sliding window"
+parallel algorithm to conserve socket resources on the initiating node and
+to allow progress to continue while timeouts occur on some connections.
+Pdsh is similar to DSH, part of the IBM PSSP software offering, but offers
+improved performance and handling of error conditions. It runs on a variety
+of platforms (including as a replacement for DSH on AIX/PSSP), but is
+primarily developed on Linux.
+</longdescription>
+ <use>
+ <flag name="rsh">This allows the use of rsh (remote shell) and rcp
+ (remote copy) for authoring websites. sftp is a much more secure protocol
+ and is preferred.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">pdsh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/pdsh/pdsh-2.18-r1.ebuild b/app-shells/pdsh/pdsh-2.18-r1.ebuild
new file mode 100644
index 000000000000..3ac352ca84ae
--- /dev/null
+++ b/app-shells/pdsh/pdsh-2.18-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils autotools
+
+DESCRIPTION="A high-performance, parallel remote shell utility"
+HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="crypt readline rsh"
+RDEPEND="crypt? ( net-misc/openssh )
+ rsh? ( net-misc/netkit-rsh )
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}"
+
+# Feel free to debug the test suite. Running the tests
+# by hand instead of using pdsh.exp seems to print out
+# what is expected, so the error is most likely in the
+# testsuite itself.
+# You'll also need dev-util/dejagnu
+RESTRICT="test"
+
+pkg_setup() {
+ local m
+ local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:"
+
+ PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}"
+ MODULE_CONFIG=""
+ for m in ${PDSH_MODULE_LIST}; do
+ if [[ "${valid_modules}" == *:${m}:* ]]; then
+ MODULE_CONFIG="${MODULE_CONFIG} --with-${m}"
+ fi
+ done
+
+ elog "Building ${PF} with the following modules:"
+ elog " ${PDSH_MODULE_LIST}"
+ elog "This list can be changed in /etc/portage/make.conf by setting"
+ elog "PDSH_MODULE_LIST=\"module1 module2...\""
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/pdsh-2.18-unbundle-libtool.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf ${MODULE_CONFIG} \
+ --with-machines \
+ $(use_with crypt ssh) \
+ $(use_with rsh) \
+ $(use_with readline) \
+ || die "configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/app-shells/pdsh/pdsh-2.26.ebuild b/app-shells/pdsh/pdsh-2.26.ebuild
new file mode 100644
index 000000000000..e67fe3b5f243
--- /dev/null
+++ b/app-shells/pdsh/pdsh-2.26.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+DESCRIPTION="A high-performance, parallel remote shell utility"
+HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crypt readline rsh static-libs test"
+
+RDEPEND="crypt? ( net-misc/openssh )
+ rsh? ( net-misc/netkit-rsh )
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ test? ( dev-util/dejagnu )"
+
+pkg_setup() {
+ local m
+ local valid_modules=":xcpu:ssh:exec:qshell:genders:nodeupdown:mrsh:mqshell:dshgroups:netgroup:"
+
+ PDSH_MODULE_LIST="${PDSH_MODULE_LIST:-netgroup}"
+ MODULE_CONFIG=""
+ for m in ${PDSH_MODULE_LIST}; do
+ if [[ "${valid_modules}" == *:${m}:* ]]; then
+ MODULE_CONFIG="${MODULE_CONFIG} --with-${m}"
+ fi
+ done
+
+ elog "Building ${PF} with the following modules:"
+ elog " ${PDSH_MODULE_LIST}"
+ elog "This list can be changed in /etc/portage/make.conf by setting"
+ elog "PDSH_MODULE_LIST=\"module1 module2...\""
+}
+
+src_configure() {
+ econf ${MODULE_CONFIG} \
+ --with-machines \
+ --enable-shared \
+ $(use_with crypt ssh) \
+ $(use_with rsh) \
+ $(use_with readline) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/app-shells/peco/Manifest b/app-shells/peco/Manifest
new file mode 100644
index 000000000000..ec65d1be8cc4
--- /dev/null
+++ b/app-shells/peco/Manifest
@@ -0,0 +1,10 @@
+DIST github.com-google-btree-0c3044bc8bada22db67b93f5760fe3f05d6a5c25.tar.gz 14149 SHA256 c8424767f800795f0adf709cc70fb7531e4d269fa09c358577e23bbc9aa8b7fb SHA512 47885509723b39d9b1be6552e4c3ae49088e52daff2c0d0babfd2ca27c5b40f9665cba0f4b45f6a673d04d7ea906da3416cc3de4ea33cdcbf4d8ccf6e350a46b WHIRLPOOL 7bed12ccf6cbded3f2ae01b2134eb9e632deab573c4c8526549dbffe05eecc35dfd7ce992a8a89fba0040e5c575f9b1d5dcb33115b3715aa0b7e1479cae6097c
+DIST github.com-jessevdk-go-flags-8bc97d602c3bfeb5fc6fc9b5a9c898f245495637.tar.gz 54382 SHA256 df0474e62c55ab700bfed0fc932154aa69b4f737abacb3461a5aa5d866c198bd SHA512 65bd90bb6c3d9070ff415f514f2dd113bf886c0a2bcfcf3dbec6fe789df9f27683a4df83d71426f63d00a208b3b581cf791755d71f8dc0c7f7a684a38b7c8401 WHIRLPOOL 3fa57311090b2a1e8b76fafe74e12855e95acfc48c57cc853c7b8fc7208bbe926a7d35a07e9dced99001516e54c15ce04bb27701f0ff020f4277b65bf5149ef8
+DIST github.com-lestrrat-go-pdebug-2e6eaaa5717f81bda41d27070d3c966f40a1e75f.tar.gz 5178 SHA256 e87a2516d087e26e65dc978e6aa41c7191c4bdefd42e226f9c3045e8b5a840ef SHA512 b974046135b8fe7f4272eb0f335f30bea93fb25ec9813a733dd34a2342cd6174a2a67ecd595db51e37eee03ffb5155a67cb86afb74b8b99a151d7cbc9aa52ac7 WHIRLPOOL 41940d7d3cb2226e0ce652e514c278f044ff7dc303d82c3c6d7ede41cb1ae2e9a7a24c81cf3c147cfe980f5798ab3994fa8f0a97f8e402fb624a39add0aff21a
+DIST github.com-mattn-go-runewidth-737072b4e32b7a5018b4a7125da8d12de90e8045.tar.gz 6862 SHA256 a565b12ab20b9dab3519e58c711c1b5ad4122c2693cd6e01259d4799708b6044 SHA512 ff8389d189ed1480929954d2567026984d93910a6fa7cdc3c6a925e8dc876a3df10298b08bd7bbf6f7d90914d64212928b2b1b3032ee4bd89974a2938a77f853 WHIRLPOOL 5df110a17cb2ae23a2eab33d418d01889f4264e3f0a04a90afb1027886476544f1d4e61d8110e01ac5ca553642609593e12aed726a9024deec3e96b3843d0478
+DIST github.com-nsf-termbox-go-abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8.tar.gz 30257 SHA256 4d4c5b54cdb3598451947939f6cf1455e1e4db24f2187ffafd88c65dd3c218e3 SHA512 0d4f18366c471aacf0d6fc92c716287d66b1f97ad922af23f4edd030697141d34c8013e62848c10827bf35f7cfb6b6153e29609b41fe36886139a074b1517a65 WHIRLPOOL 6a4cf79600b8b2d0973b69ce827a650a7ea01d9fffe7d77ad30e4639c58474e67f1d4e8e1d877b7107e43169a64a517f04980da828c54d5f2d3df489cc7c0332
+DIST github.com-pkg-errors-248dadf4e9068a0b3e79f02ed0a610d935de5302.tar.gz 11334 SHA256 9f42447a1e90c491f91c2e79f2b962c2f49376bdc3771adcf8c7c9eee4513e0c SHA512 ee488416799f9359958e1cf68cd17a13019a11687dccee7db2633fcd361c7a48da0f6afec6275977f09a38f8475625b66d9f51a4003d2337d07aadf091f5e1d9 WHIRLPOOL d92bb120b4a0a69358957de5f409ab5af98f74cb7e96383e10a457a48c172877e77226df4f0d991780ba061e70170d1e75bc702001b6f9518c4dda5648ea71d0
+DIST github.com-stretchr-testify-18a02ba4a312f95da08ff4cfc0055750ce50ae9e.tar.gz 83549 SHA256 b7de5d7c5d6b50aeeacb8611af330f0f7c68a36864c3a3896ccc3d9f47279bd7 SHA512 e9af02a015b8eff0c83ba7ad6236d83804f75206586ac7a260c2ee663764aa41af445420f296d793ab7ebd3ac9f346dfdd5f1bfda20a4cbdf0a7b29452c7ce37 WHIRLPOOL b95d2b632042793487d4436cc4a6c0739f868f818fc764517cf5ff0d9ac7c23392714cd139cb992ff92bbbf7c13aecf9546cfacc53e2f95c656b6f3ffb8df90b
+DIST peco-0.5.1.tar.gz 76247 SHA256 1acbf8f7f077208a8d4406a37be88783432455d6ff905e0a19168c7c2a34f1c8 SHA512 ed940949917ea00556d6484e427c6a98bff8506cbeae95fedbdab8579fe5ec0bb800a901a32a268752ec3502fa4cae8033ad38422ca341b1375370e1b25cad0c WHIRLPOOL 06fb9c035fddc21e98e4ecb08c4dbba1efe7072a821c8bd7789458a5b3a37f6cf6cace35dd9062ab4df82c2415da105d3018c0f4a68e866d80451c21638b5ce3
+EBUILD peco-0.5.1.ebuild 1373 SHA256 0e07ead3222df876bad312bc68f4875453a0327bcf595ee8fea75b132cae3f8a SHA512 d1654ec3ecbc1c370ea029a486d9cb1cebdaec16cb6315b631d0c0f48ce1c58c9375b8d62e5ec42e078a7a01c129f25d2e06657c3b30295db9108e9fc57911d0 WHIRLPOOL 846e32971b459afdd33e743a2090f56169bb9239ef17dce589ca767b5a9a5dbc71304950749052abc4328b78af92b8755ea4196b48edcf3b821f432e1bb00ef9
+MISC metadata.xml 666 SHA256 3bc76069a7c73c5ea6f868ea16dc8ffeabbfabe7e4c81efa93a74616bdea5c5a SHA512 aab34e7bd48c51784cf3b1119c596893d56113b5a90dfa7e2782ca11e78d0ce2f80a9fdcde4e81e6fb6802a3075ba20bcd19fa9fb162fe2c68bdc1e91d3b6ef7 WHIRLPOOL c5abfed91d0cc009e40e722e36cf409882725043152c43f71322cf50eba168d6e55381cde0365406ea0d41261ea92a3da7cb7323d156616421cc779ec71ebe8d
diff --git a/app-shells/peco/metadata.xml b/app-shells/peco/metadata.xml
new file mode 100644
index 000000000000..e54c22ca1bc9
--- /dev/null
+++ b/app-shells/peco/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>spiderx@spiderx.dp.ua</email>
+ <name>Vladimir Pavljuchenkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ peco can be a great tool to filter stuff like logs, process stats,
+ find files, because unlike grep, you can type as you think and
+ look through the current results.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">peco/peco</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/peco/peco-0.5.1.ebuild b/app-shells/peco/peco-0.5.1.ebuild
new file mode 100644
index 000000000000..3d8169733f2d
--- /dev/null
+++ b/app-shells/peco/peco-0.5.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=(
+ "github.com/google/btree 0c3044bc8bada22db67b93f5760fe3f05d6a5c25"
+ "github.com/jessevdk/go-flags 8bc97d602c3bfeb5fc6fc9b5a9c898f245495637"
+ "github.com/lestrrat/go-pdebug 2e6eaaa5717f81bda41d27070d3c966f40a1e75f"
+ "github.com/mattn/go-runewidth 737072b4e32b7a5018b4a7125da8d12de90e8045"
+ "github.com/nsf/termbox-go abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8"
+ "github.com/pkg/errors 248dadf4e9068a0b3e79f02ed0a610d935de5302"
+ "github.com/stretchr/testify 18a02ba4a312f95da08ff4cfc0055750ce50ae9e"
+)
+
+EGO_PN="github.com/peco/${PN}"
+
+inherit golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Simplistic interactive filtering tool"
+HOMEPAGE="https://github.com/peco/peco"
+SRC_URI="
+ ${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-go/glide
+ dev-go/go-spew"
+
+src_prepare() {
+ default
+
+ # Don't install dependencies
+ sed -i '/peco\$(SUFFIX):/s/ installdeps//' \
+ src/${EGO_PN}/Makefile || die "sed failed"
+}
+
+src_compile() {
+ GOPATH="${S}:$(get_golibdir_gopath)" emake -C src/${EGO_PN} build
+}
+
+src_install() {
+ dobin src/${EGO_PN}/releases/peco_linux_amd64/peco
+
+ local DOCS=( src/${EGO_PN}/Changes src/${EGO_PN}/README.md )
+ einstalldocs
+}
diff --git a/app-shells/posh/Manifest b/app-shells/posh/Manifest
new file mode 100644
index 000000000000..335e489bca2a
--- /dev/null
+++ b/app-shells/posh/Manifest
@@ -0,0 +1,7 @@
+DIST posh_0.12.6.tar.xz 268872 SHA256 32d00153b448df535fd095d768db2771794bfc54002efd711abc48a40481170d SHA512 2b862264dd13c840facb158f1e2731dd1f11c7a567308feb6bd80fd5a7ea4d8e383cc13a0819f90da5fdad70d0adcc81e5adf2bd69a7a171e2e874f82509123c WHIRLPOOL 201e99e5ba990fa800c3c141872b3a332ff67051abd2f64e8b693b894050780d9cb196804678dd73896585f170b28147092a2bbd85a2028a6a6044ef9a140130
+DIST posh_0.12.tar.gz 469680 SHA256 9206b67005cf357404b3f3021c2d7c7bbd50756050512dececb9ed836435b048 SHA512 bb98d2fa009b5ccd666103378dd30da5649baf830d4e3124575f813b98b13275bde46e03bb737c75b37c82f655b3f17e9a5decd29b75d20678e78a4d7e3abf00 WHIRLPOOL ffd03e1537aa8e68545c532fb8c27fc9702ab16157efce7ef5c83b6f70fbe1a807e4759b85525036ae0c26f56b595ccf95d9cffb8a96b4ef8e5a8ec4b50c60e6
+EBUILD posh-0.12.6.ebuild 466 SHA256 b9375a0fbb398bd1f6794f4b6859584eb93e6c0d13c5b0c661e4a2d6edaa90ea SHA512 6a0e7b7658b2cbb057f9506392b12a16946dc5814d156ae994f696797f84f65ee1679ef69dac7b1fa3f09e8894a756bbac378e9bc42e8f20b7a7126106ce1f42 WHIRLPOOL 330b41c372455dc090dd97eea98961627ce91e1ccf29829030c77f8029fb13d1691b0222c8dd82e5c28f8b407383d25f3287cceec89b83ee02945c2c675d1b64
+EBUILD posh-0.12.ebuild 468 SHA256 c26b652d8b04ecf98c312c9cfa9d3ac8f0aa6538169498b79cda6a5945dfbcc4 SHA512 49d415fcf95a45e2e846bda11aba03c0bbf3af597a52eaf01586a8cb605629268c354b4d612963cea5009bbb51ecb5c8350e065a3bdd2c6380a894b1012c739e WHIRLPOOL 8e12fff5f6e40a44f880edb462b948212f270c91fb01c7034c0a50413c1c6703e9d2d7e6e33ce4d4a0d53974139065bfd33d42d25a8748675c98aad1cc2fae91
+MISC ChangeLog 4047 SHA256 c72a1999faabf5fe989ab3649c4467d4c71150bef45a3fb29decd045dbe15343 SHA512 612ed6c1c879828a3ead7deae88ed29fbf3f558df462da5222c7d1bba028c7ac70c631598802acde854c673b38d71faed8b449b09318123ab8eb6c254c7a9c8c WHIRLPOOL 8f558e5b3d3cf575d977b2220b08edc766837b74c8805b2fffff165e36a445c949be37bef7843359195ee45afcf9ed331c08fecaf438af62b5a1fd9235daa7ce
+MISC ChangeLog-2015 2991 SHA256 7175a2ab58d2af81f2810c30396b2278a2d8962347e68d54755fadf7d68642c4 SHA512 65405b0bcd98196616057ecdecbc2bd504f96233d9ed665898c70adc3c49ae05eb8dad99a04af8219bfa512156f601e7b965f4b0f87c7fd9cdd1f2dd8afdbef1 WHIRLPOOL 7d680736dae8be29f475d3db38857362523d4ceb63c29e43ca4268d5ce0dcf6cff1cedbbea7328f322881284cec325618ee24cfe226aa720489a9dbd190ef51e
+MISC metadata.xml 217 SHA256 c546e6b0215866f0c41ce1fd1fbe4c868ad7d59116eb08df3910d2e190eb0d2f SHA512 94cad0e7f10d53a2ee488ff9be4c417377f7cc6fed1ea4bad878364978cdbeb648974764477a18d2b222ad9111082ef0e00b14832ec7318646a47b56c58c828e WHIRLPOOL f1ccc517bad6b7131d979f6665e3efa565cd57c0f205a0c9937534350c56fbde5bd35ef753857232f6a034dd631ad5e9c8145550cd0971e4aa9b69efb4e782e5
diff --git a/app-shells/posh/metadata.xml b/app-shells/posh/metadata.xml
new file mode 100644
index 000000000000..a8f60369627b
--- /dev/null
+++ b/app-shells/posh/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-shells/posh/posh-0.12.6.ebuild b/app-shells/posh/posh-0.12.6.ebuild
new file mode 100644
index 000000000000..58764617cd6a
--- /dev/null
+++ b/app-shells/posh/posh-0.12.6.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
+HOMEPAGE="http://packages.debian.org/posh"
+SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+
+S=${WORKDIR}/posh
+
+src_configure() {
+ local myconf=(
+ --exec-prefix=/
+ )
+ econf "${myconf[@]}"
+}
diff --git a/app-shells/posh/posh-0.12.ebuild b/app-shells/posh/posh-0.12.ebuild
new file mode 100644
index 000000000000..88f836731f7b
--- /dev/null
+++ b/app-shells/posh/posh-0.12.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools-utils
+
+DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
+HOMEPAGE="http://packages.debian.org/posh"
+SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RESTRICT="test"
+
+src_configure() {
+ myeconfargs=(
+ --exec-prefix=/
+ )
+ autotools-utils_src_configure
+}
diff --git a/app-shells/psh/Manifest b/app-shells/psh/Manifest
new file mode 100644
index 000000000000..4b2d475c88aa
--- /dev/null
+++ b/app-shells/psh/Manifest
@@ -0,0 +1,7 @@
+AUX psh-1.8.1-r3-array-ref-deprecated.patch 1175 SHA256 2befd7178e3e6f515927f41af9ba14a8a9340af96fac34669992c3fdc64499c7 SHA512 52a03f5d5b9716bc28c11ea4726295f7e45d80694a6091fc21bfc32ca6220ebeabd009f96754e4a0c9389087424882d8ea0365f2ad749a9a9fda6e2f6f9ec633 WHIRLPOOL 086c03c15b8dae71216f7775b0bd21a767ac4d4001b47b09d04e0f39b26471f2301800ba9b6112905a14cc09ec2a10cfa7a54adf3b5568712703fdb1b5f2a2f0
+AUX psh-1.8.1-r3-defined-array.patch 295 SHA256 834afb894282cbdfd13a2c95ee490fa708178baac4e38eb5a50824db00a1a21b SHA512 69edf4cc81483ec6f9675d1f14b6a9d63a055691dc1f41a08e26b721d3b6081b881db5183df23ebc52459e849ee1ca0f6f5c64c01231c305eef8183145f520c9 WHIRLPOOL 77da55faf2c6d2a548f7c5145704f942ba5134e7e89d7122a786e8f4c05e5c960b30d6e3d80ea88a0b623534053dd8ae95f158876d7cf1b1d41b732c73081e90
+DIST psh-1.8.1-r3.tar.gz 120552 SHA256 c8414c4381a6a715800a7b59c39276d1f19087bf2e0b6a9b950af4feaf7701a8 SHA512 01e9def98fa89f347ad540cbb0584773de4b7e11595432d7b8e1f1a563725004b898a5fd30f39b01de661ac6ec3274b6cfecdbd7f0bec3fe175119493163ca9a WHIRLPOOL 378aba28927a747560fa8cf6513900f93e473d1d2e5bcff4e87ed2d8c9c84daab1a86887aa2d774d3616ef541e23607bc59123d4adc584b66fbdfa4e75fa4d2d
+EBUILD psh-1.8.1-r3.ebuild 838 SHA256 9fb17b2c349b211d25a9c6e67d854a8c29de0a76cc7c1a5bc80ee7042e32c7ca SHA512 a3e15fdaeec4947b4653d739955d04b67892008b280e436e289083f990ea199192a544e3039c317558a476e306d9e079f3477714d68703ec0d3709fe1f882b4b WHIRLPOOL 4686049fb143b08abe5eed05cc8487f139b0cb5796cae9f0359d5ff091baeaa3add95f12099583f48bbc4307ded8de569fe7e3fa6661a587086fc4adcce2874d
+MISC ChangeLog 2796 SHA256 5f1d0274556fc9ef2bff24d3c3e089875c6e96b4f35709de8a65c24f03d60170 SHA512 507a7426b7399654931b569f2f707dc010855755ac57f68e84be67dd76a854d37d1d03ebee6239b6f9e5dccfb8dd24ea249c5326134aa12ad364c0c072c8cec9 WHIRLPOOL d1a3cc58442ccfc5e163ea422e5651127306c77887da544f6c5ecd0f353453fe7f67c3d0f1e7672ee69d4428988d6420c393068f0eea03a1bfb56590222efc36
+MISC ChangeLog-2015 4200 SHA256 a9d5237444ddec7e3108e48782956b1b73f598ea2ecbb28ce2f9b79e3ca68d55 SHA512 0ee8b3a6d50c3b37104b95aa75d0e16540f579f4e396f61c897aaafe745ec1378c04316a3c0d14c2ce808a16c246f2be3d820820f75f5a733d34aa3b5bf8b915 WHIRLPOOL 299b8bbace1d4d4b04e9c68e78a2d5230b8b03519db243e4d307fe61c88bded26bdc5140c40cb11af40926ce1000fbea1d289179b888a4afa2cd8d77c52f7db0
+MISC metadata.xml 353 SHA256 0aa4192aac2227d43587c0e76f7f82b53401846552053c133196a363ff01128e SHA512 b2ed73c0d0a472cc69fed198e266467016b134909c3f8a3d625cb36c409e698c99c30d287999eacc04cc6185a5874861ce0f548b4569a769711c1183fc2c4a3e WHIRLPOOL 28c1cb469d5ec885d4af36d31a74b8c1fcf7e17d413203bde9821075277eb8541b549995a62b2e02affface234e97d03b9b269d577edfb3542220ba58e4540cd
diff --git a/app-shells/psh/files/psh-1.8.1-r3-array-ref-deprecated.patch b/app-shells/psh/files/psh-1.8.1-r3-array-ref-deprecated.patch
new file mode 100644
index 000000000000..13c497064ee1
--- /dev/null
+++ b/app-shells/psh/files/psh-1.8.1-r3-array-ref-deprecated.patch
@@ -0,0 +1,37 @@
+From fec038344e05b4fe1b369a979b9ab224343297dd Mon Sep 17 00:00:00 2001
+From: r <rocky@gnu.org>
+Date: Sun, 25 Mar 2012 18:17:45 -0400
+Subject: [PATCH] Get rid of 'Using an array as a reference is deprecated in
+ Psh/StrategyBunch.pm'
+
+---
+ lib/Psh/Strategy/Darwin_apps.pm | 2 +-
+ lib/Psh/Strategy/Executable.pm | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/Psh/Strategy/Darwin_apps.pm b/lib/Psh/Strategy/Darwin_apps.pm
+index cbcbb1d..8c4879e 100644
+--- a/lib/Psh/Strategy/Darwin_apps.pm
++++ b/lib/Psh/Strategy/Darwin_apps.pm
+@@ -44,7 +44,7 @@ sub _recursive_search {
+
+
+ sub applies {
+- my $com= @{$_[2]}->[0];
++ my $com= $_[2]->[0];
+ if ($com !~ m/$Psh::which_regexp/) { return ''; }
+ my $path=$ENV{APP_PATH}||'/Applications';
+ my @path= split /:/, $path;
+diff --git a/lib/Psh/Strategy/Executable.pm b/lib/Psh/Strategy/Executable.pm
+index 7d09119..7767082 100644
+--- a/lib/Psh/Strategy/Executable.pm
++++ b/lib/Psh/Strategy/Executable.pm
+@@ -24,7 +24,7 @@ sub runs_before {
+ }
+
+ sub applies {
+- my $com= @{$_[2]}->[0];
++ my $com= $_[2]->[0];
+ my $executable= Psh::Util::which($com);
+ return $executable if defined $executable;
+ return '';
diff --git a/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch
new file mode 100644
index 000000000000..660ca34daf44
--- /dev/null
+++ b/app-shells/psh/files/psh-1.8.1-r3-defined-array.patch
@@ -0,0 +1,11 @@
+--- a/lib/Psh.pm 2007-07-21 16:40:44.000000000 +1200
++++ b/lib/Psh.pm 2015-07-18 05:30:29.840928282 +1200
+@@ -367,7 +367,7 @@
+
+ sub defined_and_nonempty
+ {
+- if (!defined(@_)) { return 0; }
++ if (!@_) { return 0; }
+ if (scalar(@_) == 0) { return 0; }
+
+ if (scalar(@_) == 1) {
diff --git a/app-shells/psh/metadata.xml b/app-shells/psh/metadata.xml
new file mode 100644
index 000000000000..5fa8eb473430
--- /dev/null
+++ b/app-shells/psh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">gnp/psh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/psh/psh-1.8.1-r3.ebuild b/app-shells/psh/psh-1.8.1-r3.ebuild
new file mode 100644
index 000000000000..00fa615132c7
--- /dev/null
+++ b/app-shells/psh/psh-1.8.1-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+DIST_EXAMPLES=( "examples/*" )
+
+inherit perl-module
+
+DESCRIPTION="Combines the interactive nature of a Unix shell with the power of Perl"
+HOMEPAGE="https://gnp.github.io/psh/"
+SRC_URI="https://github.com/gnp/psh/archive/${P}.tar.gz -> ${PF}.tar.gz"
+S="${WORKDIR}/${PN}-${P}" # github--
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="readline"
+
+RDEPEND="
+ readline? (
+ dev-perl/Term-ReadLine-Gnu
+ dev-perl/TermReadKey
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
+
+myinst="SITEPREFIX=${D}/usr"
+
+PATCHES=(
+ "${FILESDIR}/${PF}-defined-array.patch"
+ "${FILESDIR}/${PF}-array-ref-deprecated.patch"
+)
+
+src_install() {
+ perl-module_src_install
+ docompress -x "/usr/share/doc/${PF}/pod"
+ docinto pod/
+ dodoc -r doc/*
+}
diff --git a/app-shells/push/Manifest b/app-shells/push/Manifest
new file mode 100644
index 000000000000..c28762489725
--- /dev/null
+++ b/app-shells/push/Manifest
@@ -0,0 +1,8 @@
+DIST push-1.6.tar.gz 1955 SHA256 713dea172ede55971ff82da932782503c2aa6703eba73c1ac317ec4c8eb22e80 SHA512 4623f51249138bacb7251fb5d5d1ae8dd070de7ce628e42b6eed90a4b6ffd36d28eb58b116f5b1833bc1affa8db539da9b94d104ffe03c6bd1e294b56c393c86 WHIRLPOOL 787f65542e92fd10c411969d03ec17b45a90b35e9c8e17b9fb3e732fb1d97813f04c3a03cc329a469a5bea2a194f879f4c600e2e534dd8c778f7f712d4c171b1
+DIST push-2.0.tar.gz 2211 SHA256 2d5e1c5b580f77ac9fb65b7b75c6220ee88687b6e7340ccc746e42e5632604b0 SHA512 03c40bd8b3b09473952ecf13edd622533616de47638741214b40856b33993f9310d62be34fac6f68b950f58167c3111082554961a800a43a3ecf8a7d138ffdff WHIRLPOOL 6abbad060edbb3d9873c24b73bc61f38f6a4fd38633021e66f8d3a5a04b61dfcdec4c68afed5e8fe06f817cf924adfafb439ddb415c71fc4e1b52ce561ec6fa1
+EBUILD push-1.6.ebuild 661 SHA256 6f6c67a0131bdbc3255eec0f315f06354c2bdd47243387f1e986f4507261399e SHA512 0ea7a9793359168d5b07d8a7cffb157cc472e6cc1afffe8f3be57cb65b6572e5a096c3f85b99421817f7e798c30352817ac7ca1eefae76641698708c6c641cc1 WHIRLPOOL b1a19f2099b2292b5450e2eb520edae303d07504c308922ea20ccb36b66973dc5012ebeddc4f8263c73cce6cc23ceb48fad60ee98004002463ef499ff4ab1376
+EBUILD push-2.0-r1.ebuild 700 SHA256 b52956deea98d37694eda314c64d975921d519b423cd2f042ab3d89797ef2ad2 SHA512 845785cbe8b3a5f1d5b95e13c81c2d74974b3313f7f5fa8132eb017652e06b2d5c719bbe82704e410ccb613b63921e1b5ca8d9e636b95d27d073ab2577915cb4 WHIRLPOOL b0e44b624785e785beb3e67669478f3f2995fee212820e1a7ac0f66eefe4c5b703d81607099b72dee9e1a26b9656ea5f2f54ab8e8994a8c4c0d3ccfea1af3fce
+EBUILD push-2.0.ebuild 656 SHA256 ed1ad22a35b15c2b52bc229d7ebd50132813b8e0dc9c19aa15d311bd970a3d96 SHA512 3b931ab3ab95d5fe39d7ce75284509c12978da5cc8628ca3b68672595d98ebad9cba9f00b5c8f4138bb8a27f0908e3a9cee34123215433387088f224c400b798 WHIRLPOOL 9d87c98449f0a80344d3d97e17a5bf10e8629d88055595549f4659d16fc2b8d552ea8f63d1d4f7f27e51575ee8a3b358f19013f09b9790b3086c0bfc26b1ff24
+MISC ChangeLog 3126 SHA256 513a6b419196e34ba3508aa7a0a1f69fc4c70298ee9ce8566a35156758a6fe68 SHA512 f4b108177118ba3c1344dc069355392a21f56a30761502c405a9e96b75575e89c3d02c6193f43055b2337b00c706fb112dad59cbc264dadce3aaee2a5af8fb65 WHIRLPOOL 05a094e3ce8adf0645fc9ccdfd277018fc5e2a0684a94377e5c9f48db720ceeef64c344f3c4211e5d48659733b3db5eeb91e1472fe1c393da909369902e6ad75
+MISC ChangeLog-2015 3213 SHA256 86a9bcba288cbd5fe5a05d4a87f3ca0af1a948af27d6483e86a4252c66143ff7 SHA512 0bbe433febe296ed1f402839233583a0920e628a2517b6ecb3a060f9bee257347450c9a716388e54fb2603c81d18c0d4566fc791a8949b95bfc320a69ce7787f WHIRLPOOL 940bf04364b14cc63d0b7bdd5866f9098d8f8f2124141869022829b89ef53fdb81e369310c22ba6428ac0cea676b84d47e2f7df19d0d218a7b65de3a418c2585
+MISC metadata.xml 694 SHA256 dd8a20d5d79ffdbae970d3b6b902c574e4feea0869d9433b85ab05d87f79fb00 SHA512 af064b9c47b99ebb159da58edf5b950b5bdead3cbafbef2dcd7ac622009d9164308ca18e9898d42ba51b9aa4056631edf4280eff3cfa546837c5df5dfbe93216 WHIRLPOOL 13f05ad5c4e732c5f4b7d91a9fa48eb19584e28d7fa4231a74aa79360dce9ea105d1f4f62318585f43b7783db33d33033e3145e9a483fd6315ba1ed900117b96
diff --git a/app-shells/push/metadata.xml b/app-shells/push/metadata.xml
new file mode 100644
index 000000000000..cc23092c85c2
--- /dev/null
+++ b/app-shells/push/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ <description>Upstream developer, CC on bugs, do not copy ebuilds
+ from his overlay</description>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+ <bugs-to>mailto:martin@mvath.de</bugs-to>
+ <remote-id type="github">vaeth/push</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/push/push-1.6.ebuild b/app-shells/push/push-1.6.ebuild
new file mode 100644
index 000000000000..ff5477353fcd
--- /dev/null
+++ b/app-shells/push/push-1.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+inherit vcs-snapshot
+
+DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args"
+HOMEPAGE="https://github.com/vaeth/push/"
+SRC_URI="https://github.com/vaeth/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ insinto /usr/bin
+ doins push.sh
+ dodoc README
+}
diff --git a/app-shells/push/push-2.0-r1.ebuild b/app-shells/push/push-2.0-r1.ebuild
new file mode 100644
index 000000000000..d7818abffdee
--- /dev/null
+++ b/app-shells/push/push-2.0-r1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args"
+HOMEPAGE="https://github.com/vaeth/push/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins bin/push.sh
+ dodoc README
+}
diff --git a/app-shells/push/push-2.0.ebuild b/app-shells/push/push-2.0.ebuild
new file mode 100644
index 000000000000..4311d1b624b7
--- /dev/null
+++ b/app-shells/push/push-2.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="A POSIX shell function to treat a variable like an array, quoting args"
+HOMEPAGE="https://github.com/vaeth/push/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ dobin bin/push.sh
+ dodoc README
+}
diff --git a/app-shells/quoter/Manifest b/app-shells/quoter/Manifest
new file mode 100644
index 000000000000..6f2e4d82fd4c
--- /dev/null
+++ b/app-shells/quoter/Manifest
@@ -0,0 +1,5 @@
+DIST quoter-3.0_p2.tar.gz 10691 SHA256 19a335095991c8fa0f637c81b7e8b9a262af67e230507af87f3c113228965732 SHA512 23d77105fa05d79a7d0bcaa3f6aead25b7cb3b6f459d2740314616da587e03cd3e6b0b1e8af8f79904309bbe76603db848d42996ed7ae5ef779e27184a434fb5 WHIRLPOOL 1c083d7dc9bc8e1e4719b6e4c03087f39d4324df3aa70011e84087c7de3145f932ca3ae9fc1057b17dbe9471592c5d32ac99dff63b7962fb3c7548b31aa2a225
+EBUILD quoter-3.0_p2-r1.ebuild 768 SHA256 650db8787811b477e4f4e38d3d8a451482ccda9bcb4298fa92f40fb511c06fcc SHA512 776aa98c51fe09f3cb40acb5397722176ec5d8711fea8cf9e5ac28b7dcda53127931830960b575cbcb8b3ddf0ecfb989621ab002ffed8d4818e9ed9882fa0ff0 WHIRLPOOL 0465804b3ec806d1a9cd4c5c19bc19eb5dfae2dde408662538d3324b6145bd93eea1d93efe533a80fb29b84612e3c41d771982f7f2666a44873796ca127f4e8c
+EBUILD quoter-3.0_p2.ebuild 652 SHA256 794d3fbfeae65d9e54ab274f0e0e8e060775e34e733de22d1010252110b06c60 SHA512 0196c51aaf96642caad2a0263cbec45ba86f74dda973f0bfd959ac8a644812a389f3f79b83892bff9535b1fb0bb28aa0e9479bf4d4b0f73681971aaa88237663 WHIRLPOOL a2db7f15f27786f08ebe176592e369367d9693c7dd38888308a2fbc19300e10098012c6ed78da12fddeb14da9d71991f6893f3e32857b7ef4887ad1e211e2229
+MISC ChangeLog 457 SHA256 0412d4151c0c50ec8543fc799809bf6538a8edf5462fa0f618d2f283cab313e9 SHA512 afc61b58837490575e8cf4fc2b4d01f4f7e8eae13f0c96432571ba7b2d2306698fdee31947a988dbada978a81dd4e417ea1544555a0e093a34970caf9ed4598a WHIRLPOOL f5289411d03ee5c837315fd67c0e676dadf122214c75d424dd74e5294b46ff148b5cc17534ec00700875e50e23b2c527bf476bb9d44d7e33c3a20a6384b1969b
+MISC metadata.xml 696 SHA256 9ba9b0f2104b664f7dcaa9077ada0449368a5f1060f50f13f92ef8841ca1c20a SHA512 30cfae6f7af84bdde697740d3d03d27ddaaed81cd631a9fb8e2b12f11e8acb0de2680437b5679def2c8e3bb09bd69c26651e89d4f67e46b2e72e6e8274cee358 WHIRLPOOL 99bd2dae80f381c15370f469a3b706c182c538368ffe7a1b9307b46f479c3aa2e7b263e6f7ec71c942533be541d6401dde47ec89bf1f219e8c8ab9002dd9618a
diff --git a/app-shells/quoter/metadata.xml b/app-shells/quoter/metadata.xml
new file mode 100644
index 000000000000..531820332509
--- /dev/null
+++ b/app-shells/quoter/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ <description>Upstream developer, CC on bugs, do not copy ebuilds
+ from his overlay</description>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+ <bugs-to>mailto:martin@mvath.de</bugs-to>
+ <remote-id type="github">vaeth/quoter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/quoter/quoter-3.0_p2-r1.ebuild b/app-shells/quoter/quoter-3.0_p2-r1.ebuild
new file mode 100644
index 000000000000..dd35dbd22212
--- /dev/null
+++ b/app-shells/quoter/quoter-3.0_p2-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="Quote arguments or standard input for usage in POSIX shell by eval"
+HOMEPAGE="https://github.com/vaeth/quoter/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ emake DESTDIR="${ED}" install
+
+ rm -f "${ED}"/usr/bin/quoter_pipe.sh || die
+ insinto /usr/share/${PN}
+ doins bin/quoter_pipe.sh
+}
diff --git a/app-shells/quoter/quoter-3.0_p2.ebuild b/app-shells/quoter/quoter-3.0_p2.ebuild
new file mode 100644
index 000000000000..301d3e31d460
--- /dev/null
+++ b/app-shells/quoter/quoter-3.0_p2.ebuild
@@ -0,0 +1,18 @@
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="Quote arguments or standard input for usage in POSIX shell by eval"
+HOMEPAGE="https://github.com/vaeth/quoter/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
+IUSE=""
+
+src_install() {
+ emake DESTDIR="${ED}" install
+}
diff --git a/app-shells/rc/Manifest b/app-shells/rc/Manifest
new file mode 100644
index 000000000000..68c2a943ec54
--- /dev/null
+++ b/app-shells/rc/Manifest
@@ -0,0 +1,6 @@
+DIST rc-1.7.4.tar.gz 215206 SHA256 5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8 SHA512 49e124207b5370b88b8fba0376dda33451451a58bfb85fabfc06ae59eb88fedf38d7aeaaf292e4f380e2c00efc8301ba68d12180923186d1c53ef94f78f7e435 WHIRLPOOL e7e1e2e68a981bd1a8787f6b90d2d2bbf491e548c18584db6204a06fabd7b88439f9e4fcd0934c1d0c26c903d54a9d9f70c342a66fc00b1138c44f2c1ad12290
+EBUILD rc-1.7.4-r1.ebuild 931 SHA256 015e028ad7d78397a9de9eee47ab3d653149732d73695501603ccaa654d98843 SHA512 74abce16dd79d884cc7067585b5295b16704edfe1695caaecd6c8389bea8821465533e71f0da2219417ae4b81f9798ed94542483baa12fca57b81b915a699ba0 WHIRLPOOL a911034f21da489de6a187694faa28f224ca02c45a1c8a6a9e9fcc6d10c0611b22432aebb3c2f244050077316b9106de69fb502d2cce688342469747e5099eaf
+EBUILD rc-1.7.4.ebuild 891 SHA256 4ed2ce5606fe819d18bbc84162003ad53fa912f67361a340e5473c049e5693d5 SHA512 510499cf748c113ec3a2ed6338e3a36256da9166ec3a6fcb49f31597e75c078409387ca40a883236c7158e150e01919f3993bc5aef6e052d2a74787b7efa988b WHIRLPOOL b3802874aa6f08e4609e6629d81769169e43ebffe13d92036d971ef4ef3c81d2a723817e51049a54e9a93a6cad958953aa26484223cd66b8ee7860ec6e50b93b
+MISC ChangeLog 3017 SHA256 129538085dd94af66cd43138b76e2d2a266c563e36fa8899908aeba4bc211937 SHA512 98ab05d9a14b5cf121faa6f41063d9b60fc099b2cfad142c68acb3f5548daa77c1cee2d73bb4f5690c9a2078b4ba30aa4eb7fa698587bb8d7e1c5616a860cb73 WHIRLPOOL df485e5e35773e8543b2dd03f6eda22b7d238eb5ff0cbadfa10c80b5c1dad354934725b6296767fdfab8e9d00a302813bf0ed26dbcb41e4cd55b506fe4e96f90
+MISC ChangeLog-2015 585 SHA256 c907ac757939c6ed31641ef918a873665bf4a5acca1135f1dc4455973f803b9a SHA512 819dde49ae68240a0b7f939f0bdc719e121b0a6de18ee59b804173702f8c34cf8bbc37c45c2fdf9db849d0a4cf46d3183862b70826aa903ad74d2b5616831b35 WHIRLPOOL 1d3b18a93263c961417879c8046f0506762c07697bf05b8487d07f94ba85584ee7f0f677c6057cecf8b92f3395b68dc1b72000152d25352f1e317d1bd3312847
+MISC metadata.xml 263 SHA256 cefa459d7f30f681bad9f2b55f5c5cd2ac880a8752230b2d66194b285912c00c SHA512 b25a1229f571493fdde40749d60d17d411676854bc3f73810e15edac8a2a930d3633f46a6f7f5a7ec6cf7f36b9ef690a7e03916c7c76869315f5ba1f862fd0f0 WHIRLPOOL 6a5e403e0bd9ddaa18b220db8418f8e94dc5d15cbbdef4f9994d9f41b4e1f24d017927a5ce2291b7a1de38d567fe0967ff4a49b63eb41d287eb438167c560e3a
diff --git a/app-shells/rc/metadata.xml b/app-shells/rc/metadata.xml
new file mode 100644
index 000000000000..3e60a9a347a4
--- /dev/null
+++ b/app-shells/rc/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-shells/rc/rc-1.7.4-r1.ebuild b/app-shells/rc/rc-1.7.4-r1.ebuild
new file mode 100644
index 000000000000..9e73cae38eae
--- /dev/null
+++ b/app-shells/rc/rc-1.7.4-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A reimplementation of the Plan 9 shell"
+HOMEPAGE="http://static.tobold.org/"
+SRC_URI="http://static.tobold.org/${PN}/${P}.tar.gz"
+
+LICENSE="rc"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libedit readline"
+
+RDEPEND="readline? ( sys-libs/readline:0 )
+ libedit? ( dev-libs/libedit )"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+ local myconf="--with-history"
+ use readline && myconf="--with-edit=readline"
+ use libedit && myconf="--with-edit=edit"
+
+ econf \
+ --disable-dependency-tracking \
+ "${myconf}"
+}
+
+src_install() {
+ into /usr
+ newbin "${PN}" "${PN}sh"
+ newman "${PN}.1" "${PN}sh.1"
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! grep -q '^/bin/rcsh$' "${EROOT}"/etc/shells ; then
+ ebegin "Updating /etc/shells"
+ echo "/bin/rcsh" >> "${EROOT}"/etc/shells
+ eend $?
+ fi
+}
diff --git a/app-shells/rc/rc-1.7.4.ebuild b/app-shells/rc/rc-1.7.4.ebuild
new file mode 100644
index 000000000000..71bf031e21ab
--- /dev/null
+++ b/app-shells/rc/rc-1.7.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A reimplementation of the Plan 9 shell"
+HOMEPAGE="http://static.tobold.org/"
+SRC_URI="http://static.tobold.org/${PN}/${P}.tar.gz"
+
+LICENSE="rc"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libedit readline"
+
+RDEPEND="readline? ( sys-libs/readline:0 )
+ libedit? ( dev-libs/libedit )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local myconf="--with-history"
+ use readline && myconf="--with-edit=readline"
+ use libedit && myconf="--with-edit=edit"
+
+ econf \
+ --disable-dependency-tracking \
+ "${myconf}"
+}
+
+src_install() {
+ into /
+ newbin rc rcsh
+ newman rc.1 rcsh.1
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ if ! grep -q '^/bin/rcsh$' "${EROOT}"/etc/shells ; then
+ ebegin "Updating /etc/shells"
+ echo "/bin/rcsh" >> "${EROOT}"/etc/shells
+ eend $?
+ fi
+}
diff --git a/app-shells/rrs/Manifest b/app-shells/rrs/Manifest
new file mode 100644
index 000000000000..ce1b90c55c6e
--- /dev/null
+++ b/app-shells/rrs/Manifest
@@ -0,0 +1,7 @@
+AUX rrs-1.70-asneeded.patch 1437 SHA256 46020607ca66963afd1569c7cd2b0ad6c89659f2a33f426b88cd43c3666b23eb SHA512 f72670f986887a04efaec8ba8b4d8a5c725ae21dd25217f67268973487556f757d0e24a4b81bdc573d0dd85bdf0f35c4148b3d553298046696aa4571ab511363 WHIRLPOOL 1aa3922983a4b3c0d81146fa223844527c472a57af836e28bad3dea4d58de4b4f53593d29765a5f6749167f083282ad534855a933fe7bec4506e4a08c138a77e
+DIST rrs-1.70.tar.gz 49579 SHA256 ffd9098cf93da5bda65150fe241ec51eb0eb0e37edca038e6a2216bc12546e85 SHA512 58a3d34bd80f2ddaa62112819d83ab2175daf1b9e66605d0b629a15d1fc6b43b482e1a4a763b99a07d85bbb0fa6df339d0dfcc203e3a3da3d5cfdabbd14a4bfa WHIRLPOOL 1825e41907f018dfbbd6678da39695bf34007cdbbd9b47a86b79f32bac9cbd2ae242d147d2fe568153cf52610daf3d039a49c001fba737d2fd0c080c03f5f074
+EBUILD rrs-1.70-r1.ebuild 711 SHA256 788be13b03163cb8fc757f208f1c5670feec082ca6450087e0f88f2353136d7b SHA512 9a503747336f3cbbf0321448690bb31ce88c69b0e2430d690b3193c014e7667508b3ab5a4b36fcaa6273219f52292802df801b5722638f73c05effbbe451a269 WHIRLPOOL 22982ac1616f065cf1eaa574bf0a25224d2667e21bba14f3a428eee18c2dd6d6c12bc615a23be04213b8eac7e6912ae48e04216d4863a3ac9ffeee179b2fa3cf
+EBUILD rrs-1.70-r2.ebuild 746 SHA256 670431009bf1a2e5689704e3b9608622887976006177881554a2c4c8e3613074 SHA512 335e07e3a4a2d7fb043155aabf311bd3c452635fd6d06536ba96cd7539feed94d2d3ba9f45028ec73ce6f37732ba5c29c4a8eb4d6ed9500e003a9421126f7bf5 WHIRLPOOL 8506f192a9a0cd1acd6a7596b9e514c0134ca1a176f08bafd4a698ff14aee3af51ba9c281289cb56e1071687851c3eb8dde68e41bef8ec7035cf30550067d471
+MISC ChangeLog 2361 SHA256 6318a47eee93a3ecb6ee76cb9377100ad14360f3ec8759e831a10c64ca6e8c39 SHA512 4d378faa2e562c01508d20b8b7c6601f2bccd41ec5e08a734ef89430bcc26c72d7d59c884587f4d97902dbc040a990577826edc9d6c7a2dc389814338b78097c WHIRLPOOL 0ddc0b33f51ae16e4acc879cefad2fc4a38fdb3b3999caed37a08efe04da6a13d79fa8b5fbb8950919005040b38bcf8fb278cc25cb5474af56d9b069719b3612
+MISC ChangeLog-2015 2901 SHA256 37b046ab05795db8aa3a4316970c498f96fd0e61833d7d1b512af4846c3ba075 SHA512 28e266cbf3e48e780e4dc24059a5a0e2d6c7cbf21baa1ea1bf640ed5eeac57134ae6c28b62db1c3f47a21cad17f981c48b249ef193bf00fed8413513822107c6 WHIRLPOOL 69a69ff43c1765399bc0c3c25d6c0806ea17626ee96d3d18f0df842636eb08e5c386ffb89838dc5e500aa3944af8c386f40ac76335c1b76a577cb1929ea60199
+MISC metadata.xml 317 SHA256 b4472b025bbb025eefaab6f3d8f19091e6ad16f0e7efb2679eb0350ecd04d926 SHA512 b80e5e730f8ee1225f73e1c1651c9cec243f117f3b983ef0814699ba367f373ada228e1fe2b6b8f1928eeb5cd854c1a7bf07d59075607a992a4a0e0dd3482ee4 WHIRLPOOL fbbdd516f3a2e13fa793c3da94f8f3bcd91c6968a9b7299e6c23d80efbf5111fc625220e046577f808024e0c296a7878d5da9e0d1b46bb55cff7cd8a4bde8222
diff --git a/app-shells/rrs/files/rrs-1.70-asneeded.patch b/app-shells/rrs/files/rrs-1.70-asneeded.patch
new file mode 100644
index 000000000000..9ed9ee16fbee
--- /dev/null
+++ b/app-shells/rrs/files/rrs-1.70-asneeded.patch
@@ -0,0 +1,38 @@
+--- Makefile.orig 2004-05-30 02:14:14.000000000 +0200
++++ Makefile 2009-01-03 15:02:19.253460887 +0100
+@@ -8,8 +8,8 @@
+ # if your system doesn't have GNU's getopt_long(), add -DWITHOUT_GNU_GETOPT
+ CFLAGS=-I/usr/local/include -Wall -O2
+ # openpty() is in libutil on most Unix-like operating systems
+-LDFLAGS=-L/usr/local/lib -s -lstdc++ -lm -lutil -lssl -lcrypto
+-LDFLAGSNOSSL=-s -lstdc++ -lm -lutil
++LDFLAGS=-L/usr/local/lib -lstdc++ -lm -lutil -lssl -lcrypto
++LDFLAGSNOSSL=-lstdc++ -lm -lutil
+
+ PREFIX=/usr/local
+ BINDIR=bin
+@@ -36,9 +36,9 @@
+ generic-nossl: clean compile-generic-nossl
+
+ qnx: clean
+- $(MAKE) LDFLAGS="-L/usr/local/lib -s -lsocket -lssl -lcrypto" compile-qnx
++ $(MAKE) LDFLAGS="-L/usr/local/lib -lsocket -lssl -lcrypto" compile-qnx
+ qnx-nossl: clean
+- $(MAKE) LDFLAGSNOSSL="-s -lsocket" compile-qnx-nossl
++ $(MAKE) LDFLAGSNOSSL="-lsocket" compile-qnx-nossl
+
+ distclean: clean
+
+@@ -47,10 +47,10 @@
+
+ ## generic
+ compile-generic:
+- $(CC) $(CFLAGS) $(LDFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
++ $(CC) $(CFLAGS) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGS)
+
+ compile-generic-nossl:
+- $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDFLAGSNOSSL) $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc
++ $(CC) -DWITHOUT_SSL $(CFLAGS) $$CFLAGS $(LDEXTRA) -o $(out) rrs.c md5.c sha1.c farm9crypt.cc twofish2.cc $(LDFLAGSNOSSL)
+
+ ## qnx
+ compile-qnx:
diff --git a/app-shells/rrs/metadata.xml b/app-shells/rrs/metadata.xml
new file mode 100644
index 000000000000..f11c8394b116
--- /dev/null
+++ b/app-shells/rrs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="freecode">rrs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/rrs/rrs-1.70-r1.ebuild b/app-shells/rrs/rrs-1.70-r1.ebuild
new file mode 100644
index 000000000000..1bc50a484efe
--- /dev/null
+++ b/app-shells/rrs/rrs-1.70-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Reverse Remote Shell"
+HOMEPAGE="http://freecode.com/projects/rrs"
+SRC_URI="http://www.cycom.se/uploads/36/19/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="ssl"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${P}"-asneeded.patch
+ sed -i -e "s/-s //g" Makefile || die
+}
+
+src_compile() {
+ local target=""
+ use ssl || target="-nossl"
+
+ emake generic${target} CFLAGS="${CFLAGS}" LDEXTRA="${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin rrs
+ dodoc CHANGES README
+ doman rrs.1
+}
diff --git a/app-shells/rrs/rrs-1.70-r2.ebuild b/app-shells/rrs/rrs-1.70-r2.ebuild
new file mode 100644
index 000000000000..36ca714b57e3
--- /dev/null
+++ b/app-shells/rrs/rrs-1.70-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Reverse Remote Shell"
+HOMEPAGE="http://freecode.com/projects/rrs"
+SRC_URI="http://www.cycom.se/uploads/36/19/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="ssl"
+
+DEPEND="ssl? ( dev-libs/openssl:0= )"
+RDEPEND="${DEPEND}"
+
+PATCH=( "${FILESDIR}"/"${P}"-asneeded.patch)
+
+DOCS=( CHANGES README )
+
+src_prepare() {
+ default
+ sed -i -e "s#-s ##g" Makefile || die
+}
+
+src_compile() {
+ local target=""
+ use ssl || target="-nossl"
+
+ emake generic${target} CFLAGS="${CFLAGS}" LDEXTRA="${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-shells/rssh/Manifest b/app-shells/rssh/Manifest
new file mode 100644
index 000000000000..80caef8e83df
--- /dev/null
+++ b/app-shells/rssh/Manifest
@@ -0,0 +1,8 @@
+AUX rssh-2.3.4_p3-autotools.patch 1016 SHA256 1d0ad8bb9ccf6190e82477fe5f008ededfe42fe539b5ffd32958b044da5c45bd SHA512 af3de7f5855d1feb3145684ecfd64fa29716a8d7ca9cf29bfaa0567de1ee32f5aa67bd53f408fcb87bdba94f9501769027f5725b25b8c19dda3250c00a00f228 WHIRLPOOL 072275f009eb660dbe6d2d04a8d6ee63a14f9d4e92e29d8ebf8f0a1ebe87a127fc19968c67c5e4231110e30505f8bb063931aaa8b274a689b660ebe02da04b87
+DIST rssh-2.3.4.tar.gz 113315 SHA256 f30c6a760918a0ed39cf9e49a49a76cb309d7ef1c25a66e77a41e2b1d0b40cd9 SHA512 c1a77abdf4abe5f936fb1c9c008fc81fabf7b624d69ed31fe2ae5619dfa4a79f1d4a4f2daa5291a36d40353fa2168e74e5ba61294230d702fcdc88ae0d520487 WHIRLPOOL a2fa86922780bdc5f34536aa5840a76902841024b0bc35220098e9d40e087c28578c37417c92ffca5035898c47f50d5de5d18609a3087ceb25eb532bd6b26092
+DIST rssh_2.3.4-3.debian.tar.xz 27364 SHA256 077b304c423349f2771207b0da20b0aef4a8e5baa9c51dcacd37fe2134bee70b SHA512 963d51c0a806090f8008b1f83ca3a0bc271f789e1388c4f4de993e61d705458be4163ba74ebb4fccea454b6ab08239b0a7c2b067bfe7ab222033b9785cb79a90 WHIRLPOOL 127f922d7595c3f3dc68be7b87f2b4043fa433c1e115232b6bac35cc924b280f161c976ab59cca92da846653ea4b5d5c3e33592e4f72593ec8dd07bd6c891c34
+EBUILD rssh-2.3.4.ebuild 844 SHA256 33d3e04c830c537a6975ea3b3db1b84e105c17f374a0c0c5971e66eeea5556d1 SHA512 a355eb2fa29e1d9e0df88aa8673d8f0d677623c36636a35ffff52e1d7c3f761f26f2b87db826207fc6964a4b4b92e7aa2090664a584f58c2918ab2862f8f4a38 WHIRLPOOL 03a24ca8c3b953bff133a5a5134c08dc92683981cedf91c01e892a73ea4c20461f58f0fcbee4511374641c4946fc038840c5809f1906178fb929bd66cf7a334d
+EBUILD rssh-2.3.4_p3.ebuild 1264 SHA256 aa06ffdc3d7f2354a10c17a63e0f0a84f6edc8bfc8391e1f6f57c56ab92de839 SHA512 f1722d018643b1170609af05b34964b1d5e93820843dbd110696b8e45307e0e42694f78ae9adf01200520cd624c095efc27d7d0d79beccd1df4efbad8edd198a WHIRLPOOL dd4480c01e0c3b415569c6e794eaea2f5a85a40547f02caed51634b85f541449afe232b1d497d2dba2a401c2b89b4157ca38ce85e84312eb8454570f0284a1ef
+MISC ChangeLog 2384 SHA256 31d32978a8072688451bc14f602301f7f3e0db361fa09357b402a0d32889539d SHA512 05d41abf1f56a08d3835e5fef450f508c22254814c0896eef65e7e197d221e7b04526b6e9b426eba25f5bd5cbfbacd92d34b53114728d0afd6e68379558641cb WHIRLPOOL 6f7add836b1bd32dd018bc65b52585b9a8220283d472c2c7e3828cf35a82d3d9f8b896a91816691fd1bde5e9f3ca1483fc4056ede72ae94f00f0c8e19b5a634a
+MISC ChangeLog-2015 5108 SHA256 081ad4d9c423b2882b7f3cc11ccb768e32f9b2f3da2dd7db56359cbf3866037c SHA512 4b62cc821210893eb8d2663cfb89da471fbdb1a2f718dcdd4c6bcdd79a30b0ad7f85ba0833a66a71692de4207eefec271d1e39d71c6ec88649f1e0d671958354 WHIRLPOOL 959175c63a67aef570654f9b4aa5e021974e25fa11fd177ed7dbf5a812c68c49f660beb35c94138c9f3d6ddbc942a4f1ff801fc48dea35b3e940c63ad5fb2f29
+MISC metadata.xml 447 SHA256 7a4fffdf805d7648d3b5238839d9af8f7e61ffeedb47c0745a1d9f41349c1444 SHA512 a4c7656b447d234cdbbc246eb5613667d2943cdf1caeb81649e66afe4e35f5fba0c673344a2a79c464aff17c0eae9e2bbf556ab4d0a8ac4ce2bfee6afbd68dc1 WHIRLPOOL 47b6d3d4f939af764b8d9db9b1b42cddb698ca0c1421b870a5dfe6beabc69096392da03607b2d0ac4b3b807c892df021ccdcbde1b8943b1f00ee40526f997a1b
diff --git a/app-shells/rssh/files/rssh-2.3.4_p3-autotools.patch b/app-shells/rssh/files/rssh-2.3.4_p3-autotools.patch
new file mode 100644
index 000000000000..8030eda525f3
--- /dev/null
+++ b/app-shells/rssh/files/rssh-2.3.4_p3-autotools.patch
@@ -0,0 +1,33 @@
+diff -Naur rssh-2.3.4.orig/configure.ac rssh-2.3.4/configure.ac
+--- rssh-2.3.4.orig/configure.ac 2013-11-15 16:11:21.301056547 -0700
++++ rssh-2.3.4/configure.ac 2013-11-15 16:11:51.471424233 -0700
+@@ -13,12 +13,6 @@
+ AC_PROG_MAKE_SET
+ AC_CHECK_TOOL([STRIP],[strip])
+
+-if test yes = "$GCC" ; then
+- defcflags="-O2 -Wall -Wshadow"
+-else
+- echo "Using default flags"
+-fi
+-
+ # Checks for libraries.
+
+ # Checks for header files.
+diff -Naur rssh-2.3.4.orig/Makefile.am rssh-2.3.4/Makefile.am
+--- rssh-2.3.4.orig/Makefile.am 2013-11-15 16:11:21.301056547 -0700
++++ rssh-2.3.4/Makefile.am 2013-11-15 16:12:28.581876494 -0700
+@@ -15,7 +15,7 @@
+ base=`echo @PACKAGE_STRING@|tr " " "-"`
+
+ install-exec-hook:
+- chmod u+s $(libexecdir)/rssh_chroot_helper
++ chmod u+s $(DESTDIR)/$(libexecdir)/rssh_chroot_helper
+
+ rpm: dist
+ rpmbuild -ta --sign $(base).tar.gz
+@@ -24,3 +24,4 @@
+ gpg -ba --default-key ddm@pizzashack.org $(base).tar.gz
+ mv $(base).tar.gz.asc $(base).tar.gz.sig
+
++AM_CPPFLAGS += -I. -I$(srcdir)
diff --git a/app-shells/rssh/metadata.xml b/app-shells/rssh/metadata.xml
new file mode 100644
index 000000000000..899d5f85d4e1
--- /dev/null
+++ b/app-shells/rssh/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>opensource@andmarios.com</email>
+ <name>Marios Andreopoulos</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>junghans@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">rssh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/rssh/rssh-2.3.4.ebuild b/app-shells/rssh/rssh-2.3.4.ebuild
new file mode 100644
index 000000000000..c7f65ae63eff
--- /dev/null
+++ b/app-shells/rssh/rssh-2.3.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils multilib
+
+DESCRIPTION="Restricted shell for SSHd"
+HOMEPAGE="http://rssh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/rssh/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+IUSE="static"
+
+RDEPEND="virtual/ssh"
+
+src_prepare() {
+ epatch_user
+
+ sed -i 's:chmod u+s $(:chmod u+s $(DESTDIR)$(:' Makefile.in || die
+ # respect CFLAGS, bug #450458
+ sed -i -e '/$(CC) -c/s/$(CPPFLAGS)/$(CFLAGS)/' Makefile.in || die
+}
+
+src_configure() {
+ econf \
+ --libexecdir="/usr/$(get_libdir)/misc" \
+ --with-scp=/usr/bin/scp \
+ --with-sftp-server="/usr/$(get_libdir)/misc/sftp-server" \
+ $(use_enable static)
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog CHROOT INSTALL README TODO
+}
diff --git a/app-shells/rssh/rssh-2.3.4_p3.ebuild b/app-shells/rssh/rssh-2.3.4_p3.ebuild
new file mode 100644
index 000000000000..d122e75c3c05
--- /dev/null
+++ b/app-shells/rssh/rssh-2.3.4_p3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools-utils multilib
+
+DESCRIPTION="Restricted shell for SSHd"
+HOMEPAGE="http://rssh.sourceforge.net/"
+MY_P="${P/%_p*}"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p/-}.debian.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="static subversion"
+
+RDEPEND="virtual/ssh"
+
+S="${WORKDIR}/${MY_P}"
+DOCS=( AUTHORS ChangeLog CHROOT INSTALL README TODO )
+
+src_prepare() {
+ epatch "${WORKDIR}"/debian/patches/fixes/*.diff "${FILESDIR}/${P}"-autotools.patch
+ use subversion && epatch "${WORKDIR}"/debian/patches/features/subversion.diff
+ AUTOTOOLS_AUTORECONF=1 autotools-utils_src_prepare #due to debian patches
+}
+
+src_configure() {
+ local myeconfargs=(
+ --libexecdir="/usr/$(get_libdir)/misc"
+ --with-scp=/usr/bin/scp
+ --with-sftp-server="/usr/$(get_libdir)/misc/sftp-server"
+ $(use_enable static)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use subversion && [[ -f "${EROOT}"/etc/rssh.conf ]]; then
+ awk -f conf_convert "${EROOT}"/etc/rssh.conf > "${T}/rssh.conf" || die
+ insinto /etc
+ doins "${T}/rssh.conf"
+ fi
+}
diff --git a/app-shells/rust-zshcomp/Manifest b/app-shells/rust-zshcomp/Manifest
new file mode 100644
index 000000000000..f63d5eefa316
--- /dev/null
+++ b/app-shells/rust-zshcomp/Manifest
@@ -0,0 +1,5 @@
+DIST rust-zshcomp-1_beta20150411.tar.gz 4738 SHA256 b1ce0836aa12e9f176c1d710d5975e1b5025d14095b622aa9f417f34b1877538 SHA512 84231fba6abdc1117f05be16b32a641e2a2334873be28185f4b748bdc1cf664f70e3e5a761d9cc25a879bd7df4fb8f8fddb3114be355d8b91e3c2a0f49739f3c WHIRLPOOL 56b2918f2c24eb2753d8f3060582b2d55194832bbf0ba7ae5265ce801dda2049f29e4201197b02c5968e1e6b0f335c1106611a5f3f5cbaa1f3b00953dc2f1a50
+EBUILD rust-zshcomp-1_beta20150411.ebuild 479 SHA256 627fda383b676ac8b687dd48b6d24717fdf48fa13484fb1c27db6f108e3038b4 SHA512 2e9cb346298979f94917c6b6941081b9dfb33c4eceac6e89fc6c611c16064004acd805498586b108a5d8850df018e33325979f211ad768728b420270b3ef32d9 WHIRLPOOL 7ca6d6e6860c97eb7007c2ba7819e25a437c28f794b03365c5467a2d7ddd38d7cd517bfb3cda5ef868abc4105526bd05188c94f61b61206a2ea979ce0ddfeab9
+MISC ChangeLog 2370 SHA256 2ad40ea50ec2b4ebbc20b916691ceaf3e398a321b242668eb971b00272725e55 SHA512 8d827474704b03a7becc157e975411757844ce1e441df151afa36ab49fe347869c542080f9f30cd75cbad5bd90321061b7c8d5a0921e4adcf6bf0dfc90dd2ce1 WHIRLPOOL 9eb63e4f797a09a87c5851046cc449a21c1410eec2029d379d29d3e7afc14674e805e1507ab07a429aecabcc99d11a9ab381385f613226f5ba591186b4bf9820
+MISC ChangeLog-2015 1128 SHA256 765383006345cc04aca44efc21dc6ec61e03bc31dee0c8c354f17be4ce459f2d SHA512 fe8a60b0145bd8e8232d7061c6041f3f21ff908552b81de9fbc14dec16b1bd8057e3aa4bc7f37b1491426c784cd0b287f76a150bbbc12bbad1e00235e6224964 WHIRLPOOL d531a80f3beb776f4dc7238fb4992baf5788ab3ab9f30c25fe90da8219382c21cef1b17d2480614b140afea380f8a4f12da4587a651bd1c492fefd6cdb5d788f
+MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/app-shells/rust-zshcomp/metadata.xml b/app-shells/rust-zshcomp/metadata.xml
new file mode 100644
index 000000000000..097975e3adc2
--- /dev/null
+++ b/app-shells/rust-zshcomp/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
diff --git a/app-shells/rust-zshcomp/rust-zshcomp-1_beta20150411.ebuild b/app-shells/rust-zshcomp/rust-zshcomp-1_beta20150411.ebuild
new file mode 100644
index 000000000000..07e17e30fbe1
--- /dev/null
+++ b/app-shells/rust-zshcomp/rust-zshcomp-1_beta20150411.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="Rust zsh completions"
+HOMEPAGE="http://www.rust-lang.org/"
+SRC_URI="https://dev.gentoo.org/~jauhien/distfiles/${P}.tar.gz"
+
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-shells/zsh"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins _rust
+}
diff --git a/app-shells/sash/Manifest b/app-shells/sash/Manifest
new file mode 100644
index 000000000000..d7f40d58ff8e
--- /dev/null
+++ b/app-shells/sash/Manifest
@@ -0,0 +1,6 @@
+AUX sash-3.7-builtin.patch 465 SHA256 ce968bfe95a2444fae473f678e4394b4acea2b7510b48ba63b554d2537de1bf1 SHA512 3c278b7a6570195d62aee65582edffa74e12a68cd684b7855256083b45c99a5a8f6506e2c59ab4edbd1ba094e7d512dfe7c90a79945f2be5261a5975d5b95d23 WHIRLPOOL 13b77b280d1a08bba3636c50a1b196d1459add18f0fa76dcd04d1b4035c3895bd0a51736f7554ba3cf16e99ffa77c4a0b2f8685041ffcb7ec32516b1e12d9d59
+DIST sash-3.8.tar.gz 53049 SHA256 13c4f9a911526949096bf543c21a41149e6b037061193b15ba6b707eea7b6579 SHA512 e544721dbb5d13d2184531a2caa4b90fb29fc360e2b80f64adb2433cbe4e5588171f3567bde03b520fbe7cbd0f3007e0e9c9c41cb16570709b03cedc2dfbe291 WHIRLPOOL a866e254f1beb0b87591875992871b2e223fd72a0386fdff60bf1c6151a29e5d85d0fc72f9af75953a78b5f5b15eb8cc6587b0e2a0c5b6c62b9b08f69d469c5e
+EBUILD sash-3.8.ebuild 943 SHA256 546789021ec41ef71a73cdcd88c7215495c445346aeb2829d20e5be98c1932a5 SHA512 cea96aa1f7cbe08ec8a06ca668e0a09dc1348a09adf64b671b09d8f14aa4fb98a8c0b60e71e41ddfcf07a5b2cfd52122276adbf6605f94d60ac75fec81ce13e3 WHIRLPOOL ab167f82b654f5b7b27e6dc7ff10fea9cce1933eb3c3207559afa20def3b8abff21a3e27c3d2806e091db461868ffdf33538fa83b7a0c656e5fd48de2a296877
+MISC ChangeLog 2542 SHA256 e73337d01c97b7c8c26df78ada1ca70f08e48c37654e1ff2f72047c6c42aa76d SHA512 04a32ac21a82173136d5c4064162a244262578adb5674e2840f2a32e014c2408ddcfce29595d268e570e275e51bb32655dab0dfd74c370f1c7a60790542aa4f2 WHIRLPOOL ad33d2f81f4c580ce3e3143341973c841d36ddc8e9638097c341fd96bca4cb4498435a892dd59b7658e8981f1b5f0f2b3ec8ca98bd5ec1b66e847dab5240ac94
+MISC ChangeLog-2015 7648 SHA256 8975329ec053a5b6698d3f1f9dffc4fb7a722ca9d110797786a90bbe0aa5934d SHA512 31f920e01aa6c3ecde4bd5bcb465317b7ad34be950fdfd2569d48f205965f022bbf6a0f7d701ae2a9639f61bac0f9f559367ec86949cc161f8bcdb4b0c648662 WHIRLPOOL 7cf0368e1a6216ff2712db98f752382d1b6ee4614a5ba1a69ff1c5b38f25a27e28b28b17926f0f1fa4bdf9cf1246d54716ad108343d76b2b9b55a40c5012452f
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-shells/sash/files/sash-3.7-builtin.patch b/app-shells/sash/files/sash-3.7-builtin.patch
new file mode 100644
index 000000000000..be943063efdf
--- /dev/null
+++ b/app-shells/sash/files/sash-3.7-builtin.patch
@@ -0,0 +1,14 @@
+diff -Nrup sash-3.7.orig/sash.c sash-3.7/sash.c
+--- sash-3.7.orig/sash.c 2004-01-14 00:08:03.000000000 -0500
++++ sash-3.7/sash.c 2004-10-31 00:05:59.000000000 -0400
+@@ -739,6 +739,10 @@ tryBuiltIn(const char * cmd)
+ while (*endCmd && !isBlank(*endCmd))
+ endCmd++;
+
++ /* FIXME: command line will segv with -c 12000bytes -solar */
++ if ((endCmd - cmd) >= sizeof(cmdName))
++ return FALSE;
++
+ memcpy(cmdName, cmd, endCmd - cmd);
+
+ cmdName[endCmd - cmd] = '\0';
diff --git a/app-shells/sash/metadata.xml b/app-shells/sash/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-shells/sash/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-shells/sash/sash-3.8.ebuild b/app-shells/sash/sash-3.8.ebuild
new file mode 100644
index 000000000000..6c2ee580ce04
--- /dev/null
+++ b/app-shells/sash/sash-3.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="A small (static) UNIX Shell"
+HOMEPAGE="http://www.canb.auug.org.au/~dbell/"
+SRC_URI="http://www.canb.auug.org.au/~dbell/programs/${P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
+IUSE="static"
+
+DEPEND="
+ static? ( sys-libs/zlib[static-libs] )
+ !static? ( >=sys-libs/zlib-1.2.3 )"
+RDEPEND="!static? ( ${DEPEND} )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/sash-3.7-builtin.patch
+
+ sed \
+ -e "s:-O3:${CFLAGS}:" \
+ -e '/strip/d' \
+ -i Makefile || die
+ sed \
+ -e 's:linux/ext2_fs.h:ext2fs/ext2_fs.h:g' \
+ -i cmd_chattr.c || die
+}
+
+src_compile() {
+ use static && append-ldflags -static
+
+ emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
+}
+
+src_install() {
+ into /
+ dobin sash
+ doman sash.1
+ dodoc README
+}
diff --git a/app-shells/scsh-install-lib/Manifest b/app-shells/scsh-install-lib/Manifest
new file mode 100644
index 000000000000..7d61f4ac88db
--- /dev/null
+++ b/app-shells/scsh-install-lib/Manifest
@@ -0,0 +1,6 @@
+DIST scsh-install-lib-1.3.0.tar.gz 142852 SHA256 7e536cf11ac309b0ddab797a53211d5dcea55cf47835cfb15626577411ec14ef SHA512 ec9069e7ceb6fe316c8b0d1baf1903f2ce1fa2f3f79dc1bf8356b8064c0596e92c8bbc889c7d27b6456a2a0c49dde984536a05987baccc05f4724992cf90ca98 WHIRLPOOL 391952c84839e304c0cad8b0b109a75223029b1301206696615e5c0a9ed34151bacce4c264f41f76b7ff84a6c75555a4daaaa0a6efcde08f317aaaf8a7869d29
+EBUILD scsh-install-lib-1.3.0-r1.ebuild 550 SHA256 85465086ad3e8a8309c65a25684ac4162865ff57e3e614b832f16e6288f4297d SHA512 7a249b019156b42cc1a308f1f3dbdf0c535b4966eacf11d7b3cee376b7506aae0c46733ebb812b0b8b94d56df1f92601fb4511ceb2470fe32018c70f3175222a WHIRLPOOL d259dd2479b19d484b7a43e673e7a086b8680422d600aeceea94cb0b214d721394c1260ec311779cef5b4ea95550fc0c1964a1d524e9bbae2eace4ed891246f4
+EBUILD scsh-install-lib-1.3.0.ebuild 539 SHA256 9db065d8c87a6b89adedbb830aa8d51ec6a3789d671deb7fc378c2664f30e038 SHA512 94d89426f86a257375cb1f21a44e4534467be4d9be2def2d09c3caaeb92630207f64ba1e5e6b873d14d11d19e6b181eb74ed64b49bcc590fa2b438a92a548da7 WHIRLPOOL 6e8ded6b21204adf5bfe340bd2ef7af1dabf04fbea76aac0db2bc5f8a9d4bbd2625a2b4d143063f2f6d0c4161ef1f10900b910801fb11c61181d37923f49ff93
+MISC ChangeLog 3178 SHA256 d0c905ba53d7e349f79364b3b9644a99dce0600332c016abacd65a5118b25b3b SHA512 944830cf4c67448f11aebed40a4a17ae0e61122afaead9700ad125bb905019bdef72b1f75739b8bf455e13d8744bac984d8e26a2f6b097c4c918d09d37c7daeb WHIRLPOOL 0bc25d306c748521593d733d637578afe356593b7acb85ff8e295b5fd48475bd4d741c6b11c302d23a0a178a5dcd59d82ddf29f2af5a8ddd76a99c525768a720
+MISC ChangeLog-2015 1080 SHA256 3abced261c25a5182fc42caef9e04fdd3530f41f86215739b84c3451b6a7fddd SHA512 523da4f1c68195d27793fff6cf36be99445b2b8b2bafc984e41b5726abb763ee834970ead95c0d18b0672098086a3f8f4ce22dd79f49b3f167a54096a8429697 WHIRLPOOL e210ede8c798de79e4e80e9b73489607a78b28f7d45ce38b126d1bbac06e55f982f94862fa135c7299f01d06bff95e071920175e375385d5e7cc85f606d09763
+MISC metadata.xml 324 SHA256 9c9341806ed078635b70049c22d5ad974301b799937fe19b9dcfc1a7c0475d9f SHA512 0198582317489cd91e7c4c372ae3b4f79a1207decfd1a6c4481dd6d1e978f5ba82857ce214be9f28cbe1924d47023b72e454ebbfb41d767e7a508b68253b8a08 WHIRLPOOL acca26e01e5fd433f1d73349d6252dcf65df6cabe92ceafbd5b51a932f80d2bcd10ba520dad04ba2a79f0aac190b675480f68741dd48c634520b8795f0cc1b09
diff --git a/app-shells/scsh-install-lib/metadata.xml b/app-shells/scsh-install-lib/metadata.xml
new file mode 100644
index 000000000000..927b82bf6309
--- /dev/null
+++ b/app-shells/scsh-install-lib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+</maintainer>
+<use>
+ <flag name="scsh">Use a non-FHS directory layout</flag>
+</use>
+</pkgmetadata>
diff --git a/app-shells/scsh-install-lib/scsh-install-lib-1.3.0-r1.ebuild b/app-shells/scsh-install-lib/scsh-install-lib-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..9425632d4ca4
--- /dev/null
+++ b/app-shells/scsh-install-lib/scsh-install-lib-1.3.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit scsh
+
+DESCRIPTION="Installation tool for the Scheme Untergrund Library"
+HOMEPAGE="http://lamp.epfl.ch/~schinz/scsh_packages/"
+SRC_URI="http://lamp.epfl.ch/~schinz/scsh_packages/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=app-shells/scsh-0.6.6"
+
+src_install() {
+ dodir "${SCSH_MODULES_PATH}"
+ ./install.scm ${SCSH_LAYOUT_CONF} \
+ --bindir /usr/bin \
+ --force \
+ || die "./install.scm failed"
+}
diff --git a/app-shells/scsh-install-lib/scsh-install-lib-1.3.0.ebuild b/app-shells/scsh-install-lib/scsh-install-lib-1.3.0.ebuild
new file mode 100644
index 000000000000..c3192ab1ff53
--- /dev/null
+++ b/app-shells/scsh-install-lib/scsh-install-lib-1.3.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit scsh
+
+DESCRIPTION="Installation tool for the Scheme Untergrund Library"
+HOMEPAGE="http://lamp.epfl.ch/~schinz/scsh_packages/"
+SRC_URI="http://lamp.epfl.ch/~schinz/scsh_packages/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=app-shells/scsh-0.6.6"
+
+src_install() {
+ dodir $SCSH_MODULES_PATH
+ ./install.scm ${SCSH_LAYOUT_CONF} \
+ --bindir /usr/bin \
+ --force \
+ || die "./install.scm failed"
+}
diff --git a/app-shells/scsh/Manifest b/app-shells/scsh/Manifest
new file mode 100644
index 000000000000..cfa82cfd33ea
--- /dev/null
+++ b/app-shells/scsh/Manifest
@@ -0,0 +1,10 @@
+AUX 0.6.7-Makefile.in-LDFLAGS.patch 373 SHA256 a814fb4c2669b608e9f5d5fb430f4dd8049ca341944f7f69e3f5ba84656b8be6 SHA512 8fb2601c665494f761f053ceb533d1008863d661ffcd7e8b66901db31dc08329b31274d6556ee353468b7a35b15a28495c92062a11610f059f4c9c71edc985ae WHIRLPOOL 340ca15e24ff5f8d726489daa4074a3cbadf67002ffc2591db28047a8b526bd43a62ce985a7a8ad62e6f24311ae7cdd7aa4829872ae89203968449b8742c0bb1
+AUX 0.6.7-Makefile.in-doc-dir-gentoo.patch 4100 SHA256 b66f64da00228e4bbc69b7b0422a296edcf36a73c82fc841ac422770ccf46451 SHA512 e2b647cb89f6972aece5172eea7f186bc9181b80138c7860972deb615959256eed4e99a5ff939a4e50ee6fae1de6e5cd870592f468749fc0df8d2a24e0ad0ee0 WHIRLPOOL 2bebe135ac8edfd67dd75d0602224504161ff03f44a2e20aa255bcae63b122e0b7844900a56a186eaa01526cabf267c0c034c6b4abe5962a73a1333b89a2f7f4
+AUX 0.6.7-Missing-includes.patch 583 SHA256 56ba1f9113215b894d0652c2e7033a11e6e0ba7150c5c6c0aa285fc36c1030a8 SHA512 dfe27f640d0b8c1e430be67ee0ca326720063ea3254d2c7ad91a9dc1de17cc32fac4158897250744de219b35665d1e74aa4ab3b64d3b323cf1bef1f560ffbc02 WHIRLPOOL 2325022ebc5a2da0f6966ce1c5c10e48075d5b9867d9556129964d932e40e993eda8e6a51152b4048b7ef24ad504f3bdb8034b1ae43f4724652d7fc5ca59a3bd
+DIST scsh-0.6.7.tar.gz 4367439 SHA256 c4a9f7df2a0bb7a7aa3dafc918aa9e9a566d4ad33a55f0192889de172d1ddb7f SHA512 d769b3d70afe813a3d25ef1b77d8dbc549b379ca41b0748cd90791408a36b33ed3ce08937bfd925bab411785aa671761d79bbf2edd9caf0c3ea6c44d90f4b6ea WHIRLPOOL f3d990385b1635d44104f275909803cd08795dd309c183826437be0ab796ca13afca874a6c716d5248facb64d4daae088bd5e558b2da5c6c70432069dc034381
+EBUILD scsh-0.6.7-r1.ebuild 1000 SHA256 cabb688f4738357306de6bc68980ee71ff392f871a21fb539f9f33f0e4ddfd4b SHA512 0e6a64c7b504c6048e39b3ab97cfe5e51a0dd5e927e5f09ce7272214348584a270bc383d5d61e53ca7902f8cb0dde6f3ed87ed0633d4e3f955fe63b49fb5ca44 WHIRLPOOL 4562c2076b8170a57a424489c0016da25639e56a7845461de9728d43a17ed57250f45a52f669552c3342cca2b47bf258293ab835d83fb90aec21dcdc755c115a
+EBUILD scsh-0.6.7-r2.ebuild 1009 SHA256 e69f43e36365244fe602a04933383b5200bcf0013eb4a89f65ac8b0c43a6fee7 SHA512 e7b471dde1cde647ce36e5c8ab31a0dbbd880a2f69ae54a6a5ca3646845851094c588b612b93c78fee3d9b4deeb5e6ffcbcc08d6111ad67355d73dd9a696cd94 WHIRLPOOL 30d6ff9fbd137981d0fbf56be70606f5cbd79f3f1d1e7790ebe7bb5605738526b1fd24b7d34a07772ed261e08ac1a05d66cbdc2245fe9e482a200a564f31d65c
+EBUILD scsh-0.6.7.ebuild 892 SHA256 9064cf7f6b27289d64a637573dd9330ca3f482d824943a48c3cec07f2789c794 SHA512 d62a044d179ac8f18ee5e08f5041f6865ef1bf58f206d18e3f195fd17485d29a73c60de62b6e0096c6e15cfcc0f815070bf761ce00bd5f6ab8c9d9b74ac170af WHIRLPOOL abc1ca3594efa9dd31f6dcea22418ceee23dd5c43f66869210d5e144d3f64f2fa9c6aad9a2239cf8df54d2b6b3f2b806c842baafa5c5ff849bc87459b3924cc4
+MISC ChangeLog 3147 SHA256 453700d14f907bbddd12e5ddc5afc8fb834261939c28a861ba57882a37afc0ce SHA512 ccf7a5ee4af69e25908ed0168cda3a3118941ead0176b97c5abbaa635fc4f8a3129184c7d42b39474be453b164b0c3a0d739423a5a80ca599d2ca7e9988a6ff7 WHIRLPOOL 54b5acb2c8047b91a3a618cc663c8db3d18b3164270c514b1aa1452c416723d0fbe0f14d87f4edd7e7e48b822ac9c125812fef4b924346c1275339a6c27fb919
+MISC ChangeLog-2015 4663 SHA256 347eb0bd8be556ab252278429025c944f7fb97431394c064e6c4d0eac39b0a75 SHA512 c52b692717d2acb69859243f3a1bb13d7d4dfc72bdd023f3d0c46f9be912008da1958f194ae834246e6a81899598852065e03c06028271366c83e410e0687b98 WHIRLPOOL b0a6c319c0f83c8c0d37a5a93bff651fd13bb092b0fc6b1b7802f17861e63fa4424e2a57b0f55fda3db1d8ef04afddf99883e2bc6e012eeb49e427a8cdf91f49
+MISC metadata.xml 1063 SHA256 49e80c536f3324b9f93457026e7f5a84854e3a354bcedd238c6840d5fd775ca2 SHA512 ba154087b35e266ce60888d7e411a498a05f2ac177926d15ed12461c7e3de17186a9335814ee165a6a13d9de20351f981b040da6078f0a5836f7a234b1797ffa WHIRLPOOL cc81a66d1d252a4ab78b0f87f730455ee649a061560b351aca1ca50e619451f649c5c81cabc06ea33208a7d909e4fb246096900796e288b2484e41560e966674
diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch b/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch
new file mode 100644
index 000000000000..34d54a53c3aa
--- /dev/null
+++ b/app-shells/scsh/files/0.6.7-Makefile.in-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in.orig 2010-08-11 16:55:09.246939884 +0200
++++ b/Makefile.in 2010-08-11 16:55:31.309819842 +0200
+@@ -853,7 +853,7 @@
+ cig/libcig.c: cig/libcig.scm
+
+ scsh/scsh: scsh/scsh-tramp.c
+- $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) \
++ $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
+ -DVM=\"$(LIB)/$(VM)\" \
+ -DIMAGE=\"$(LIB)/scsh.image\" \
+ $(srcdir)/scsh/scsh-tramp.c
diff --git a/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch
new file mode 100644
index 000000000000..d32e24b4e4b0
--- /dev/null
+++ b/app-shells/scsh/files/0.6.7-Makefile.in-doc-dir-gentoo.patch
@@ -0,0 +1,93 @@
+--- a/Makefile.in.orig 2004-09-24 01:43:55.743685848 +0200
++++ b/Makefile.in 2004-09-24 01:43:55.745685544 +0200
+@@ -33,7 +33,7 @@
+ host = @host@
+ ### End of `configure' section###
+
+-htmldir = $(libdir)/scsh/doc/scsh-manual/html
++htmldir = /usr/share/doc/scsh-0.6.7/scsh-manual/html
+
+ # HP 9000 series, if you don't have gcc
+ # CC = cc
+@@ -358,38 +358,38 @@
+ done
+
+ inst-doc:
+- for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
+- $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/; \
++ for f in $(srcdir)/doc/*.txt $(srcdir)/doc/*.ps; do \
++ $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/; \
+ done && \
+ for f in $(srcdir)/doc/src/*.tex \
+ $(srcdir)/doc/src/*.dvi \
+ $(srcdir)/doc/src/*.ps; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/;\
+ done && \
+ for f in $(srcdir)/doc/src/manual/*.html; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/s48-manual/html/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/s48-manual/html/;\
+ done && \
+ for f in $(srcdir)/doc/scsh-manual/*.tex \
+ $(srcdir)/doc/scsh-manual/*.sty \
+ $(srcdir)/doc/scsh-manual/*.dvi \
+ $(srcdir)/doc/scsh-manual/*.ps \
+ $(srcdir)/doc/scsh-manual/*.pdf; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-manual/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-manual/;\
+ done && \
+ for f in $(srcdir)/doc/scsh-manual/html/*.html \
+ $(srcdir)/doc/scsh-manual/html/*.gif \
+ $(srcdir)/doc/scsh-manual/html/*.css; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir)/; \
+ done && \
+ for f in $(srcdir)/doc/scsh-paper/*.tex \
+ $(srcdir)/doc/scsh-paper/*.sty \
+ $(srcdir)/doc/scsh-paper/*.dvi \
+ $(srcdir)/doc/scsh-paper/*.ps; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/; \
+ done && \
+ for f in $(srcdir)/doc/scsh-paper/html/*.html \
+ $(srcdir)/doc/scsh-paper/html/*.css; \
+- do $(INSTALL_DATA) $$f $(DESTDIR)$(LIB)/doc/scsh-paper/html; \
++ do $(INSTALL_DATA) $$f $(DESTDIR)/usr/share/doc/scsh-0.6.7/scsh-paper/html/;\
+ done
+
+
+@@ -412,19 +412,21 @@
+ chmod +x $@
+
+ dirs:
+- for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); do\
+- { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } || { \
+- echo "$(DESTDIR)$$dir not a writable directory" >&2; \
+- exit 1; \
+- } \
+- done && \
+- for dir in \
+- rts env big opt misc link srfi scsh doc/scsh-manual \
+- doc/s48-manual/html doc/scsh-paper/html cig; do \
+- { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ]; } || { \
+- echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; \
+- exit 1; \
+- }; \
++ for dir in $(libdir) $(bindir) $(incdir) $(LIB) $(mandir) $(htmldir); \
++ do \
++ { mkdir -p $(DESTDIR)$$dir && [ -w $(DESTDIR)$$dir ]; } \
++ || { echo "$(DESTDIR)$$dir not a writable directory" >&2; exit 1; }; \
++ done && \
++ for dir in rts env big opt misc link srfi scsh; \
++ do \
++ { mkdir -p $(DESTDIR)$(LIB)/$$dir && [ -w $(DESTDIR)$(LIB)/$$dir ];} \
++ || { echo "$(DESTDIR)$(LIB)/$$dir not a writable directory" >&2; exit 1;};\
++ done && \
++ for dir in \
++ scsh-manual/html s48-manual/html scsh-paper/html cig; do \
++ { mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir; } \
++ || { echo "mkdir -p $(DESTDIR)/usr/share/doc/scsh-0.6.7/$$dir failed" >&2;\
++ exit 1;}; \
+ done
+
+ configure: configure.in
diff --git a/app-shells/scsh/files/0.6.7-Missing-includes.patch b/app-shells/scsh/files/0.6.7-Missing-includes.patch
new file mode 100644
index 000000000000..33bb5529d251
--- /dev/null
+++ b/app-shells/scsh/files/0.6.7-Missing-includes.patch
@@ -0,0 +1,22 @@
+diff -r 3dd93fcbca44 c/unix/dynamo.c
+--- a/c/unix/dynamo.c Wed Aug 11 17:02:46 2010 +0200
++++ b/c/unix/dynamo.c Wed Aug 11 17:04:34 2010 +0200
+@@ -5,6 +5,7 @@
+
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <string.h>
+ #include "sysdep.h"
+ #include "scheme48.h"
+
+diff -r 3dd93fcbca44 c/unix/socket.c
+--- a/c/unix/socket.c Wed Aug 11 17:02:46 2010 +0200
++++ b/c/unix/socket.c Wed Aug 11 17:04:34 2010 +0200
+@@ -8,6 +8,7 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/param.h>
++#include <malloc.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <netdb.h>
diff --git a/app-shells/scsh/metadata.xml b/app-shells/scsh/metadata.xml
new file mode 100644
index 000000000000..317ccdbc4337
--- /dev/null
+++ b/app-shells/scsh/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>scheme@gentoo.org</email>
+ <name>Gentoo Scheme Project</name>
+</maintainer>
+<longdescription>
+Scsh has two main components: a process notation for running programs
+and setting up pipelines and redirections, and a complete syscall
+library for low-level access to the operating system, i.e. to POSIX,
+the least common denominator of more or less all Unices, plus widely
+supported extensions such as symbolic links and BSD sockets.
+
+Moreover, scsh provides an awk facility for pattern-directed
+computation over streams of records, a rich facility for matching
+regular-expression patterns in strings, event-based interrupt
+handling, user-level threads, a futuristic module system, and an
+interactive environment.
+
+Scsh comes with extensive documentation describing these and other
+features.
+</longdescription>
+<!--
+<use>
+ <flag name='scsh'>Use a non-FHS directory layout</flag>
+</use>
+-->
+</pkgmetadata>
diff --git a/app-shells/scsh/scsh-0.6.7-r1.ebuild b/app-shells/scsh/scsh-0.6.7-r1.ebuild
new file mode 100644
index 000000000000..eda1276277a6
--- /dev/null
+++ b/app-shells/scsh/scsh-0.6.7-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils multilib
+
+MY_PV="${PV%*.*}"
+
+DESCRIPTION="Unix shell embedded in Scheme"
+HOMEPAGE="http://www.scsh.net/"
+SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="!dev-scheme/scheme48"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-Makefile.in-doc-dir-gentoo.patch"
+ epatch "${FILESDIR}/${PV}-Makefile.in-LDFLAGS.patch"
+ epatch "${FILESDIR}/${PV}-Missing-includes.patch"
+}
+
+src_configure() {
+ use amd64 && multilib_toolchain_setup x86
+ SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}"
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --includedir=/usr/include \
+ --with-lib-dirs-list=${SCSH_LIB_DIRS}
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed."
+
+ local ENVD="${T}/50scsh"
+ echo "SCSH_LIB_DIRS=\"${SCSH_LIB_DIRS}\"" > "${ENVD}"
+ doenvd "${ENVD}"
+}
diff --git a/app-shells/scsh/scsh-0.6.7-r2.ebuild b/app-shells/scsh/scsh-0.6.7-r2.ebuild
new file mode 100644
index 000000000000..b1910140c902
--- /dev/null
+++ b/app-shells/scsh/scsh-0.6.7-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib
+
+MY_PV="${PV%*.*}"
+
+DESCRIPTION="Unix shell embedded in Scheme"
+HOMEPAGE="http://www.scsh.net/"
+SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="!dev-scheme/scheme48"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-Makefile.in-doc-dir-gentoo.patch"
+ "${FILESDIR}/${PV}-Makefile.in-LDFLAGS.patch"
+ "${FILESDIR}/${PV}-Missing-includes.patch"
+)
+
+RESTRICT="test" # some tests don't pass.
+
+src_prepare() {
+ default
+}
+
+src_configure() {
+ use amd64 && multilib_toolchain_setup x86
+ SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}"
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --includedir=/usr/include \
+ --with-lib-dirs-list=${SCSH_LIB_DIRS}
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ local ENVD="${T}/50scsh"
+ echo "SCSH_LIB_DIRS=\"${SCSH_LIB_DIRS}\"" > "${ENVD}" || die
+ doenvd "${ENVD}"
+}
diff --git a/app-shells/scsh/scsh-0.6.7.ebuild b/app-shells/scsh/scsh-0.6.7.ebuild
new file mode 100644
index 000000000000..d32f9236bbff
--- /dev/null
+++ b/app-shells/scsh/scsh-0.6.7.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit eutils multilib
+
+MY_PV="${PV%*.*}"
+
+DESCRIPTION="Unix shell embedded in Scheme"
+HOMEPAGE="http://www.scsh.net/"
+SRC_URI="ftp://ftp.scsh.net/pub/scsh/${MY_PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ppc sparc x86"
+IUSE=""
+
+DEPEND="!dev-scheme/scheme48"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-Makefile.in-doc-dir-gentoo.patch"
+}
+
+src_configure() {
+ use amd64 && multilib_toolchain_setup x86
+ SCSH_LIB_DIRS="/usr/$(get_libdir)/${PN}"
+ econf \
+ --libdir=/usr/$(get_libdir) \
+ --includedir=/usr/include \
+ --with-lib-dirs-list=${SCSH_LIB_DIRS}
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed."
+
+ local ENVD="${T}/50scsh"
+ echo "SCSH_LIB_DIRS=\"${SCSH_LIB_DIRS}\"" > "${ENVD}"
+ doenvd "${ENVD}"
+}
diff --git a/app-shells/shish/Manifest b/app-shells/shish/Manifest
new file mode 100644
index 000000000000..16f2713a6216
--- /dev/null
+++ b/app-shells/shish/Manifest
@@ -0,0 +1,5 @@
+DIST shish-0.7-pre3.tar.bz2 189207 SHA256 6f50054485675f710b80bbee7e847c14c51ff495d1308ab69e647eb01d53bab1 SHA512 b8269394a3b2a06d1ab48224b81c041ffa4b0a08d6849fc8081fad38aad34e179c12198a1b8e94703cf17e029f88068af87ffd2ef4051ff8e24886fa96b39c98 WHIRLPOOL b9d398b0ab513a3edc8cb7b7b1ccadd3dcb699eed20919f3db356e16b9cf07cba70eeb508c27b8432b4277ab1191bc7f8e2e635cf5127b2433d03930d9497659
+EBUILD shish-0.7_pre3-r1.ebuild 1124 SHA256 a3f300d25d21d71fe8d2ce4494af1c784aef006900b9793d2c8cc2fba809b4ce SHA512 10b5f2efa21a3972be694a020fe7224837b07548c0aa3b1776135dacebc14d493b5d7737e68a19fa2345f42f07ee324d650ec29195fe775d8cf22c33af6c3d3e WHIRLPOOL f3bddd753836b89185d0b1993d59cc242c3b3fbf521db714ec6b02b68b146b41bf8ed625474d2f40b12f7528d0e2a652f52c2c6a2daba3afa84d43520768e0dc
+MISC ChangeLog 2923 SHA256 3552d090495a5f897865ed2326f352432d3cc454de8db2a152f244aef87faf98 SHA512 68e4d2c379c08dd91f5b6935173835b46eb5c777cf7d9d60e2a063b149ad4daeaf8396f36c3a561c5a662cda65f6187d019e1e9a9139ebc922efbf56a290d4e8 WHIRLPOOL 7111be0a42d5e11b7bda9612fe668a004cdeff4211bdab38ac31eec3547d48d050f61106a39519b2aff78840de744309dc8d91f72a4562eb2fd14b1f0172a82a
+MISC ChangeLog-2015 1397 SHA256 54e700c18f07d4106ad82cdbc20ffbecb8b30e277a2c263db90513bd27108d22 SHA512 2f0989b1e6e7f58e5f1dae22bbfe40730cc49f8a2088e5778e552005d6c47500cd1d150fc1a3519b2c21732de03a13057b6cda48c007ba5d2faffb28cc2489c1 WHIRLPOOL b0f688abe3ce9eee565f728023aac85bb2dd64c9455d7ffa6cfd21e9e6891eb599e50a3276dc1d94cfa4bbfd7eaa4c35e558615ce4338ab577dc30c700fa9e79
+MISC metadata.xml 239 SHA256 0e7943d348bf4906d70b53aaa5d0eebda7d55f74084f206ee0a56cbcfb7ccd58 SHA512 4103ab440f482f120bfa4fee4954d61fe78f020f7d15da74294223ea361a4d952495c71533ced054585c7001fb213d93a554f3caf4538f973bd7e7ce371f5398 WHIRLPOOL 64dc3a9a901cc637f5e649db0d886d9027e958c6e91fa9f8c978ac3c0fc4ab6f4b2dc7430a7c38dde48c597a3e555a80b011a2d17dde9bc4440b2e07df90f203
diff --git a/app-shells/shish/metadata.xml b/app-shells/shish/metadata.xml
new file mode 100644
index 000000000000..179101b2099b
--- /dev/null
+++ b/app-shells/shish/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<use>
+ <flag name="diet">Use <pkg>dev-libs/dietlibc</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/app-shells/shish/shish-0.7_pre3-r1.ebuild b/app-shells/shish/shish-0.7_pre3-r1.ebuild
new file mode 100644
index 000000000000..11fee89ec6d7
--- /dev/null
+++ b/app-shells/shish/shish-0.7_pre3-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="The diet shell"
+HOMEPAGE="http://www.blah.ch/shish/"
+SRC_URI="http://www.blah.ch/${PN}/pkg/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug diet"
+
+DEPEND="diet? ( dev-libs/dietlibc )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( AUTHORS BUGS ChangeLog README TODO )
+
+pkg_setup() {
+ use diet && export CC="diet $(tc-getCC) -nostdinc"
+}
+
+src_prepare() {
+ # Respect CFLAGS, bug #439974
+ sed -i \
+ -e '/CFLAGS="$CFLAGS/d' \
+ -e '/-fexpensive-optimizations -fomit-frame-pointer/d' \
+ configure || die 'sed on configure failed'
+}
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ --disable-quiet # bug 439974
+}
+
+src_compile() {
+ # parallel make is b0rked
+ emake -j1
+}
+
+src_install() {
+ default
+ doman doc/man/shish.1
+}
+
+pkg_postinst() {
+ einfo "Updating ${ROOT}etc/shells"
+ ( grep -v "^/bin/shish$" "${ROOT}"etc/shells; echo "/bin/shish" ) > "${T}"/shells
+ mv -f "${T}"/shells "${ROOT}"etc/shells
+}
diff --git a/app-shells/smrsh/Manifest b/app-shells/smrsh/Manifest
new file mode 100644
index 000000000000..c67a870590f2
--- /dev/null
+++ b/app-shells/smrsh/Manifest
@@ -0,0 +1,6 @@
+AUX site.config.m4 524 SHA256 8df8dccf8ab37231c4c4aab63099e39b7fdc818b40bcf0e9f3b1f395a73c30bf SHA512 9461e85b83fdf8d13649d1a63ae630ce91c94c8707237f8855c0a5567e550e08e3f7b5297c105f9fa5a8d5639dd5f411245191ab1c3ac5931ad0ae6b3251577d WHIRLPOOL 2da194fb4efc83b58dcc51876971e39b3077c97477854b33196426304460462e727617f8b6778ae07b1bc62ec1302e4726eccad3de202c5457a96a13e0b49736
+DIST sendmail.8.15.2.tar.gz 2207417 SHA256 24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439 SHA512 04feb37316c13b66b1518596507a7da7c16cb0bf1abf10367f7fd888a428fadb093a9efa55342fa55b936c3f0cbdc63b9e2505cd99201a69a0c05b8ad65f49f9 WHIRLPOOL be9ec97041c01a3bda30d9ea6090c29a993439ed38e12c96fd0de880b0667a5df3133179382959539289c1489d23991749aa42e7ac4eb5e9a32fde84d4eb0554
+EBUILD smrsh-8.15.2.ebuild 1196 SHA256 cbb7dd55c72089095e93a9570da2acf0aedcf0839c09bca051cc81f52bff6bdf SHA512 5bc3ee052802bb5445b09110ae7185f3282a6e31cf46bbe2d08633779ff04c96c57d82521504a0d59d7c5fc3af94cbe48be291da81548f93417c70aad9fe4cd5 WHIRLPOOL a827507a44ba62c796360d2a69440f4aa4efec161a08f92cd6aca4ef93ee78e22748ae6a0714d39482167aba4efc7f2ce034460423bc43a1729be5b9bff8782a
+MISC ChangeLog 3450 SHA256 3ac9c0aada6ce90d8be3766f05ffa9784e191105de95e92442fb125a5741159a SHA512 0e5854c12abbef96be1800bb3b2b2d1990862fc0e291b87c6890ada2546f349080581ab7714eb9290dfb1b545a0b82f4d0e9d87402d9fd5351d04562fcd6f066 WHIRLPOOL ff9cf80261651de44cb2b06699ca41ee9d067e20932b90771a6c9d7cff97a240640a701dd1045f23778fbbef01fd0cbe9a9a75b56e09449b29c3aa13f264ce80
+MISC ChangeLog-2015 2073 SHA256 86f3a8b4809209b8eeea45e8c7a5217651e3b532ef781522d4e34c0a0b0684cd SHA512 d6d18f0ae5b0e3a9b5c80adf30d8e57841b18ad457e6d888687a5451c04bcfa5c2f341ce787b2078b7e9c9f444bb67d543a5227787671a258d6ea8a31286cdcc WHIRLPOOL 592bd3a2c00f797e84e22d4fd20198ef51d7fb5a3d49c9b18d02a303d99f00612e0598b661249e296b207212c342645efe4b4b942008a0f7fd2b65628f8cc9bf
+MISC metadata.xml 240 SHA256 f0e0bb7a24c4b1ff6b6a8a3e9315245c298499c03fbda429c0f775ec6a5396af SHA512 97824dbce22630efb21e647b55212b7a8a19d8e38b5bf05cb0b8078530bbbaaf4dc91284e2a11beab7dfcfb779df82b87b49d11a746c7a4f6dc71f2fda8942db WHIRLPOOL a7adfcb24489ae67a43a59d8350a70b20874fb03de95681c5b516a741d95422560a433f641de5a7222cf5d3500333e215055ec0cb3844e7abc6d6a836de97357
diff --git a/app-shells/smrsh/files/site.config.m4 b/app-shells/smrsh/files/site.config.m4
new file mode 100644
index 000000000000..24ef462ba2eb
--- /dev/null
+++ b/app-shells/smrsh/files/site.config.m4
@@ -0,0 +1,14 @@
+define(`confCCOPTS', `@@confCCOPTS@@')
+define(`confSTDIO_TYPE', `portable')
+define(`confENVDEF', `-DXDEBUG=0')
+define(`confLDOPTS', `@@confLDOPTS@@')
+define(`confMANOWN', `root')
+define(`confMANGRP', `root')
+define(`confMANMODE', `644')
+define(`confMAN1SRC', `1')
+define(`confMAN5SRC', `5')
+define(`confMAN8SRC', `8')
+define(`confLDOPTS_SO', `@@confLDOPTS@@')
+define(`confCC', `@@confCC@@')
+APPENDDEF(`conf_smrsh_ENVDEF', `-DSMRSH_PATH=\"/bin:/usr/bin\"')
+APPENDDEF(`conf_smrsh_ENVDEF', `-DSMRSH_CMDDIR=\"/var/lib/smrsh\"')
diff --git a/app-shells/smrsh/metadata.xml b/app-shells/smrsh/metadata.xml
new file mode 100644
index 000000000000..9a6d80e5da48
--- /dev/null
+++ b/app-shells/smrsh/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>net-mail@gentoo.org</email>
+ <name>Net-Mail</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-shells/smrsh/smrsh-8.15.2.ebuild b/app-shells/smrsh/smrsh-8.15.2.ebuild
new file mode 100644
index 000000000000..c825f0f179de
--- /dev/null
+++ b/app-shells/smrsh/smrsh-8.15.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Sendmail restricted shell, for use with MTAs other than Sendmail"
+HOMEPAGE="http://www.sendmail.org/"
+SRC_URI="ftp://ftp.fu-berlin.de/unix/mail/sendmail/sendmail.${PV}.tar.gz"
+
+LICENSE="Sendmail"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="!mail-mta/sendmail"
+DEPEND="${RDEPEND}
+ sys-devel/m4
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/sendmail-${PV}"
+
+src_prepare() {
+ cd "${S}/${PN}"
+ sed -e "s:/usr/libexec:/usr/sbin:g" \
+ -e "s:/usr/adm/sm.bin:/var/lib/smrsh:g" \
+ -i README -i smrsh.8 || die "sed failed"
+
+ sed -e "s:@@confCCOPTS@@:${CFLAGS}:" \
+ -e "s:@@confLDOPTS@@:${LDFLAGS}:" \
+ -e "s:@@confCC@@:$(tc-getCC):" "${FILESDIR}/site.config.m4" \
+ > "${S}/devtools/Site/site.config.m4" || die "sed failed"
+}
+
+src_compile() {
+ cd "${S}/${PN}"
+ /bin/sh Build
+}
+
+src_install() {
+ dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}" || die
+
+ cd "${S}/${PN}" || die
+ doman "${PN}.8" || die
+ dodoc README || die
+
+ keepdir "/var/lib/${PN}"
+}
+
+pkg_postinst() {
+ elog "smrsh is compiled to look for programs in /var/lib/smrsh."
+ echo
+}
diff --git a/app-shells/soapbox/Manifest b/app-shells/soapbox/Manifest
new file mode 100644
index 000000000000..5173d3ca31a3
--- /dev/null
+++ b/app-shells/soapbox/Manifest
@@ -0,0 +1,5 @@
+DIST soapbox-0.3.1.tar.bz2 19947 SHA256 fdea8f2e9dc2bff885cfebf60ff95e23fd89442fdbc2cd3b10443c2b21b1f33c SHA512 c74420e6ea7e088347c897c275095fce5ecd093af9eb7f95ece4959d174fcc79e600704b6116ba9f36534fc8139dee70393db33ab22cd8f870cd77c449e2f430 WHIRLPOOL 4d33aac3682d9a483aae0ba43f6847a6e445fb7d915f9c3af9792222f7baeec12df07fb89aa7ba09120c7e9ad538cfbc10771d4d269ca1883ecaff862e2165d2
+EBUILD soapbox-0.3.1-r2.ebuild 916 SHA256 6167fec296bd35e60b1b1968acb3751c61ee81c952bbddd2194044c2319c71f5 SHA512 5392a486acd31086357b3ebb1ac5cbdc616a0c0041341094e4bfb910293ba3a82fe4938c2c8256f012b8b2e094c9b7026a6d39191c0106e7af96d0487ab631d8 WHIRLPOOL 5205ecd201e1dfd6f134c8e294ae79c4cb769c5f2fbbde65cb682e6595aeb417b1018544b7c84eb33efa1c68565804d3f71c76093fdb650d9abe72ef13e4dd29
+MISC ChangeLog 3252 SHA256 53bc2f857b8e7c78e30ef263c7fb136a4cb87c64806b94e20f3619dd75c32f3b SHA512 cb604abee1db3e6af7f569f0ed386f787fd9d3e5c3742c23c5e3f6fb05eff321ff5b61776f248d3d4df57a158fc051b733032f756b865b9a508ab6b190a3684e WHIRLPOOL bdb519943856b30021af28a8b7bc794ccdda8bd18e032f8486b56e584ab4b4a284344e5014fd03e2b49f45caa36c64583af6f74b69ac09df9d5afc04479c22dc
+MISC ChangeLog-2015 912 SHA256 ddcdaf8cf5fe07d209a5f41ac3cf9f44c32d0f9c595fd377e65eba48a8abca54 SHA512 13adecad0a336cb28a407b05c8d273a7e5b22edcf0bd2ceba800924f94fa85bd15020de72cb81cfc058d91e432871d0cecaa447fbace2637047acefba7000b5e WHIRLPOOL f764525673b7cff82eba421711851fdef5c863564a6f3f2937e823339410884bbf8286276ad699b42e49ff90e2e652084e8089467cd3a5858446c7e1576fb8ca
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-shells/soapbox/metadata.xml b/app-shells/soapbox/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-shells/soapbox/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/app-shells/soapbox/soapbox-0.3.1-r2.ebuild b/app-shells/soapbox/soapbox-0.3.1-r2.ebuild
new file mode 100644
index 000000000000..c6bf86aec9bd
--- /dev/null
+++ b/app-shells/soapbox/soapbox-0.3.1-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="A preload (sandbox) library to restrict filesystem writes"
+HOMEPAGE="http://dag.wieers.com/home-made/soapbox/"
+SRC_URI="http://dag.wieers.com/home-made/soapbox/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~ppc ~ppc64"
+IUSE=""
+
+src_prepare() {
+ sed -i soapbox.sh \
+ -e "s|0.3.0|${PV}|g" \
+ -e "s:/lib:/usr/$(get_libdir):" \
+ || die "sed soapbox.sh"
+ sed -i Makefile \
+ -e 's|$(CFLAGS)|& $(LDFLAGS)|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -fPIC" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dolib.so libsoapbox.so || die "soapsox.so"
+ newbin soapbox.sh soapbox || die "soapbox"
+ dodoc AUTHORS BUGS ChangeLog README THANKS TODO
+}
diff --git a/app-shells/squirrelsh/Manifest b/app-shells/squirrelsh/Manifest
new file mode 100644
index 000000000000..b99e4e0daeaa
--- /dev/null
+++ b/app-shells/squirrelsh/Manifest
@@ -0,0 +1,11 @@
+AUX squirrelsh-1.2.7-gcc6.patch 7031 SHA256 e8161e8f68f073c6c8ff19bd13a556e3ae3f1fb3d7818f86d163a8c98452fd94 SHA512 45dd46d6526d09416af23ba4668f374b5c1f48c1f71aebc361b385a298d1cf0c27b53657dc892dd6c2cfa542df5fc92cc978a3daa94b7b947bc24b958f7cb1ee WHIRLPOOL cc1a0efb1ccf2ef6cd8134ad2b7533c148d5be2b2f25291a8bf5bfe68e5536b83fd1200b2c2ad7266c0383f12c5a857d18e7ba3265ccdc497baa61f94d341e8e
+AUX squirrelsh-fix-in_LDFLAGS.patch 511 SHA256 3b9ebe885871ed22a6fc068024f01f6326a8bee7c51133ff8255275496686f7b SHA512 d7bc6f7f21a20e1123c986ece16098b7eec1887e6990a80a23367e2449df2ae913e02a137b2c7cefe6567a500d8fdd427f5c2bc1dc2ae845088d96ceb7c357e3 WHIRLPOOL ab83cb0b952021255f5fbcafd3c2fe56657bf41af5b846caf2b10f0dafb400b6accda647eaf5c571c04cbd810f116d439388ecbb1be811fe9af2c5dc1485b513
+AUX squirrelsh-no-docs.patch 885 SHA256 3941b2d1822925feaefb2bd6f110dfa101812f4f1818632972fd3021b4c9dfeb SHA512 3882fd15ba594a93ea46c3656a0efa8424099fee11e480cc7f89f70027f04ec56b7107b33cf51bbaaf188e54023c500e81c3ec7eb8e545ece270022684af8907 WHIRLPOOL 00b7c9fce5c7ae4378ee7ad52fa8636721c71bbfe96e6841b57ca9d64590d61a007d97dcdef560b915729e9090dfe1257582dc353646045779d5971eb0f360ee
+AUX squirrelsh-no-strip.patch 903 SHA256 790185bd22e539f8e03391fa88a1cd2f5a63cbbedc3740357507a96d2869fb9c SHA512 1d45054e11aef3f42dbf061b342adb942c0e370fac1b5eece0561a02a2f8799c158f221450bf82a4ead772cbc73a207dea9517af945840e975c65f30bdd1f6e1 WHIRLPOOL fab6b5b1f4e4a969ed2bafbe4e5f0572eec99b0963d98096603397ddd9443cc6444f7ce57087e3522015a36b3515eb9de4eaa350ea7de4ff375e04684ac3e301
+AUX squirrelsh-remove-forced-abi.patch 653 SHA256 291eb29d5753b102427218f5381eb7b9db82057a0aa73b450458dc63c58537f9 SHA512 6e2b43c7ecff32fda8e2655722f97f48a0a92f6fe5e1e3aeb28bc3b5459fccefa3aa4c04aca016001661af229c59982caf7b09209d7004c2dd397493c873cd50 WHIRLPOOL fedcd133dc4f61a9064aa70e2933d271c804df33b5ca4de6db6a2cddd859f6c031fbcb3414a0aae443e3562fb9e550436643f318e6c25a53378c5de5045c3d07
+AUX squirrelsh-rename-LDFLAGS.patch 4981 SHA256 734a2a673918d56d7140d24fae1c2eff8a93380f53229980d61355755f95f772 SHA512 eb8058878bd23332dd58970caac5121838bd52b7a63249013b305b09a95a1ca5914a526e4d0d052772f32086d1e2237feae56bfc4549987e71a6db60ffff6cd3 WHIRLPOOL 02cd3a62f45a9561c39c6fed7f88486eb877569366a77d06ff12b8db9109e65126309afcbd260d3091ba5dce32e08dc373732fc8279e0dbc3effadb18cb05847
+DIST squirrelsh-1.2.7-src.tar.bz2 673462 SHA256 8c4745caf052b754d447dceee5a0bb529b13e9b02a6c48d004636f192a835b60 SHA512 7db82cad969ba209cae6b2d1c4cf76ba10acbf79c051f4340556ae81dc98d36dfb6f1f6993e9198e5a5254eaaab3fbaca3d01fc547c2f303572060b2093af78a WHIRLPOOL 148e324de890cfa82835f0c44ad286c5b3814a0b778816ee24b24d4ceae5e1ab5724d6c9d6205c602a63445f723ee452e0190d092b21a0bc5673911f1e52c274
+EBUILD squirrelsh-1.2.7.ebuild 1236 SHA256 5adfa33c0f320d2dd993f64ef7cddf82a76fc3f3bdcad54ad062f30a58e1eb96 SHA512 9896f2d4d7c3c0a3af6e65c86173a242064e96612dcd67b615ef5d60af5fe6b519ceedf0ee6fd509aa6b2a95245df12e7b907616541713731bbd4b2bc5d62e6f WHIRLPOOL 868c3ec4cac06f7ca885add2837b650f13eaa0ac24300a2b33c07cd5ef551ec9bf817e483622714fc89b4ad218a9cd28b68ab00a1d5a603ece41743010de5337
+MISC ChangeLog 2788 SHA256 146e0d0e02bf738c5ca1d6219c3c41d0cdf9dbfadccf9508bafc35df6c2ea2e2 SHA512 41e2e1f58cbc70354a55457e50b3cde05f9ac218e014bcf6ae83041987510438949655a0a70ea92e528e977925a53390053d1216e02ad5178d731162f1a809fd WHIRLPOOL 1d47c6d5eeacf5c975267ac6638f80d47ac9abdff6c4635ab8e8f750ce7173dafdf41679c6d71aadc92aaf61739ab015619754422c540f6aaec2296012c03764
+MISC ChangeLog-2015 1928 SHA256 9ed8ccefb3a85bcdd787aca76f4ce9630d8b2e47818590b34330d92cc1e7cd17 SHA512 0b892e29926d5ae0dd65b45b0db6b2a16e2bd5ad192df3acd1b9e36bc49c0c9a622d48a1662563768bd145e975319fee0511366f74336f057e95b70f3dddab67 WHIRLPOOL 9f9d5284ba9a71869712242a0636eff0200f29ec97148b7592cf974375f07744363e280acfb86eb37636bfa499d9f00e8bb43bd311c6f4cea4cfcc13e08bcc26
+MISC metadata.xml 332 SHA256 caa8cc8f7aa310872c4dc1baea41acdb9ab37b0e8df03fd3f5b8358f05695b8d SHA512 31dc8fbee7db81a55b9a4256dfa391404218cc076c63b72e7a980649207cc2d2716b5652f90c639270b8f1ce634724dfd3103bb7a08698b6c089f2d98100fcdb WHIRLPOOL adbf6ef0098fb73130f4082024ee08c190a4c3df148947cc83fe8e015be731a4dfcde3b677b0457c98ac4fdf4c3fe46212b57a1d21b5041c3600fa09564871ad
diff --git a/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch b/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch
new file mode 100644
index 000000000000..ea60d29dc3cb
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch
@@ -0,0 +1,217 @@
+diff --git a/shell/base.cpp b/shell/base.cpp
+index 3a89b6d..33803c3 100644
+--- a/shell/base.cpp
++++ b/shell/base.cpp
+@@ -1,5 +1,5 @@
+ // Squirrel Shell
+-// Copyright (c) 2006-2010, Constantin Makshin
++// Copyright (c) 2006-2017, Constantin Makshin
+ //
+ // This program is free software; you can redistribute it and/or modify
+ // it under the terms of the GNU General Public License as published by
+@@ -15,6 +15,7 @@
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ #include "common.h"
++#include <algorithm>
+ #include <string.h>
+ #include <string>
+
+@@ -36,14 +37,6 @@ typedef HANDLE SysHandle;
+ typedef int SysHandle;
+ #endif
+
+-#if !defined(min)
+-# define min(a, b) ((a) < (b) ? (a) : (b))
+-#endif
+-
+-#if !defined(max)
+-# define max(a, b) ((a) > (b) ? (a) : (b))
+-#endif
+-
+ // Maximum number of command line arguments passed to the child process
+ #define MAX_ARGS 130
+ // Maximum number of environment variables passed to the child process
+@@ -177,7 +170,7 @@ static bool ReadFromPipe (SysHandle pipe, void* buffer, size_t numBytesToRead, s
+
+ if (!numBytesToRead ||
+ !PeekNamedPipe(pipe, NULL, 0, NULL, &numBytesAvailable, NULL) || !numBytesAvailable ||
+- !ReadFile(pipe, buffer, min(numBytesToRead, numBytesAvailable), &nbr, NULL) || !nbr)
++ !ReadFile(pipe, buffer, std::min(numBytesToRead, numBytesAvailable), &nbr, NULL) || !nbr)
+ {
+ return false;
+ }
+@@ -188,7 +181,7 @@ static bool ReadFromPipe (SysHandle pipe, void* buffer, size_t numBytesToRead, s
+ #else
+ int nbr = read(pipe, buffer, numBytesToRead);
+ if (numBytesRead)
+- *numBytesRead = max(nbr, 0);
++ *numBytesRead = std::max(nbr, 0);
+
+ return nbr > 0;
+ #endif
+@@ -210,7 +203,7 @@ static bool WriteToPipe (SysHandle pipe, const void* buffer, size_t numBytesToWr
+ #else
+ int nbw = write(pipe, buffer, numBytesToWrite);
+ if (numBytesWritten)
+- *numBytesWritten = max(nbw, 0);
++ *numBytesWritten = std::max(nbw, 0);
+
+ return nbw > 0;
+ #endif
+@@ -786,7 +779,7 @@ static SQInteger Run (HSQUIRRELVM)
+ // Pass data to/from child process' streams
+ std::basic_string<SQChar> output,
+ error;
+- int nfds = max(newInput[1], max(newOutput[0], newError[0])) + 1;
++ int nfds = std::max(newInput[1], std::max(newOutput[0], newError[0])) + 1;
+ for (;;)
+ {
+ // Check if there's any data available for reading/writing
+diff --git a/shell/common.h b/shell/common.h
+index 7cb4d47..461410d 100644
+--- a/shell/common.h
++++ b/shell/common.h
+@@ -1,5 +1,5 @@
+ // Squirrel Shell
+-// Copyright (c) 2006-2010, Constantin Makshin
++// Copyright (c) 2006-2017, Constantin Makshin
+ //
+ // This program is free software; you can redistribute it and/or modify
+ // it under the terms of the GNU General Public License as published by
+@@ -47,6 +47,7 @@
+ # define WIN32_LEAN_AND_MEAN
+ # define WIN64_LEAN_AND_MEAN
+ # define STRICT
++# define NOMINMAX
+ # include <windows.h>
+ #else
+ # include <unistd.h>
+@@ -88,14 +89,6 @@
+ # define MAX_PATH 260
+ #endif
+
+-#if !defined(min)
+-# define min(a, b) ((a) < (b) ? (a) : (b))
+-#endif
+-
+-#if !defined(max)
+-# define max(a, b) ((a) > (b) ? (a) : (b))
+-#endif
+-
+ #define SQUIRREL_VERSION_SHORT "3.0.3"
+
+ extern HSQUIRRELVM sqvm; // We aren't going to create more than one VM, so it's acceptable to make this global
+diff --git a/shell/hash_adler32.cpp b/shell/hash_adler32.cpp
+index c42f440..b250875 100644
+--- a/shell/hash_adler32.cpp
++++ b/shell/hash_adler32.cpp
+@@ -8,6 +8,7 @@
+ */
+
+ #include "hash.h"
++#include <algorithm>
+
+ #define BASE 65521ul
+ #define NMAX 5552
+@@ -87,7 +88,7 @@ void Hash_Adler32 (FILE* file, unsigned char* block, unsigned char* hash, SQInte
+ unsigned adler = 1;
+ do
+ {
+- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
++ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
+ adler = adler32(adler, block, r);
+ left -= SQInteger(r);
+ } while (left);
+diff --git a/shell/hash_crc32.cpp b/shell/hash_crc32.cpp
+index d18a3aa..9bcb233 100644
+--- a/shell/hash_crc32.cpp
++++ b/shell/hash_crc32.cpp
+@@ -8,6 +8,7 @@
+ */
+
+ #include "hash.h"
++#include <algorithm>
+
+ static unsigned crc_table[256];
+
+@@ -63,7 +64,7 @@ void Hash_CRC32 (FILE* file, unsigned char* block, unsigned char* hash, SQIntege
+ unsigned crc = 0;
+ do
+ {
+- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
++ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
+ crc = crc32(crc, block, r);
+ left -= SQInteger(r);
+ } while (left);
+diff --git a/shell/hash_md5.cpp b/shell/hash_md5.cpp
+index b1a3c2a..a82d4c5 100644
+--- a/shell/hash_md5.cpp
++++ b/shell/hash_md5.cpp
+@@ -20,6 +20,7 @@
+ */
+
+ #include "hash.h"
++#include <algorithm>
+
+ struct MD5Context
+ {
+@@ -201,7 +202,7 @@ void Hash_MD5 (FILE* file, unsigned char* block, unsigned char* hash, SQInteger
+ MD5Init(&ctx);
+ do
+ {
+- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
++ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
+ MD5Update(&ctx, block, r);
+ left -= SQInteger(r);
+ } while (left);
+diff --git a/shell/util.cpp b/shell/util.cpp
+index 48983f6..6d0d199 100644
+--- a/shell/util.cpp
++++ b/shell/util.cpp
+@@ -1,5 +1,5 @@
+ // Squirrel Shell
+-// Copyright (c) 2006-2009, Constantin Makshin
++// Copyright (c) 2006-2017, Constantin Makshin
+ //
+ // This program is free software; you can redistribute it and/or modify
+ // it under the terms of the GNU General Public License as published by
+@@ -15,6 +15,7 @@
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ #include "common.h"
++#include <algorithm>
+ #include <string.h>
+ #include <ctype.h>
+
+@@ -123,8 +124,12 @@ SQInteger TimeToInt (unsigned year, unsigned month, unsigned day, unsigned hour,
+ --day;
+
+ DateAndTime result;
+- result.dt.time = (min(hour, 23) * 3600) + (min(minute, 59) * 60) + min(second, 59);
+- result.dt.date = (min(year, NUM_YEARS) * 372) + (min(month, 11) * 31) + min(day, NumberOfDays(month, year) - 1);
++ result.dt.time = (std::min<SQInteger>(hour, 23) * 3600)
++ + (std::min<SQInteger>(minute, 59) * 60)
++ + std::min<SQInteger>(second, 59);
++ result.dt.date = (std::min<SQInteger>(year, NUM_YEARS) * 372)
++ + (std::min<SQInteger>(month, 11) * 31)
++ + std::min<SQInteger>(day, NumberOfDays(month, year) - 1);
+ return result.value;
+ }
+
+@@ -798,8 +803,13 @@ static SQInteger MkTime (HSQUIRRELVM)
+ sq_getinteger(sqvm, 5, &hour);
+ sq_getinteger(sqvm, 6, &minute);
+ sq_getinteger(sqvm, 7, &second);
+- sq_pushinteger(sqvm, TimeToInt(unsigned(max(year, MIN_YEAR)), unsigned(max(month, 1)), unsigned(max(day, 1)),
+- unsigned(max(hour, 0)), unsigned(max(minute, 0)), unsigned(max(second, 0))));
++ sq_pushinteger(sqvm,
++ TimeToInt(unsigned(std::max<SQInteger>(year, MIN_YEAR)),
++ unsigned(std::max<SQInteger>(month, 1)),
++ unsigned(std::max<SQInteger>(day, 1)),
++ unsigned(std::max<SQInteger>(hour, 0)),
++ unsigned(std::max<SQInteger>(minute, 0)),
++ unsigned(std::max<SQInteger>(second, 0))));
+ return 1;
+ }
+
diff --git a/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch b/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch
new file mode 100644
index 000000000000..71319c0cc7f4
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch
@@ -0,0 +1,12 @@
+diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
+--- squirrelsh-1.2.6.orig//configure 2012-03-12 21:45:25.000000000 -0400
++++ squirrelsh-1.2.6/configure 2012-03-12 21:50:36.000000000 -0400
+@@ -1138,7 +1138,7 @@
+ in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
+
+ if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
+- in_LDFLAGS="-L\"$source_dir/lib\""
++ in_LDFLAGS="$in_LDFLAGS -L\"$source_dir/lib\""
+ fi
+
+ if [ -n "$pkgconfig" ]; then
diff --git a/app-shells/squirrelsh/files/squirrelsh-no-docs.patch b/app-shells/squirrelsh/files/squirrelsh-no-docs.patch
new file mode 100644
index 000000000000..2ed4d0160bf4
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-no-docs.patch
@@ -0,0 +1,25 @@
+diff -Naur squirrelsh-1.2.6.orig//Makefile.in squirrelsh-1.2.6/Makefile.in
+--- squirrelsh-1.2.6.orig//Makefile.in 2011-12-16 13:25:08.000000000 -0500
++++ squirrelsh-1.2.6/Makefile.in 2012-03-12 21:58:50.000000000 -0400
+@@ -19,14 +19,6 @@
+ @MAKE_PCRE@
+ @MAKE_SQUIRREL@
+ @MAKE_SHELL@
+- @INSTALL@ -d -m 0755 "@DOCDIR@"
+- @INSTALL@ -c -m 0644 COPYING "@DOCDIR@"
+- @INSTALL@ -c -m 0644 COPYING-squirrel "@DOCDIR@"
+- @INSTALL@ -c -m 0644 COPYING-zlib "@DOCDIR@"
+- @INSTALL@ -c -m 0644 HISTORY "@DOCDIR@"
+- @INSTALL@ -c -m 0644 README "@DOCDIR@"
+- @INSTALL@ -c -m 0644 doc/squirrel3.pdf "@DOCDIR@"
+- @INSTALL@ -c -m 0644 doc/squirrelsh.pdf "@DOCDIR@"
+ @INSTALL@ -d -m 0755 "@MANDIR@"
+ @INSTALL@ -c -m 0644 doc/squirrelsh.1 "@MANDIR@"
+ @INSTALL_MIME@
+@@ -35,6 +27,5 @@
+ @MAKE_PCRE@
+ @MAKE_SQUIRREL@
+ @MAKE_SHELL@
+- @RMDIR@ "@DOCDIR@"
+ @RM@ "@MANDIR@/squirrelsh.1"
+ @UNINSTALL_MIME@
diff --git a/app-shells/squirrelsh/files/squirrelsh-no-strip.patch b/app-shells/squirrelsh/files/squirrelsh-no-strip.patch
new file mode 100644
index 000000000000..cf0286c5c562
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-no-strip.patch
@@ -0,0 +1,19 @@
+diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
+--- squirrelsh-1.2.6.orig//configure 2012-03-12 20:19:01.000000000 -0400
++++ squirrelsh-1.2.6/configure 2012-03-12 20:32:25.000000000 -0400
+@@ -1163,7 +1163,6 @@
+ [ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
+ [ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
+ in_DEFINES="-DNDEBUG"
+- [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
+ fi
+
+ if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
+@@ -1233,7 +1232,6 @@
+ in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
+ in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
+ in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
+- [ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
+ in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
+ fi
+
diff --git a/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch b/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch
new file mode 100644
index 000000000000..d9a5f0b34fe1
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch
@@ -0,0 +1,21 @@
+diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
+--- squirrelsh-1.2.6.orig//configure 2012-03-12 22:02:40.000000000 -0400
++++ squirrelsh-1.2.6/configure 2012-03-12 22:05:42.000000000 -0400
+@@ -1172,15 +1172,10 @@
+ # ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
+ case "$target" in
+ x86)
+- in_CFLAGS="-m32 $in_CFLAGS"
+- in_CXXFLAGS="-m32 $in_CXXFLAGS"
+- in_LDFLAGS="-m32 $in_LDFLAGS";;
++ :;;
+
+ x86_64)
+- in_CFLAGS="-m64 $in_CFLAGS"
+- in_CXXFLAGS="-m64 $in_CXXFLAGS"
+- in_DEFINES="$in_DEFINES -D_SQ64"
+- in_LDFLAGS="-m64 $in_LDFLAGS";;
++ in_DEFINES="$in_DEFINES -D_SQ64";;
+
+ ia64)
+ in_DEFINES="$in_DEFINES -D_SQ64";;
diff --git a/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch b/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch
new file mode 100644
index 000000000000..0c36d7548623
--- /dev/null
+++ b/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch
@@ -0,0 +1,140 @@
+diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
+--- squirrelsh-1.2.6.orig//configure 2010-11-09 13:16:43.000000000 -0500
++++ squirrelsh-1.2.6/configure 2012-03-12 20:19:01.000000000 -0400
+@@ -55,8 +55,8 @@
+ with_ranlib="yes" # yes, no
+ linker="$cpp_compiler"
+
+-if [ -n "$LFLAGS" ]; then
+- linker_flags="$LFLAGS"
++if [ -n "$LDFLAGS" ]; then
++ linker_flags="$LDFLAGS"
+ else
+ linker_flags="-Wl,-O1 -Wl,--as-needed"
+ fi
+@@ -136,7 +136,7 @@
+ CFLAGS C compiler options
+ CXX C++ compiler
+ CXXFLAGS C++ compiler options
+- LFLAGS Linker options
++ LDFLAGS Linker options
+ __SHEOF__
+ closescript
+ }
+@@ -275,7 +275,7 @@
+ return 1
+ }
+
+-# getoutput CPPFLAGS LFLAGS
++# getoutput CPPFLAGS LDFLAGS
+ # Compile C++ code and run the compiled program
+ getoutput ()
+ {
+@@ -824,7 +824,7 @@
+ checkforlinkeroption || msg_fail
+
+ # Check for optional linker options
+-if [ -z "$LFLAGS" ]; then
++if [ -z "$LDFLAGS" ]; then
+ checkforlinkeroption "-pipe" || msg_result "no"
+ checkforlinkeroption "-flto" y || msg_result "no"
+ fi
+@@ -1131,27 +1131,27 @@
+ #------ CREATE MAKEFILES --------------------------------------------------------------------------
+
+ # Define variables for substitution
+-# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS, INSTALL_EXE (machine-independent)
++# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS, INSTALL_EXE (machine-independent)
+ in_CFLAGS="-c $c_compiler_flags"
+ in_CXXFLAGS="-c $cpp_compiler_flags"
+-in_LFLAGS="$linker_flags"
++in_LDFLAGS="$linker_flags"
+ in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
+
+ if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
+- in_LFLAGS="-L\"$source_dir/lib\""
++ in_LDFLAGS="-L\"$source_dir/lib\""
+ fi
+
+ if [ -n "$pkgconfig" ]; then
+ if [ "$with_pcre" = "system" ]; then
+ in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libpcre`"
+ in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libpcre`"
+- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
++ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
+ fi
+
+ if [ "$with_squirrel" = "system" ]; then
+ in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
+ in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
+- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
++ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
+ fi
+ fi
+
+@@ -1163,25 +1163,25 @@
+ [ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
+ [ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
+ in_DEFINES="-DNDEBUG"
+- [ -z "$LFLAGS" ] && in_LFLAGS="$in_LFLAGS -s"
++ [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
+ fi
+
+ if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
+ in_DEFINES="$in_DEFINES -DPCRE_STATIC"
+ fi
+
+-# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS (machine-dependent)
++# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
+ case "$target" in
+ x86)
+ in_CFLAGS="-m32 $in_CFLAGS"
+ in_CXXFLAGS="-m32 $in_CXXFLAGS"
+- in_LFLAGS="-m32 $in_LFLAGS";;
++ in_LDFLAGS="-m32 $in_LDFLAGS";;
+
+ x86_64)
+ in_CFLAGS="-m64 $in_CFLAGS"
+ in_CXXFLAGS="-m64 $in_CXXFLAGS"
+ in_DEFINES="$in_DEFINES -D_SQ64"
+- in_LFLAGS="-m64 $in_LFLAGS";;
++ in_LDFLAGS="-m64 $in_LDFLAGS";;
+
+ ia64)
+ in_DEFINES="$in_DEFINES -D_SQ64";;
+@@ -1223,7 +1223,7 @@
+
+ # Work around Apple's linker behavior ("-L../lib" linker option seems to be ignored)
+ if [ "$platform" = "macosx" ]; then
+- #in_LFLAGS="$in_LFLAGS -search_paths_first"
++ #in_LDFLAGS="$in_LDFLAGS -search_paths_first"
+ [ "$with_pcre" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lpcre@../lib/libpcre$lib_suffix@"`
+ [ "$with_squirrel" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lsquirrel@../lib/libsquirrel$lib_suffix@"`
+ fi
+@@ -1231,7 +1231,7 @@
+ in_LIB_EXT="$dll_suffix"
+ in_CFLAGS_LIB="$in_CFLAGS -fPIC"
+ in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
+- in_MAKE_LIB="$linker -shared $in_LFLAGS -o \"\$(target)\" \$(objects)"
++ in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
+ in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
+ [ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
+ in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
+@@ -1274,7 +1274,7 @@
+ s#@LINK@#$linker#
+ s#@EXE_EXT@#$exe_suffix#
+ s#@LIB_EXT@#$in_LIB_EXT#
+-s#@MAKE_EXE@#$linker $in_LFLAGS -o "\$(target)" \$(objects) $in_LIBS#
++s#@MAKE_EXE@#$linker $in_LDFLAGS -o "\$(target)" \$(objects) $in_LIBS#
+ s#@MAKE_LIB@#$in_MAKE_LIB#
+ s#@MAKE_PCRE@#$in_MAKE_PCRE#
+ s#@MAKE_SHELL@#@cd shell \&\& \$(MAKE) \$@#
+@@ -1285,7 +1285,7 @@
+ s#@CXXFLAGS_EXE@#$in_CXXFLAGS_EXE#
+ s#@CFLAGS_LIB@#$in_CFLAGS_LIB#
+ s#@CXXFLAGS_LIB@#$in_CXXFLAGS_LIB#
+-s#@LFLAGS@#$in_LFLAGS#
++s#@LDFLAGS@#$in_LDFLAGS#
+ s#@DEFINES@#$in_DEFINES#
+ s#@INCLUDES@#$in_INCLUDES#
+ s#@LIBS@#$in_LIBS#
diff --git a/app-shells/squirrelsh/metadata.xml b/app-shells/squirrelsh/metadata.xml
new file mode 100644
index 000000000000..0fe0aa7bcf32
--- /dev/null
+++ b/app-shells/squirrelsh/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">squirrelsh</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild b/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild
new file mode 100644
index 000000000000..9e5aaceff7b0
--- /dev/null
+++ b/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Cross-platform object-oriented scripting shell using the squirrel language"
+HOMEPAGE="http://squirrelsh.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-libs/libpcre"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
+ epatch "${FILESDIR}"/${PN}-no-strip.patch
+ epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
+ epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
+ epatch "${FILESDIR}"/${PN}-no-docs.patch
+ epatch "${FILESDIR}"/${P}-gcc6.patch
+}
+
+src_configure() {
+ #This package uses a custom written configure script
+ ./configure --prefix="${D}"/usr \
+ --with-cc="$(tc-getCC)" \
+ --with-cpp="$(tc-getCXX)" \
+ --with-linker="$(tc-getCXX)" \
+ --libdir=/usr/"$(get_libdir)" \
+ --with-pcre="system" \
+ --with-squirrel="local" \
+ --with-mime=no || die "configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ doman doc/${PN}.1
+ dodoc HISTORY INSTALL README
+ use doc && dodoc doc/*.pdf
+}
diff --git a/app-shells/tcsh/Manifest b/app-shells/tcsh/Manifest
new file mode 100644
index 000000000000..95bd821f03c6
--- /dev/null
+++ b/app-shells/tcsh/Manifest
@@ -0,0 +1,9 @@
+AUX tcsh-6.18.01-aix.patch 474 SHA256 fe21dd7ea7783e199374f6c97f07b9f95b805c0194bf63d4325f3d318c2f52a3 SHA512 ae5dd2f5aee7c14734e775b55f780aa430dd2efc8407b671308215c69e3b97ad37a3b54ad2bc7fabe84b1806997a78ccd15b06ac59491c93dcad14bb14032bd5 WHIRLPOOL 1871f62a3718a340d5f85844654d41f7eb4e42c9e2232c55803b2f0e03689562aa8131b00a4c92f0b15bb9ca6c9956fccb203b2f41ccce236e183d0d27374136
+AUX tcsh-6.20.00-debian-dircolors.patch 506 SHA256 ff3d745448e2491348a9eb92a0d37a989b857caff39926811ca35b141f2c3310 SHA512 c761857c343c833aea5061baeb54dd86f7a8804424b7ea2009d05fd57b92ba3b892c05fe48a8f4e00a6eee39515086063a9c518004d726626dc5c466958a6dad WHIRLPOOL 9cc6dd89472a25be61832ba7bc62c66cf4f9bd64049f871a70aa974d90bc6ca4b1efe289383d39e9ac8d7f2a7e8958fb56d3b74627d69e33553d885c890f356e
+AUX tcsh-6.20.00-use-ncurses-tinfo.patch 382 SHA256 62377f6dd9bb6eb6ff2aa26489343847492b1af7ad4d9e3e713fdbb78f4b0cfa SHA512 d6e2346a0ed093651be7073b04cd31ec1bd587c52fc9a21295405699fed2a63d6ea8415e7c0d29e0f03732288b4a8749e14c9ee85c39a1b4f8e51cfa996166c3 WHIRLPOOL 7a38ed34f9cbcd91f80189447c21bed8e71dcee7005f1d4876522badfc66a543d2c2fb0c4d1a744d17d3a2c2f2ba1a8cdf9dd76a561d0a76e58589d7ada6d296
+DIST tcsh-6.20.00.tar.gz 1001696 SHA256 b89de7064ab54dac454a266cfe5d8bf66940cb5ed048d0c30674ea62e7ecef9d SHA512 c5635393c22341e62fb9a0b953ddf8871a876ab09deb08c98237f93afa9257b4a3381d1db65eefe769e22ef845db29ab7bc78773f1f609d73c8205689a6683e9 WHIRLPOOL 09090ca8f698b4cc85b9a6dede56cf83a1f71b9844ac99729d0472bb9f7c4593572673b07f0ec9a0eb34cf7903cad08c20d93c795aff66f0717a48b47efa86b0
+DIST tcsh-gentoo-patches-r1.9.tar.bz2 2488 SHA256 6375f48d78b64fd97fc2cb07e8117e41459521a8de3919d174eec321a98af483 SHA512 9903e9c3e2279abcac09a3235f3c5db9f42156c18137eb651ede195ca2b069f0b5bc6105fed33666b69796c4ebf03e4efe63cd9beba1898bac7297a2f74bfd3d WHIRLPOOL a16e642f32095f5403cad38446acc50e1802e874dba66eccfdc2ab7f5108fe77e91f5990585ba4fffb808be92c15a05f70eaf1fb436da040287b04c207c9a105
+EBUILD tcsh-6.20.00.ebuild 2653 SHA256 d576a5d6aabf248bcc146d2c58692aba8d8c58e91a3c5923c2fce05d5e44d5cc SHA512 7eabfa6dc1bdbda05a7ef5acaa3734e34bba45e7aa7a74957d4c4fc98acd0c223aaefb4c50b242d51f2a768eb50167fb2deb5b7340a4f4d219f77522a38e75e5 WHIRLPOOL 8f388a5b8e2c0f61fc9c9b2d9f052161bded37f60a9ec60ec1116adbd5197e52c8e0b50f0c67e8fb3f83427e326bf474a2ebf7f02d91f4bee9d4832b6f2d3932
+MISC ChangeLog 4109 SHA256 513e7fc1972369540071c0a04791ec68c0a48dc0c1f02578c3e9211c5cdcadd1 SHA512 ca22bc79242038d1c1a1eaff0e3e4fb965d5106b37bf6412f41fc3b0e75a12bde427561c5a622db4e2deaca99dbeada463c0cb5845c4a03fae7f4d62b4e2d80f WHIRLPOOL f779521d29920ea1dda7fba10eec1743c95490cec0195ff59cf55f1c568b2b30255693236e72a8d46c557409651fa27674d05804d75dcd874d8d51858b8d1e58
+MISC ChangeLog-2015 19499 SHA256 315cc3d9a126704dc65869a471caf4256f21e435299889dd75a0bd9f6c0c2f9c SHA512 5fd83ece138bc3171e706a27071301729ebd97f920478d3c659711b3d0921d6975f59519cae135de8f2d4a072a6a76a55e5ebd0aad0f7d7d61439fb5c82d1510 WHIRLPOOL e875020a9abbf5e2fb2961c1f00b7a87cd1e3a089429fc3f42ec088a199d896288113793225acc175467d550643182f4d1189a3c2075c29b39008c5d8026c943
+MISC metadata.xml 652 SHA256 4eb992c02775173cc426a601f5f6dc7db9951760396ed3c452dccb2b869f9f3a SHA512 355c4cef934eb118937a8504c497b84c39cce30aba12cbce4dbc7c698f23787aeb7eb408dcf1670a509f289a0f88990cd6b5b9260a9b2b2d3bfcb4a2e39084b6 WHIRLPOOL 7db1a425ad545a14f1a2bdb2cb80b16f680207c030a7f86e4ed636444356f46323b25d285e803aa2c8f413efc4292381e9ccad6083e2b0900fd74409c8943a17
diff --git a/app-shells/tcsh/files/tcsh-6.18.01-aix.patch b/app-shells/tcsh/files/tcsh-6.18.01-aix.patch
new file mode 100644
index 000000000000..669d20634731
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.18.01-aix.patch
@@ -0,0 +1,14 @@
+Upstream report, without better patch yet:
+http://bugs.gw.com/view.php?id=366
+
+--- tc.who.c.orig 2014-06-26 11:21:43 +0200
++++ tc.who.c 2014-06-26 11:21:58 +0200
+@@ -60,6 +60,8 @@
+ # define TCSH_PATH_UTMP _PATH_UTMPX
+ # elif defined(UTMPX_FILE)
+ # define TCSH_PATH_UTMP UTMPX_FILE
++# elif defined(UTMP_FILE)
++# define TCSH_PATH_UTMP UTMP_FILE
+ # elif __FreeBSD_version >= 900000
+ # /* Why isn't this defined somewhere? */
+ # define TCSH_PATH_UTMP "/var/run/utx.active"
diff --git a/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch b/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch
new file mode 100644
index 000000000000..3b18f1c45d77
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch
@@ -0,0 +1,21 @@
+forward-ported 6.14 to 6.20 patch from Debian
+
+--- tcsh-6.20.00/tw.color.c
++++ tcsh-6.20.00/tw.color.c
+@@ -382,13 +382,10 @@
+ if ((Char)variables[i].variable[0] == (v[0] & CHAR) &&
+ (Char)variables[i].variable[1] == (v[1] & CHAR))
+ break;
+- if (i < nvariables) {
+- v += 3;
++ v += 3;
++ if (i < nvariables)
+ getstring(&c, &v, &variables[i].color, ':');
+- continue;
+- }
+- else
+- stderror(ERR_BADCOLORVAR, v[0], v[1]);
++ continue;
+ }
+ break;
+ }
diff --git a/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch b/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch
new file mode 100644
index 000000000000..e17841863d81
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch
@@ -0,0 +1,11 @@
+--- tcsh-6.20.00/configure.ac
++++ tcsh-6.20.00/configure.ac
+@@ -317,7 +317,7 @@
+ dnl Checks for libraries
+ AC_SEARCH_LIBS(crypt, crypt)
+ AC_SEARCH_LIBS(getspnam, sec)
+-AC_SEARCH_LIBS([tgetent], [termlib termcap curses ncurses], [], [
++AC_SEARCH_LIBS([tgetent], [ncurses tinfo], [], [
+ AC_MSG_ERROR([unable to find the tgetent() function])
+ ])
+ AC_SEARCH_LIBS(gethostbyname, nsl)
diff --git a/app-shells/tcsh/metadata.xml b/app-shells/tcsh/metadata.xml
new file mode 100644
index 000000000000..b99b69c44e6d
--- /dev/null
+++ b/app-shells/tcsh/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+ <longdescription>
+ Tcsh is an enhanced, but completely compatible version of the Berkeley
+ UNIX C shell (csh). It is a command language interpreter usable both as
+ an interactive login shell and a shell script command processor. It
+ includes a command-line editor, programmable word completion, spelling
+ correction, a history mechanism, job control and a C-like syntax.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-shells/tcsh/tcsh-6.20.00.ebuild b/app-shells/tcsh/tcsh-6.20.00.ebuild
new file mode 100644
index 000000000000..f78c18beaf4d
--- /dev/null
+++ b/app-shells/tcsh/tcsh-6.20.00.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic autotools prefix
+
+CONFVER="1.9"
+
+DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
+HOMEPAGE="http://www.tcsh.org/"
+SRC_URI="
+ ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz
+ https://dev.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls doc"
+RESTRICT="test"
+
+# we need gettext because we run autoconf (AM_ICONV)
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ doc? ( dev-lang/perl )"
+
+CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.20.00-debian-dircolors.patch # bug #120792
+ "${FILESDIR}"/${PN}-6.20.00-use-ncurses-tinfo.patch
+ "${FILESDIR}"/${PN}-6.18.01-aix.patch
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+
+ eautoreconf
+
+ # fix gencat usage
+ sed \
+ -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
+ -i nls/Makefile.in || die
+
+ # use sysmalloc (for larger alloc sets) on Darwin also
+ sed -i -e 's/__MACHTEN__/__MACH__/' config_f.h || die
+
+ # unify ECHO behaviour
+ echo "#undef ECHO_STYLE" >> config_f.h
+ echo "#define ECHO_STYLE BOTH_ECHO" >> config_f.h
+
+ eprefixify "${CONFDIR}"/*
+ # activate the right default PATH
+ if [[ -z ${EPREFIX} ]] ; then
+ sed -i \
+ -e 's/^#MAIN//' -e '/^#PREFIX/d' \
+ "${CONFDIR}"/csh.login || die
+ else
+ sed -i \
+ -e 's/^#PREFIX//' -e '/^#MAIN/d' \
+ "${CONFDIR}"/csh.login || die
+ fi
+
+ eapply_user
+}
+
+src_configure() {
+ # make tcsh look and live along the lines of the prefix
+ append-cppflags -D_PATH_DOTCSHRC="'"'"${EPREFIX}/etc/csh.cshrc"'"'"
+ append-cppflags -D_PATH_DOTLOGIN="'"'"${EPREFIX}/etc/csh.login"'"'"
+ append-cppflags -D_PATH_DOTLOGOUT="'"'"${EPREFIX}/etc/csh.logout"'"'"
+ append-cppflags -D_PATH_USRBIN="'"'"${EPREFIX}/usr/bin"'"'"
+ append-cppflags -D_PATH_BIN="'"'"${EPREFIX}/bin"'"'"
+
+ econf \
+ --prefix="${EPREFIX:-}" \
+ --datarootdir='${prefix}/usr/share' \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install.man
+
+ DOCS=( FAQ Fixes NewThings Ported README WishList Y2K )
+ if use doc ; then
+ perl tcsh.man2html tcsh.man || die
+ HTML_DOCS=( tcsh.html/*.html )
+ fi
+ einstalldocs
+
+ insinto /etc
+ doins \
+ "${CONFDIR}"/csh.cshrc \
+ "${CONFDIR}"/csh.login
+
+ # bug #119703: add csh -> tcsh symlink
+ dosym tcsh /bin/csh
+}
diff --git a/app-shells/thefuck/Manifest b/app-shells/thefuck/Manifest
new file mode 100644
index 000000000000..4ed6bb054b92
--- /dev/null
+++ b/app-shells/thefuck/Manifest
@@ -0,0 +1,4 @@
+DIST thefuck-3.23.tar.gz 1353847 SHA256 36b0af52219a56dc34bb085e75afa822c479c5c05b9393598effc2c1b3c5eb32 SHA512 893700fcec88d7c0070bdc1ea90309cb77ebd7e21895cc633e2d5d2f99a83117e182b8dd386abee97b96affce3126a745613612522b5c731c2e7ab7a162b3814 WHIRLPOOL 88c0d7ffcb4d9a902cba8a54bfbf5939daa2c9d573bc6b7b3c326504dd57345041987b4ee0da2b0f3aaa97f687e9ff143d8e3fffddb68b69e9f8768078bbc2e0
+EBUILD thefuck-3.23.ebuild 933 SHA256 9f5c407da9140829c90a2ca8285ad3957427204b4e02c23eb25f868786b964e4 SHA512 5c8c06a1ddc030a158a8234f4434c23748255ce8573d99e77ffe40489ed43d9a16a78aab0aa97c1cb0f4699ab4e7adaec14a361b120ca3e665e28a06ba992e65 WHIRLPOOL 01a89585375c5e4a5d53a17d6698102919bd6ce95c16dba72638b1a9eb4ab66f762ccc2d3c28db84a944a61534027230e759b8c0631d858f7adb349c423a3d32
+MISC ChangeLog 2933 SHA256 2c7a8be7cb68ab67c65731a16cd5d309d8c6f441a5b1d65394bf2dc897647ee7 SHA512 a12624ef18fe7b927a70d4c00cb2ab9d59645d65651e60f73a3eb141759407f4f690777cf8cfd668af83feb6aeaa9a630c80d385300e6531528dfeadafd1aa77 WHIRLPOOL 77a88bae2ff0e59a76830bb917d964afd6d8efeadbbc9e6801ec95adb8a3afbdf0f8b1ed407dcd1b5e84b238b3940a6f84fc492f0917fb638887348ed1ce9fdc
+MISC metadata.xml 322 SHA256 305121f0199953c8f6c6a0491b2b7ffc5a6708701b75f644aef67890826df211 SHA512 0faa74548c8ebc0f28026e95964b230cdc584dfaebb46d1914fbe209845263cb052a09f326a599df778ce57a8242e16c2da3ae74c7b36d641b67e91d4a48137f WHIRLPOOL 221a7c7d092268592832f52937da73aa38b1bf59a7d30154c71b6577ec6ace46751acb445506ea294dd72a72b8ea83d2ad53378f76516913c88f2a9e7c143446
diff --git a/app-shells/thefuck/metadata.xml b/app-shells/thefuck/metadata.xml
new file mode 100644
index 000000000000..f7e2bc9ec43e
--- /dev/null
+++ b/app-shells/thefuck/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nvbn/thefuck</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/thefuck/thefuck-3.23.ebuild b/app-shells/thefuck/thefuck-3.23.ebuild
new file mode 100644
index 000000000000..59434fe1c280
--- /dev/null
+++ b/app-shells/thefuck/thefuck-3.23.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{3_4,3_5,3_6})
+
+inherit distutils-r1
+
+DESCRIPTION="Magnificent app which corrects your previous console command"
+HOMEPAGE="https://github.com/nvbn/thefuck"
+SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/pyte[${PYTHON_USEDEP}]"
+DEPEND="test? ( ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}] )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ py.test || die
+}
diff --git a/app-shells/tmux-bash-completion/Manifest b/app-shells/tmux-bash-completion/Manifest
new file mode 100644
index 000000000000..cb0eb645ca0a
--- /dev/null
+++ b/app-shells/tmux-bash-completion/Manifest
@@ -0,0 +1,2 @@
+EBUILD tmux-bash-completion-9999.ebuild 520 SHA256 cc7668a89d1f6cb03be391b01c643c6cfbf9ddcf1a39615986685296c771bf4a SHA512 dc4b6d6be23e096d7603b3e610d2d4191a25ba444c7ac09c5a96bf1d93b86a97e3cfb4c1958a825a959f9abff2eb963719b19bec8ffc540c8b86c09f3c2273b2 WHIRLPOOL 83490d75e434e495994ca64681c11a9c841e0e76acf0929ab8849ec517e368912910e671690b8c342150289f7c10e35d68bd6d6d0ced02b45b399adf0c23deef
+MISC metadata.xml 466 SHA256 1a45ed5f15f15882cba83c467f9d4e0e677ceebd7fbb3b4faf8fcd05c4939b96 SHA512 43cc836a286e1a0af0dd8a0a5762ea88368c1cf601795febb9134f4ab9d257b3ebcdc5d62d7e1651c776cd94437a7dfdc082c2bfd4b5ff82227f3236738b6c27 WHIRLPOOL 800a308748a44bb3a80648a820c4d34fca76ad6b151d3967c948f51283c6e8750b5946868f040fd6a661dee8131aa40c888a48b7baa5df0777802a54052c554e
diff --git a/app-shells/tmux-bash-completion/metadata.xml b/app-shells/tmux-bash-completion/metadata.xml
new file mode 100644
index 000000000000..1f6ba86c16f2
--- /dev/null
+++ b/app-shells/tmux-bash-completion/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>imomaliev@github.com</email>
+ <name>Sardorbek Imomaliev</name>
+ </maintainer>
+ <remote-id type="github">imomaliev/tmux-bash-completion</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/tmux-bash-completion/tmux-bash-completion-9999.ebuild b/app-shells/tmux-bash-completion/tmux-bash-completion-9999.ebuild
new file mode 100644
index 000000000000..da4498863deb
--- /dev/null
+++ b/app-shells/tmux-bash-completion/tmux-bash-completion-9999.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit bash-completion-r1 git-r3
+
+DESCRIPTION="bash-completion scripts for tmux"
+HOMEPAGE="https://github.com/imomaliev/tmux-bash-completion"
+EGIT_REPO_URI="https://github.com/imomaliev/tmux-bash-completion.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ >=app-misc/tmux-2.2
+ app-shells/bash-completion
+ "
+RDEPEND="${DEPEND}"
+
+src_install() {
+ default
+ dobashcomp "${S}"/completions/tmux
+}
diff --git a/app-shells/zsh-completions/Manifest b/app-shells/zsh-completions/Manifest
new file mode 100644
index 000000000000..9effb26cfa56
--- /dev/null
+++ b/app-shells/zsh-completions/Manifest
@@ -0,0 +1,6 @@
+DIST zsh-completions-0.26.0.tar.gz 218057 SHA256 783768c8308cc0ff37bce346c66386308550ede05121e352b1a284ff6bf88540 SHA512 78ba96e0c6a30271181270244488b7f2c783047714dcf1eb39918d4b258fbaf1f54b718407418ffcc62f5bf552192aca3841497c0ffb8d3e9c6ea4fb85bc1754 WHIRLPOOL 27a6273f2ae35c4413283a30c506a40c19034af89fe22cba12ec0167f5caa9e8b9e29f057fe4be609c0f54cba8f6f9c610bfe481dccc78f91c653d78b81a5849
+EBUILD zsh-completions-0.26.0.ebuild 789 SHA256 6cd69d5a23381b08dc73ad33ceb0a0a955b946982d568f971d839e0a75477889 SHA512 d06bdd7166b0c5eae441a28c7c88e765c33661afd678a52409a83468c3526f48d6d90530fa430d063f3b07fba7a17fed829f7db1957b3f9cc4a6725915641db1 WHIRLPOOL 0de19f52359a3b7f1bd003c811a30a1776a58395b70df19dfd05bed5964a1d37b2e490a5113722f6070a2eec5c15a09e8edffd297d5b0ea3aea0eb6aa601bfcb
+EBUILD zsh-completions-9999.ebuild 785 SHA256 e5178dc86641ab2e9cf7e5cd011bcb631f86b903b3e0a8462093296362d87b21 SHA512 6801846ac6ca49cded07839324e97ac8d32fbb46454b60e56dd0a5644d918bff08b316ebfd9e5cb4c5d96cd4d12d3f1644abfc3893062e9267964386b4f5a8e7 WHIRLPOOL 4826bcf4fd77c8eedbe246247472b644d2d5f212e30e42fd5a9f0f4f072861f1696517794b95736c9daa1efbbc0148f473bea079a3b5ac59906df09ade3ff220
+MISC ChangeLog 5344 SHA256 8891da6bd7e94c4ffdaf38c8f148e63f7a7785419004ca7190ebc34506df696b SHA512 35e3016980ff898af6364f147253f58f2948bd0139fc71f5bd5d416421007ed5f69c7670847643e6648cd2eea4a841f9e73a43d0d33550fbae945834f085b9f3 WHIRLPOOL 0e2d856513b388c429b1472eb96285b54930d3fc0f8e307d1b5d5dd16de74afa9bb68abfc38f752ce36958987cc5648ac8e63d76fdb601e59a54a4c7d7f447dc
+MISC ChangeLog-2015 1128 SHA256 caed04468cca9cd99e0c96847a8c835649af86ac5b5f38c25072af940405ce71 SHA512 9908a0fd89eda8a33dc7c91f4b054fdfc3b7de126d96cac125ea30fb25ceb15a5ee215d4169375bd8a32390ec7869229842069c85954a220fbc7b8d8f44c77bb WHIRLPOOL 2610ffda5366d5f3d8059e6c838c570aaf3ddfecc87863d6433e324e00ecdc77a8672f05c96bd4e7d3a442c751a00a390513b065c9ee8ae71d2dbf1a0fe01506
+MISC metadata.xml 345 SHA256 e13f4be5ca0c3ab85414cce828fa066ed425e8e5bf17e70f56296e3b36724196 SHA512 e09a3412d8ea166270e3d6ce1d708cb989efa6889116d219ff76d96d0d92d533d7988504208ebc5e6a186327b6acc4e8b2c719c21c86bd84154292f6eac4a430 WHIRLPOOL abdee291a8e6ddbf04c92b011b74eeef268bbdf86a11b1e8121c130487c76257b9c48593ea9970458f5b726ce044a3f5c1c3f2adf7eafd28cdf2d82170c41141
diff --git a/app-shells/zsh-completions/metadata.xml b/app-shells/zsh-completions/metadata.xml
new file mode 100644
index 000000000000..d1f5bfca20a4
--- /dev/null
+++ b/app-shells/zsh-completions/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">zsh-users/zsh-completions</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/zsh-completions/zsh-completions-0.26.0.ebuild b/app-shells/zsh-completions/zsh-completions-0.26.0.ebuild
new file mode 100644
index 000000000000..e5c753f6371e
--- /dev/null
+++ b/app-shells/zsh-completions/zsh-completions-0.26.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/zsh-users/zsh-completions.git"
+else
+ SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Additional completion definitions for Zsh"
+HOMEPAGE="https://github.com/zsh-users/zsh-completions"
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="app-shells/zsh"
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins src/_*
+}
+
+pkg_postinst() {
+ elog
+ elog "If you happen to compile your functions, you may need to delete"
+ elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
+ elog "to your shell."
+ elog
+}
diff --git a/app-shells/zsh-completions/zsh-completions-9999.ebuild b/app-shells/zsh-completions/zsh-completions-9999.ebuild
new file mode 100644
index 000000000000..3ba0582d57d7
--- /dev/null
+++ b/app-shells/zsh-completions/zsh-completions-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/zsh-users/zsh-completions.git"
+else
+ SRC_URI="https://github.com/zsh-users/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Additional completion definitions for Zsh"
+HOMEPAGE="https://github.com/zsh-users/zsh-completions"
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="app-shells/zsh"
+
+src_install() {
+ insinto /usr/share/zsh/site-functions
+ doins src/_*
+}
+
+pkg_postinst() {
+ elog
+ elog "If you happen to compile your functions, you may need to delete"
+ elog "~/.zcompdump{,.zwc} and recompile to make the new completions available"
+ elog "to your shell."
+ elog
+}
diff --git a/app-shells/zsh/Manifest b/app-shells/zsh/Manifest
new file mode 100644
index 000000000000..01d1a28df532
--- /dev/null
+++ b/app-shells/zsh/Manifest
@@ -0,0 +1,28 @@
+AUX prompt_gentoo_setup-1 820 SHA256 818aede5695c1406bd2e720ab114bef13d373e48ee5a1f2cda7d36a9c26e30e1 SHA512 262ad91d7536c11c3b1db176217e9a9bf21df5d25d72ddfc7dece6eafceb74a252212939c8cbe5bee1ccc0e25fc4e6e906660877747f5224e862d4d22d1200a0 WHIRLPOOL 228d48c52ad48e97bb6e83e2a8c9970c49d7c10f61d9fe597ed7882a07aff5ab68d6997e81ae23b1588589c0ab3e19f452b791dda0ab9f3213ac0b751a8e82c2
+AUX zprofile-1 1663 SHA256 cd2c24db1b57843a95bf3be28ff2ee312a54d8ff112c322b8519c6cf8899c16e SHA512 d0baf1d4ed78a1d2f4e2bfcf5f038fbf6fe39d61e4ae3bfda0f6c073bf43260143a9b674935e4cf1436006450f641e22823ce853cfef774cd89f1912691c853f WHIRLPOOL 9524d18817584b46bc7def424c2a37a7d740f54755e9f7c9b74d0fe788a63c4ca993f6d3b969931a78e8c22cef0f0e7bcf2b9ce88aa1c9f85df79fbe78b0e92d
+AUX zprofile-2 1555 SHA256 ff7e2b700e49854c77692e15687600742e69b2f19d63ca8ff82468a2ec604dce SHA512 cfc0a9a8b0c01a9c87d02216800b7245bfd98ea5f43cefdd30c902d4bd2318c9b6f7f1ad299672b693734e7014514fce0fb9c4b1321508305a6d0137ee02d966 WHIRLPOOL 0ef4fdbf12ff95522105fa35db924203f078c0e2c5d6fd57bb5b61350c4da7947ab14886a43690c3c2c11d69ca0cfc9d69b6fa816445ce0509d8aec362c12e54
+AUX zprofile-3 1130 SHA256 bea2c11348fa782a9946bcdb9bf8dfda79de520ebd2081e3c4e185710f2e762a SHA512 d1059e427450e03d3e638e96ff4f43548cee5a385c4d4f00701023570ef6490b15cd01d738bd97e0e8d003aa7e375c51a80a2b841066c22d0910966a54c2cc2f WHIRLPOOL ca2dcf4824b1b7c63a27d745b3f5862ae4c441f45e77fd4a8b6e6ad93c011673b9efca84634dda5dab91d786996fd16af8356afff9684dd44972c805849e2f46
+AUX zsh-5.1.0-gcc-5.patch 436 SHA256 b373481d7318da43d163167e30ca25004711e3b8a88f02d068bb0adfc2d5240c SHA512 3c9ad106baa9ba5c7db389c4291767f61ee3c4f84e20cd4e3d8e73264a2d5e7c42b1e1b268e207bdccbcab02f79037de110630b2f2b855a1871b4f1e6f2ae558 WHIRLPOOL fe985396d4edc227bcced688d207bdff9842e4bb5c2058490b399921f6f653b2ca2207474ba7b74958aec983545dcea6b0a7ef9baa1ea2c3159f2d9e0a24442f
+AUX zsh-5.3-init.d-gentoo.diff 1048 SHA256 0484d5d5527d25d7574d85edc6955be69f718f61af94ed98113fe9d641841ed9 SHA512 9f059cf4b99b7006955ab0ac43d4a4b4d762d193da9a738f771c562f2c3af3a9125694da59c584a3ff829598443e5429c873319ecd8fae2feba7096b597798dd WHIRLPOOL 4fa7c72748587a34fbea7efd9cbffa50eb2756e4735aa8f5512691fd9f93e889a489781d55d900b6341ecf48adb79c10e9d97c269d273f99db1e3808369b6698
+AUX zsh-init.d-gentoo-r1.diff 987 SHA256 2fd1981c9a230c624250d6056aaeb65bc57df8d082abf42f4060260a1c8663f6 SHA512 56ed616177c0167d1819d9749539c035907f4524a3e145b152ca7ac6236c96f0110eb23479794f35fbf86c9ea72286ab832f1a9e3e658b676353bc78e1b06a38 WHIRLPOOL 9680ac95c216d42774f6ebe5f3b28574110e82560c71b0a3dcd4d8ab90f746b3515b0119dda74038b89c457b1d9274e9f14f6923c47c7877ca64938bf24b1983
+DIST zsh-5.0.5-doc.tar.bz2 2940018 SHA256 e4f22bafaa8410bbc2d83f2d748ca4764365752c46f7e1099be54f2a62c492f2 SHA512 341e4a62c7c2367d17c54c5133b7c0a74e6c0becfaddd3c1f5dbe782300bbd74b0fc2066e892776cb52ce11cd0600739bfd5a7dd067eaae8a1d11b1b2aa0c3b0 WHIRLPOOL 48e021bc2caf840d048888faf5cafea5ce698968479e1c8791f33dc36f9b0f60db16ff481e88ce8c903480d905b728eb9ff9dfc8fbcb066d3698cc0cc3a02d8a
+DIST zsh-5.0.5.tar.bz2 3104375 SHA256 6624d2fb6c8fa4e044d2b009f86ed1617fe8583c83acfceba7ec82826cfa8eaf SHA512 34d69bed190cbc476bcdaa4b703fee1caaeae7e011fe7ea595b29bbd31df57bbe4d19b5940618e0c89a0a4b6c476f9ef03ce9829b4fb3735c1aedf309b0225a5 WHIRLPOOL bf02ca194261e15e88a9e26212644aa7be1afcc8e73cd6bb18ffb8e1c1d46a8742fee109d92a3b455c418258df9ae74dece21a05ff0e54e8c370af094512af16
+DIST zsh-5.2-doc.tar.xz 3108600 SHA256 328352cf3d5d0ec4b6e31dcefd25ff5b4c0e6b8077d1fe84448ebb50d6ada52a SHA512 a2e6b95c293546011e1697e0a2f66a3740092ef61904fa3b469f33e8af0ced6028fac77cd51ebe9ee4cb168403d9af7c72fd071a15ba3dc273243bd71fa714a0 WHIRLPOOL a6b023af9e3d94d31b56aba688c2bf3c16ff6ed1dc9db34dd970c4bf0461e24b7aab0b9113cc5f16bd87ab2ca9d973a990a3721c08500cbcd45fa2fe2d43a260
+DIST zsh-5.2.tar.xz 2820108 SHA256 f17916320ffaa844bbd7ce48ceeb5945fc5f3eff64b149b4229bbfbdf3795a9d SHA512 9938af95e09203a0a313f441e0c23279136806f6f087475ca9a66c678c57ecffc87f73ece8133a36700af8de7cb5d1bec8559eabdec2b66102062e64026c2e72 WHIRLPOOL 5348ce11026a4e50d0ecf118cb379e9765cb98fcf32563489fd860ad0234c3f3aefb7f3fe28d18a97f2ddba54dc2b2cf9909b81cdc0e213f26f599ba68fd8833
+DIST zsh-5.3.1-doc.tar.xz 3161408 SHA256 d51762fcb5699c332da8a4e404cb9eb8d5de8fa4e0235a08bcf252c915bda6ed SHA512 27f9d50094c21a77b36fe3309a9ab81a2ccf6570139b11038bbebe9fff2d0701f0bccf9163f5bf47d51ce7b978df621a4cb9089c33e9179a61636fcc94a9fb9c WHIRLPOOL 40d10cf9767a168f2619b0bed947d6a05a45bece6a5a5bd353422fef88ca267bf2f03f18f6ce9ee86def9219b13e3c8fa145f73c22bb3f9d786ee6eddd773953
+DIST zsh-5.3.1.tar.xz 2928832 SHA256 fc886cb2ade032d006da8322c09a7e92b2309177811428b121192d44832920da SHA512 25f723c76d2779c3cb53de2e0dbb1163ec289f76282bec49757880d0ce32bf64a001a6b40c54c290d342aa09f92319af5c597bff99de8dbd1fc895c11836f304 WHIRLPOOL cdd62b5c144a7b416bb46b7a14ddc12f5e1ff133acc292abcdc94d402b2c0a6b57667f962cb808bdd52fdedd4b98fb5669327d1754183f242f29bdaea73747fc
+DIST zsh-5.4.1-doc.tar.xz 3197560 SHA256 b8b1a40aeec852806ad2b74b0a0c534320bf517e2fe2a087c0c9d39e75dc29f1 SHA512 2cc2c87dd408fba68a483fb33323abb2d3ecd66c2f4042fd4e1cff13d83df819075f54ef72c9ab6dfc98638948653e4210f2b8c0ea5c40e3b993e93bd77ee8a0 WHIRLPOOL d279964f59386d9a4cecf53998bb90b5c99b9331a06641bbe352445f27f8d6868214ea257e238e3179bdda0a22e46d4716853209ae4f01ad232ffe7615dec785
+DIST zsh-5.4.1.tar.xz 2972824 SHA256 94cbd57508287e8faa081424509738d496f5f41e32ed890e3a5498ce05d3633b SHA512 c666c54b05e2707e3a3cf9a87a17863792f0c89ec14f5fdc85a3064f26249cfba42a2953bc76bb90205fb87a08c203a165a5240c9fd6c489c13d8cc82ee6e979 WHIRLPOOL efc33f3bfc79013dd51c4cde14c99fafe51ee18b69d2aaaa6d244d1cc3fe2845633edb9183bf2db0e6df02cc4329ca3d59e1dacba9328ed68c72f0e7b8dac35e
+DIST zsh-5.4.2-doc.tar.xz 3198880 SHA256 5229cc93ebe637a07deb5b386b705c37a50f4adfef788b3c0f6647741df4f6bd SHA512 5dcf561380ec46358754a0a03224152cb0db197d8a1558c6457342a6fd0ec6ea43bc3c1c1a79390a2a6034e09e0e668466962462ab14e90807170436a36f82b7 WHIRLPOOL 52bd2e26704c4a547ab2f0d0c256618995f32f3698dd3b6074e0fa340984dcbd0cf5fba31a9f4058a80d3daaad266f94eaea18a0e8a8abfbe237da45e654f254
+DIST zsh-5.4.2.tar.gz 4482413 SHA256 957bcdb2c57f64c02f673693ea5a7518ef24b6557aeb3a4ce222cefa6d74acc9 SHA512 5eaa2ff3dc8052dfb50d2be19bfeed1856b00f7c2dc698129c95c2373a516ee61dba5b42ded390ac20b171abe352b1875f177a4dda8fdc15a4f2a05bb7a024e2 WHIRLPOOL a8edf0bda87c56694f4774e071375f251106c6650d6956fc12007d4f1d9b2b1728a35432b611677a9db2c89ce1d6e30c0d5e068bacfcb03b008bb08379d4a031
+EBUILD zsh-5.0.5.ebuild 5072 SHA256 3f19f1a91188f9ba78412d8653a5d4f258b6c115500504b5b5bce11c1bf3213a SHA512 0081b5436de379de9bc164ed04e69fcd34481a738d192013091f660cb0fedca66bad23fcb129694a13993d6f2e26031be9a34768eb7329371b112148dbf2b433 WHIRLPOOL 2e3601a158e38ae106dc392c30ad68db6b43c63b333f6c9b06b32d020e59d1c58d1748fada15a3058fe5f19eed1d08f3bdddcc86fda99f02c28156a97bd93d4f
+EBUILD zsh-5.2-r1.ebuild 6003 SHA256 a0e58d57d03f763f2b6f0df244071c2a6c90eea756a6352103b9a617552a3a7c SHA512 69524e436c27c178a06b0cad5a67af9c54e6ac7ebbc6c9d62393c80e8ad8a2f89d02962ee3645d4857ad7772c1dff2cdc7e6b602813a184a413876ef2d9747c1 WHIRLPOOL 51fe230e26dcaa8949b7722c972e6ca0e12ad4af2d83c49cb86ef7946637a59863b1b04d9b935ee6da67e3cece350034014cab1d62616c3928713c8689dae6d6
+EBUILD zsh-5.2.ebuild 5902 SHA256 96c65d855e64c69ba91f06458f73f9b74401c06a6a2eb3a4a2c82e5f18c8ff7e SHA512 951baadb096bb2741bd53034e992aef28b7be5e829364698d434764a41d18cbb55eb6b552d604934d79fb959030f0c89f44a829d7f3251235e83b340edad2c0f WHIRLPOOL ef3a9772ca996ab9dc4705e2e465814929ee2020c951c0d9677b48dcccef0795e48d1321ddf140ce8daeb9f1e6042004a03bc0c5ff179108cfebf0478a6229c9
+EBUILD zsh-5.3.1.ebuild 5998 SHA256 b3588a158b34985010a4ff146623d62bcc762fdf2ffc2045c576319f8e652463 SHA512 9fbc2ead9f0c1ce2fc3108415bdd304302d31e86525bdafc6ee9dc0225daef0853c52c4c74bf52f10948dd03aa76550f8a0f25d4a05585b1acf1e9ea24367a60 WHIRLPOOL 2b8f4d196e5533b62ddd2eef6e0284cc873e40523a11df318f81cbeeef9cad853888c24f7730d43b5c69defa8811efda91ff19379aac701be822d68709241072
+EBUILD zsh-5.4.1.ebuild 6033 SHA256 7863669fca1c9b1f089c2a75750cd600b3559eb8fc82eb34e63b16263b9fb887 SHA512 569866901cb07fc0264e7f29fcb061ec70b191fd28c94e3f186604e44b1a520a1b5a636a726b99fdf7d4617cec3148ae45d1188c25096d1ca75b5fc3cf5c037e WHIRLPOOL 78f9484e303973a59d5f0a542569a6b686709bccddba300003b970b293b0acca648d23f9d81f5a4caca26599f9786e65f10ce7f7416c18bff6317e0df90df5d1
+EBUILD zsh-5.4.2-r1.ebuild 5829 SHA256 fd67393e6024c3e64e69bd6270823945c935ceb7d19e8b5349319100fd32aef1 SHA512 aa8be68089a1b7eae939a1face739920b72c99b25ffeda6bd57e5d58e924cbf6a0ba35de042552aba237bd26a4cd35e0955c8596a64876cb01e3a2673642f5cf WHIRLPOOL 88ca42ba0762e06348360dff997656ebef1a21c90aaaa35b474212b6eb9904d361131a74334e6266bf28eed5fc16a39d13169fae77ac9dc4a7a509a77aec7404
+EBUILD zsh-5.4.2.ebuild 6008 SHA256 4d5564f1cc4d38cbc53d27dc5f5d8a76256c7b07732750977beb7872a50c0bdb SHA512 0716185d5d48a367594ca1ef7f5eb12731421d854e5f85fea3b824cddf68e0e3f85f9343b36ef0511c424f9191b642b6066fccd7c5819d3d8d10b63a5becacfb WHIRLPOOL 876925c8e2bc5c5ce52177d11b73cb87c9982b8b123e4155e815a94d9c531a4d2305b336739917b6e9ddc203aa03d96fbf99cff40b37ea672ea3b060766d05ba
+EBUILD zsh-9999.ebuild 6008 SHA256 4d5564f1cc4d38cbc53d27dc5f5d8a76256c7b07732750977beb7872a50c0bdb SHA512 0716185d5d48a367594ca1ef7f5eb12731421d854e5f85fea3b824cddf68e0e3f85f9343b36ef0511c424f9191b642b6066fccd7c5819d3d8d10b63a5becacfb WHIRLPOOL 876925c8e2bc5c5ce52177d11b73cb87c9982b8b123e4155e815a94d9c531a4d2305b336739917b6e9ddc203aa03d96fbf99cff40b37ea672ea3b060766d05ba
+MISC ChangeLog 5480 SHA256 5e3d5282a9eb18868a1df16d4b727ed9def259848598bae83758657422de6478 SHA512 0ec26c1c0f301edb2ee191b688c0ca4158274743a315fbdba85590d53a18aaf0d736d3edf550454512f2c1011499e8f858de876af69b88ff62785dcad773a42b WHIRLPOOL 5625dc24afdced8a862c084eeca6c99a5a35982e9244d0dcd26f87f9380fe1ed02b0479c9353484ab5ecf8161c6a577e1f703714fbb3455542cff20ee474170e
+MISC ChangeLog-2015 35160 SHA256 1f55714ffb2bcf458a6f28ac5ee473b874ccd5538f1f3297851dc672f3c09333 SHA512 d7c3cbcfd79d1794fca5d82ce10c12a31f2fc59a025db73eee264c97794002bb6e32e9a39b40bc0abf5d421b1ce0914f9a534ea11da2f5f74e7da9befd87ac1a WHIRLPOOL 78d948609caa56742cc24d7436017fa4589877da4b50398b86cbb7c694871747975734cc8b3c53b1474d6c883dad2b3be7f42000f764210591c92f868e6d491b
+MISC metadata.xml 627 SHA256 2e3ff86371ea1ba75da3fb5b47fcbbea16a4bacc3e10e69c0aa8b20ce93caaed SHA512 489307b83b15893965874824d59bf9d54a6f82aa13c62e1e7a12ada87d10b8e5d3ab63c6e1dc327b087f7403c871ce3cb766423e3513ed0c3b2304342775fbb1 WHIRLPOOL d7c3c04c8ea0ebf8a4090206f137e256d9b9a37660f579de7475f8dbd092eff9fac99446398e6f70a0766a084ad714d230d70c026e262628d9ce68217853f28a
diff --git a/app-shells/zsh/files/prompt_gentoo_setup-1 b/app-shells/zsh/files/prompt_gentoo_setup-1
new file mode 100644
index 000000000000..046e2d87f53a
--- /dev/null
+++ b/app-shells/zsh/files/prompt_gentoo_setup-1
@@ -0,0 +1,33 @@
+# gentoo prompt theme
+
+prompt_gentoo_help () {
+ cat <<'EOF'
+This prompt is color-scheme-able. You can invoke it thus:
+
+ prompt gentoo [<promptcolor> [<usercolor> [<rootcolor>]]]
+
+EOF
+}
+
+prompt_gentoo_setup () {
+ local prompt_gentoo_prompt=${1:-'blue'}
+ local prompt_gentoo_user=${2:-'green'}
+ local prompt_gentoo_root=${3:-'red'}
+
+ if [ "$USER" = 'root' ]
+ then
+ local base_prompt="%B%F{$prompt_gentoo_root}%m%k "
+ else
+ local base_prompt="%B%F{$prompt_gentoo_user}%n@%m%k "
+ fi
+ local post_prompt="%b%f%k"
+
+ #setopt noxtrace localoptions
+
+ local path_prompt="%B%F{$prompt_gentoo_prompt}%1~"
+ typeset -g PS1="$base_prompt$path_prompt %# $post_prompt"
+ typeset -g PS2="$base_prompt$path_prompt %_> $post_prompt"
+ typeset -g PS3="$base_prompt$path_prompt ?# $post_prompt"
+}
+
+prompt_gentoo_setup "$@"
diff --git a/app-shells/zsh/files/zprofile-1 b/app-shells/zsh/files/zprofile-1
new file mode 100644
index 000000000000..e78ec265bf51
--- /dev/null
+++ b/app-shells/zsh/files/zprofile-1
@@ -0,0 +1,42 @@
+# @GENTOO_PORTAGE_EPREFIX@/etc/zsh/zprofile
+
+# Load environment settings from profile.env, which is created by
+# env-update from the files in /etc/env.d
+if [ -e "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.env ] ; then
+ . "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.env
+fi
+
+# You should override these in your ~/.zprofile (or equivalent) for per-user
+# settings. For system defaults, you can add a new file in /etc/profile.d/.
+export EDITOR=${EDITOR:-/bin/nano}
+export PAGER=${PAGER:-/usr/bin/less}
+
+# 077 would be more secure, but 022 is generally quite realistic
+umask 022
+
+# Set up PATH depending on whether we're root or a normal user.
+# There's no real reason to exclude sbin paths from the normal user,
+# but it can make tab-completion easier when they aren't in the
+# user's PATH to pollute the executable namespace.
+#
+# It is intentional in the following line to use || instead of -o.
+# This way the evaluation can be short-circuited and calling whoami is
+# avoided.
+if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
+ @ZSH_NOPREFIX@PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
+ @ZSH_PREFIX@PATH="@GENTOO_PORTAGE_EPREFIX@/usr/sbin:@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/sbin:@GENTOO_PORTAGE_EPREFIX@/bin:${ROOTPATH}:/usr/sbin:/usr/bin:/sbin:/bin"
+else
+ @ZSH_NOPREFIX@PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
+ @ZSH_PREFIX@PATH="@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin:${PATH}:/usr/bin:/bin"
+fi
+export PATH
+unset ROOTPATH
+
+shopts=$-
+setopt nullglob
+for sh in "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.d/*.sh ; do
+ [ -r "$sh" ] && . "$sh"
+done
+unsetopt nullglob
+set -$shopts
+unset sh shopts
diff --git a/app-shells/zsh/files/zprofile-2 b/app-shells/zsh/files/zprofile-2
new file mode 100644
index 000000000000..9c4313c4494d
--- /dev/null
+++ b/app-shells/zsh/files/zprofile-2
@@ -0,0 +1,41 @@
+# @GENTOO_PORTAGE_EPREFIX@/etc/zsh/zprofile
+
+# Load environment settings from profile.env, which is created by
+# env-update from the files in /etc/env.d
+if [ -e "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.env ] ; then
+ . "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.env
+fi
+
+# You should override these in your ~/.zprofile (or equivalent) for per-user
+# settings. For system defaults, you can add a new file in /etc/profile.d/.
+export EDITOR=${EDITOR:-/bin/nano}
+export PAGER=${PAGER:-/usr/bin/less}
+
+# 077 would be more secure, but 022 is generally quite realistic
+umask 022
+
+# Set up PATH depending on whether we're root or a normal user.
+# There's no real reason to exclude sbin paths from the normal user,
+# but it can make tab-completion easier when they aren't in the
+# user's PATH to pollute the executable namespace.
+#
+# It is intentional in the following line to use || instead of -o.
+# This way the evaluation can be short-circuited and calling whoami is
+# avoided.
+if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
+ @ZSH_NOPREFIX@PATH="${ROOTPATH}"
+ @ZSH_PREFIX@PATH="@GENTOO_PORTAGE_EPREFIX@/usr/sbin:@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/sbin:@GENTOO_PORTAGE_EPREFIX@/bin:${ROOTPATH}:/usr/sbin:/usr/bin:/sbin:/bin"
+@ZSH_PREFIX@else
+ @ZSH_PREFIX@PATH="@GENTOO_PORTAGE_EPREFIX@/usr/bin:@GENTOO_PORTAGE_EPREFIX@/bin:${PATH}:/usr/bin:/bin"
+fi
+export PATH
+unset ROOTPATH
+
+shopts=$-
+setopt nullglob
+for sh in "@GENTOO_PORTAGE_EPREFIX@"/etc/profile.d/*.sh ; do
+ [ -r "$sh" ] && . "$sh"
+done
+unsetopt nullglob
+set -$shopts
+unset sh shopts
diff --git a/app-shells/zsh/files/zprofile-3 b/app-shells/zsh/files/zprofile-3
new file mode 100644
index 000000000000..6c223a5ef158
--- /dev/null
+++ b/app-shells/zsh/files/zprofile-3
@@ -0,0 +1,38 @@
+# /etc/zsh/zprofile
+
+# Load environment settings from profile.env, which is created by
+# env-update from the files in /etc/env.d
+if [ -e /etc/profile.env ] ; then
+ . /etc/profile.env
+fi
+
+# You should override these in your ~/.zprofile (or equivalent) for per-user
+# settings. For system defaults, you can add a new file in /etc/profile.d/.
+export EDITOR=${EDITOR:-/bin/nano}
+export PAGER=${PAGER:-/usr/bin/less}
+
+# 077 would be more secure, but 022 is generally quite realistic
+umask 022
+
+# Set up PATH depending on whether we're root or a normal user.
+# There's no real reason to exclude sbin paths from the normal user,
+# but it can make tab-completion easier when they aren't in the
+# user's PATH to pollute the executable namespace.
+#
+# It is intentional in the following line to use || instead of -o.
+# This way the evaluation can be short-circuited and calling whoami is
+# avoided.
+if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
+ PATH="${ROOTPATH}"
+fi
+export PATH
+unset ROOTPATH
+
+shopts=$-
+setopt nullglob
+for sh in /etc/profile.d/*.sh ; do
+ [ -r "$sh" ] && . "$sh"
+done
+unsetopt nullglob
+set -$shopts
+unset sh shopts
diff --git a/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch
new file mode 100644
index 000000000000..74756d2946c4
--- /dev/null
+++ b/app-shells/zsh/files/zsh-5.1.0-gcc-5.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/547950
+http://www.zsh.org/mla/workers/2015/msg02660.html
+
+fix building w/gcc-5
+
+--- a/Src/Modules/system.mdd
++++ b/Src/Modules/system.mdd
+@@ -15,7 +15,7 @@
+ touch errtmp.out; \
+ else \
+ $(AWK) -f $(sdir)/errnames1.awk @ERRNO_H@ >errtmp.c; \
+- $(CPP) errtmp.c >errtmp.out; \
++ $(CPP) -P errtmp.c >errtmp.out; \
+ fi
+ $(AWK) -f $(sdir)/errnames2.awk errtmp.out > $@
+ rm -f errtmp.c errtmp.out
diff --git a/app-shells/zsh/files/zsh-5.3-init.d-gentoo.diff b/app-shells/zsh/files/zsh-5.3-init.d-gentoo.diff
new file mode 100644
index 000000000000..9deafd0d981c
--- /dev/null
+++ b/app-shells/zsh/files/zsh-5.3-init.d-gentoo.diff
@@ -0,0 +1,31 @@
+--- zsh-5.3/Completion/Unix/Command/_init_d
++++ zsh-5.3/Completion/Unix/Command/_init_d
+@@ -1,6 +1,6 @@
+ #compdef -p */(init|rc[0-9S]#).d/*
+
+-local cmds script
++local cmds script opts
+ local -a flags
+
+ _compskip=all
+@@ -102,10 +102,18 @@
+
+ script=$words[1]
+ [[ $script = */* ]] || script="$(_init_d_fullpath "$script")"
++[[ ! -f $script ]] &&
++ { _message "${words[1]:t} is not an init script" && return }
++
+
+ cmds=( $(_init_d_get_cmds) ) || return 1
+
+-(( $#cmds )) || zstyle -a ":completion:${curcontext}:commands" commands cmds ||
+- cmds=(start stop)
++(( $#cmds )) || zstyle -a ":completion:${curcontext}:commands" commands cmds
++opts=(start stop restart pause zap status ineed iuse needsme usesme broken)
++
++# If we didn't get $cmds from a zstyle, then read init script for opts.
++# If script doesn't specify opts, then default to the standard opts.
++(( $#cmds )) || cmds=( ${(eQz)${(M)${(f)"$( <$script)"}:#[[:blank:]]#opts=*}#*=} )
++(( $#cmds )) || cmds=($opts)
+
+ _arguments -s -A "-*" $flags ':init.d command:_sub_commands $cmds'
diff --git a/app-shells/zsh/files/zsh-init.d-gentoo-r1.diff b/app-shells/zsh/files/zsh-init.d-gentoo-r1.diff
new file mode 100644
index 000000000000..9597a733c903
--- /dev/null
+++ b/app-shells/zsh/files/zsh-init.d-gentoo-r1.diff
@@ -0,0 +1,30 @@
+--- zsh-4.3.11/Completion/Unix/Command/_init_d
++++ zsh-4.3.11/Completion/Unix/Command/_init_d
+@@ -1,6 +1,6 @@
+ #compdef -p */(init|rc[0-9S]#).d/*
+
+-local cmds script
++local cmds script opts
+
+ _compskip=all
+
+@@ -83,10 +83,17 @@
+
+ script=$words[1]
+ [[ $script = */* ]] || script="$(_init_d_fullpath "$script")"
++[[ ! -f $script ]] &&
++ { _message "${words[1]:t} is not an init script" && return }
+
+ cmds=( $(_init_d_get_cmds) ) || return
+
+-(( $#cmds )) || zstyle -a ":completion:${curcontext}:commands" commands cmds ||
+- cmds=(start stop)
++(( $#cmds )) || zstyle -a ":completion:${curcontext}:commands" commands cmds
++opts=(start stop restart pause zap status ineed iuse needsme usesme broken)
++
++# If we didn't get $cmds from a zstyle, then read init script for opts.
++# If script doesn't specify opts, then default to the standard opts.
++(( $#cmds )) || cmds=( ${(eQz)${(M)${(f)"$( <$script)"}:#[[:blank:]]#opts=*}#*=} )
++(( $#cmds )) || cmds=($opts)
+
+ _sub_commands $cmds
diff --git a/app-shells/zsh/metadata.xml b/app-shells/zsh/metadata.xml
new file mode 100644
index 000000000000..4c28ddb4044d
--- /dev/null
+++ b/app-shells/zsh/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <longdescription>
+ Zsh is a shell designed for interactive use, although it is also a
+ powerful scripting language. Many of the useful features of bash, ksh,
+ and tcsh were incorporated into zsh; many original features were
+ added.
+</longdescription>
+</pkgmetadata>
diff --git a/app-shells/zsh/zsh-5.0.5.ebuild b/app-shells/zsh/zsh-5.0.5.ebuild
new file mode 100644
index 000000000000..2237b052ed62
--- /dev/null
+++ b/app-shells/zsh/zsh-5.0.5.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib prefix
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+SRC_URI="http://www.zsh.org/pub/${P}.tar.bz2
+ doc? ( http://www.zsh.org/pub/${P}-doc.tar.bz2 )"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? ( >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] ) )
+ gdbm? ( sys-libs/gdbm )
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+
+src_prepare() {
+ # fix zshall problem with soelim
+ ln -s Doc man1
+ mv Doc/zshall.1 Doc/zshall.1.soelim
+ soelim Doc/zshall.1.soelim > Doc/zshall.1
+
+ epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
+
+ cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+}
+
+src_configure() {
+ local myconf=
+
+ if use static ; then
+ myconf+=" --disable-dynamic"
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=" \
+ --enable-zsh-debug \
+ --enable-zsh-mem-debug \
+ --enable-zsh-mem-warning \
+ --enable-zsh-secure-free \
+ --enable-zsh-hash-debug"
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=" --enable-libs=-liconv"
+ append-ldflags -Wl,-x
+ fi
+
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --enable-etcdir="${EPREFIX}"/etc/zsh \
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ $(use_enable maildir maildir-support) \
+ $(use_enable pcre) \
+ $(use_enable caps cap) \
+ $(use_enable unicode multibyte) \
+ $(use_enable gdbm ) \
+ ${myconf}
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -i \
+ -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install.info
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ # install miscellaneous scripts; bug #54520
+ local i
+ sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ dohtml -r Doc/*
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ # should link to https://wiki.gentoo.org/wiki/Zsh/Guide
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.2-r1.ebuild b/app-shells/zsh/zsh-5.2-r1.ebuild
new file mode 100644
index 000000000000..636acc06e906
--- /dev/null
+++ b/app-shells/zsh/zsh-5.2-r1.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
+ doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
+ fi
+
+ cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=()
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --enable-etcdir="${EPREFIX}"/etc/zsh \
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ $(use_enable maildir maildir-support) \
+ $(use_enable pcre) \
+ $(use_enable caps cap) \
+ $(use_enable unicode multibyte) \
+ $(use_enable gdbm ) \
+ "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.2.ebuild b/app-shells/zsh/zsh-5.2.ebuild
new file mode 100644
index 000000000000..d36a785723a5
--- /dev/null
+++ b/app-shells/zsh/zsh-5.2.ebuild
@@ -0,0 +1,212 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic multilib prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
+ doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ # fix zshall problem with soelim
+ ln -s Doc man1
+ mv Doc/zshall.1 Doc/zshall.1.soelim
+ soelim Doc/zshall.1.soelim > Doc/zshall.1
+
+ epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
+ epatch "${FILESDIR}"/${PN}-5.1.0-gcc-5.patch #547950
+
+ cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=()
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --enable-etcdir="${EPREFIX}"/etc/zsh \
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ $(use_enable maildir maildir-support) \
+ $(use_enable pcre) \
+ $(use_enable caps cap) \
+ $(use_enable unicode multibyte) \
+ $(use_enable gdbm ) \
+ "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install.info
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ dohtml -r Doc/*
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.3.1.ebuild b/app-shells/zsh/zsh-5.3.1.ebuild
new file mode 100644
index 000000000000..af63863dfccc
--- /dev/null
+++ b/app-shells/zsh/zsh-5.3.1.ebuild
@@ -0,0 +1,217 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
+ doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
+ fi
+
+ cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=()
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --enable-etcdir="${EPREFIX}"/etc/zsh \
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ $(use_enable maildir maildir-support) \
+ $(use_enable pcre) \
+ $(use_enable caps cap) \
+ $(use_enable unicode multibyte) \
+ $(use_enable gdbm ) \
+ "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.4.1.ebuild b/app-shells/zsh/zsh-5.4.1.ebuild
new file mode 100644
index 000000000000..8919a5c5da5a
--- /dev/null
+++ b/app-shells/zsh/zsh-5.4.1.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="http://www.zsh.org/pub/${P}.tar.xz
+ doc? ( http://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+ !<sys-apps/baselayout-2.4.1
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
+ fi
+
+ cp "${FILESDIR}"/zprofile-2 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=()
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf \
+ --bindir="${EPREFIX}"/bin \
+ --libdir="${EPREFIX}"/usr/$(get_libdir) \
+ --enable-etcdir="${EPREFIX}"/etc/zsh \
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help \
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
+ --enable-function-subdirs \
+ --with-tcsetpgrp \
+ $(use_enable maildir maildir-support) \
+ $(use_enable pcre) \
+ $(use_enable caps cap) \
+ $(use_enable unicode multibyte) \
+ $(use_enable gdbm ) \
+ "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.4.2-r1.ebuild b/app-shells/zsh/zsh-5.4.2-r1.ebuild
new file mode 100644
index 000000000000..79789092e504
--- /dev/null
+++ b/app-shells/zsh/zsh-5.4.2-r1.ebuild
@@ -0,0 +1,211 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="https://www.zsh.org/pub/${P}.tar.gz
+ doc? ( https://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="https://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+ !<sys-apps/baselayout-2.4.1
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=(
+ --bindir="${EPREFIX}"/bin
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
+ --enable-etcdir="${EPREFIX}"/etc/zsh
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
+ --enable-function-subdirs
+ --with-tcsetpgrp
+ $(use_enable maildir maildir-support)
+ $(use_enable pcre)
+ $(use_enable caps cap)
+ $(use_enable unicode multibyte)
+ $(use_enable gdbm )
+ )
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ export PREFIX_QUOTE_CHAR='"' PREFIX_EXTRA_REGEX="/EUID/s,0,${EUID},"
+ newins "$(prefixify_ro "${FILESDIR}"/zprofile-3)" zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-5.4.2.ebuild b/app-shells/zsh/zsh-5.4.2.ebuild
new file mode 100644
index 000000000000..2b9c7dcd500d
--- /dev/null
+++ b/app-shells/zsh/zsh-5.4.2.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="https://www.zsh.org/pub/${P}.tar.gz
+ doc? ( https://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="https://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+ !<sys-apps/baselayout-2.4.1
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
+ fi
+
+ cp "${FILESDIR}"/zprofile-2 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=(
+ --bindir="${EPREFIX}"/bin
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
+ --enable-etcdir="${EPREFIX}"/etc/zsh
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
+ --enable-function-subdirs
+ --with-tcsetpgrp
+ $(use_enable maildir maildir-support)
+ $(use_enable pcre)
+ $(use_enable caps cap)
+ $(use_enable unicode multibyte)
+ $(use_enable gdbm )
+ )
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}
diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-9999.ebuild
new file mode 100644
index 000000000000..2b9c7dcd500d
--- /dev/null
+++ b/app-shells/zsh/zsh-9999.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic prefix
+
+if [[ ${PV} == 9999* ]] ; then
+ inherit git-r3 autotools
+ EGIT_REPO_URI="git://git.code.sf.net/p/zsh/code"
+else
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ SRC_URI="https://www.zsh.org/pub/${P}.tar.gz
+ doc? ( https://www.zsh.org/pub/${P}-doc.tar.xz )"
+fi
+
+DESCRIPTION="UNIX Shell similar to the Korn shell"
+HOMEPAGE="https://www.zsh.org/"
+
+LICENSE="ZSH gdbm? ( GPL-2 )"
+SLOT="0"
+IUSE="caps debug doc examples gdbm maildir pcre static unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.1:0=
+ static? ( >=sys-libs/ncurses-5.7-r4:0=[static-libs] )
+ caps? ( sys-libs/libcap )
+ pcre? (
+ >=dev-libs/libpcre-3.9
+ static? ( >=dev-libs/libpcre-3.9[static-libs] )
+ )
+ gdbm? ( sys-libs/gdbm )
+ !<sys-apps/baselayout-2.4.1
+"
+DEPEND="sys-apps/groff
+ ${RDEPEND}"
+PDEPEND="
+ examples? ( app-doc/zsh-lovers )
+"
+if [[ ${PV} == 9999* ]] ; then
+ DEPEND+=" app-text/yodl
+ doc? (
+ sys-apps/texinfo
+ app-text/texi2html
+ virtual/latex-base
+ )"
+fi
+
+src_prepare() {
+ if [[ ${PV} != 9999* ]]; then
+ # fix zshall problem with soelim
+ ln -s Doc man1 || die
+ mv Doc/zshall.1 Doc/zshall.1.soelim || die
+ soelim Doc/zshall.1.soelim > Doc/zshall.1 || die
+
+ # add openrc specific options for init.d completion
+ eapply "${FILESDIR}"/${PN}-5.3-init.d-gentoo.diff
+ fi
+
+ cp "${FILESDIR}"/zprofile-2 "${T}"/zprofile || die
+ eprefixify "${T}"/zprofile || die
+ if use prefix ; then
+ sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
+ else
+ sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
+ fi
+
+ eapply_user
+
+ if [[ ${PV} == 9999* ]] ; then
+ sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local myconf=(
+ --bindir="${EPREFIX}"/bin
+ --libdir="${EPREFIX}"/usr/$(get_libdir)
+ --enable-etcdir="${EPREFIX}"/etc/zsh
+ --enable-runhelpdir="${EPREFIX}"/usr/share/zsh/${PV%_*}/help
+ --enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions
+ --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
+ --enable-function-subdirs
+ --with-tcsetpgrp
+ $(use_enable maildir maildir-support)
+ $(use_enable pcre)
+ $(use_enable caps cap)
+ $(use_enable unicode multibyte)
+ $(use_enable gdbm )
+ )
+
+ if use static ; then
+ myconf+=( --disable-dynamic )
+ append-ldflags -static
+ fi
+ if use debug ; then
+ myconf+=(
+ --enable-zsh-debug
+ --enable-zsh-mem-debug
+ --enable-zsh-mem-warning
+ --enable-zsh-secure-free
+ --enable-zsh-hash-debug
+ )
+ fi
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ myconf+=( --enable-libs=-liconv )
+ append-ldflags -Wl,-x
+ fi
+
+ econf "${myconf[@]}"
+
+ if use static ; then
+ # compile all modules statically, see Bug #27392
+ # removed cap and curses because linking failes
+ sed -e "s,link=no,link=static,g" \
+ -e "/^name=zsh\/cap/s,link=static,link=no," \
+ -e "/^name=zsh\/curses/s,link=static,link=no," \
+ -i "${S}"/config.modules || die
+ if ! use gdbm ; then
+ sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
+ "${S}"/config.modules || die
+ fi
+ fi
+}
+
+src_compile() {
+ default
+
+ if [[ ${PV} == 9999* ]] && use doc ; then
+ emake -C Doc everything
+ fi
+}
+
+src_test() {
+ addpredict /dev/ptmx
+ local i
+ for i in C02cond.ztst V08zpty.ztst X02zlevi.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
+ rm "${S}"/Test/${i} || die
+ done
+ emake check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install $(usex doc "install.info" "")
+
+ insinto /etc/zsh
+ doins "${T}"/zprofile
+
+ keepdir /usr/share/zsh/site-functions
+ insinto /usr/share/zsh/${PV%_*}/functions/Prompts
+ newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
+
+ local i
+
+ # install miscellaneous scripts (bug #54520)
+ sed -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
+ -e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" \
+ -i {Util,Misc}/* || die
+ for i in Util Misc ; do
+ insinto /usr/share/zsh/${PV%_*}/${i}
+ doins ${i}/*
+ done
+
+ # install header files (bug #538684)
+ insinto /usr/include/zsh
+ doins config.h Src/*.epro
+ for i in Src/{zsh.mdh,*.h} ; do
+ sed -e 's@\.\./config\.h@config.h@' \
+ -e 's@#\(\s*\)include "\([^"]\+\)"@#\1include <zsh/\2>@' \
+ -i "${i}"
+ doins "${i}"
+ done
+
+ dodoc ChangeLog* META-FAQ NEWS README config.modules
+
+ if use doc ; then
+ pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
+ docinto html
+ dodoc Doc/*.html
+ insinto /usr/share/doc/${PF}
+ doins Doc/zsh.{dvi,pdf}
+ popd >/dev/null
+ fi
+
+ docinto StartupFiles
+ dodoc StartupFiles/z*
+}
+
+pkg_postinst() {
+ if [[ -z ${REPLACING_VERSIONS} ]] ; then
+ echo
+ elog "If you want to enable Portage completions and Gentoo prompt,"
+ elog "emerge app-shells/gentoo-zsh-completions and add"
+ elog " autoload -U compinit promptinit"
+ elog " compinit"
+ elog " promptinit; prompt gentoo"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Also, if you want to enable cache for the completions, add"
+ elog " zstyle ':completion::complete:*' use-cache 1"
+ elog "to your ~/.zshrc"
+ echo
+ elog "Note that a system zprofile startup file is installed. This will override"
+ elog "PATH and possibly other variables that a user may set in ~/.zshenv."
+ elog "Custom PATH settings and similar overridden variables can be moved to ~/.zprofile"
+ elog "or other user startup files that are sourced after the system zprofile."
+ echo
+ elog "If PATH must be set in ~/.zshenv to affect things like non-login ssh shells,"
+ elog "one method is to use a separate path-setting file that is conditionally sourced"
+ elog "in ~/.zshenv and also sourced from ~/.zprofile. For more information, see the"
+ elog "zshenv example in ${EROOT}/usr/share/doc/${PF}/StartupFiles/."
+ echo
+ elog "See https://wiki.gentoo.org/wiki/Zsh/HOWTO for more introduction documentation."
+ echo
+ fi
+}