Date: Fri, 22 Nov 2002 08:49:50 -0500 (EST) From: Dan Langille <dan@langille.org> To: lioux@FreeBSD.org Cc: cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>, <ports@FreeBSD.org> Subject: spaces in RUN_DEPENDS and BUILD_DEPENDS Message-ID: <20021122082819.G3909-100000@m20.unixathome.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122082819.G3909-100000>