freebsd unzip ports

I just use gunzip as tool for unzip an .zip file at ubuntu 10.04 when I try same utility at freebsd.

Now I want to try something new with utility called unzip.

Try to call it ( it might be installed)

# unzip
unzip: Command not found.

Not found, try to find installation file.

# whereis unzip

unzip: /usr/ports/archivers/unzip
# cd  /usr/ports/archivers/unzip && make install

Continue reading

in Work | 651 Words

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 as cvs server from here :

mail2# portdowngrade dovecot -s

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