Changeset 31829 for main/trunk/greenstone2/build-src/packages/wget/README
- Timestamp:
- 2017-07-28T18:53:37+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/build-src/packages/wget/README
r31826 r31829 105 105 106 106 107 9) We're now shifting to wget-1.17.1 which is installed on Ubuntu 16.04 and which work on https urls without the --no-check-certificate flag being necessary.107 9) We're now shifting to wget-1.17.1 which is installed on Ubuntu 16.04, and for which a windows binary compiled with OpenSSL is available. Both the linux system version and windows binary work on https urls without the --no-check-certificate flag being necessary. However, the compiled up Linux version still needs this flag, see under PROBLEM. 108 108 109 109 This way our perl code can launch wget as before, without always passing that additional flag. Hopefully the output in the Download pane will be the same so that the donwload parsing will work. … … 118 118 * configuring had initially failed, reporting that OPENSSL_CFLAGS and OPENSSL_LIBS need to be set if not wanting to use whatever pkg-config may find. To set LIBS variables, use one of these forms: LIBS="-L/path/to/lib" or LIBS="/path/to/lib/lib.a" or LIBS="-lssl". To combine all three, separate with spaces. See http://trac.greenstone.org/changeset/30948 and https://github.com/tatsuhiro-t/spdylay/issues/43 119 119 120 PROBLEM AND SOLUTION WITH WGETRC 120 121 Can turn off requiring a certificate check for https URLs in wgetrc conf file, as explained here: 121 122 https://superuser.com/questions/508696/wget-without-no-check-certificate … … 139 140 # https://lists.gnu.org/archive/html/bug-wget/2014-12/msg00104.html 140 141 141 2ND PROBLEM: OpenSSL License, see https://www.openssl.org/source/license.html 142 Alternatives for Windows: 143 Source: 144 - https://soliloquyforthefallen.net/?p=238 145 - https://github.com/wertarbyte/wget/tree/master/windows (README at end) 146 Binaries: 147 - https://stackoverflow.com/questions/14344921/wget-for-windows-7-trusted-source 142 148 143 QUESTION: If I delete the gs2build/bin/linux/openssl folder, the built wget does not seem to care. Is it finding something else or has it included the openssl somehow? How can I verify this? 149 COMBINING GREENSTONE's GPL with OpenSSL LICENSES 150 OpenSSL is under a double license, see https://www.openssl.org/source/license.html 151 The licenses for GPL and OpenSSL are incompatible, see https://www.gnu.org/licenses/license-list.en.html#OpenSSL 152 but you can combine it this way: https://opensource.stackexchange.com/questions/2233/gpl-v3-with-openssl-exception?rq=1 153 which is what we've done for GS2 and GS3. 154 155 156 TO DO: 157 - If I delete the gs2build/bin/linux/openssl folder, the built wget still works fine without it. Dr Bainbridge confirmed that this is because, wget is built against OpenSSL's static libraries and therefore no longer needs the OpenSSL stuff we build and have been putting into gs2build/bin/linux/openssl. So we no longer need to put the built OpenSSL there. 158 159 - Add a tick box in GLI > File > Preferences for turning on No Check Certificate over https, this should then replace our wgetrc file and env variable set in GS2's setup.bash. By default leave this flag unticked, so downloading won't work over https. Need to store this user setting in GLI's config.xml. Ensure that when the download over https failed, it results in an error. 160 161 - If the downloading error count > 0: 162 At the bottom of GLI > Download Pane > View Log > download error log - when we get errors: 163 You have the option of adjusting your proxy server settings (go through the Configure Proxy button) 164 For https certificate authentication, you have the option of turning off checking the certificate in the Connections tab of File > Preferences 165 166 Check the warnings on windows. If it's no longer always warning, then do the stuff above on warning too, not just on error. 167
Note:
See TracChangeset
for help on using the changeset viewer.