diff --git a/common/shlibs b/common/shlibs
index 50c8f922f1..9607890596 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -47,7 +47,7 @@ libJIS.so			glibc			glibc-devel
 libISOIR165.so			glibc			glibc-devel
 libz.so.1			zlib			zlib-devel
 libbz2.so.1			bzip2			bzip2-devel
-libarchive.so.2			libarchive		libarchive-devel
+libarchive.so.12		libarchive		libarchive-devel
 libgcc_s.so.1			libgcc
 libperl.so			perl
 libmp.so.3			gmp			gmp-devel
diff --git a/srcpkgs/libarchive/bsdcpio.template b/srcpkgs/libarchive/bsdcpio.template
index a0f32a9011..3f0d112bcc 100644
--- a/srcpkgs/libarchive/bsdcpio.template
+++ b/srcpkgs/libarchive/bsdcpio.template
@@ -1,6 +1,5 @@
 # Template file for 'bsdcpio'.
 #
-revision=1
 short_desc="BSD cpio(1) using libarchive"
 long_desc="
  This package provides an interface similar to cpio(1), but using libarchive
@@ -27,9 +26,7 @@ long_desc="
  * GNU tar support. Libarchive reads most GNU tar archives. If there
    is demand, this can be improved further."
 
-
-do_install()
-{
+do_install() {
 	vmove usr/bin usr
 	vmove usr/share/man/man1/bsdcpio.1 usr/share/man/man1
 	vmove usr/share/man/man5/cpio.5 usr/share/man/man5
diff --git a/srcpkgs/libarchive/bsdtar.template b/srcpkgs/libarchive/bsdtar.template
index cfb0f799a2..726888c046 100644
--- a/srcpkgs/libarchive/bsdtar.template
+++ b/srcpkgs/libarchive/bsdtar.template
@@ -1,6 +1,5 @@
 # Template file for 'bsdtar'.
 #
-revision=1
 short_desc="BSD tar(1) using libarchive"
 long_desc="
  The bsdtar program has a number of advantages over previous tar
@@ -28,9 +27,7 @@ long_desc="
  * GNU tar support. Libarchive reads most GNU tar archives. If there
    is demand, this can be improved further."
 
-
-do_install()
-{
+do_install() {
 	vmove usr/bin/bsdtar usr/bin
 	vmove usr/share/man/man1/bsdtar.1 usr/share/man/man1
 	vmove usr/share/man/man5/tar.5 usr/share/man/man5
diff --git a/srcpkgs/libarchive/depends b/srcpkgs/libarchive/depends
index 4fefeafec7..146f550394 100644
--- a/srcpkgs/libarchive/depends
+++ b/srcpkgs/libarchive/depends
@@ -1,2 +1,2 @@
-abi_depends=">=2.6.0"
+abi_depends=">=3.0.2"
 api_depends="${abi_depends}"
diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template
index 0d013d950e..f3db7f2872 100644
--- a/srcpkgs/libarchive/template
+++ b/srcpkgs/libarchive/template
@@ -1,15 +1,14 @@
 # Template file for 'libarchive'
 pkgname=libarchive
-version=2.8.5
+version=3.0.2
 distfiles="http://libarchive.googlecode.com/files/$pkgname-$version.tar.gz"
 build_style=gnu-configure
-configure_args="--without-xml2"
-revision=1
+configure_args="--without-xml2 --without-nettle"
 short_desc="Library to read/write several different streaming archive formats"
 maintainer="Juan RP <xtraeme@gmail.com>"
 homepage="http://code.google.com/p/libarchive"
 license="BSD"
-checksum=13993e0ffbd121ccda46ea226b1f8eac218de0fa8da7d8b1f998093d5c32a72d
+checksum=b27a10182f4fc3f69d01419a59ddb16fccf5df8c4b166008c04f41905e29fd74
 long_desc="
  Libarchive is a programming library that can create and read several
  different streaming archive formats, including most popular tar variants,