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)

1. Find out installed dovecot version :

mail2# pkg_info | grep dovecot

dovecot-1.0.13_1 Secure and compact IMAP and POP3 servers

2. Install portdowngrade (use ports) and execute portdowngrade after rehash.

I took [email protected] as cvs server from here :

mail2# portdowngrade dovecot -s [email protected]:/home/ncvs

portdowngrade 0.6 by Heiner Eichmann
Please note, that nothing is changed in the ports tree
unless it is explicitly permitted in step 6!
Continue reading

in Unix | 695 Words