SmartOS fixes, HAProxy 1.5.3, tinc 1.1-git, and some package updates

This is the cleaned-up version of: https://github.com/NixOS/nixpkgs/pull/2117
Well .. yea ... technically solaris is still owned by Oracle and Illumos is the open source fork.  I've never tested any of my patches on solaris, only SmartOS which is an illumos derivative... 

http://wiki.illumos.org/display/illumos/illumos+FAQs

Perhaps solaris is better indeed, because of the identifier and it probably would work on solaris anyway (provided someone does the bootstrap work).