Ignore:
Timestamp:
2017-07-28T18:53:37+12:00 (7 years ago)
Author:
ak19
Message:

Intermediate commit for building wget with openssl. This is a working version, part of incremental commits. For now, we're still using wget-1.15-gs (that always requires --no-check-certificate if running wget), which now uses a wgetrc conf file to turn off the check-certificate default of wget, since without this, wget fails getting https pages that don't yet have a valid security certificate. This commit introduces the template wgetrc-gs.in file, which contains a flag set to not require certificate checks, is copied to gs2build/OS as wgetrc. The WGETRC env var is set in setup.bash to point to the wgetrc file so wget runs smoothly against https urls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bash

    r31406 r31829  
    337337# Perl >= v5.18.* randomises map iteration order within a process
    338338export PERL_PERTURB_KEYS=0
     339
     340# turn off certificate errors when using wget to retrieve over https
     341# (to avoid turning it off with the --no-check-certificate flag to each wget cmd)
     342# See https://superuser.com/questions/508696/wget-without-no-check-certificate
     343# https://www.gnu.org/software/wget/manual/html_node/Wgetrc-Location.html
     344export WGETRC=$GSDLHOME/bin/$GSDLOS/wgetrc
Note: See TracChangeset for help on using the changeset viewer.