Created attachment 449458 [details] net-misc/netExtender-8.1.789 Hi friends, Here's an ebuild that I made for DELL SonicWALL netExtender. - Has fetch restriction turned on. - Only x86-64 is supported for now.
Created attachment 646102 [details] Ebuild for newer version of netExtender Updated ebuild for newer version of netExtender. As binary software this should go into /opt/ rather than into /usr/, so I have re-done the install process to make this happen. This works for the command line client, have not attempted to make it work for the (Java-based) GUI because I don't use it. The binary thinks that 'ip' should be in /sbin/ so a symlink is needed to cope with it being in /bin. This ebuild should work without sys-apps/net-tools using only ip and not route, but I am unable to test because sys-apps/net-tools is non-optional in the networkmanager dependency tree. This seems to be working, although it gives QA warnings about world writeable files (there are such files, but I can't make it work without them, seems to be an upstream security issue). When hanging up the client reports an error, but does hang up. This may or may not be related to the fact that DNS servers are not removed from /etc/resolv.conf As per https://forums.gentoo.org/viewtopic-t-990182-start-0.html the ebuild creates a symlink to allow the script which is installed into ip-up.d/ to work correctly. I also change the hard-coded path to the netExtender binary in this script before installation. The corresponding cleanup script in ip-down.d/ is more of a problem because it is written dynamically after the client connects, containing the network details of the remote network. It also contains the (incorrect) hard coded binary path. To work round this I have created a script in the same directory which runs before it to change the path to the executable to the correct one. Signed-off-by: Richard Ash richard@audacityteam.org
Created attachment 646104 [details] Script for ip-up.d, from within the netExtender binary ...
Created attachment 646106 [details] Script for ip-down.d/ Signed-off-by: Richard Ash <richard@audacityteam.org> These two files go in files/ alongside the ebuild. For anyone else's benefit, I'm off to try out the open source client at https://github.com/abrasive/nxBender