84 Commits

Author SHA1 Message Date
Emanuel Haupt
83f5d1af42 Update to 5.0.7 2019-04-21 18:27:08 +00:00
Emanuel Haupt
17fd02e8f6 Update to 5.0.3 2019-03-20 10:09:57 +00:00
Emanuel Haupt
5ebe8e567a Update to 5.0.2 2019-01-19 17:25:02 +00:00
Emanuel Haupt
848b794ff2 Update to 5.0
PR:		234827
Exp-run by:	antoine
2019-01-15 21:11:14 +00:00
Emanuel Haupt
995181be7c - Update to 4.4.23
- Pass -Wl,-export-dynamic to LDFLAGS instead of CFLAGS in order to avoid warning:
  cc: warning: -Wl,-export-dynamic: 'linker' input unused [-Wunused-command-line-argument]
2018-06-02 07:08:16 +00:00
Emanuel Haupt
2e0f57ae91 - Update to patchlevel 19
- Simplify MASTER_SITES [1]

Submitted by:	gerald (via mail) [1]
2018-02-10 08:31:00 +00:00
Emanuel Haupt
283ff92a46 Update to 4.4.12
Changelog:

Fixes a bug. When -N is used, the input is not supposed to be split
using $IFS, but leading and trailing IFS whitespace was still removed.

MFH:		2017Q1
2017-01-28 04:41:44 +00:00
Emanuel Haupt
93f2d182cb Update to 4.4.11
Changelog:

Under certain circumstances, bash will evaluate arithmetic expressions as
part of reading an expression token even when evaluation is suppressed. This
happens while evaluating a conditional expression and skipping over the
failed branch of the expression.

There is a race condition in add_history() that can be triggered by a fatal
signal arriving between the time the history length is updated and the time
the history list update is completed. A later attempt to reference an
invalid history entry can cause a crash.

Depending on compiler optimizations and behavior, the `read' builtin may not
save partial input when a timeout occurs.

Subshells begun to run command and process substitutions may attempt to
set the terminal's process group to an incorrect value if they receive
a fatal signal.  This depends on the behavior of the process that starts
the shell.

MFH:		2017Q1
2017-01-22 21:06:11 +00:00
Emanuel Haupt
e397b8a6d9 Update to 4.4.7
Changelog:

- Out-of-range negative offsets to popd can cause the shell to crash attempting
  to free an invalid memory block.
- When performing filename completion, bash dequotes the directory name being
  completed, which can result in match failures and potential unwanted
  expansion.

MFH:		2017Q1
2017-01-20 06:30:26 +00:00
Emanuel Haupt
e8c5a8907b Update to 4.4.5 2016-11-20 07:05:36 +00:00
Emanuel Haupt
ac46fd3765 Update to 4.4
Differential Revision:  https://reviews.freebsd.org/D8085
2016-09-30 17:19:50 +00:00
Emanuel Haupt
75b1a2a76b [1] Make USES=iconv permanent, instead of being only for NLS=on case.
The reason is that NLS is related to message translations to different
    languages.

    And bash has the general feature that \uNNNN is translated into the unicode
    character using iconv. This is unicode support, and should have nothing to
    do with translations.

    bash also currently has a bug that --disable-nls causes it to fail to find
    iconv. This bug has been reported upstream to bash-devel ML. In the future,
    when bash will fix this, this will make a difference.

    Note that this uses iconv from libc.

[2] Update to 4.3.46

PR:             206903 [1], 210620 [2]
Submitted by:   yuri@rawbw.com [1], pkubaj@anongoth.pl [2]
Discussed with: adamw
2016-06-28 07:28:01 +00:00
Emanuel Haupt
c43a81c6fc The latest patch (42) has been slightly adjusted. See the following diff:
--- diff begins here ---
--- /usr/distfiles/bash.old/bash43-042	2015-08-13 21:41:06.000000000 +0200
+++ /usr/distfiles/bash/bash43-042	2015-12-01 22:57:39.000000000 +0100
@@ -27,7 +27,7 @@
 + 		lex_rwlen = 0;
   	    }
   	}
-*** ../bash-4.3-patched/parse.y	2015-05-18 19:27:05.000000000 -0400
+*** ../bash-4.3-patched/y.tab.c	2015-05-18 19:27:05.000000000 -0400
 --- y.tab.c	2015-06-29 10:59:27.000000000 -0400
 ***************
 *** 6021,6024 ****
--- diff ends here ---

Notified by:	many
2015-12-06 11:45:53 +00:00
Emanuel Haupt
70ddfde405 Update to 4.3.42 2015-08-14 14:10:19 +00:00
Emanuel Haupt
42a77ab07a Update to 4.3.39 2015-06-01 20:35:09 +00:00
Emanuel Haupt
f10f721657 Update to 4.3.33 2015-01-15 19:10:54 +00:00
Emanuel Haupt
718c6f6753 Update to 4.3.30 2014-10-06 09:12:33 +00:00
Bryan Drewery
83874e3067 - Update to patchlevel 4.3.29.
This addresses the local crash from CVE-2014-6277. Note that
  the fixes applied in 4.3.25_2 (and upstream 4.3.27) already made
  this non-exploitable remotely.

  This makes 'bashcheck' [1] fully green now. It had a soft warning
  before for CVE-2014-6277.

[1] https://github.com/hannob/bashcheck
2014-10-03 17:57:32 +00:00
Bryan Drewery
e603aaff02 - Update to patchlevel 28 which fixes issues that were mostly addressed
already in r369684.
2014-10-02 00:22:12 +00:00
Bryan Drewery
62f9f87a4d - Update to patchlevel 27 which changes how functions are exported.
This should eliminate the recent vulnerabilities, but keep the
  requirement for --import-functions/IMPORTFUNCTIONS option for now.
- Loosen the --import-functions requirement so it is not needed when running
  an interactive shell. It is already disallowed for privileged/setuid mode.
- Show an error on stderr when an imported function is ignored.
2014-09-28 16:47:00 +00:00
Bryan Drewery
92e9f2e7d5 Update to patchlevel 26. This is a NOP as r369261 already covered it. 2014-09-26 21:29:20 +00:00
Emanuel Haupt
0fc68c9cab - Update to patch level 25 (4.3.25)
- Provide CPE information [1]

Provided by:    des
Notified by:	Chet Ramey <chet.ramey@case.edu>
2014-09-24 17:05:47 +00:00
Emanuel Haupt
979faff7c1 - Update to 4.3.24
- Don't attempt to remove directories owned by a dependency
2014-08-19 19:31:35 +00:00
Emanuel Haupt
30a7459d83 Update to 4.3.22 2014-08-01 16:14:07 +00:00
Emanuel Haupt
677578d389 - Update to 4.3.18
- Port is sound enough to parallel build [1]

PR:		189207 [1]
Submitted by:	Jia-Shiun Li <jiashiun@gmail.com> [1]
2014-05-27 12:35:25 +00:00
Emanuel Haupt
67c1d0f16e Update to 4.3.11 2014-04-17 10:31:37 +00:00
Emanuel Haupt
7bb20d28c7 Update to 4.3.8 2014-04-07 14:43:30 +00:00
Emanuel Haupt
03edf9b7fc - Reset maintainer of shells/bash, shells/bash-static
- Takeover maintainership
- Merge changes from shells/bash-devel this updates the port to 4.3
- Remove the now useless -devel ports
- Document change in ports/MOVED

Approved by:    portmgr (bapt)
2014-03-03 08:55:45 +00:00
Martin Wilke
75e6c1ee72 - Update to patchlevel 45
-

Requested by:	many
2013-05-25 13:55:46 +00:00
David E. O'Brien
22ae009ed5 Update to Bash 4.2 patchlevel 42.
* If a backslash-newline (which is removed) with no other input is given as
  input to `read', the shell tries to dereference a null pointer and seg faults.

* Under certain circumstances, bash attempts to expand variables in
  arithmetic expressions even when evaluation is being suppressed.

* Output redirection applied to builtin commands missed I/O errors if
  they happened when the file descriptor was closed, rather than on write
  (e.g., like with an out-of-space error on a remote NFS file system).

* Process substitution incorrectly inherited a flag that inhibited using
  the (local) temporary environment for variable lookups if it was providing
  the filename to a redirection.  The intent the flag is to enforce the
  POSIX command expansion ordering rules.
2013-01-22 16:58:21 +00:00
David E. O'Brien
51881237b8 Update to Bash 4.2 patchlevel 37.
PR:		170283
Submitted by:	Bryan Drewery <bryan@shatow.net>
2012-08-03 18:56:44 +00:00
David E. O'Brien
5cf03bbdc4 Update to Bash 4.2 patchlevel 28. 2012-05-07 15:12:41 +00:00
David E. O'Brien
a27f893e98 Update version 4.2 to patchlevel 24. 2012-04-24 17:48:36 +00:00
David E. O'Brien
82e5900cea Update to version 4.2 PL 20. 2012-01-12 22:32:28 +00:00
David E. O'Brien
792f9af6d1 Update to Bash 4.1 patchlevel 11.
Under certain circumstances, running `fc -l' two times in succession
  with a relative history offset at the end of the history will result
  in an incorrect calculation of the last history entry and a seg fault

PR:	160239
2011-08-29 18:44:40 +00:00
David E. O'Brien
2159e26025 Update to Bash 4.1 patchlevel 10. 2011-04-05 17:38:33 +00:00
Martin Wilke
65e190c0f0 - Get Rid MD5 support
With hat:	portmgr (myself)
2011-03-18 17:59:50 +00:00
David E. O'Brien
9e909fc921 Update to Bash 4.1 patchlevel 9. 2010-10-20 01:08:16 +00:00
Emanuel Haupt
df6564ce3d Update to 4.1.7
PR:		147172
Approved by:	obrien (maintainer timeout; > 14 days)
2010-06-16 14:20:42 +00:00
David E. O'Brien
85e35f68f5 Update to Bash 4.1 patchlevel 5. 2010-05-10 18:25:33 +00:00
Emanuel Haupt
a4634d0487 Update to patchlevel 35
PR:		140179
Approved by:	maintainer timeout (14 days)
2009-11-14 12:05:54 +00:00
Martin Wilke
54b255ea4a - Update to 4.0.33
PR:		137294
Submitted by:	bf <bf1783@gmail.com>
Approved by:	obrien (maintainer timeout)
Feature safe:	yes
2009-09-19 22:24:28 +00:00
David E. O'Brien
131f625395 Update to Bash 4.0 patchlevel 24. 2009-05-18 18:44:33 +00:00
David E. O'Brien
b41e87d0b0 Update to patchlevel 17. 2009-05-06 04:25:27 +00:00
David E. O'Brien
69ce1c6372 Blah^2. Now DISTNAME is wrong. But yay! patches are here. So now all
the patch logic won't get in the way.
2009-03-12 04:53:42 +00:00
David E. O'Brien
2f6ee01948 Update to 4.0 PL0. 2009-03-11 16:49:28 +00:00
David E. O'Brien
2ce2f6fc79 Update 3.2 to patchlevel 48. 2009-01-02 09:30:29 +00:00
David E. O'Brien
0158af4c88 Update to Bash 3.2 patchlevel 39.
PR: 123326
Submitted by: bf2006a@yahoo.com
2008-05-04 02:34:52 +00:00
David E. O'Brien
6c68b8f39d Update to patchlevel 33.
PR:		118728
Submitted by:	bf <bf2006a@yahoo.com>
2007-12-17 23:48:06 +00:00
David E. O'Brien
85ef9b0739 Update to Bash 3.2 patchlevel 25.
PR:	116272
2007-09-11 18:15:34 +00:00