initial import of freebsd

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>