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/build-src/packages/Makefile.in

    r29366 r31829  
    2929# is assumed that each package will have at least four rules: all, install,
    3030# clean, and distclean.
     31# openssl is configured and compiled during the configure stage by
     32# build-src/packages/configure. make clean and make distclean happen here.
    3133
    3234PACKAGEDIRS =
     
    4042        wget/wget-1.15-gs cpan/XML-Parser-2.41 \
    4143        xlhtml/xlhtml-0.4.9.0 isis-gdl html-tidy/tidy
     44OPENSSL_PKG = openssl/openssl-1.0.2l
    4245
    4346all:
     
    5457
    5558clean:
    56     for subdir in $(PACKAGEDIRS); do \
     59    for subdir in $(PACKAGEDIRS) $(OPENSSL_PKG); do \
    5760          echo cleaning $@ in $$subdir; \
    5861          (cd $$subdir && $(MAKE) clean || exit 0) ; \
     
    6063
    6164distclean:
    62     for subdir in $(PACKAGEDIRS); do \
     65    for subdir in $(PACKAGEDIRS) $(OPENSSL_PKG); do \
    6366          echo cleaning $@ in $$subdir; \
    6467          (cd $$subdir && $(MAKE) distclean || exit 0) ; \
    6568        done
     69    (cd openssl && rm -rf certs man misc private openssl.cnf || exit 0)
     70    rm -rf $(OPENSSL_PKG)
Note: See TracChangeset for help on using the changeset viewer.