[FUG-BR] Atualização bash servidores antigos
Renato Botelho
rbgarga em gmail.com
Sexta Setembro 26 15:06:42 BRT 2014
On Sep 26, 2014, at 15:04, Renato Sousa <rensousa at gmail.com> wrote:
>
> Boa tarde amigos da lista!
>
> Tive que iniciar a atualização do bash em servidores antigos devido a
> vulnerabilidade.
> Estou encontrando problemas na atualização em um dos nossos servidores (8.0
> RELEASE).
>
> A atualização está disponível, mas obtenho erros na instalação:
>
> # pkg_version -vIL= | grep bash
> bash-4.0.35 < needs updating (index has 4.3.25_1)
>
>
> # portupgrade bash
> ** Makefile possibly broken: shells/bash:
> Unknown modifier 't'
>
> "Makefile", line 57: Malformed conditional (${PORT_OPTIONS:MSTATIC}
> || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:tl} != "no"))
> "Makefile", line 61: if-less else
> "Makefile", line 64: if-less endif
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.sites.mk", line 977: Malformed conditional
> (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan")
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.port.mk", line 3033: warning: Missing closing
> parenthesis for defined()
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.port.mk", line 3033: Malformed conditional
> (((!defined(OPTIONS_DEFINE) && !defined(OPTIONS_SINGLE) &&
> !defined(OPTIONS_MULTI)) && !defined(OPTIONS_GROUP) &&
> !defined(OPTIONS_RADIO) || defined(CONFIG_DONE_${UNIQUENAME:tu}) ||
> defined(PACKAGE_BUILDING) || defined(BATCH)))
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unclosed conditional/for
> loop
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unexpected end of file in
> for loop.
>
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unclosed conditional/for
> loop
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unexpected end of file in
> for loop.
>
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unclosed conditional/for
> loop
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unexpected end of file in
> for loop.
>
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unclosed conditional/for
> loop
> "/usr/ports/Mk/bsd.port.mk", line 5613: Unexpected end of file in
> for loop.
>
> "/usr/ports/Mk/bsd.port.mk", line 6122: Unclosed conditional/for
> loop
> "/usr/ports/Mk/bsd.port.mk", line 6122: Unexpected end of file in
> for loop.
>
> 1 open conditional:
> at line 5683 (evaluated to true)
> make: fatal errors encountered -- cannot continue
> /usr/local/sbin/portupgrade:1469:in `get_pkgname': Makefile broken
> (MakefileBrokenError)
> from /usr/local/sbin/portupgrade:623
> from /usr/local/sbin/portupgrade:614:in `each'
> from /usr/local/sbin/portupgrade:614
> from /usr/local/sbin/portupgrade:588:in `catch'
> from /usr/local/sbin/portupgrade:588
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
> from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
> from /usr/local/sbin/portupgrade:565:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
> from /usr/local/sbin/portupgrade:229:in `new'
> from /usr/local/sbin/portupgrade:229:in `main'
> from /usr/local/sbin/portupgrade:2209
>
> Alguém pode me ajudar ?
Apenas você mesmo pode se ajudar, atualizando o servidor. :P
Brincadeiras a parte, a árvore do ports não funciona mais em versões antigas, da série 8 a única suportada é a 8.4.
[]s
--
Renato Botelho
Mais detalhes sobre a lista de discussão freebsd