support for libarchive-3
Merge branch 'libarchive-3'
further libarchive-3 patches
replaced deprecated library calls