Update to duplicity-0.6.15.

ok jim@ (maintainer)
This commit is contained in:
ajacoutot 2011-09-20 21:49:34 +00:00
parent 565435833c
commit 2d9bcfb8c2
4 changed files with 36 additions and 11 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2011/09/16 11:41:39 espie Exp $
# $OpenBSD: Makefile,v 1.17 2011/09/20 21:49:34 ajacoutot Exp $
COMMENT = encrypted backup using rsync algorithm
MODPY_EGG_VERSION = 0.6.10
MODPY_EGG_VERSION = 0.6.15
DISTNAME = duplicity-${MODPY_EGG_VERSION}
REVISION= 1
CATEGORIES = sysutils
@ -21,8 +20,9 @@ PERMIT_DISTFILES_FTP = Yes
MODULES = lang/python
WANTLIB += rsync
LIB_DEPENDS += net/librsync
WANTLIB += rsync ${MODPY_WANTLIB}
LIB_DEPENDS += net/librsync \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS += net/py-boto \
net/ncftp \
security/py-gnupg

View File

@ -1,5 +1,5 @@
MD5 (duplicity-0.6.10.tar.gz) = iHjTtj/LobcjPhHFgpuWnA==
RMD160 (duplicity-0.6.10.tar.gz) = NsyrKhb9FojkyYMH2RDVTDN5cm0=
SHA1 (duplicity-0.6.10.tar.gz) = nlVCfv8P6BesrrfqzBU+5Bc7Is0=
SHA256 (duplicity-0.6.10.tar.gz) = XH045Y+GZwXik7vwau+XPjLxlrD6T2M0M6CuctiyMoQ=
SIZE (duplicity-0.6.10.tar.gz) = 291633
MD5 (duplicity-0.6.15.tar.gz) = iPPJkPQf3obNfVr1obx7gQ==
RMD160 (duplicity-0.6.15.tar.gz) = oBCY1I5kkIrAUVUDfnScS2eakQk=
SHA1 (duplicity-0.6.15.tar.gz) = cWgB//o0knbntETefNXySLPAIRM=
SHA256 (duplicity-0.6.15.tar.gz) = afMDiDNLhNtD7U63g4iWpzz1PWJxjGkqiKs9OWPh360=
SIZE (duplicity-0.6.15.tar.gz) = 304916

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-duplicity,v 1.1 2011/09/20 21:49:34 ajacoutot Exp $
--- duplicity.orig Fri Aug 19 20:27:00 2011
+++ duplicity Tue Sep 20 18:38:58 2011
@@ -1083,9 +1083,12 @@ def check_resources(action):
log.ErrorCode.get_ulimit_failed)
maxopen = min([l for l in (soft, hard) if l > -1])
if maxopen < 1024:
- log.FatalError(_("Max open files of %s is too low, should be >= 1024.\n"
- "Use 'ulimit -n 1024' or higher to correct.\n") % (maxopen,),
- log.ErrorCode.maxopen_too_low)
+ try:
+ resource.setrlimit(resource.RLIMIT_NOFILE, (1024, hard))
+ except resource.error:
+ log.FatalError(_("Max open files of %s is too low, should be >= 1024.\n"
+ "Use 'ulimit -n 1024' or higher to correct.\n") % (maxopen,),
+ log.ErrorCode.maxopen_too_low)
def log_startup_parms(verbosity=log.INFO):
"""

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2009/12/05 14:45:08 jim Exp $
@comment $OpenBSD: PLIST,v 1.6 2011/09/20 21:49:34 ajacoutot Exp $
bin/duplicity
bin/rdiffdir
lib/python${MODPY_VERSION}/site-packages/duplicity/
@ -21,6 +21,10 @@ lib/python${MODPY_VERSION}/site-packages/duplicity/backends/cloudfilesbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/cloudfilesbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/ftpbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/ftpbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/ftpsbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/ftpsbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/gdocsbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/gdocsbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/giobackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/giobackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/hsibackend.py
@ -35,6 +39,8 @@ lib/python${MODPY_VERSION}/site-packages/duplicity/backends/sshbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/sshbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/tahoebackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/tahoebackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/u1backend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/u1backend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/webdavbackend.py
lib/python${MODPY_VERSION}/site-packages/duplicity/backends/webdavbackend.pyc
lib/python${MODPY_VERSION}/site-packages/duplicity/collections.py