Re: [DIFF] security/vpnc - annoying 'which: ip: Command not found.'
Hi guys. I confirm vpnc-script from openconnect is working well with this port. Have a good day. -- Julien Dhaille
Re: [DIFF] security/vpnc - annoying 'which: ip: Command not found.'
On Sun, Jan 13, 2013 at 10:05:05AM +, Stuart Henderson wrote: On 2013/01/12 15:00, Jiri B wrote: Just removing annoying linuxism... Please try the vpnc-script from the openconnect package (installs as /etc/openconnect/vpnc-script). If it works OK with vpnc (which it should) then I would prefer to just sync the two. # cp /etc/openconnect/vpnc-script /etc/vpnc/ Works well for me -- E. Radman
Re: [DIFF] security/vpnc - annoying 'which: ip: Command not found.'
On 2013/01/12 15:00, Jiri B wrote: Just removing annoying linuxism... Please try the vpnc-script from the openconnect package (installs as /etc/openconnect/vpnc-script). If it works OK with vpnc (which it should) then I would prefer to just sync the two.
[DIFF] security/vpnc - annoying 'which: ip: Command not found.'
Just removing annoying linuxism... jirib Index: patches/patch-vpnc-script_in === RCS file: /cvs/ports/security/vpnc/patches/patch-vpnc-script_in,v retrieving revision 1.1 diff -u -p -r1.1 patch-vpnc-script_in --- patches/patch-vpnc-script_in29 Jan 2009 19:07:06 - 1.1 +++ patches/patch-vpnc-script_in12 Jan 2013 19:58:10 - @@ -1,6 +1,15 @@ $OpenBSD: patch-vpnc-script_in,v 1.1 2009/01/29 19:07:06 pea Exp $ --- vpnc-script.in.origWed Nov 19 21:55:51 2008 -+++ vpnc-script.in Thu Jan 22 14:00:42 2009 vpnc-script.in Sat Jan 12 20:54:25 2013 +@@ -59,7 +59,7 @@ if [ ! -d /var/run/vpnc ]; then + fi + + # stupid SunOS: no blubber in /usr/local/bin ... (on stdout) +-IPROUTE=`which ip | grep '^/' 2 /dev/null` ++IPROUTE=`which ip 2/dev/null | grep '^/' 2 /dev/null` + + if [ $OS = Linux ]; then + ifconfig_syntax_ptp=pointopoint @@ -114,7 +114,7 @@ destroy_tun_device() { # === route handling