openssl-1.0.2g, openssh-7.2p1

openssl-1.0.2g と openssh-7.2p1 が出ていたので入れ換えておいた。まずは openssl-1.0.2g をビルド

wget http://www.openssl.org/source/openssl-1.0.2g.tar.gz
cd /usr/local/src
tar zxf openssl-1.0.2g.tar.gz
cd /usr/local/src/openssl-1.0.2g
./config
make
make test
make install

次に openssh-7.2p1 をビルド

wget ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.2p1.tar.gz
cd /usr/local/src/openssh-7.2p1
./configure --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl --with-zlib=/usr/local --sysconfdir=/usr/local/etc/ssh
make
make install
rehash
/etc/rc.d/sshd restart
ssh -V
OpenSSH_7.2p1, OpenSSL 1.0.2g  1 Mar 2016

そして bind をリビルドしておく

cd /usr/local/src/bind-9.10.3-P3
make distclean
./configure --with-openssl=/usr/local/ssl
make
bin/tests/system/ifconfig.sh up
make test
make install
/etc/rc.d/named restart
/usr/local/sbin/named -V
BIND 9.10.3-P3 
built by make with '--with-openssl=/usr/local/ssl'
compiled by GCC 4.2.1 20070831 patched [FreeBSD]
compiled with OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
linked to OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
compiled with libxml2 version: 2.9.1
linked to libxml2 version: 20901