summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
committerroot <root@rshg054.dnsready.net>2013-10-16 00:57:16 -0700
commitc22d00d6478c9a00b4c7e491af65637537247c8f (patch)
treee6346097789cc44df5dc5e4340ad33ffe507b31c /core
parent5d8af7c82b707f4cbda87bb0538fef84daf3791b (diff)
Wed Oct 16 00:56:43 PDT 2013
Diffstat (limited to 'core')
-rw-r--r--core/libarchive/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD
index 7d7260489..6820b23b0 100644
--- a/core/libarchive/PKGBUILD
+++ b/core/libarchive/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 193605 2013-08-25 14:43:38Z dreisner $
+# $Id: PKGBUILD 196629 2013-10-15 21:20:36Z dreisner $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=libarchive
pkgver=3.1.2
-pkgrel=2
+pkgrel=3
pkgdesc="library that can create and read several streaming archive formats"
arch=('i686' 'x86_64')
url="http://libarchive.org/"
license=('BSD')
depends=('acl' 'attr' 'bzip2' 'expat' 'lzo2' 'openssl' 'xz' 'zlib')
+options=('strip' 'debug')
provides=('libarchive.so')
source=("http://libarchive.org/downloads/$pkgname-$pkgver.tar.gz"
'0001-mtree-fix-line-filename-length-calculation.patch'
+ https://github.com/libarchive/libarchive/commit/22531545514043e04633e1c015c7540b9de9dbe4.patch
'libarchive-3.1.2-acl.patch')
md5sums=('efad5a503f66329bb9d2f4308b5de98a'
'fda89c145bbcd793a96b06b463ef6a72'
+ '6432f3360abd5645461a9c825c75b307'
'a5c995661c62429ceff2c23ea322393b')
build() {
@@ -27,6 +30,9 @@ build() {
# https://code.google.com/p/libarchive/issues/detail?id=329
patch -Np1 -i "$srcdir/libarchive-3.1.2-acl.patch"
+ # CVE-2013-0211
+ patch -Np1 -i "$srcdir/22531545514043e04633e1c015c7540b9de9dbe4.patch"
+
./configure --prefix=/usr --without-xml2
make
}