From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 16 08:50:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E9837B401 for ; Mon, 16 Jun 2003 08:50:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADDB043FBF for ; Mon, 16 Jun 2003 08:50:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5GFoAUp018951 for ; Mon, 16 Jun 2003 08:50:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5GFoAGX018950; Mon, 16 Jun 2003 08:50:10 -0700 (PDT) Resent-Date: Mon, 16 Jun 2003 08:50:10 -0700 (PDT) Resent-Message-Id: <200306161550.h5GFoAGX018950@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E95F37B401 for ; Mon, 16 Jun 2003 08:48:30 -0700 (PDT) Received: from mail.parodius.com (mail.parodius.com [64.71.184.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087C743FBD for ; Mon, 16 Jun 2003 08:48:30 -0700 (PDT) (envelope-from koitsu@pentarou.parodius.com) Received: from pentarou.parodius.com (koitsu@localhost [127.0.0.1]) by mail.parodius.com (8.12.9/8.12.9) with ESMTP id h5GFmTkD048383 for ; Mon, 16 Jun 2003 08:48:29 -0700 (PDT) (envelope-from koitsu@pentarou.parodius.com) Received: (from koitsu@localhost) by pentarou.parodius.com (8.12.9/8.12.9/Submit) id h5GFmTxj048382; Mon, 16 Jun 2003 08:48:29 -0700 (PDT) (envelope-from koitsu) Message-Id: <200306161548.h5GFmTxj048382@pentarou.parodius.com> Date: Mon, 16 Jun 2003 08:48:29 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/53378: Missing newline in pkg_info from pkg_add'd packages. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Chadwick List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 15:50:12 -0000 >Number: 53378 >Category: bin >Synopsis: Missing newline in pkg_info from pkg_add'd packages. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 16 08:50:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 4.8-STABLE i386 >Organization: Parodius Networking >Environment: System: FreeBSD pentarou.parodius.com 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu May 15 11:28:23 PDT 2003 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP i386 >Description: pkg_add (or something related to packages) is not properly inserting a newline in the description field shown in pkg_info. I am not sure if this is a bug in a) the package itself, b) pkg_add, or c) pkg_info. Normally when a package is installed, you will see something like this: procmail-3.22_2 A local mail delivery agent python-2.2.3 An interpreted object-oriented programming language qpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) This bug causes the following to happen: procmail-3.22_2 A local mail delivery agent python-2.2.3 An interpreted object-oriented programming languageqpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) This also applies to portinstall/portupgrade (when using -P). This is NOT specific to python. I can do this with a multitude of packages, they all do the same thing. Compiling from source (e.g. make install) does NOT do this. >How-To-Repeat: # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/lang/python-2.2.3.tgz Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/lang/python-2.2.3.tgz... Done. # pkg_info | grep python python-2.2.3 An interpreted object-oriented programming languageqpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) # pkg_info | grep -3 python png-1.2.5_2 Library for manipulating PNG images portupgrade-20030427 FreeBSD ports/packages administration and management tool s procmail-3.22_2 A local mail delivery agent python-2.2.3 An interpreted object-oriented programming languageqpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) rrdtool-1.0.41 Round Robin Database Tools ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language ruby-bdb1-0.1.9 Ruby interface to Berkeley DB revision 1.8x with full featu # pkg_delete python-2.2.3 # pkg_info | grep -3 qpopper png-1.2.5_2 Library for manipulating PNG images portupgrade-20030427 FreeBSD ports/packages administration and management tool s procmail-3.22_2 A local mail delivery agent qpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) rrdtool-1.0.41 Round Robin Database Tools ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language ruby-bdb1-0.1.9 Ruby interface to Berkeley DB revision 1.8x with full featu # cd /usr/ports/lang/python # make install {...compile snipped due to excessive length...} ===> Compressing manual pages for python-2.2.3 ===> Registering installation for python-2.2.3 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/python2.2/lib-dynload/_socket.so If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. # pkg_info | grep python python-2.2.3 An interpreted object-oriented programming language # pkg_info | grep -3 python png-1.2.5_2 Library for manipulating PNG images portupgrade-20030427 FreeBSD ports/packages administration and management tool s procmail-3.22_2 A local mail delivery agent python-2.2.3 An interpreted object-oriented programming language qpopper-4.0.5_1 Berkeley POP 3 server (now maintained by Qualcomm) rrdtool-1.0.41 Round Robin Database Tools ruby-1.6.8.2003.04.19 An object-oriented interpreted scripting language >Fix: Make from source instead of packages. >Release-Note: >Audit-Trail: >Unformatted: