NetBSD Problem Report #46903

From www@NetBSD.org  Tue Sep  4 19:41:15 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4E0B463CD3D
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  4 Sep 2012 19:41:15 +0000 (UTC)
Message-Id: <20120904194114.6615263B86D@www.NetBSD.org>
Date: Tue,  4 Sep 2012 19:41:14 +0000 (UTC)
From: ssartor@bellatlantic.net
Reply-To: ssartor@bellatlantic.net
To: gnats-bugs@NetBSD.org
Subject: Update duplicity to 0.6.19
X-Send-Pr-Version: www-1.0

>Number:         46903
>Category:       pkg
>Synopsis:       Update duplicity to 0.6.19
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 04 19:45:00 +0000 2012
>Closed-Date:    Wed Sep 05 10:06:32 +0000 2012
>Last-Modified:  Wed Sep 05 10:10:02 +0000 2012
>Originator:     Steven Sartorius
>Release:        5.1_STABLE
>Organization:
>Environment:
NetBSD atom.localnet 5.1_STABLE NetBSD 5.1_STABLE (ATOM_5) #2: Sun Feb 19 04:38:33 EST 2012  root@atom.localnet:/usr/obj/sys/arch/amd64/compile/ATOM_5 amd64
>Description:
The current version of duplicity in pkgsrc (0.6.16) does not connect to Amazon's S3 cloud; upgrading to 0.6.19 allows a connection to take place.
See the patch file below to move from 0.6.16 to 0.6.19.
>How-To-Repeat:

>Fix:
--- Makefile.orig       2012-03-15 21:05:05.000000000 -0400
+++ Makefile    2012-09-04 15:13:31.000000000 -0400
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.21 2012/03/15 11:53:38 obache Exp $

-DISTNAME=              duplicity-0.6.16
-PKGREVISION=           1
+DISTNAME=              duplicity-0.6.19
 CATEGORIES=            sysutils net
 MASTER_SITES=          http://code.launchpad.net/duplicity/0.6-series/${PKGVERSION_NOREV}/+download/

@@ -11,7 +10,7 @@
 LICENSE=               gnu-gpl-v2

 DEPENDS+=      gnupg>=1.0.0:../../security/gnupg
-DEPENDS+=      ${PYPKGPREFIX}-boto>=0.9d:../../net/py-boto
+DEPENDS+=      ${PYPKGPREFIX}-boto>=1.6a:../../net/py-boto

 PKG_DESTDIR_SUPPORT=   user-destdir

@@ -24,6 +23,12 @@
 SUBST_SED.fix-paths=           -e 's,share/man/man1,${PKGMANDIR}/man1,'
 SUBST_SED.fix-paths+=          -e 's,share/locale,${PKGLOCALEDIR}/locale,'

+PYTHON_VERSIONS_ACCEPTED=       27 26 25 24
+
+REPLACE_PYTHON+=        *.py
+REPLACE_PYTHON+=        bin/*
+REPLACE_PYTHON+=       duplicity/*.py
+
 BUILDLINK_API_DEPENDS.librsync+=       librsync>=0.9.6
 .include "../../devel/librsync/buildlink3.mk"
 .include "../../lang/python/distutils.mk"

>Release-Note:

>Audit-Trail:
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46903 CVS commit: pkgsrc/net/py-boto
Date: Wed, 5 Sep 2012 09:02:43 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Wed Sep  5 09:02:43 UTC 2012

 Modified Files:
 	pkgsrc/net/py-boto: Makefile PLIST distinfo
 Removed Files:
 	pkgsrc/net/py-boto/patches: patch-aa

 Log Message:
 Update to 2.5.2, slightly based on PR 46903 by Steven Sartorius.
 Changes:

 2.5.2
 Release 2.5.2 is a bugfix release.

 2.5.1
 Release 2.5.1 is a bugfix release.

 2.5.0
 This release includes:

     Support for IAM Roles for EC2 Instances
     Added support for Capabilities in CloudFormation
     Spot instances in autoscaling groups
     Internal ELB's
     Added tenancy option to run_instances

 2.4.0

 This release includes:

     Initial support for Amazon Cloudsearch Service.
     Support for Amazon's Marketplace Web Service.
     Latency-based routing for Route53
     Support for new domain verification features of SES.
     A full rewrite of the FPS module.
     Support for BatchWriteItem in DynamoDB.
     Additional EMR steps for installing and running Pig scripts.
     Support for additional batch operations in SQS.
     Better support for VPC group-ids.
     Many, many bugfixes from the community. Thanks for the reports
     and pull requests!

 2.3.0
 This release includes initial support for Amazon Simple Workflow
 Service.

 The API version of the FPS module was updated to 2010-08-28.

 This release also includes many bug fixes and improvements in the
 Amazon DynamoDB module. One change of particular note is the behavior
 of the new_item method of the Table object. See
 http://readthedocs.org/docs/boto/en/2.3.0/ref/dynamodb.html#module-boto.dynamodb.table
 for more details.

 2.2.2
 This is a bugfix release.

 2.2.1
 The 2.2.1 release fixes a packaging problem that was causing problems
 when installing via pip.

 2.2.0
 Some highlights of this release:

     Support for Amazon DynamoDB service.
     Support for S3 Object Lifecycle (Expiration).
     Allow anonymous request for S3.
     Support for creating Load Balancers in VPC.
     Support for multi-dimension metrics in CloudWatch.
     Support for Elastic Network Interfaces in EC2.
     Support for Amazon S3 Multi-Delete capability.
     Support for new AMIversion and overriding of parameters in EMR.
     Support for SendMessageBatch request in SQS.
     Support for DescribeInstanceStatus request in EC2.
     Many, many improvements and additions to API documentation and
     Tutorials. Special thanks to Greg Taylor for all of the Sphinx
     cleanups and new docs.

 2.1.1

 The 2.1.1 release fixes one serious issue with the RDS module.

 2.1.0

 Some highlights of this release:

     Server-side encryption now supported in S3.
     Better support for VPC in EC2.
     Support for combiner in StreamingStep for EMR.
     Support for CloudFormations.
     Support for streaming uploads to Google Storage.
     Support for generating signed URL's in CloudFront.
     MTurk connection now uses HTTPS by default, like all other
     Connection objects.
     You can now PUT multiple data points to CloudWatch in one call.
     CloudWatch Dimension object now correctly supports multiple
     values for same dimension name.
     Lots of documentation fixes/additions

 2.0

 Highlights

 There have been many, many changes since the 2.0b4 release. This overview highlights some of those changes.

     Fix connection pooling bug: don't close before reading.
     Added AddInstanceGroup and ModifyInstanceGroup to boto.emr
     Merge pull request #246 from chetan/multipart_s3put
     AddInstanceGroupsResponse class to boto.emr.emrobject.
     Removed extra print statement
     Merge pull request #244 from ryansb/master
     Added add_instance_groups function to boto.emr.connection.
     Built some helper methods for it, and added AddInstanceGroupsResponse
     class to boto.emr.emrobject.
     Added a new class, InstanceGroup, with just a init and repr.
     Adding support for GetLoginProfile request to IAM. Removing
     commented lines in connection.py. Fixes GoogleCode issue 532.
     Fixed issue #195
     Added correct sax reader for boto.emr.emrobject.BootstrapAction
     Fixed a typo bug in ConsoleOutput sax parsing and some PEP8
     cleanup in connection.py.
     Added initial support for generating a registration url for
     the aws marketplace
     Fix add_record and del_record to support multiple values, like
     change_record does
     Add support to accept SecurityGroupId as a parameter for ec2
     run instances. This is required to create EC2 instances under
     VPC security groups
     Added support for aliases to the add_change method of
     ResourceRecordSets.
     Resign each request in a retry situation. Some services are
     starting to incorporate replay detection algorithms and the
     boto approach of simply re-trying the original request triggers
     them. Also a small bug fix to roboto and added a delay in the
     ec2 test to wait for consistency.
     Fixed a problem with InstanceMonitoring parameter of
     LaunchConfigurations for autoscale module.
     Route 53 Alias Resource Record Sets
     Fixed App Engine support
     Fixed incorrect host on App Engine
     Fixed issue 199 on github.
     First pass at put_metric_data
     Changed boto.s3.Bucket.set_acl_xml() to ISO-8859-1 encode the
     Unicode ACL text before sending over HTTP connection.
     Added GetQualificationScore for mturk.
     Added UpdateQualificationScore for mturk
     import_key_pair base64 fix
     Fixes for ses send_email method better handling of exceptions
     Add optional support for SSL server certificate validation.
     Specify a reasonable socket timeout for httplib
     Support for ap-northeast-1 region
     Close issue #153
     Close issue #154
     we must POST autoscale user-data, not GET. otherwise a HTTP
     505 error is returned from AWS. see:
     http://groups.google.com/group/boto-dev/browse_thread/thread/d5eb79c97ea8eecf?pli=1
     autoscale userdata needs to be base64 encoded.
     Use the unversioned streaming jar symlink provided by EMR
     Updated lss3 to allow for prefix based listing (more like actual
     ls)
     Deal with the groupSet element that appears in the instanceSet
     element in the DescribeInstances response.
     Add a change_record command to bin/route53
     Incorporating a patch from AWS to allow security groups to be
     tagged.
     Fixed an issue with extra headers in generated URLs. Fixes
     http://code.google.com/p/boto/issues/detail?id=499
     Incorporating a patch to handle obscure bug in apache/fastcgi.
     See http://goo.gl/0Tdax.
     Reorganizing the existing test code. Part of a long-term project
     to completely revamp and improve boto tests.
     Fixed an invalid parameter bug (ECS) #102
     Adding initial cut at s3 website support.


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/py-boto/Makefile
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-boto/PLIST pkgsrc/net/py-boto/distinfo
 cvs rdiff -u -r1.3 -r0 pkgsrc/net/py-boto/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 05 Sep 2012 10:06:32 +0000
State-Changed-Why:
Committed, thanks.

The patch didn't apply (whitespace issues, I guess)
distinfo and PLIST also needed updating.


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46903 CVS commit: pkgsrc/sysutils/duplicity
Date: Wed, 5 Sep 2012 10:05:43 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Wed Sep  5 10:05:43 UTC 2012

 Modified Files:
 	pkgsrc/sysutils/duplicity: Makefile PLIST distinfo

 Log Message:
 Update to 0.6.19, based on patch by Steven Sartorius in PR 46903.

 New in v0.6.19 (2012/05/22)
 ---------------------------
 Enhancements:
 - lots of work on the man page to clean up requirements, etc.
 - use empty listbody for enhanced webdav compatibility
 - initial folder creation on backend does not result in a ResponseNotReady anymore
 - add ssh_config support (/etc/ssh/ssh_config + ~/.ssh/config) to paramiko sshbackend
 - add missing_host_key prompt to new sshbackend similar to ssh procedure
 - added --ssh-backend parameter to switch between paramiko,pexpect
 - allow answering gio mount questions (albeit naively)
 - if the gio backend wants to ask a question during its mount phase, it previously just aborted.
 - a couple more warning error codes that Deja Dup is interested in noticing.
 - ssh paramiko backend respects --num-retries now
 - set retry delay for ssh backends to 10s
 - ssh pexpect backend
  + sftp part does not claim 'Invalid SSH password' although it's only 'Permission denied' now
  + sftp errors are now more talkative
 - gpg.py
  + commented assert which broke otherwise working verify run

 Bugs closed in this release:
 588541     Connection failed, please check your password: Login dialog cancelled

 Merges:
 lp:~ed.so/duplicity/0.6-manpage
 lp:~ed.so/duplicity/0.6-webdav_fixes
 lp:~carlos-abalde/duplicity/gdocs-backend-gdata-2.0.16.-upgrade.
 lp:~ed.so/duplicity/0.6-ssh_add_missinghostkey
 lp:~ed.so/duplicity/0.6-readd_sshpexpect

 New in v0.6.18 (2012/02/29)
 ---------------------------
 Enhancements:
 - fix extraneous '.py' in botobackend.py include
 - tests: add delay between backups to avoid assertion error
 - tests: use backup source that is more likely to be larger than 1M compressed
 - tests: make other-filesystem check more robust against certain directories being mounts or not
 - resuming an incremental results in a 'Restarting backup, but current encryption settings do not match original settings' error because curtime is incorrectly set away from previous incremental value
 - added option to not compress the backup, when no encryption is selected
 - always delay a little bit when a backend gives us errors
 - Don't cache TarInfo files. Tests still pass, so I don't believe we need the members cache (and in the old tarfile.py, we didn't cache either).
 - Adding --file-prefix option so different sets of backups can be stored in the same bucket.  See blueprint at https://blueprints.launchpad.net/duplicity/+spec/file-prefix-option
 - two changes that help the test suite pass
 - raise log level on backend import failure so it will be visible under default conditions
 - file /etc/motd may not exist in test environment.  Use __file__ instead to point to a known plaintext source file.
 - some code/import changes to make the ssh and boto backends compatible with Python 2.4.
 - some changes to make roottest.py compatible with the new dir structure.

 Bugs closed in this release:
 884638     Python 2.5 / boto error
 908228     possible memory leak
 909031     SSH-Backend: Creating dirs separately causes a permissons-problems
 916689     multipart upload fails on python 2.7.2
 929465     UnsupportedBackendScheme: scheme not supported in url: scp://u123@u123.example.com/foo/
 930727     ftpsbackend should respect num_retries for ftp commands
 931175     duplicity crashes when PYTHONOPTIMIZE is set

 Merges:
 lp:~mterry/duplicity/always-delay
 lp:~mterry/duplicity/memleak
 lp:~mterry/duplicity/nopexpect
 lp:~mterry/duplicity/resume-inc
 lp:~mterry/duplicity/testfixes
 lp:~nguyenqmai/duplicity/file-prefix-option
 lp:~tobias-genannt/duplicity/nocompress

 New in v0.6.17 (2011/11/25)
 ---------------------------
 Enhancements:
 - Added --rsync-options flag to allow user to pass options to rsync at will
 - Added --s3-use-multiprocessing to select the new s3 multiprocessing backend.
   Default is to use the single processing backend.  A helper, filechunkio.py,
   requires Python 2.6+, so this option is not usable in earlier versions.

 Bugs closed in this release:
 411145     Misleading error message: "Invalid SSH password"
 871875     File ... was corrupted during upload.
 878220	   UnsupportedBackendScheme: scheme not supported in url: s3+http
 878964     Resuming a backup with a different password should throw an error
 881070	   Bugfix for S3 multipart upload on 0.6.16
 881727	   duplicity 0.6.16 lists all backup sets as incomplete
 885670	   Duplicity fails to add incremental backups to chain...

 Merges:
 lp:~mterry/duplicity/check-passphrase-on-restart
 lp:~moss-d/duplicity/rsync-options


 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/duplicity/Makefile
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/duplicity/PLIST
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/duplicity/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.