Strange formatting error with pkg_info after using portupgrade
Rev. Joe Doyle Ardent
ardent at nebcorp.com
Sat Jun 21 11:17:36 PDT 2003
On Sat, Jun 21, 2003 at 06:54:05PM +0200, Uwe Doering wrote:
>
> Rev. Joe Doyle Ardent wrote:
> >
> >please:~> pkg_info |head
> >BitTorrent-3.2.1b "Peer to Peer file sharing/mirroring."Mesa-3.4.2_2
> >A graphics library similar to SGI's OpenGL
> >ORBit-0.5.17 High-performance CORBA ORB with support for the C
> >language
> >XFree86-4.3.0,1 X11/XFree86 core distribution (complete, using
> >mini/meta-po
> >
> > Note how Mesa's entry begins immediately after the last
> >character of BitTorrent's.
> > [...]
>
> While I actually don't know why the terminating newline is missing in
> some cases I noticed that there was an MFC to RELENG_4 a couple of days
> ago that makes 'pkg_info' add a newline if the comment line doesn't have
> one. You may want to take a look at FreeBSD's CVS repository
> (src/usr.sbin/pkg_install/info/show.c) in order to build and install a
> fixed 'pkg_info'.
>
That did the trick; thanks!
Still, why does portupgrade get rid of the newlines in the
COMMENT? Has anyone else seen this behavior?
-Joe
More information about the freebsd-questions
mailing list