Clearer error for list-system-keys on Unix-like platforms
It appears that the `gnutls_system_key*` functions are only implemented on
Windows currently. Lots of people are likely to test this executable on
Unix-y systems, so we should give a clearer error message.
Signed-off-by: Daniel Lenski <email address hidden>
It breaks the Linux COPR builds since the native RPM doesn't list it as
one of the files that are expected to be installed. And in fact we don't
*want* it installed for Linux as GnuTLS system keys aren't supported on
Linux anyway. So just leave it uninstalled for now. It's in the Windows
installer.
We *will* want to make it available for the GUI installer to use, but
I'm still not sure how to handle that. Since the GUI changes less often
perhaps I should actually pull in the openconnect-gui MinGW package as
a dependency of the openconnect build. Which is backwards really, but
it would allow us to spit out an installer including OpenConnect-GUI
for every libopenconnect build. Not today though...
Signed-off-by: David Woodhouse <email address hidden>
Move list-system-keys.exe to the top-level directory as it isn't really
a test, and install it as part of the RPM.
Clean up the DLL dependency handling to allow for multiple .exe files as
'roots', and also add a hack to make it possible to include extra files
like openconnect-gui.exe
That required supporting Qt and its plugin DLLs, which isn't strictly
needed in OpenConnect itself but I'll probably lift the same mechanisms
to use them in the mingw-openconnect-gui build, and it's best for them
to remain in sync.
Signed-off-by: David Woodhouse <email address hidden>