Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2011 11:33:49 +0100
From:      Mikael Bak <mbak@inbox.lv>
To:        Paul Macdonald <paul@ifdnrg.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Follow a port of a specific major verion
Message-ID:  <4D511C0D.2000100@inbox.lv>
In-Reply-To: <4D5033C1.1010604@ifdnrg.com>
References:  <4D50217A.6030700@inbox.lv> <4D5033C1.1010604@ifdnrg.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D511C0D.2000100>