Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Jan 2009 18:34:51 +0100 (CET)
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vd@FreeBSD.org
Subject:   ports/130098: [PATCH] sysutils/duplicity: update to 0.5.05
Message-ID:  <20090101173451.3838C2134E1@prometheus.scode.org>
Resent-Message-ID: <200901011740.n01He2Xu035812@freefall.freebsd.org>

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

>Number:         130098
>Category:       ports
>Synopsis:       [PATCH] sysutils/duplicity: update to 0.5.05
>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:   Thu Jan 01 17:40:01 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 #0: Wed Dec  3 01:00:41 CET
>Description:
- Update to 0.5.05
- Duplicity now uses gettext.
- Note to committer: I used share/locale in plist; I saw some other use
  of %%NLS%% but was not sure whether %%NLS%% was correct in this case. I
  saw a lot of ports definitely using hard-coded share/locale paths, so
  I left that as is.

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

Generated with FreeBSD Port Tools 0.77

Upstream ChangeLog relative to .03:

New in v0.5.05 (2008/12/30)
---------------------------
bug #25194: Duplicity 5.04 requires python-distutils-extra...
https://savannah.nongnu.org/bugs/?25194


New in v0.5.04 (2008/12/27)
---------------------------
patch #6678: Add progress metering
https://savannah.nongnu.org/patch/?6678

patch #6686: Add error codes for all fatal errors
https://savannah.nongnu.org/patch/?6686

bug #25090: Typos and trailing whitespace in duplicity manpage
https://savannah.nongnu.org/bugs/?25090

bug #24889: NCFTP cannot deal with some FTP servers
https://savannah.nongnu.org/bugs/?24889

patch #6692: Print collection status in a machine-readable way
https://savannah.nongnu.org/patch/?6692

patch #6693: Some FatalError's don't have codes still
https://savannah.nongnu.org/patch/?6693

patch #6694: Log exceptions
https://savannah.nongnu.org/patch/?6694

patch #6695: Log filenames
https://savannah.nongnu.org/patch/?6695

patch #6696: Consolidate get_delta_iter and get_delta_iter_w_sig
https://savannah.nongnu.org/patch/?6696

patch #6697: Always log at least one progress during dry run
https://savannah.nongnu.org/patch/?6697

patch #6700: Make duplicity translatable
https://savannah.nongnu.org/patch/?6700

patch #6701: Make current-list command machine-readable
https://savannah.nongnu.org/patch/?6701

patch #6702: handle unknown errnos in robust.py
https://savannah.nongnu.org/patch/?6702

GPG was throwing "gpg: [don't know]: invalid packet (ctb=14)" and apparently
this is non-fatal.  There is a fix for this being rolled into GPG 2.x.
http://lists.gnupg.org/pipermail/gnupg-devel/2006-September/023180.html
Copied from collections.py.  Fix supplied by Simon Blandford <simon@onepointltd.com>

>How-To-Repeat:
>Fix:

--- duplicity-0.5.05.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/Makefile /usr/ports/sysutils/duplicity/Makefile
--- /usr/ports/sysutils/duplicity.orig/Makefile	2008-11-27 08:23:50.000000000 +0100
+++ /usr/ports/sysutils/duplicity/Makefile	2009-01-01 16:51:30.068988409 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	duplicity
-PORTVERSION=	0.5.03
+PORTVERSION=	0.5.05
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SAVANNAH}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,6 +21,7 @@
 PEXPECT_DIR=	misc/py-pexpect
 OPTIONS=	PEXPECT "Depend on ${PEXPECT_DIR}, needed for ssh backend" On
 
+USE_GETTEXT=	yes
 USE_PYTHON=	2.4+
 USE_PYDISTUTILS=yes
 
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/distinfo /usr/ports/sysutils/duplicity/distinfo
--- /usr/ports/sysutils/duplicity.orig/distinfo	2008-11-27 08:23:50.000000000 +0100
+++ /usr/ports/sysutils/duplicity/distinfo	2009-01-01 16:52:04.182237562 +0100
@@ -1,3 +1,3 @@
-MD5 (duplicity-0.5.03.tar.gz) = 80273525ae47e8075078a855cf4a134e
-SHA256 (duplicity-0.5.03.tar.gz) = d6e3929dc515b72916bfe7cadb25cbe7b383b9f699353bed65c16029ea1cda81
-SIZE (duplicity-0.5.03.tar.gz) = 146490
+MD5 (duplicity-0.5.05.tar.gz) = 2c381aae63fd635568d00eb67bf54a36
+SHA256 (duplicity-0.5.05.tar.gz) = 9b28905a0afadd3e3f8c75a98cf537d9581a2cf5925e61c280ab46fe81e97acd
+SIZE (duplicity-0.5.05.tar.gz) = 158213
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/files/patch-setup.py /usr/ports/sysutils/duplicity/files/patch-setup.py
--- /usr/ports/sysutils/duplicity.orig/files/patch-setup.py	2008-09-28 21:28:11.000000000 +0200
+++ /usr/ports/sysutils/duplicity/files/patch-setup.py	2009-01-01 17:42:51.880902924 +0100
@@ -1,8 +1,8 @@
---- setup.py.orig	2008-09-21 17:21:44.000000000 +0300
-+++ setup.py	2008-09-28 22:24:48.000000000 +0300
-@@ -21,6 +21,10 @@
+--- setup.py.orig	2008-12-30 16:23:25.000000000 +0100
++++ setup.py	2009-01-01 17:28:47.610476569 +0100
+@@ -22,6 +22,10 @@
  
- incdir_list = libdir_list = None 
+ incdir_list = libdir_list = None
  
 +LOCALBASE = os.environ.get("LOCALBASE", "/usr/local")
 +incdir_list = ['%s/include' % LOCALBASE]
@@ -11,14 +11,22 @@
  if os.name == 'posix':
      LIBRSYNC_DIR = os.environ.get('LIBRSYNC_DIR', '')
      args = sys.argv[:]
-@@ -48,9 +52,6 @@
-                                include_dirs=incdir_list,
-                                library_dirs=libdir_list,
-                                libraries=["rsync"])],
--      scripts = ['rdiffdir', 'duplicity'],
--      data_files = [('share/man/man1', ['duplicity.1', 'rdiffdir.1']),
--                    ('share/doc/duplicity-%s' % version_string,
--                     ['COPYING', 'README', 'CHANGELOG'])])
-+      scripts = ['rdiffdir', 'duplicity'])
+@@ -33,17 +37,7 @@
+         incdir_list = [os.path.join(LIBRSYNC_DIR, 'include')]
+         libdir_list = [os.path.join(LIBRSYNC_DIR, 'lib')]
  
+-data_files = [('share/man/man1',
+-               ['duplicity.1',
+-                'rdiffdir.1']),
+-              ('share/doc/duplicity-%s' % version_string,
+-               ['COPYING',
+-                'CVS-README',
+-                'LOG-README',
+-                'README',
+-                'tarfile-LICENSE',
+-                'CHANGELOG']),
+-              ]
++data_files = []
  
+ assert os.path.exists("po"), "Missing 'po' directory."
+ for root, dirs, files in os.walk("po"):
diff -ruN --exclude=CVS /usr/ports/sysutils/duplicity.orig/pkg-plist /usr/ports/sysutils/duplicity/pkg-plist
--- /usr/ports/sysutils/duplicity.orig/pkg-plist	2008-11-27 08:23:50.000000000 +0100
+++ /usr/ports/sysutils/duplicity/pkg-plist	2009-01-01 17:38:26.797736304 +0100
@@ -1,5 +1,6 @@
 bin/duplicity
 bin/rdiffdir
+share/locale/io/LC_MESSAGES/duplicity.mo
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.py
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.pyc
 %%PYTHON_SITELIBDIR%%/duplicity/__init__.pyo
--- duplicity-0.5.05.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?20090101173451.3838C2134E1>