# This uses downloaded tarballs in /mit/git/tarballs because the # autotools available on athena are too old right now. # configure added unnecessary -pthread to CFLAGS due to botched AIX fix. # Applied patch here. Upstream fix proposed. # On Athena 9.4 (solaris, multics): # We need to specify our OpenSSL include path early, or it'll find the headers in /usr/athena/include # We also need to specify our OpenSSL lib dir in the run path. # We disable most protocols so we don't bring in any other libraries that might link the system OpenSSL. # Also, maybe it'll build faster that way. # Oh, and we now grab a CA Cert bundle from mozilla via curl.se and use that so we have any CAs at all. # Fix broken configure script's embedded shell script by fixing # export "FOO=bar" # type exports into # FOO="bar"; export FOO # type exports. This has been submitted upstream. CPPFLAGS="-I/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/include" \ LDFLAGS="-R/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/lib" \ ./configure --prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.1.2/common \ --exec-prefix=/afs/sipb.mit.edu/project/git/builds/curl-8.1.2/sun4x_510 \ --with-openssl=/afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510 \ --with-gssapi=/usr/athena \ --with-ca-bundle=/afs/sipb.mit.edu/project/git/certs/cacert.pem \ --disable-dependency-tracking \ --disable-ldap --disable-ldaps \ --disable-rtsp --disable-telnet --disable-tftp \ --disable-pop3 --disable-imap --disable-smtp \ --disable-dict --disable-smb --disable-gopher --disable-mqtt gmake gmake install # Link common for each architecture: (cd /afs/sipb.mit.edu/project/git/builds/curl-8.1.2; \ for arch in `ls -d *_*`; do \ (cd $arch; \ ln -sf ../common/* . ) \ done;) # To deploy: (cd /afs/sipb.mit.edu/project/git/curl ; ln -sf ../builds/curl-8.1.2/*_* .)