On Thu, 2005-07-07 at 12:22 -0400, Robert P. J. Day wrote: > is there a vpn client that will build and install cleanly under FC4? > the (relatively recent) tarball someone just shipped me fails to > compile, and earlier versions of the vpnclient apparently need a patch > for one of the source files (interceptor.c). > > is there a client that builds/installs cleanly with FC4? if not, > what's the magic incantation these days? thanks. > > rday Can't vouch for FC4 but the following magic incantation works for FC3 and RHEL4 (well actually CentOS4): [root@wx1 VPN]# diff -C 2 Orig/vpnclient/interceptor.c Patched/usr/local/src/vpnclient/interceptor.c *** Orig/vpnclient/interceptor.c 2004-04-29 18:09:22.000000000 -0400 --- Patched/usr/local/src/vpnclient/interceptor.c 2005-02-07 16:18:28.000000000 -0500 *************** *** 218,221 **** --- 218,239 ---- return 0; } + + static int + inline supported_device(struct net_device* dev) + { + int rc=0; + + if(dev->type == ARPHRD_ETHER) + { + rc=1; + } + else if(dev->type == ARPHRD_PPP) + { + rc=1; + } + + return rc; + } + static int add_netdev(struct net_device *dev) *************** *** 452,473 **** } - static int - inline supported_device(struct net_device* dev) - { - int rc=0; - - if(dev->type == ARPHRD_ETHER) - { - rc=1; - } - else if(dev->type == ARPHRD_PPP) - { - rc=1; - } - - return rc; - } - - static BINDING * getbindingbydev(struct net_device *dev) --- 470,473 ----