Package name:     curl
Version number:   8.21.0
Original author:  Daniel Stenberg <daniel@cool.haxx.se>
Original URL:     https://curl.se/
HP-UX URL:        http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/curl-
License:          Other/Unknown Open Source Licence
Languages:        C 
Build-time deps:  bison cyrus_sasl db editline expat flex gdbm gettext gmp gnutls heimdal ldns libffi libgcrypt libgpg_error libiconv libidn2 libssh2 libtasn1 libtool libunistring lzo m4 make nettle openldap openssl p11_kit readline termcap unbound zlib zstd
Run-time deps:    bison cyrus_sasl db editline expat flex gdbm gettext gmp gnutls heimdal ldns libffi libgcrypt libgpg_error libiconv libidn2 libssh2 libtasn1 libtool libunistring lzo m4 nettle openldap openssl p11_kit readline termcap unbound zlib zstd
Install tree:     /usr/local
Report bugs to:   curl-users@cool.haxx.se
Tested on:        HP rp2660 running HP-UX 11.31
Compiler used:    Itanium - A.06.28 (HP C)
LDOPTS setting:   export LDOPTS="+s -L/usr/local/lib/hpux64 -L/usr/local/lib -L/usr/lib/hpux64 -L/usr/lib"
Purpose:
A command line tool for transferring data. Curl tool for getting files with URL
syntax, supporting FTP, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE, LDAP, SCP and
SFTP. Curl supports HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload,
proxies, cookies, user+password authentication and a busload of other useful
tricks.
Date archived:    Thu  9 Jul 2026

-------------------------------------------------------------------------------

NOTE: You must install db, flex, gdbm, gettext, heimdal, libiconv, libidn2,
      libssh2, openldap, openssl, perl, termcap and zlib before building or
      installing this curl package.

WARNING: You should uninstall any previous version of curl prior to building
         and installing this release.

Files changed:

* Makefile.in:
  - "gmake clean" now also deletes config.cache.

* configure:
  - Cache file is now config.cache, rather than /dev/null.
  - Set up an HP-UX override section, including:
    * Set prefix to /usr/local.
    * Put /usr/local/bin in the front of the PATH.
    * If Itanium, set libdir to /usr/local/lib/hpux64.
    * Compile with "cc -O -I/usr/local/include" (use +O1 for Itanium).
    * Set LDFLAGS to embed $libdir as a run-time library search path.
    * Set RANLIB to /bin/true.
    * Enable both shared and static library building.
    * Enable LDAP and LDAPS support.
    * Enable libssh2 support (which enables SCP/SFTP support).
    * Disable GSSAPI and Kerberos 4 support.
    * Disable dependency tracking.
    * Enable OpenSSL support.
    * Disable libpsl support.
  - Strip any installed binaries.
  - Set 755 permissions on any installed scripts.
  - Don't link with +h <libname>.
  - Only build <libname>.<libext> as a shared lib (i.e. no version numbers).
  - Corrected pthread flag to be "-lpthread".

* lib/asyn-thread.c:
  - If AF_LOCAL isn't defined, then define it to be AF_UNIX.

To compile:
 
[Install the dependencies listed above first!]
[Uninstall any previous release of curl]
[Edit the HP-UX override section of configure for your site,
 particularly the prefix setting]
./configure
gmake
 
To test:
 
[Install openssh first to allow for full testing]
gmake check
[This may fail some of the tests, but there's nothing to worry about - it's
things like trying to open more than HP-UX max number of open files,
starting too many processes or testing features that haven't been compiled
into curl]
 
To install (usually as root):
 
gmake install
