Date: Tue, 20 Mar 2007 21:20:18 +0100 From: Rene Ladan <r.c.ladan@gmail.com> To: Doug Barton <dougb@FreeBSD.org> Cc: Alexander Leidinger <Alexander@Leidinger.net>, pav@FreeBSD.org, freebsd ports <freebsd-ports@freebsd.org> Subject: Re: Ports management tools in the base (Was: Re: cvs commit: www/en/projects/ideas ideas.xml) Message-ID: <46004202.5040603@gmail.com> In-Reply-To: <45FF29E4.4060305@FreeBSD.org> References: <200703181638.l2IGcoaj003204@repoman.freebsd.org> <20070319125101.4lb7lljt5w4cwog8@webmail.leidinger.net> <1174308178.15322.13.camel@pav.hide.vol.cz> <45FF29E4.4060305@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton schreef: [...] > I'm pretty close to the end of the list of features that I > was ever interested in implementing, and I've added almost every feature > that users have asked for (with the notable exception of installing > packages) [...] I'm thinking of one more option that would be nice: the possibility to resume `portmaster -r PORT` builds (like the gettext one) without having to rebuild or manually skip all already rebuilt ports (or semi-automatically pollute /var/db/pkg with +IGNOREME files using some primitive shell scripts I hacked together at 1 AM) An example: # portmaster -r gettext now all files in /var/db/pkg/gettext-*/ have fresh modification times T, and all /var/db/<port-requiring-gettext>/+CONTENTS files have time T. When portmaster has finished upgrading gettext, it starts with all dependent-on ports. If it has finished such a port, all files in /var/db/<port-requiring-gettext>/ have the same modification time T2 (with T2 newer than T). The +CONTENTS file for ports which still need to be rebuilt is newer than the other files (e.g. +DESC), so if portmaster crashes and restarted, it could skip all ports P for which the following two conditions hold: (1) all modification times in /var/db/pkg/P/ are equal (i.e. T2), (2) those T2 times are newer than T (where T is the modification time of /var/db/gettext*/* before the mandatory rebuild of gettext itself). <disclaimer>Only mentally tested</disclaimer> > As for the requirements in the ideas page ... > [...] > > * storing old copies of shared libraries after shmajor number change > in /usr/local/lib/compat/pkg > > Portmaster doesn't do this currently. I have mixed feelings about > whether this is even a good idea or not. I'd be happy to elaborate on > why if anyone cares. > [...] Not having a /usr/local/lib/compat/pkg is cleaner IMO. > Doug > Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46004202.5040603>