Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104112 - gnupg 1.4.2 needs small patch per Release Notes
Summary: gnupg 1.4.2 needs small patch per Release Notes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 03:20 UTC by Peter Hyman
Modified: 2005-10-12 13:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2005-08-29 03:20:10 UTC
http://lists.gnupg.org/pipermail/gnupg-announce/2005q3/000200.html

p.s.  A few hours too late we found a bug in the cURL based helper
programs which makes cURL based LDAP support unusable.  Given that
--with-libcurl is not the default we did not offtake the release but
ask you to apply the patch below.

diff -u -p -r1.90 -r1.91
--- g10/keyserver.c	22 Jul 2005 16:28:40 -0000	1.90
+++ g10/keyserver.c	27 Jul 2005 01:24:57 -0000	1.91
@@ -860,7 +860,9 @@ curl_can_handle(const char *scheme)
 static const char *
 keyserver_typemap(const char *type)
 {
-  if(strcmp(type,"ldaps")==0)
+  if(strcmp(type,"ldap")==0)
+    return "ldap";
+  else if(strcmp(type,"ldaps")==0)
     return "ldap";
   else if(curl_can_handle(type))
     return "curl";

Reproducible: Always
Steps to Reproduce:
1. read Release Notes for 1.4.2
2.
3.

Actual Results:  
found patch

Expected Results:  
LDAP key retrieve will fail using Curl unless patch applied

Why isn't this marked stable? It's been out a month.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-08-31 04:21:36 UTC
thankyou. Added patch. 
 
It will be marked stable shortly. Thanks for the bug report. 
Comment 2 Peter Hyman 2005-10-12 13:32:20 UTC
(In reply to comment #1)
> thankyou. Added patch. 
>  
> It will be marked stable shortly. Thanks for the bug report. 

It's now 1.5 months later. gnupg 1.4.2 should be stable now, don't you think? It
was released in July. JMHO, thanks.