Better proxy support available via libcurl?

Greg Troxel gdt at ir.bbn.com
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
system.

details:

  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
system.

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:

/usr/pkg/libexec/gnupg/gpgkeys_hkp:
        -lidn.11 => /usr/pkg/lib/libidn.so.11
        -lcrypt.0 => /lib/libcrypt.so.0
        -lcrypto.2 => /usr/lib/libcrypto.so.2
        -lssl.3 => /usr/lib/libssl.so.3
        -lz.0 => /usr/lib/libz.so.0
        -lcurl.3 => /usr/pkg/lib/libcurl.so.3
        -lcrypto.3 => /usr/lib/libcrypto.so.3
        -lssl.4 => /usr/lib/libssl.so.4
        -lz.1 => /usr/lib/libz.so.1
        -lc.12 => /usr/lib/libc.so.12

(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
netbsd.org are not built with curl.

-- 
    Greg Troxel <gdt at ir.bbn.com>
-------------- 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