~ubuntu-branches/ubuntu/utopic/network-manager-openvpn/utopic

« back to all changes in this revision

Viewing changes to debian/patches/02_fix_wrong_awk_path.diff

  • Committer: Bazaar Package Importer
  • Author(s): Sean Finney
  • Date: 2008-08-20 23:37:52 UTC
  • Revision ID: james.westby@ubuntu.com-20080820233752-4kqba78beud26iz6
Tags: 0.3.2svn2855-1.1
* Non-maintainer upload.
* Pass --script-security 2 to openvpn, to fix breakage resulting from
  additional security features in latest openvpn in unstable 
  (closes: #495055).  
  Patch: 08_nm-openvpn_script-security.diff 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=== modified file 'properties/nm-openvpn.c'
 
2
--- properties/nm-openvpn.c     2007-02-28 10:47:57 +0000
 
3
+++ properties/nm-openvpn.c     2007-03-11 02:10:23 +0000
 
4
@@ -1506,7 +1506,7 @@
 
5
   if (!openvpn_binary)
 
6
     return;
 
7
 
 
8
-  cmdline = g_strdup_printf("/bin/sh -c \"%s --show-ciphers | /bin/awk '/^[A-Z][A-Z0-9]+-/ { print $1 }'\"", openvpn_binary);
 
9
+  cmdline = g_strdup_printf("/bin/sh -c \"%s --show-ciphers | /usr/bin/awk '/^[A-Z][A-Z0-9]+-/ { print $1 }'\"", openvpn_binary);
 
10
   if (!g_spawn_command_line_sync(cmdline, &tmp, NULL, NULL, NULL))
 
11
     goto end;
 
12
 
 
13