Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

svn commit: vpnc r424 - /branches/vpnc-nortel/pcf2vpnc

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


vpnc at unix-ag

Sep 5, 2009, 8:57 AM

Post #1 of 2 (556 views)
Permalink
svn commit: vpnc r424 - /branches/vpnc-nortel/pcf2vpnc

Author: Antonio Borneo
Date: Sat Sep 5 17:57:51 2009
New Revision: 424

Log:
Wolfram Sang <wolfram [at] the-dreams>

Merge in Nortel branch the commit r359 by Joerg Mayer and Wolfram Sang.
Original comment:
Fix for Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456550
by Nicolas Duboc <nicolas [at] duboc>:

pcf2vpnc generates one space too many on the Domain line. This makes the
authentication fail.
Indeed vpnc is strict on spaces in its file format: "Note that all
strings start exactly one space after the keyword string" (README.gz file).


Modified:
branches/vpnc-nortel/pcf2vpnc

Modified: branches/vpnc-nortel/pcf2vpnc
==============================================================================
--- branches/vpnc-nortel/pcf2vpnc (original)
+++ branches/vpnc-nortel/pcf2vpnc Sat Sep 5 17:57:51 2009
@@ -84,7 +84,7 @@
my $text = "## generated by pcf2vpnc\n";
foreach my $section (keys %$config) {
foreach my $item (keys %{ $config->{$section} }) {
- $text .= "$section $item ".$config->{$section}{$item}."\n";
+ $text .= "$section ".($item ? "$item " : '').$config->{$section}{$item}."\n";
}
}
unless (defined $config->{Xauth}) {

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/


borneo.antonio at gmail

Sep 10, 2009, 12:46 AM

Post #2 of 2 (498 views)
Permalink
Re: svn commit: vpnc r424 - /branches/vpnc-nortel/pcf2vpnc [In reply to]

I have made a mistake in the commit's comment.
This commit is merging in Nortel branch the original commit r360, not the r359.

Sorry for the mistake.

Best Regards,
Antonio Borneo

On Sat, Sep 5, 2009 at 11:57 PM, <vpnc [at] unix-ag> wrote:
> Author: Antonio Borneo
> Date: Sat Sep 5 17:57:51 2009
> New Revision: 424
>
> Log:
> Wolfram Sang <wolfram [at] the-dreams>
>
> Merge in Nortel branch the commit r359 by Joerg Mayer and Wolfram Sang.
> Original comment:
> Fix for Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456550
> by Nicolas Duboc <nicolas [at] duboc>:
>
> pcf2vpnc generates one space too many on the Domain line. This makes the
> authentication fail.
> Indeed vpnc is strict on spaces in its file format: "Note that all
> strings start exactly one space after the keyword string" (README.gz file).
_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.