Ticket #13385: trac_13385-root.patch

File trac_13385-root.patch, 2.4 KB (added by jdemeyer, 9 years ago)

apply to $SAGE_ROOT

  • Makefile

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1345612690 -28800
    # Node ID 534e948eeea295f7367dd7a58e0179d466b19665
    # Parent  4034007c04458631d764cb2f85debd1bd15ee8ba
    Document when installation of openssl, pyopenssl are needed
    diff --git a/Makefile b/Makefile
    a b  
    1919                "tee -a ../install.log"
    2020        ./sage -b
     22# ssl: build Sage, and also install pyOpenSSL. This is necessary for
     23# running the secure notebook. This make target requires internet
     24# access. Note that this requires that your system have OpenSSL
     25# libraries and headers installed. See README.txt for more
     26# information.
     27ssl: all
     28        ./sage -i pyopenssl
    2230build-serial: SAGE_PARALLEL_SPKG_BUILD = no
    2331build-serial: build
  • README.txt

    diff --git a/README.txt b/README.txt
    a b  
    237237    ImageMagick tools (e.g. the "convert" command) installed since some
    238238    plotting functionality benefits from it.
     24011. OPTIONAL: Read this if you are intending to run a Sage notebook
     241    server for multiple users. For security (i.e., to run
     242    "notebook(secure=True)") you may wish users to access the server
     243    using the HTTPS protocol. You also may want to use OpenID for user
     244    authentication. The first of these requires you to install
     245    pyOpenSSL, and they both require OpenSSL. If you have OpenSSL and
     246    the OpenSSL development headers installed on your system, you can
     247    install pyOpenSSL by building Sage and then typing
     249        ./sage -i pyopenssl
     251    Note that this command requires internet access.  Alternatively,
     252    "make ssl" builds Sage and installs pyOpenSSL.  If you are missing
     253    either OpenSSL or OpenSSL's development headers, you can install a
     254    local copy of both into your Sage installation first. Ideally,
     255    this should be done before installing Sage; otherwise, you should
     256    at least rebuild Sage's Python, and ideally any part of Sage
     257    relying on it. So the procedure is as follows (again, with a
     258    computer connected to the internet). Starting from a fresh Sage
     259    tarball:
     261        ./sage -i patch
     262        ./sage -i openssl
     263        make ssl
     265    Alternatively, if you've already built Sage:
     267        ./sage -i openssl
     268        ./sage -f python   # rebuilds Python
     269        SAGE_UPGRADING=yes make ssl
     271    The third line will rebuild all parts of Sage that depend on
     272    Python; this can take a while.