Thanks to Mike W9MDB for the concept of forcing to HTTP if OpenSSL is
not installed or if the user requires it for other reasons.
The sample downloader should now be usable with or without OpenSSL
libraries being installed, so long as SourceForge continue to serve
identical content from both HTTP and HTTPS schemes on their file
servers and mirrors.
For users with baulked OpenSSL installations, incorrect or incomplete
CA certificate stores, either the improved capability to ignore
SSL/TLS errors for the duration of a session at their discretion or,
as a last resort a new option to force an HTTP URL scheme is provided.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7379 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
Samples are downloaded from a web server, currently the SF download
server. The samples are stored in the source controlled samples
directory and the CMake script there builds a suitable directory tree
for upload to the web server under samples/web containing the samples
hierarchy and the generated JSON contents database file. The samples
CMake script also defines an 'upload-samples' target that uses rsync
to efficiently upload the samples and the accompanying contents JSON
database file.
Any directory structure under the samples directory may be created, to
add a new sample file simply add the file to source control and amend
the list of sample files (SAMPLE_FILES) in samples/CMakeLists.txt.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6308 ab8295b8-cf94-4d9e-aec4-7959e3be5d79