summaryrefslogtreecommitdiff
path: root/app-shells
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-20 17:35:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-20 17:35:36 +0100
commitb620fb1b0929ff9657a2588aaa42b85e3021c102 (patch)
tree5c4e9e39b5d3ea7fc569c26b0d4ba6db582249e6 /app-shells
parentd473a706836012853193afc7000922601e4ada61 (diff)
gentoo resync : 20.10.2017
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/Manifest11
-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-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-pwd.patch16
-rw-r--r--app-shells/bash/files/bash-3.0-subshell.patch39
-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/dash/Manifest1
-rw-r--r--app-shells/dash/files/dash-0.5.9-dumb-echo.patch93
-rw-r--r--app-shells/zsh-completions/Manifest2
-rw-r--r--app-shells/zsh-completions/zsh-completions-0.27.0.ebuild33
16 files changed, 35 insertions, 948 deletions
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest
index 71610b86d02a..902b5872be03 100644
--- a/app-shells/bash/Manifest
+++ b/app-shells/bash/Manifest
@@ -7,25 +7,14 @@ AUX bash-2.05b-jobs.patch 813 SHA256 021a8b5cb3ae71b160524692fbd5ec0e37384cd3c3a
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
diff --git a/app-shells/bash/files/bash-3.0-afs.patch b/app-shells/bash/files/bash-3.0-afs.patch
deleted file mode 100644
index f07371c39eb4..000000000000
--- a/app-shells/bash/files/bash-3.0-afs.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-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
deleted file mode 100644
index 984e85d82ed3..000000000000
--- a/app-shells/bash/files/bash-3.0-crash.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-> 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-histtimeformat.patch b/app-shells/bash/files/bash-3.0-histtimeformat.patch
deleted file mode 100644
index b910600fd896..000000000000
--- a/app-shells/bash/files/bash-3.0-histtimeformat.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-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
deleted file mode 100644
index 72c149c71cf5..000000000000
--- a/app-shells/bash/files/bash-3.0-jobs.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-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
deleted file mode 100644
index ea1ef3deae36..000000000000
--- a/app-shells/bash/files/bash-3.0-locale.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-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
deleted file mode 100644
index 08e3143e5422..000000000000
--- a/app-shells/bash/files/bash-3.0-manpage.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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
deleted file mode 100644
index 1e74832b638a..000000000000
--- a/app-shells/bash/files/bash-3.0-multibyteifs.patch
+++ /dev/null
@@ -1,281 +0,0 @@
-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-pwd.patch b/app-shells/bash/files/bash-3.0-pwd.patch
deleted file mode 100644
index 77f0918fb4d8..000000000000
--- a/app-shells/bash/files/bash-3.0-pwd.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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-subshell.patch b/app-shells/bash/files/bash-3.0-subshell.patch
deleted file mode 100644
index a1d7dfe7d342..000000000000
--- a/app-shells/bash/files/bash-3.0-subshell.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-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-ulimit.patch b/app-shells/bash/files/bash-3.0-ulimit.patch
deleted file mode 100644
index 8202b95d2769..000000000000
--- a/app-shells/bash/files/bash-3.0-ulimit.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-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
deleted file mode 100644
index 8b89b35914b1..000000000000
--- a/app-shells/bash/files/bash-3.0-volatile-command.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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/dash/Manifest b/app-shells/dash/Manifest
index d02bfa92478e..bc1863eafe67 100644
--- a/app-shells/dash/Manifest
+++ b/app-shells/dash/Manifest
@@ -1,6 +1,5 @@
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
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
deleted file mode 100644
index 9bcf6e65a8a2..000000000000
--- a/app-shells/dash/files/dash-0.5.9-dumb-echo.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-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/zsh-completions/Manifest b/app-shells/zsh-completions/Manifest
index 9effb26cfa56..f8bebf8ca5d2 100644
--- a/app-shells/zsh-completions/Manifest
+++ b/app-shells/zsh-completions/Manifest
@@ -1,5 +1,7 @@
DIST zsh-completions-0.26.0.tar.gz 218057 SHA256 783768c8308cc0ff37bce346c66386308550ede05121e352b1a284ff6bf88540 SHA512 78ba96e0c6a30271181270244488b7f2c783047714dcf1eb39918d4b258fbaf1f54b718407418ffcc62f5bf552192aca3841497c0ffb8d3e9c6ea4fb85bc1754 WHIRLPOOL 27a6273f2ae35c4413283a30c506a40c19034af89fe22cba12ec0167f5caa9e8b9e29f057fe4be609c0f54cba8f6f9c610bfe481dccc78f91c653d78b81a5849
+DIST zsh-completions-0.27.0.tar.gz 218869 SHA256 9b817b73e709aca0e7e5a41471b5b63467d1e7aa69ef755b6ce39b99e61cd47a SHA512 1c25fce14117d6eb652e2d3bfb49e68baa9f7c5832031582ec8c3066b91f07491067ff887647177048b51146beda1bcac7080abf140ea5ef846fcdd8ac388b8c WHIRLPOOL 5438c9d2cfb222179598a623f35cb7e3d61db98be0e9b204ec1c99a3475c192fa858c6a2ca7a3b78c8df617acc5471c3c032636f933f4e9800849aa1ee21b551
EBUILD zsh-completions-0.26.0.ebuild 789 SHA256 6cd69d5a23381b08dc73ad33ceb0a0a955b946982d568f971d839e0a75477889 SHA512 d06bdd7166b0c5eae441a28c7c88e765c33661afd678a52409a83468c3526f48d6d90530fa430d063f3b07fba7a17fed829f7db1957b3f9cc4a6725915641db1 WHIRLPOOL 0de19f52359a3b7f1bd003c811a30a1776a58395b70df19dfd05bed5964a1d37b2e490a5113722f6070a2eec5c15a09e8edffd297d5b0ea3aea0eb6aa601bfcb
+EBUILD zsh-completions-0.27.0.ebuild 790 SHA256 1f87f9c4d22289f9873ee19f24111c3d18eee9455d4dc62ddce58785ff0aeb04 SHA512 c80ced08025d6a5bf2bd0873763432390737d3e10648c9586bf8899797802d40a47573a72d5bf114f11f13f00f683f52e0d1d6b7d2c35592ea8f8786d2605d13 WHIRLPOOL 3763409eca9f9490cce2b7ffcc2d1184866ebaddb7266b1e5d8fd8d75140be36ef6f255c325639bd3d5c28bfcf3cee2f2017d6d3d4a896ca97ea986f0b691e55
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
diff --git a/app-shells/zsh-completions/zsh-completions-0.27.0.ebuild b/app-shells/zsh-completions/zsh-completions-0.27.0.ebuild
new file mode 100644
index 000000000000..74e18cd0dbf0
--- /dev/null
+++ b/app-shells/zsh-completions/zsh-completions-0.27.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
+}