Learning anything from anywhere

Downgrade FreeBSD ports

I used to use FreeBSD ports in all related server job. I don’t remember what ports that might behave strangely in my mail server until I remember last portupgrade job. I upgrade dovecot to latest version. I think if I downgrade dovecot ports I’ll get my stable mail server back

Here’s my steps to downgrade dovecot ports : ( similar way applicable to other FreeBSD ports)

Total lines: 92. Command:
Enter version number to change port to (0: exit): 2

Step 5: Checking out choosen date of the port from the CVS repository

Step 6: Modifying the port
Port: mail/dovecot
at : 2008/03/10 02:39:09
Type ‘yes’ to bring the port to the state of the date above
or ‘no’ to exit without changing anything. Note, that this only changes
the port, not the installed software! yes or no:

The port has been set to the selected version. Install it if you wish.
If you have portupgrade installed, you should run

portsdb -Uu

now, to see the changes in the ports database. In any case

portupgrade -f dovecot

will install the changed port. Note: if you run cvsup, the port
is changed back to the choosen label!