I have got this question a long time.
I prefer to use ruby 1.9 over 1.8; therefore, I have added
to /etc/make.conf.
It was fine until there was a vulnerability discovered on ruby 1.9.1.
While there is a ruby 1.9.2 ports on FreeBSD 8.1, the above line failed to get the latest one. I had to changed to
in order to get it change to 1.9.2 instead.
Now, I have upgrade FreeBSD from 8.1 to 8.2 and I have recompile all the ports from scratch again. I have set RUBY_VERSION to 1.9.3 in order to get the latest version without being blocked by the vulnerability. Unfortunately, I cant't get ruby-iconv installed. It complains
when I set to 1.9.
and complains
What value should I set RUBY_VERSION to?
How come 1.9 does not imply the latest in 1.9?
How to install ruby-iconv?
Many Thanks!
I prefer to use ruby 1.9 over 1.8; therefore, I have added
Code:
RUBY_VERSION=1.9
It was fine until there was a vulnerability discovered on ruby 1.9.1.
While there is a ruby 1.9.2 ports on FreeBSD 8.1, the above line failed to get the latest one. I had to changed to
Code:
RUBY_VERSION=1.9.2
Now, I have upgrade FreeBSD from 8.1 to 8.2 and I have recompile all the ports from scratch again. I have set RUBY_VERSION to 1.9.3 in order to get the latest version without being blocked by the vulnerability. Unfortunately, I cant't get ruby-iconv installed. It complains
Code:
$ sudo make install clean
===> No options to configure
===> License check disabled, port has not defined LICENSE
===> Extracting for ruby19-iconv-1.9,1
===> ruby19-iconv-1.9,1 depends on file: /usr/local/bin/ruby19 - found
/bin/mkdir -p /usr/ports/converters/ruby-iconv/work
/bin/ln -sf /usr/ports/lang/ruby19/work/iconv /usr/ports/converters/ruby-iconv/work/
===> Patching for ruby19-iconv-1.9,1
===> ruby19-iconv-1.9,1 depends on file: /usr/local/bin/ruby19 - found
===> ruby19-iconv-1.9,1 depends on file: /nonexistent - not found
===> Verifying patch for /nonexistent in /usr/ports/lang/ruby19
===> ruby-1.9,1 has known vulnerabilities:
=> ruby -- UTF-7 encoding XSS vulnerability in WEBrick.
Reference: [url]http://portaudit.FreeBSD.org/34e0316a-aa91-11df-8c2e-001517289bf8.html[/url]
=> ruby -- multiple vulnerabilities in safe level.
Reference: [url]http://portaudit.FreeBSD.org/c329712a-6b5b-11dd-9d79-001fc61c2a55.html[/url]
=> ruby -- DoS vulnerability in WEBrick.
Reference: [url]http://portaudit.FreeBSD.org/f7ba20aa-6b5a-11dd-9d79-001fc61c2a55.html[/url]
=> ruby -- DNS spoofing vulnerability.
Reference: [url]http://portaudit.FreeBSD.org/959d384d-6b59-11dd-9d79-001fc61c2a55.html[/url]
=> Please update your ports tree and try again.
*** Error code 1
Stop in /usr/ports/lang/ruby19.
*** Error code 1
Stop in /usr/ports/lang/ruby19.
*** Error code 1
Stop in /usr/ports/converters/ruby-iconv.
and complains
Code:
$ sudo make install clean
===> No options to configure
===> ruby19-iconv-1.9.3,1 Only ruby 1.8 and 1.9 are supported.
*** Error code 1
Stop in /usr/ports/converters/ruby-iconv.
What value should I set RUBY_VERSION to?
How come 1.9 does not imply the latest in 1.9?
How to install ruby-iconv?
Many Thanks!