is it safe to upgrade ruby18?

Parv parv at pair.com
Sun Dec 24 21:24:04 PST 2006


in message <200612242134.kBOLYr7A022299 at mp.cs.niu.edu>,
wrote Scott Bennett thusly...
>
>      On Sun, 24 Dec 2006 Parv <parv at pair.com> wrote:
...
> >portmanager OPTIONALLY needs ruby to convert
> >pkgtools.conf (portupgrade) to its configuration format (by way
> >of running pkgtools-to-portmanager.rb).
              ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
              ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> Really?  How does it do that?

As i wrote earlier with pkgtools-to-portmanager.rb.


> The string "ruby" doesn't appear in the portmanager binary
> anywhere.  Neither does "pkg", "port", "tool", or "rb".

Use the source ...

  cd ${PORTSDIR:-/usr/ports/}/sysutils/portmanager \
  && make extract \
  && {
        src=$( make -V WRKSRC )
        find "$src" -type f -name pkgtools-to-portmanager.rb
        sleep 2
        {PAGER:-less} "$src/programmer-notes.txt" # search 'pkgtools'
      }


  - Parv

-- 



More information about the freebsd-ports mailing list