From owner-freebsd-ports@freebsd.org Mon Feb 19 14:13:04 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 366B1F029EB for ; Mon, 19 Feb 2018 14:13:04 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBCED771B0; Mon, 19 Feb 2018 14:13:03 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id 30so6197799iog.2; Mon, 19 Feb 2018 06:13:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bSMvnXd1hu60usSx8Fm1z7fUJgZgRLDNpMzrKEqJJSk=; b=PELI59lhBtEVhzZxIJJ5OsVql9peHBAx8K4LrhXlbOhGn2bdIL1deEdRPIA8XOxT9m iDY3OAImNuLa8k6+yjsLmumuUaIL2ncIpLdUMuDcTq6Fy0IEIpX0VmI5x8WS0ntghBDC gkRBid/kQmplkhjQ3kHGD0D/5HSiJMGTdYkJKmO8FODGd++fMApyRCBVg1QkpcoxZq0w 6jitX3CqakdSpLB1CBHmKn8sMMf1VmDrz2LuCDafMYc9t86rTDdNOEGjDQ3rhj5graf/ ViC084aphNKfGrN5KLF3kZtJC7e/q2ELnbxuLJ7G9zU5gV/R2B7TzmKttm9XLo+bvJbf bziA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bSMvnXd1hu60usSx8Fm1z7fUJgZgRLDNpMzrKEqJJSk=; b=Zyf5FMMD4lr04JjGlOeEoDbhvb/J+QHn+px38MvHREGuNWsHb73PNEarkvrq1gB2zI CjZWC9s2eG63AAcvXO4h8c0ZyFOWi1OEOD+uAi7YZ5Z1z5H2Nb8hjJeIPyhOsxhsaqvE BP++q4pvez752UaZK9+304Nfl7Q4i8AN5144YGrOW0oDMmkjwz+06R2r00hKF7PmLAdn ihHfJqhfwVDwz9wC1++KvU/mWxZeMDQePn7MVJ5z7LKlDP8owLgh8T63bICssAKj1PRQ NR2MHYn8Q4TrNQo+xfACVDoNn2yYCLte5lPPG1foa7JqPg+qYm9yAcu+OFATftpgx+FV cOZw== X-Gm-Message-State: APf1xPD8mhmW6YbP4fDxXb7+IjTdm4vFlk248MiRZYToMtecZ+DWKflr O9i294RwNqY60sdNE1hSeP82g2dcYko/Srza+9M= X-Google-Smtp-Source: AH8x224ugZ154cRYdAyp7dyYRYxGEt9nKx8xgBuBJlcNazjaXcM+NhDcl07GZV73UsMcr0gF2KJyxFVrSsf/QvMryKI= X-Received: by 10.107.33.72 with SMTP id h69mr19101259ioh.209.1519049582916; Mon, 19 Feb 2018 06:13:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.10.68 with HTTP; Mon, 19 Feb 2018 06:13:02 -0800 (PST) In-Reply-To: References: <20171228203634.GK99670@rancor.immure.com> <5A4557E8.70907@grosbein.net> <5A455A04.4090100@grosbein.net> <20171228211639.GL99670@rancor.immure.com> From: blubee blubeeme Date: Mon, 19 Feb 2018 22:13:02 +0800 Message-ID: Subject: Re: 6100 subdirectories in /usr/ports/devel! To: Gleb Popov <6yearold@gmail.com> Cc: Julian Elischer , FreeBSD ports list Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 14:13:04 -0000 On Mon, Feb 19, 2018 at 7:56 PM, Gleb Popov <6yearold@gmail.com> wrote: > On Mon, Feb 19, 2018 at 9:45 AM, Julian Elischer > wrote: > > > 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. > I agree with this as well, why maintain these ports when they're being maintained upstream. Plus, if we do need patches, they can be applied during the build step. > > > > 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. > > > I double this thought! This is what I'm goinf to head to with Haskell ports > one time. > > There is a hitch, though. Hackage, the haskell package database, is a dump. > You easily can get a version clash between to packages. No one curates > them. So, while there was only Hackage maintaining hs- ports made sense - > we've been cheking all the packages we have to compile/work together. But > now Stackage emerged, which is a curated package DB, so our ports is a > duplicated work now. The port is only needed if it is not present on > Stackage or if it require FreeBSD specific patches that haven't been > upstreamed yet. > > If PyPi and CPAN has the same notion of curated package set, we should not > duplicate this effort and remove much of our py- and p5- ports. > > > > > > > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >