openconnect's vpnc-script fails with sed error?

Brett Koonce koonce at gmail.com
Sat Mar 30 12:55:13 EDT 2013


Hello:

I help keep the openconnect package in homebrew up to date.

With the recent build, users are noticing the following problem:

https://github.com/mxcl/homebrew/issues/18843

vpnc-script in the openconnect formula is broken, and consequently, it fails to route through the tunnel. It wants GNU sed, and the script has to be patched for BSD sed.

sed: 1: "1p;/via/{N;p};/dev/{N;p ...": extra characters at the end of p command

Even with GNU sed installed, and every instance of sed replaced with gsed, it still fails to route through the tunnel. Instead, it prints the WAN and LAN IP addresses 13 times.

Do you have any suggestions on what to do/how to fix this?

Thanks,

-Brett Koonce


More information about the openconnect-devel mailing list