Better proxy support available via libcurl?

Greg Troxel gdt at
Thu Aug 3 15:48:44 CEST 2006

  OpenSSL is clearly not part of the OS (at least for almost all
  GNU/Linux systems).

On NetBSD, OpenSSL is very definitely part of the operating


  OpenSSL sources are in src/crypto/dist/openssl, libssl is built
  from src/lib/libssl, and openssl from src/usr.bin/openssl (via
  reachover makefiles).  The same reachover technique is used for groff,
  gcc, and a bunch of other things.  A minimal install of NetBSD (just
  the 'base' set) includes /usr/bin/openssl and /usr/lib/libssl.4.

On NetBSD, people tend to use GnuPG with pkgsrc, and binary packages
are distributed, but they are kept separate from the base operating

By default in pkgsrc, gnupg does not use curl.
The resulting gpg binary and the 3 helpers do not link with openssl.

If one sets PKG_OPTIONS.gnupg=curl, gnupg is built with curl.
Then ssl is used:

        -lidn.11 => /usr/pkg/lib/
        -lcrypt.0 => /lib/
        -lcrypto.2 => /usr/lib/
        -lssl.3 => /usr/lib/
        -lz.0 => /usr/lib/
        -lcurl.3 => /usr/pkg/lib/
        -lcrypto.3 => /usr/lib/
        -lssl.4 => /usr/lib/
        -lz.1 => /usr/lib/
        -lc.12 => /usr/lib/

(yes, something's wrong and I've got .2 and .3 of lihcrypto and .3 and
.4 of libssl.!)

As I understand the exception, it applies to NetBSD's usage, since
gnupg binaries are distributed by pkgsrc which is separated from the
operating system.  And, binary packges that are distributed via are not built with curl.

    Greg Troxel <gdt at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : /pipermail/attachments/20060803/359db72c/attachment.pgp

More information about the Gnupg-devel mailing list