tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling SSL in pkg_install



On Thu, Jan 25, 2018 at 03:57:59PM -0600, Jason Bacon wrote:
> 
> I'd like to use https with pkgin but...
> 
> [root@unixdev2 bacon]# pkgin avail
> reading local summary...
> processing local summary...
> SSL support disabled
> SSL support disabled
> SSL support disabled
> pkgin: Could not fetch
> https://mirror1.hpc.uwm.edu/pkgsrc/packages/usr/pkg/RHEL7/All/pkg_summary.gz
> 
> The problem appears to be in pkg_install.  What's the canonical way to
> enable SSL during bootstrap?
> 
> Just add openssl to PKG_DEFAULT_OPTIONS or PKG_OPTIONS.libfetch?

It's enabled by default if there is a native OpenSSL. Someone has to
figure out a decent way to link pkgsrc-openssl static for the
non-builtin case.

Joerg


Home | Main Index | Thread Index | Old Index