forked from pool/seahorse
Accepting request 212210 from home:dimstar:branches:GNOME:Factory
Hmm. why did that never make it to Factory.. it's in the 13.1 Update channel OBS-URL: https://build.opensuse.org/request/show/212210 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/seahorse?expand=0&rev=157
This commit is contained in:
parent
2e630641bf
commit
9728fa70ba
29
seahorse-ssh-keypair.patch
Normal file
29
seahorse-ssh-keypair.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
From db804a82e7828848bcf48b1603f7bcbb0ad78a5a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
||||||
|
Date: Fri, 22 Nov 2013 22:44:47 -0600
|
||||||
|
Subject: [PATCH] Fix SSH key generation
|
||||||
|
|
||||||
|
Here, i used to be a guint, but was recently changed into a gint to
|
||||||
|
silence a compiler warning. This caused the for loop to terminate
|
||||||
|
without ever iterating.
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=715053
|
||||||
|
---
|
||||||
|
ssh/seahorse-ssh-source.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ssh/seahorse-ssh-source.c b/ssh/seahorse-ssh-source.c
|
||||||
|
index 1f015f0..8cc233e 100644
|
||||||
|
--- a/ssh/seahorse-ssh-source.c
|
||||||
|
+++ b/ssh/seahorse-ssh-source.c
|
||||||
|
@@ -917,7 +917,7 @@ seahorse_ssh_source_file_for_algorithm (SeahorseSSHSource *ssrc, guint algo)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
- for (i = 0; i < ~0; i++) {
|
||||||
|
+ for (i = 0; i < G_MAXINT; i++) {
|
||||||
|
t = (i == 0) ? g_strdup (pref) : g_strdup_printf ("%s.%d", pref, i);
|
||||||
|
filename = g_build_filename (ssrc->priv->ssh_homedir, t, NULL);
|
||||||
|
g_free (t);
|
||||||
|
--
|
||||||
|
1.8.3.1
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 23 04:54:40 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add seahorse-ssh-keypair.patch: Fix SSH key generation
|
||||||
|
(bnc#851050, bgo#715053).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 17 06:51:49 UTC 2013 - dimstar@opensuse.org
|
Thu Oct 17 06:51:49 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ License: GPL-2.0+
|
|||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
Url: http://projects.gnome.org/seahorse/
|
Url: http://projects.gnome.org/seahorse/
|
||||||
Source: http://download.gnome.org/sources/seahorse/3.10/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/seahorse/3.10/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM seahorse-ssh-keypair.patch bnc#851050 bgo#715053 dimstar@opensuse.org -- Fix SSH key generation
|
||||||
|
Patch0: seahorse-ssh-keypair.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gpg2
|
BuildRequires: gpg2
|
||||||
BuildRequires: gpgme-devel
|
BuildRequires: gpgme-devel
|
||||||
@ -66,6 +68,7 @@ search results from documents.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user