Follow a port of a specific major verion
Mikael Bak
mbak at inbox.lv
Tue Feb 8 10:33:56 UTC 2011
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
More information about the freebsd-questions
mailing list