merged patches from pkgsrc, OS version warnings plus mulpliple import lines
Merge branch 'master' of github.com:NetBSDfr/pkgin