Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2009 16:15:10 +0100 (CET)
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vd@FreeBSD.org
Subject:   ports/132908: [PATCH] sysutils/duplicity: update to 0.5.12
Message-ID:  <20090321151510.298F0686A3F@prometheus.scode.org>
Resent-Message-ID: <200903211520.n2LFK2KX027253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         132908
>Category:       ports
>Synopsis:       [PATCH] sysutils/duplicity: update to 0.5.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 21 15:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     peter.schuller@infidyne.com
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Mar 18 19:19:14 CET 2009
>Description:
- Update to 0.5.12
- Remove dependencies on pexpect/GnuPGInterface as they are both bundled (there
  was some issue in the past about the bundled pexpect not getting picked up,
  but I am unable to reproduce this with the current version).
- Fix some out-of-order plist entries.

Port maintainer (vd@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77

Upstream changelog:

New in v0.5.12 (2009/03/15)
---------------------------
bug #25838: Backup fails / ncftp - remote file already exists
https://savannah.nongnu.org/bugs/?25838
With this fix we also get resume in ftp get/put.  If a put or
get fails part of the way through, ncftp will resume on the
next retry.

bug #25853: duplicity fails with boto passwords coming from ~/.boto
https://savannah.nongnu.org/bugs/?25853

patch #6773: Make user name optional in rsync backend
https://savannah.nongnu.org/patch/?6773

GPG errors will no longer cause tracebacks, but will produce a
log entry, from gpg, similar to the following:
===== Begin GnuPG log =====
gpg: BAD0BAD0: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
===== End GnuPG log =====
This will let the user know what really caused the GPG process
to fail, and what really caused errors like 'broken pipe'.

Add Epydoc output to web site and start adding documentation.
http://duplicity.nongnu.org/epydoc/index.html


New in v0.5.11 (2009/03/08)
---------------------------
bug #25787: Usernames with @-sign are not handled properly
https://savannah.nongnu.org/bugs/?25787

Bug #333057: GnuPGInterface prints exit statuses incorrectly
https://bugs.launchpad.net/bugs/333057

bug #25696: ncftp error w/0.5.09 -- nested target directories
https://savannah.nongnu.org/bugs/?25696

bug #15664: When restoring backup: "OverflowError:
            long int too large to convert to int"
https://savannah.nongnu.org/bugs/?15664

patch #6761: More robust pexpect handling of SSH authentication
https://savannah.nongnu.org/patch/?6761

patch #6762: Wrong exit() used for 2.3/2.4 Python
https://savannah.nongnu.org/patch/?6762


New in v0.5.10 (2009/03/01)
---------------------------
The default filename format has changed from W3 style to a long
numeric style, YYYYMMDDTHHMMSSZ, with no delimiters, thus is now
compatible with Windows/Samba filesystems.  The time is UTC, not
local, so there will be no timezone or daylight savings time issues.

Duplicity still recognizes the old long filename format, and will
continue incremental backup chains if found.  The old format is
still available via the --old-filenames option (pending deprecation).

Users of --short-filenames or --time-separator should stop using these
options on their next full backup.  The new filenames are compatible
with your system.

The following options are pending deprecation and will be removed in a
future release:
    --time-separator
    --short-filenames
    --old-filenames

bug #19988: Incompatibility to Samba/SMB share
https://savannah.nongnu.org/bugs/?19988

bug #25097: Allow listing files from any time, not just current time
https://savannah.nongnu.org/bugs/?25097

bug #25550: Error codes do not propagate from log to exit status
https://savannah.nongnu.org/bugs/?25550

bug #25308: Signatures orphaned if from another time zone
https://savannah.nongnu.org/bugs/?25308

Bug #229826: duplicity crashed with ValueError in port()
https://bugs.launchpad.net/duplicity/+bug/229826



>How-To-Repeat:
>Fix:

--- duplicity-0.5.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/Makefile /usr/ports/sysutils/duplicity/Makefile
--- /usr/ports/sysutils/duplicity.orig/Makefile	2009-02-23 19:25:17.000000000 +0100
+++ /usr/ports/sysutils/duplicity/Makefile	2009-03-21 11:27:27.970425647 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	duplicity
-PORTVERSION=	0.5.09
+PORTVERSION=	0.5.12
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,11 +15,7 @@
 COMMENT=	Untrusted backup using rsync algorithm
 
 LIB_DEPENDS=	rsync.1:${PORTSDIR}/net/librsync
-RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg \
-		${PYTHON_SITELIBDIR}/GnuPGInterface.py:${PORTSDIR}/security/py-gnupg
-
-PEXPECT_DIR=	misc/py-pexpect
-OPTIONS=	PEXPECT "Depend on ${PEXPECT_DIR}, needed for ssh backend" On
+RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
 
 USE_PYTHON=	2.4+
 USE_PYDISTUTILS=yes
@@ -35,12 +31,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_PEXPECT)
-PEXPECT_DEP=	${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/${PEXPECT_DIR}
-BUILD_DEPENDS+=	${PEXPECT_DEP}
-RUN_DEPENDS+=	${PEXPECT_DEP}
-.endif
-
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/distinfo /usr/ports/sysutils/duplicity/distinfo
--- /usr/ports/sysutils/duplicity.orig/distinfo	2009-02-23 19:25:21.000000000 +0100
+++ /usr/ports/sysutils/duplicity/distinfo	2009-03-21 10:57:40.471890200 +0100
@@ -1,3 +1,3 @@
-MD5 (duplicity-0.5.09.tar.gz) = b48c390825fba8ddc15bef4400f8e4f1
-SHA256 (duplicity-0.5.09.tar.gz) = 881bcc88467065693fe5c711d2848f21f7013c10fa04e0f2043292cf2d9b14ac
-SIZE (duplicity-0.5.09.tar.gz) = 182395
+MD5 (duplicity-0.5.12.tar.gz) = 38cb42fc0299ae0c8e029bd381aa4452
+SHA256 (duplicity-0.5.12.tar.gz) = 57e859ef729425ba5416b0b648bab1c7fe54e10a2df83a0a067be462f9f84b8b
+SIZE (duplicity-0.5.12.tar.gz) = 191413
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/pkg-plist /usr/ports/sysutils/duplicity/pkg-plist
--- /usr/ports/sysutils/duplicity.orig/pkg-plist	2009-02-23 19:25:23.000000000 +0100
+++ /usr/ports/sysutils/duplicity/pkg-plist	2009-03-21 11:00:45.635694680 +0100
@@ -1,5 +1,8 @@
 bin/duplicity
 bin/rdiffdir
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.py
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/GnuPGInterface.pyo
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.py
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo
@@ -85,12 +88,12 @@
 %%PYTHON_SITELIBDIR%%/duplicity/patchdir.py
 %%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyc
 %%PYTHON_SITELIBDIR%%/duplicity/patchdir.pyo
-%%PYTHON_SITELIBDIR%%/duplicity/pexpect.py
-%%PYTHON_SITELIBDIR%%/duplicity/pexpect.pyc
-%%PYTHON_SITELIBDIR%%/duplicity/pexpect.pyo
 %%PYTHON_SITELIBDIR%%/duplicity/path.py
 %%PYTHON_SITELIBDIR%%/duplicity/path.pyc
 %%PYTHON_SITELIBDIR%%/duplicity/path.pyo
+%%PYTHON_SITELIBDIR%%/duplicity/pexpect.py
+%%PYTHON_SITELIBDIR%%/duplicity/pexpect.pyc
+%%PYTHON_SITELIBDIR%%/duplicity/pexpect.pyo
 %%PYTHON_SITELIBDIR%%/duplicity/robust.py
 %%PYTHON_SITELIBDIR%%/duplicity/robust.pyc
 %%PYTHON_SITELIBDIR%%/duplicity/robust.pyo
--- duplicity-0.5.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090321151510.298F0686A3F>