SSL Connections with Irssi on FreeBSD

Most examples on how to do this are for Linux. On FreeBSD the process is only slightly different:

  1. Install the security/ca_root_nss port

  2. Configure irssi by running the following commands in it:

    /network add -nick 'nick' -realname 'real name' freenode
    /server add -auto -ssl_verify -ssl_cafile /usr/local/share/certs/ca-root-nss ...
more ...

Pycrypto on FreeBSD

If pycrypto fails building for you with an error like:

# src/_fastmath.c:36:11: fatal error: 'gmp.h' file not found
#
# # include <gmp .h>
#
# ^
#
# 1 error generated.
#
# error: command 'cc' failed with exit status 1</gmp>

You need to run these two commands to show clang where to look ...

more ...