freebsd/pkg — pull request #950 by derekschrock (2014-08-12 23:35:59+00:00)
Title: need to realpath restricted if it's symlink/amd-automount

If SSH_RESTRICT_DIR has symlinks (amd auto mounted fs) then strncmp() in libpkg/ssh.c will fail. We need to compare realpath fpath with another realpath rpath.