Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596446 - ebuild for DELL SonicWALL netExtender
Summary: ebuild for DELL SonicWALL netExtender
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 13:07 UTC by Joël
Modified: 2020-06-24 19:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc/netExtender-8.1.789 (netExtender-8.1.789.ebuild,1.20 KB, text/plain)
2016-10-07 13:07 UTC, Joël
Details
Ebuild for newer version of netExtender (netextender-10.2.815.ebuild,4.86 KB, text/plain)
2020-06-24 18:57 UTC, Richard Ash
Details
Script for ip-up.d, from within the netExtender binary ... (sslvpnroute,632 bytes, text/plain)
2020-06-24 18:58 UTC, Richard Ash
Details
Script for ip-down.d/ (10-netextenderfix.sh,181 bytes, text/plain)
2020-06-24 19:01 UTC, Richard Ash
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joël 2016-10-07 13:07:02 UTC
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.
Comment 1 Richard Ash 2020-06-24 18:57:56 UTC
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
Comment 2 Richard Ash 2020-06-24 18:58:49 UTC
Created attachment 646104 [details]
Script for ip-up.d, from within the netExtender binary ...
Comment 3 Richard Ash 2020-06-24 19:01:09 UTC
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