Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 01:00:02 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x
Message-ID:  <20210506.010002.255215505975340477.yasu@utahime.org>
In-Reply-To: <20210505173202.36f1c307@bsd64.grem.de>
References:  <8151EFB0-635D-4648-AF0B-653E45584F1A@grem.de> <20210505.232208.1752175478734160028.yasu@utahime.org> <20210505173202.36f1c307@bsd64.grem.de>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Michael Gmelin <freebsd@grem.de>
Subject: Re: Making a port to use OpenSSL of ports collection on FreeBSD 11.x
Date: Wed, 5 May 2021 17:32:02 +0200

> Which port are you talking about by the way?
> 
> This worked for me just fine in the past (placed in make.conf):
> 
>   DEFAULT_VERSIONS+=ssl=libressl
> 
> for LibreSSL and
> 
>   DEFAULT_VERSIONS+=ssl=openssl
> 
> for openssl from ports.
> 
> See also:
> 
> $ head -n12 /usr/ports/Mk/Uses/ssl.mk 
> # Handle dependency on *ssl ports.
> #
> # Feature:      SSL_DEFAULT
> # Usage:        USES=ssl
> # Valid ARGS:   none (build and run), build, run
> #
> # The user can choose which ssl library he wants with:
> #
> # DEFAULT_VERSIONS+=    ssl=<openssl variant>
> #
> # Variants being base, openssl, libressl, and libressl-devel.
> #
> 
> Cheers,
> Michael

You misunderstand my intention. What I would like to do is to make a
port use security/openssl instead of base OpenSSL even if user sets
'DEFAULT_VERSIONS+=ssl=base' in /etc/make.conf (or user doesn't
customize setting about ssl at all).

As I wrote previous mail, if 'USES=python:3.8+' is specified in
Makefile of a port, lang/python38 is used for the port event if user
adds 'DEFAULT_VERSIONS+=python=3.7' in /etc/make.conf. I'm looking for
similar way about ssl setting.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210506.010002.255215505975340477.yasu>