From owner-cvs-all Fri Nov 22 5:49:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C0837B401; Fri, 22 Nov 2002 05:49:55 -0800 (PST) Received: from m20.unixathome.org (m20.unixathome.org [66.11.168.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A855643E3B; Fri, 22 Nov 2002 05:49:54 -0800 (PST) (envelope-from dan@langille.org) Received: by m20.unixathome.org (Postfix, from userid 1001) id 2BC337A1C; Fri, 22 Nov 2002 08:49:50 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by m20.unixathome.org (Postfix) with ESMTP id 792901E8E; Fri, 22 Nov 2002 08:49:50 -0500 (EST) Date: Fri, 22 Nov 2002 08:49:50 -0500 (EST) From: Dan Langille X-X-Sender: dan@m20.unixathome.org To: lioux@FreeBSD.org Cc: cvs-committers@FreeBSD.org, , Subject: spaces in RUN_DEPENDS and BUILD_DEPENDS Message-ID: <20021122082819.G3909-100000@m20.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Following up on 20021121230418.6004.qmail@exxodus.fedaykin.here, I have compiled a list of the ports which contains either trailing spaces, leading spaces, or multiple embedded spaces within either the RUN_DEPENDS or BUILD_DEPENDS output. We have yet to establish whether or not this is actually a problem, but the list of such ports (with maintainer and RUN_DEPENDS, BUILD_DEPENDS) is at http://www.freshports.org/tmp/ports_spaces_depends.tgz (the file is about 62KB, the uncompressed file is about 3.5MB). Approximately 900 ports are affected. I have summarized the totals below as taken from a FreshPorts database backup from yesterday. There will be overlap between each query as ports may exhibit multiple symptoms. Hope this helps Leading space in RUN_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_run like ' %'; count ------- 74 trailing space in RUN_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_run like '% '; count ------- 92 multiple spaces in RUN_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_run like '% %'; count ------- 657 leading space in BUILD_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_build like ' %'; count ------- 38 trailing space in BUILD_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_build like '% '; count ------- 46 multiple spaces in BUILD_DEPENDS: freshports_bad_depends=# select count(*) from ports_active where depends_build like '% %'; count ------- 503 BUILD DEPENDS is only blanks but not empty: freshports_bad_depends=# select count(*) from ports_active where trim(both ' ' from depends_build) = '' and depends_build <> ''; count ------- 4 RUN_DEPENDS is only blanks but not empty: freshports_bad_depends=# select count(*) from ports_active where trim(both ' ' from depends_run) = '' and depends_run <> ''; count ------- 19 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message