BASH Shellshock and FreeBSD 4.X

Mario Lobo lobo at bsd.com.br
Wed Oct 1 23:06:17 UTC 2014


On Wed, 1 Oct 2014 22:59:32 +0200
Michał Jędrzejczak <jedrzejczak.michal at gmail.com> wrote:

> Hi
> 
> Thanks for info about compiling bash on old systems.
> I have compiled newest bash on FreeBSD 6.3/7.3 with 28 patches now..
> 
> But on FreeBSD 6.1 I have this bug  http://pastebin.com/rD1uAute ,
> maby anybody can help ?
> 
> FreeBSD 6.1-RELEASE-p10
> pkg_info |egrep "bash|libic"
> bash-3.1.10_1       The GNU Project's Bourne Again SHell
> libiconv-1.9.2_2    A character set conversion library
> 
> 
> Regards
> 
> 2014-09-30 19:29 GMT+02:00 Mario Lobo <lobo at bsd.com.br>:
> > Thanks :) !
> >
> >
> > 2014-09-29 21:56 GMT-03:00 Mike Tancsa <mike at sentex.net>:
> >
> >> On 9/29/2014 5:36 PM, Mario Lobo wrote:
> >>
> >>> for i in $(jot -w %03d 25); do
> >>> for i in $(jot -w %03d 25);do patch -p0 < ../bash43-$i; done
> >>>
> >>
> >> Hi,
> >>         there are 27 patches now.
> >>
> >>         ---Mike
> >>
> >> --
> >> -------------------
> >> Mike Tancsa, tel +1 519 651 3400
> >> Sentex Communications, mike at sentex.net
> >> Providing Internet services since 1994 www.sentex.net
> >> Cambridge, Ontario Canada   http://www.tancsa.com/
> >>
> >
> >
> >
> > --
> > Mario Lobo
> > http://www.mallavoodoo.com.br
> > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7%
> > winfoes FREE) _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

Humm ... looks like bash is importing functions that do not exist on
probably on the 6.1's libiconv.

What I would try to do is to copy the port directory for libiconv from
one of the 6.x machines where the compilation of bash worked and try to
build it on the 6.1 machine.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
 
"UNIX was not designed to stop you from doing stupid things, 
because that would also stop you from doing clever things."


More information about the freebsd-questions mailing list