From owner-freebsd-questions@FreeBSD.ORG Sat Jun 21 11:17:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B07037B401 for ; Sat, 21 Jun 2003 11:17:36 -0700 (PDT) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC6BA43FA3 for ; Sat, 21 Jun 2003 11:17:31 -0700 (PDT) (envelope-from ardent@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1001) id 77D9E3A278; Sat, 21 Jun 2003 11:17:31 -0700 (PDT) Date: Sat, 21 Jun 2003 11:17:31 -0700 From: "Rev. Joe Doyle Ardent" To: freebsd-questions@freebsd.org Message-ID: <20030621181731.GB5086@nebcorp.com> Mail-Followup-To: "Rev. Joe Doyle Ardent" , freebsd-questions@freebsd.org References: <20030620022316.GA52638@nebcorp.com> <3EF48DAD.1040702@geminix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EF48DAD.1040702@geminix.org> User-Agent: Mutt/1.4i Subject: Re: Strange formatting error with pkg_info after using portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Rev. Joe Doyle Ardent" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jun 2003 18:17:36 -0000 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