cvs commit: src/usr.sbin/freebsd-update

Colin Percival cperciva at
Tue Mar 25 04:31:17 PDT 2008

cperciva    2008-03-25 11:31:16 UTC

  FreeBSD src repository

  Modified files:
  Adjust recognize-shared-libraries regex to avoid matching symlinks to
  shared libraries.
  This fixes a problem which resulted in 6.x->7.x upgrades having the
  /usr/lib/ -> symlink missing; what happened was
  that the old symlink pointed to /lib/ --
  which matched the "/lib/*\.so\.[0-9]+" regex -- but the new symlink
  didn't, so FreeBSD Update got confused and deleted the symlink as part
  of its "remove old shared libraries" step.
  To recreate the symlink (which I understand is necessary for ports like
  KDE to build) on a 7.x system which FreeBSD Update upgraded from 6.x:
  # ln -s /usr/lib/
  Reported by:    Dmitry RCL Rekman
  Help diagnosing bug from:       kris
  MFC after:      7 days
  Revision  Changes    Path
  1.14      +14 -14    src/usr.sbin/freebsd-update/

More information about the cvs-src mailing list