From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 10:33:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C419106564A for ; Tue, 8 Feb 2011 10:33:56 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED088FC3D for ; Tue, 8 Feb 2011 10:33:55 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id D051F4FEB3; Tue, 8 Feb 2011 11:33:54 +0100 (CET) Message-ID: <4D511C0D.2000100@inbox.lv> Date: Tue, 08 Feb 2011 11:33:49 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Paul Macdonald References: <4D50217A.6030700@inbox.lv> <4D5033C1.1010604@ifdnrg.com> In-Reply-To: <4D5033C1.1010604@ifdnrg.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow a port of a specific major verion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 10:33:56 -0000 Hi Paul, Paul Macdonald wrote: > On 07/02/2011 16:44, Mikael Bak wrote: >> So my question is: How can I make the ports system act as if I had >> installed Postfix like this?: >> >> cd /usr/ports/mail/postfix27 >> make install clean >> >> Is there a way to tell the ports database to "follow" and older version >> of Postfix without rebuild the entire port again? >> > > I'm pretty sure you can't do this, *unless* there's someone actually > tracking a seperate port on that version. ( i didn't check but it > doesn't sound like it from your post). > > To stop ports tree updates from clobbering your v27, you'd need to > exclude this from your cvssup or whatever you use to update your tree. > > portdowngrade will get you back to an arbitrary older version if your > tree already has the newer version. > I realize I perhaps should have told you how I keep my ports tree up-to-date. I have this in my /etc/crontab # Update Portsnap INDEX 0 3 * * * root portsnap -I cron update && pkg_version -vIl '<' This sends me an email if a port has been updated. If I want to upgrade my ports I do: # portsnap fetch update # portmaster -aD && portmaster --clean-distfiles-all This is why I *need* to tell my ports database to use/track an earlier version of Postfix (in this case /usr/ports/mail/postfix27). After reading the description of portdowngrade I don't think that's the tool I want. Correct me if I'm wrong. > Paul. > TIA, Mikael