122 Commits

Author SHA1 Message Date
naddy
8d94627a37 update to 4.4 patchlevel 19 2018-02-06 22:48:48 +00:00
robert
d267cd02ca Unbreak autoconf checks with clang by not using nested functions
in the checks.

Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.

- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],

Result:

int
main ()
{
int main (void) { return 0; }
  ;
  return 0;
}

nested functions is a gcc extension which is not supported by
clang.

test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
                ^
1 error generated.

This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.

This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.

This change intrudces the following fixes:

- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
  as it comes with a declaration already, and people misused them

- change to use AC_LANG_SOURCE when needed in case a complete source block is specified

Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.

There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
2017-09-25 09:16:12 +00:00
naddy
8f523853da update to 4.4 patchlevel 12 2017-01-28 20:25:27 +00:00
naddy
d7f99400ba update to 4.4 patchlevel 11 2017-01-25 21:00:53 +00:00
naddy
0806913c0a Update to bash 4.4. See the announcement at
https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00018.html
for an overview of significant changes.

Jump right to patchlevel 5, which among other things fixes a use-after-free
bug discovered by otto malloc.
2016-11-11 22:39:48 +00:00
naddy
8ab90b1080 update to 4.3 patchlevel 48 2016-11-01 16:31:57 +00:00
jasper
003e889c0a retire sparc 2016-09-01 10:53:26 +00:00
naddy
a1a865a94a update to 4.3 patchlevel 46 2016-06-22 21:10:27 +00:00
naddy
29ff97f1e1 replace gettext module with library dependency 2016-04-05 20:03:26 +00:00
naddy
a678ef5e16 remove substituted uses of CONFIGURE_SHARED, NO_SHARED_LIBS 2016-03-09 19:11:35 +00:00
tobiasu
a76764f845 mark broken on sparc, bash segfaults on any non-trivial shellscript and has
done so since at least one release if not more.

Instead of littering the ports the with BROKEN-sparc markers, take out the
real perpetrator.

If someone is looking to improve sparc, debugging this would make all the
difference. textproc/xmlto can serve as a testcase.
2016-02-15 12:20:33 +00:00
gsoares
f6f505a045 unbreak bash. upstream re-roll the 042 patch.
OK naddy@
2015-12-08 22:18:57 +00:00
naddy
8af47ca511 update to 4.3 patchlevel 42 2015-08-14 15:29:12 +00:00
naddy
32ee5ca922 Use undocumented compile-time options to prefer system mktemp(3)
and mkstemp(3) over homebrew versions (time ^ pid ^ random).

Originally suggested by Henric Jungheim for FreeBSD.
2015-07-10 11:27:06 +00:00
naddy
24f8ed8ed4 update to 4.3 patchlevel 39 2015-06-06 20:23:36 +00:00
naddy
6c5d3f350b update to 4.3 patchlevel 33 2015-01-13 13:44:15 +00:00
naddy
cef894df31 switch to 4.3.30 tarball; no source changes 2014-11-17 21:04:49 +00:00
naddy
8da37cee77 update to 4.3.30: parser bug fixes 2014-10-08 17:29:52 +00:00
naddy
748b67f4d0 update to 4.3.28: fixes two local buffer overflows in parse.y 2014-10-03 19:11:20 +00:00
naddy
02379e4686 Security update to 4.3.27:
This patch changes the encoding bash uses for exported functions to avoid
clashes with shell variables and to avoid depending only on an environment
variable's contents to determine whether or not to interpret it as a shell
function.
(CVE-2014-6277, CVE-2014-7186, CVE-2014-7187)
2014-09-28 13:26:55 +00:00
naddy
4838e46405 Security update to 4.3.26.
Fixes CVE-2014-7169 (incomplete fix for CVE-2014-6271).
2014-09-26 22:31:58 +00:00
naddy
fca3a78b09 Security update to 4.3.25:
Fix for CVE-2014-6271 (remote code execution through bash)
2014-09-24 19:16:18 +00:00
naddy
ae9cd4aaa2 update to 4.3 patchlevel 24 2014-08-24 19:15:46 +00:00
naddy
a640a965dd update to 4.3 patchlevel 22 2014-08-09 19:44:40 +00:00
naddy
8df1bd6492 update to 4.3 patchlevel 18 2014-05-27 20:06:26 +00:00
naddy
26edb706c2 update to 4.3 patchlevel 11 2014-04-19 22:21:30 +00:00
naddy
61b704b999 don't require bison, patch (005) contains changes to y.tab.c 2014-04-10 12:25:22 +00:00
naddy
6456010b9d update to 4.3 patchlevel 8 2014-04-10 11:59:08 +00:00
naddy
6c6cbea751 Update to 4.3.
Release announcement:
https://lists.gnu.org/archive/html/info-gnu/2014-02/msg00010.html
2014-03-10 11:58:31 +00:00
dcoppa
1efd33a98a Do not use memcpy() on overlapping memory
http://lists.gnu.org/archive/html/bug-bash/2013-03/msg00047.html
via Arch Linux

ok naddy@
2013-12-13 15:54:46 +00:00
naddy
582b883e89 remove a.out workaround 2013-07-06 11:46:45 +00:00
naddy
9cfe73dae7 update to 4.2 patchlevel 45 2013-03-12 19:55:08 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
naddy
af2e150b0c update to 4.2 patchlevel 42 2013-01-05 19:45:21 +00:00
naddy
e0bf2c6ea1 update to 4.2 patchlevel 39 2012-11-25 21:00:14 +00:00
naddy
96c835a4c4 update to 4.2 patchlevel 37 and drop groff dependency 2012-08-04 20:05:12 +00:00
naddy
ea6b9b87ce update to 4.2 patchlevel 36 2012-07-10 13:41:11 +00:00
naddy
7a9f92333c update to 4.2 patchlevel 29 2012-06-13 15:52:55 +00:00
rpointel
9848565bf9 Update bash to 4.2.28.
ok naddy@ (maintainer).
2012-05-03 17:17:34 +00:00
naddy
862d1beb7b update to 4.2 patchlevel 24 2012-03-16 19:56:24 +00:00
naddy
e7070934e4 update to 4.2 patch level 20 for a number of bug fixes 2011-12-05 21:40:03 +00:00
naddy
0afbd74914 bug fix update to 4.2 patchlevel 10 2011-05-30 19:35:47 +00:00
naddy
690137e1fc Update to 4.2 patch level 8. 2011-03-15 19:22:08 +00:00
naddy
21e6824cad use NO_SHARED_LIBS with lazy eval instead of hardcoding machine archs 2011-03-02 20:55:23 +00:00
sebastia
9430082d68 Fix build of bash on static archs.
OK jasper@
2011-01-21 11:25:03 +00:00
espie
6c283d7e98 new depends 2010-11-20 17:22:40 +00:00
espie
2ef1026971 USE_GROFF=Yes 2010-10-18 21:41:44 +00:00
naddy
5770687ba2 update to 4.1 patch level 9 2010-10-14 19:40:20 +00:00
naddy
10f831e7aa Enable multibyte support. Makes regression tests happier. 2010-07-28 20:25:11 +00:00
naddy
74bb000d80 update to 4.1 patch level 7 2010-05-19 18:53:46 +00:00