From owner-freebsd-ports@freebsd.org Mon Feb 19 06:45:27 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F144DF06D45 for ; Mon, 19 Feb 2018 06:45:26 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 908C88381B for ; Mon, 19 Feb 2018 06:45:26 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (203-59-173-201.dyn.iinet.net.au [203.59.173.201]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id w1J6jJHA028960 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 18 Feb 2018 22:45:22 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: 6100 subdirectories in /usr/ports/devel! To: Bob Willcox , Eugene Grosbein Cc: ports list References: <20171228203634.GK99670@rancor.immure.com> <5A4557E8.70907@grosbein.net> <5A455A04.4090100@grosbein.net> <20171228211639.GL99670@rancor.immure.com> From: Julian Elischer Message-ID: Date: Mon, 19 Feb 2018 14:45:14 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20171228211639.GL99670@rancor.immure.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 06:45:27 -0000 On 29/12/17 5:16 am, Bob Willcox wrote: > On Fri, Dec 29, 2017 at 03:54:28AM +0700, Eugene Grosbein wrote: >> 29.12.2017 3:36, Bob Willcox wrote: >> >>>> Does anyone else feel that having 6100 subdirectories (939 are for py-* stuff) >>>> is a bit excessive? >>> It is. But py-* stuff has second place only: >>> >>> $ ls /usr/ports/devel | sed 's/-.*//' | sort | uniq -c | sort -rn | head >>> 1908 p5 >>> 964 py >>> 600 rubygem >>> 280 hs >>> 176 pear >>> 57 R >>> 56 pecl >>> 48 elixir >>> 47 geany >>> 43 erlang >> In fact, ports/devel is first but not only category having similar problem with p5-* stuff: >> >> $ cd /usr/ports >> $ find . -type d -mindepth 1 -maxdepth 1 | while read category; do printf "%15s " ${category#./}; ls $category | sed 's/-.*//' | sort | uniq -c | sort -rn | head -1; done | sort -k 2,2 -rn | head -15 >> devel 1908 p5 >> www 807 p5 >> textproc 617 p5 >> net 327 p5 >> databases 259 p5 >> security 258 p5 >> math 146 p5 >> mail 145 p5 >> graphics 100 p5 >> editors 98 libreoffice >> sysutils 75 rubygem >> converters 72 p5 >> misc 63 p5 >> net-mgmt 56 p5 >> x11-toolkits 49 p5 >> > Yeah, I happened to notice the py-* stuff due to some problems I have been > having with synth. I did notice the large number of p5-* subdirs but didn't > count them. :) > > Certainly seems to be out of control... > the py and p5 stuff is a symptom of another problem, which is that we are only second level for those files... the correct behaviour in my point of view is for our packages/ports system to delegate to pypi or similar for python and to CPAN for perl. maybe with the ability to add some patches on the way through.. There is just too much going on there for us to follow properly.