From owner-freebsd-ports@FreeBSD.ORG Thu Jan 8 18:01:47 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 148E316A4D0 for ; Thu, 8 Jan 2004 18:01:47 -0800 (PST) Received: from h2.liquidneon.com (h2.liquidneon.com [216.38.206.182]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A49D43D46 for ; Thu, 8 Jan 2004 18:01:45 -0800 (PST) (envelope-from bdavis@house.so14k.com) Received: (qmail 28233 invoked from network); 9 Jan 2004 02:01:44 -0000 Received: from c-24-8-51-173.client.comcast.net (HELO mccaffrey.house.so14k.com) (24.8.51.173) by h2.liquidneon.com with SMTP; 9 Jan 2004 02:01:44 -0000 Received: by mccaffrey.house.so14k.com (Postfix, from userid 1001) id 3010AA32; Thu, 8 Jan 2004 19:01:18 -0700 (MST) Date: Thu, 8 Jan 2004 19:01:18 -0700 From: Brad Davis To: freebsd-ports@FreeBSD.ORG Message-ID: <20040109020118.GA57636@mccaffrey.house.so14k.com> Mail-Followup-To: freebsd-ports@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: Call for feedback on a Ports-collection change X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 02:01:47 -0000 Why not start small and move the distinfo file into the Makefile? (This follows the path the pkg-comment went) This would be fairly easy to implement IMHO and not quite as radical as the change your suggesting. Regards, Brad Davis On Thu, Jan 08, 2004 at 07:49:25PM -0500, Garance A Drosihn wrote: > I have been pondering a possible change for the way the ports > collection is done. I've done a little exploration into the > idea, but I thought I'd ask for more feedback before sinking > more time into it. I believe I have someone who would do much > of the actual work for this change, so I think I can make it > happen, but I want to know if the FreeBSD ports project would > be interested in this idea if I come up with some working > version. > > To keep this as a "doable" project, I also have a fairly > modest goal: Further reduce the inode-count of the ports > collection. That's it. There are many things which could > be done as a follow-on to this, but that's all I want to > try for right now. > > The method is also pretty modest. The only thing that makes > this a big project is the need to do it across the entire > ports collection, and without causing any disruption. > > What I want to do is create one new file per port, and then > move almost all the other files into that new file. Ideally > each port would end up with just two files. The Makefile, > and this new file (some ports might also need a Makefile.inc > file). Especially as disks get ever-larger, I think we're > better off with fewer-but-larger files, instead of a larger > number of tiny files. > > I would also write a single simple program, which knows how > to find the correct info for any given purpose. Thus, the > format of the file should not be important. The program > would know what to do for both "old-style" and "new-style" > ports, so we don't have to convert the entire collection > at once. I think the easiest and clearest way to implement > this would be one C program, and not 800 lines of /bin/sh > commands and deep make-magic. > > Does this seem like a reasonable project for me to pursue? > Does it conflict with other projects which are already in > the works to do a similar restructuring? I wouldn't want > to start this project if no one thinks it is worth doing. > > [This message is BCC'ed to FreeBSD-arch, but I expect the > discussion to happen on FreeBSD-ports] > > -- > Garance Alistair Drosehn = gad@gilead.netel.rpi.edu > Senior Systems Programmer or gad@freebsd.org > Rensselaer Polytechnic Institute or drosih@rpi.edu > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"