public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10: Added patch to get scp without username working (#457680)
Date: Fri, 09 Oct 2026 15:23:26 GMT [thread overview]
Message-ID: <179155940688.1.193908989161100716.rpms-duplicity-f61649a3ab59@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/duplicity
Branch : epel10
Commit : f61649a3ab59651de586ebb239a7c8fec9c11431
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2008-08-08T20:14:07+00:00
Stats : +30/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/duplicity/c/f61649a3ab59651de586ebb239a7c8fec9c11431?branch=epel10
Log:
Added patch to get scp without username working (#457680)
---
diff --git a/duplicity-0.4.12-scp_username.patch b/duplicity-0.4.12-scp_username.patch
new file mode 100644
index 0000000..1316686
--- /dev/null
+++ b/duplicity-0.4.12-scp_username.patch
@@ -0,0 +1,24 @@
+Patch by Kenneth Loafman <kenneth@loafman.com> for duplicity <= 0.4.12 to solve scp syntax
+regression introduced with duplicity 0.4.12. Problem is, that user@hostname:port works, but
+hostname:port doesn't any longer. This patch solves the behaviour and will be included into
+the next upstream release as well. For further information, see:
+
+ - https://savannah.nongnu.org/bugs/index.php?23988
+ - https://bugzilla.redhat.com/show_bug.cgi?id=457680
+
+--- duplicity-0.4.12/src/backends.py 2008-07-22 17:20:04.000000000 +0200
++++ duplicity-0.4.12/src/backends.py.scp_username 2008-08-03 19:58:35.000000000 +0200
+@@ -330,8 +330,11 @@
+ "You can get pexpect from http://pexpect.sourceforge.net or "
+ "python-pexpect from your distro's repository.")
+
+- # host string of form user@hostname:port
+- self.host_string = parsed_url.username + "@" + parsed_url.hostname
++ # host string of form [user@]hostname
++ if parsed_url.username:
++ self.host_string = parsed_url.username + "@" + parsed_url.hostname
++ else:
++ self.host_string = parsed_url.hostname
+ # make sure remote_dir is always valid
+ if parsed_url.path:
+ # remove leading '/'
diff --git a/duplicity.spec b/duplicity.spec
index f96ce7b..a32666e 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -3,11 +3,12 @@
Summary: Encrypted bandwidth-efficient backup using rsync algorithm
Name: duplicity
Version: 0.4.12
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv3+
Group: Applications/Archiving
URL: http://www.nongnu.org/duplicity/
Source: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.gz
+Patch: duplicity-0.4.12-scp_username.patch
Requires: python-GnuPGInterface >= 0.3.2, gnupg >= 1.0.6, rsync
Requires: pexpect >= 2.1, openssh-clients, ncftp >= 3.1.9, python-boto >= 0.9d
BuildRequires: python-devel >= 2.3, librsync-devel >= 0.9.6, pexpect >= 2.1
@@ -28,6 +29,7 @@ but not hard links.
%prep
%setup -q
+%patch -p1 -b .scp_username
%build
%{__python} setup.py build
@@ -49,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/%{name}*
%changelog
+* Fri Aug 08 2008 Robert Scheck <robert@fedoraproject.org> 0.4.12-2
+- Added patch to get scp without username working (#457680)
+
* Sun Jul 27 2008 Robert Scheck <robert@fedoraproject.org> 0.4.12-1
- Upgrade to 0.4.12
reply other threads:[~2026-10-09 15:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179155940688.1.193908989161100716.rpms-duplicity-f61649a3ab59@fedoraproject.org \
--to=robert@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox