From owner-freebsd-ports@FreeBSD.ORG Tue Mar 20 20:46:01 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E542116A402 for ; Tue, 20 Mar 2007 20:46:01 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 783C313C45E for ; Tue, 20 Mar 2007 20:46:01 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so8026ugh for ; Tue, 20 Mar 2007 13:46:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=GczYnWpW9DYBw2b93EPF4JwkOwcWqfLPffSS/MdiInjSCnCP6KJ6WKBpwL8O8ur9d2ymR57aKe5xSZOYEZ0iTmBFiRHlrkdh+szFQazJ1Met9r50bA/w7ClnBVFZj25KLPJtKxa2l5121eGr28Oujp0Y+bF4yChfci/fx9k4fNo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=G/RQINu//5Nbq6bFvr+XPClyls9NI8AF4usrq3+xOdFbpmorQRT0yXW6hVHKCaKhQG7tC8hBtlKNceG+kII80BP+2H1d0OuwGPHJS1hC+SGyDe5kFGQvK679s8Z1HHfvW5yuVyRDbRh4kpOuPJ+OLWNWTdLlVYkBSIdY3hnto8M= Received: by 10.67.117.2 with SMTP id u2mr1808493ugm.1174422020419; Tue, 20 Mar 2007 13:20:20 -0700 (PDT) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id p32sm799439ugc.2007.03.20.13.20.19; Tue, 20 Mar 2007 13:20:20 -0700 (PDT) Message-ID: <46004202.5040603@gmail.com> Date: Tue, 20 Mar 2007 21:20:18 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Doug Barton References: <200703181638.l2IGcoaj003204@repoman.freebsd.org> <20070319125101.4lb7lljt5w4cwog8@webmail.leidinger.net> <1174308178.15322.13.camel@pav.hide.vol.cz> <45FF29E4.4060305@FreeBSD.org> In-Reply-To: <45FF29E4.4060305@FreeBSD.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Alexander Leidinger , pav@FreeBSD.org, freebsd ports Subject: Re: Ports management tools in the base (Was: Re: cvs commit: www/en/projects/ideas ideas.xml) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 20:46:02 -0000 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//+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// 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). Only mentally tested > 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