tags 454236 + patch thanks Please find below a patch that fixes this issue.
As your are listed in the LowThresholdNmu wiki page, I may upload an
NMU before Friday if you don't acknowledge this patch and if I find time.
Regards,
--
Nicolas Duboc <[EMAIL PROTECTED]>
---------
diff -ur vpnc-0.5.1r254-1/debian/patches/04_debianitis.dpatch
vpnc-0.5.1r254/debian/patches/04_debianitis.dpatch
--- vpnc-0.5.1r254-1/debian/patches/04_debianitis.dpatch 2007-12-23
14:50:28.000000000 +0100
+++ vpnc-0.5.1r254/debian/patches/04_debianitis.dpatch 2007-12-23
12:49:56.000000000 +0100
@@ -3,9 +3,9 @@
##
@DPATCH@
-diff -urNad vpnc~/config.c vpnc/config.c
---- vpnc~/config.c 2007-10-18 09:42:04.000000000 +0200
-+++ vpnc/config.c 2007-10-18 09:59:34.000000000 +0200
+diff -urNad vpnc-0.5.1r254~/config.c vpnc-0.5.1r254/config.c
+--- vpnc-0.5.1r254~/config.c 2007-12-23 12:29:41.000000000 +0100
++++ vpnc-0.5.1r254/config.c 2007-12-23 12:45:44.000000000 +0100
@@ -186,6 +186,16 @@
return "cisco";
}
@@ -52,9 +52,9 @@
0, 0, 0, NULL, NULL, NULL, NULL, NULL
}
};
-diff -urNad vpnc~/config.h vpnc/config.h
---- vpnc~/config.h 2007-10-18 09:42:04.000000000 +0200
-+++ vpnc/config.h 2007-10-18 09:59:34.000000000 +0200
+diff -urNad vpnc-0.5.1r254~/config.h vpnc-0.5.1r254/config.h
+--- vpnc-0.5.1r254~/config.h 2007-12-23 12:29:41.000000000 +0100
++++ vpnc-0.5.1r254/config.h 2007-12-23 12:45:44.000000000 +0100
@@ -57,6 +57,11 @@
CONFIG_AUTH_MODE,
CONFIG_CA_FILE,
@@ -67,21 +67,21 @@
LAST_CONFIG
};
-diff -urNad vpnc~/pcf2vpnc vpnc/pcf2vpnc
---- vpnc~/pcf2vpnc 2007-08-30 20:51:30.000000000 +0200
-+++ vpnc/pcf2vpnc 2007-10-18 10:00:27.000000000 +0200
+diff -urNad vpnc-0.5.1r254~/pcf2vpnc vpnc-0.5.1r254/pcf2vpnc
+--- vpnc-0.5.1r254~/pcf2vpnc 2007-12-23 12:29:41.000000000 +0100
++++ vpnc-0.5.1r254/pcf2vpnc 2007-12-23 12:46:16.000000000 +0100
@@ -24,6 +24,8 @@
use strict;
use warnings;
-+$ENV{"PATH"}.=":/usr/share/vpnc";
++$ENV{"PATH"}.=":/usr/lib/vpnc";
+
my %authmode = ( 1 => 'psk', 3 => 'cert', 5 => 'hybrid' );
my $no_decrypt = 0;
if (system("cisco-decrypt", "q") == -1) {
-diff -urNad vpnc~/vpnc-script.in vpnc/vpnc-script.in
---- vpnc~/vpnc-script.in 2007-10-18 09:42:04.000000000 +0200
-+++ vpnc/vpnc-script.in 2007-10-18 09:59:34.000000000 +0200
+diff -urNad vpnc-0.5.1r254~/vpnc-script.in vpnc-0.5.1r254/vpnc-script.in
+--- vpnc-0.5.1r254~/vpnc-script.in 2007-12-23 12:29:41.000000000 +0100
++++ vpnc-0.5.1r254/vpnc-script.in 2007-12-23 12:45:44.000000000 +0100
@@ -84,7 +84,7 @@
# =========== tunnel interface handling ====================================
@@ -186,9 +186,9 @@
fi
}
-diff -urNad vpnc~/vpnc.c vpnc/vpnc.c
---- vpnc~/vpnc.c 2007-10-18 09:42:04.000000000 +0200
-+++ vpnc/vpnc.c 2007-10-18 09:59:34.000000000 +0200
+diff -urNad vpnc-0.5.1r254~/vpnc.c vpnc-0.5.1r254/vpnc.c
+--- vpnc-0.5.1r254~/vpnc.c 2007-12-23 12:29:41.000000000 +0100
++++ vpnc-0.5.1r254/vpnc.c 2007-12-23 12:45:44.000000000 +0100
@@ -265,6 +265,9 @@
{
setenv("VPNGATEWAY", inet_ntoa(s->dst), 1);
diff -ur vpnc-0.5.1r254-1/debian/rules vpnc-0.5.1r254/debian/rules
--- vpnc-0.5.1r254-1/debian/rules 2007-12-23 14:50:28.000000000 +0100
+++ vpnc-0.5.1r254/debian/rules 2007-12-23 12:51:19.000000000 +0100
@@ -57,7 +57,7 @@
# Add here commands to install the package into debian/vpnc.
cp vpnc vpnc-disconnect debian/vpnc/usr/sbin/
install -m755 pcf2vpnc debian/vpnc/usr/share/vpnc/
- install -m755 cisco-decrypt debian/vpnc/usr/share/vpnc/
+ install -m755 cisco-decrypt debian/vpnc/usr/lib/vpnc/
install -D -m600 vpnc.conf debian/vpnc/etc/vpnc/example.conf
install -D -m755 vpnc-script debian/vpnc/etc/vpnc/vpnc-script
chmod 700 debian/vpnc/etc/vpnc
diff -ur vpnc-0.5.1r254-1/debian/vpnc.dirs vpnc-0.5.1r254/debian/vpnc.dirs
--- vpnc-0.5.1r254-1/debian/vpnc.dirs 2007-12-23 14:50:28.000000000 +0100
+++ vpnc-0.5.1r254/debian/vpnc.dirs 2007-12-23 12:55:10.000000000 +0100
@@ -1,3 +1,4 @@
usr/sbin
var/run/vpnc
usr/share/vpnc
+usr/lib/vpnc
Seulement dans vpnc-0.5.1r254: vpnc-script
pgpAPF3765hBJ.pgp
Description: PGP signature

