# curl/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "curl-low" and "curl" should be built against OpenSSL as opposed to GNU TLS or "git" will break for some sites. As a consequence of the need to use OpenSSL as opposed to GNU TLS, "curl" can't be built with "nghttp3" or "ngtcp2" support at the pre- sent time. #--------------------------------------------------------------------- 2. "curl" supports file copies by "scp". However, for this to work, you may need to disable a "certificate" check. The switch "-k" will do this. Sample command: curl \ -k -u sally: \ --key /home/sally/.ssh/keys/somename.prvkey \ scp://somesite.org/somefile.dat > output.dat It appears that "curl" doesn't read the "ssh" "config" file. So, the remote hostname needs to be specified explicitly. "ssh" shortcut names won't work. "sally:" should be replaced with the appropriate remote username plus a colon. The argument to "--key" should be a relative or absolute pathname for the approprite "ssh" private-key file. #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 001.65 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.03 hours (or 001.68 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.90 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.93 minutes) - HP EliteBook 8560w 32GB RAM 00.06 hours (or 003.82 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.13 hours (or 007.77 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] archive = same as curl-low build = default exepack = yes license = See "license*.txt" in installed tree licfile = COPYING proddir = $PRODTREE/curl tmpsize = 37M #--------------------------------------------------------------------- [depends] actools brotli curl-low:strict gawk gnutls3 grep groff libgmp libidn2 libpsl librtmp libsasl libssh2 nettle3 nghttp2 nghttp3 ngtcp2 openldap openssl:strict p11kit perl pkgconf sed wcurl zlib zstd #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE PT=$PRODTREE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-debug \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE \ \ --without-brotli \ --without-nghttp3 \ --without-ngtcp2 \ --without-quiche \ \ --with-libssh2=$PRODTREE/libss2 \ --with-openssl=$PT/openssl \ --with-ca-bundle=$PRODTREE/openssl/etc/ssl/cert.pem #--------------------------------------------------------------------- [postbuild] DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include mkdir -p $DOCDIR cp -p $PKGDIR_SPECIAL/curltypes.h \ $INCDIR/curl/types.h #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] Same as curl-low #--------------------------------------------------------------------- [history] Same as curl-low