summaryrefslogtreecommitdiff
path: root/community/duplicity/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/duplicity/PKGBUILD')
-rw-r--r--community/duplicity/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/duplicity/PKGBUILD b/community/duplicity/PKGBUILD
index adcaa6edb..955bd64db 100644
--- a/community/duplicity/PKGBUILD
+++ b/community/duplicity/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 60285 2011-12-08 22:52:59Z lfleischer $
+# $Id: PKGBUILD 62636 2012-01-23 00:53:34Z lfleischer $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Aaron Schaefer <aaron@elasticdog.com>
pkgname=duplicity
pkgver=0.6.17
-pkgrel=3
+pkgrel=4
pkgdesc='A utility for encrypted, bandwidth-efficient backups using the rsync algorithm'
arch=('i686' 'x86_64')
url='http://www.nongnu.org/duplicity/'
license=('GPL')
depends=('librsync' 'ncftp' 'python2' 'python-boto' 'python-gnupginterface')
source=("http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz"
- 'botobackend.patch')
+ 'botobackend.patch'
+ 'duplicity-0.6.17-fix-memleak.patch')
md5sums=('36423ab4e3b9aa90c5c44d9fa93fba0f'
- '49bbdc327230fe5985d18eaae37eec0c')
+ '49bbdc327230fe5985d18eaae37eec0c'
+ 'b77e98d006842414fdda9662c8081d3b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -27,6 +29,9 @@ build() {
# add hotfix issued by upstream (FS#27390)
patch -p0 -i ../botobackend.patch
+ # fix a memory leak (upstream bug #908228)
+ patch -p0 -i ../duplicity-0.6.17-fix-memleak.patch
+
python2 setup.py install --root="$pkgdir" --optimize=1
# fix broken documentation permissions until upstream does (FS#27301)