Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2016 02:04:21 +0000
From:      Koichiro IWAO <meta+ports@vmeta.jp>
To:        ports@freebsd.org
Subject:   usage of openssl command in ports
Message-ID:  <0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000@us-west-2.amazonses.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a question about usage of openssl command in ports.

If a port uses openssl command for example in pkg-install, how can I 
determine which openssl to use?
I think if ssl=base, /usr/bin/openssl should be used.  If ssl=openssl, 
${PREFIX}/bin/openssl should be used.
And other ssl ports.

Is there something like ${OPENSSL_CMD} or do I have to do manually like 
this?

.if ${SSL_DEFAULT} == base
OPENSSL_CMD= /usr/bin/openssl
.endif

.if ${SSL_DEFAULT} == openssl
OPENSSL_CMD= ${PREFIX}/bin/openssl
.endif

.if ${SSL_DEFAULT} == libressl
OPENSSL_CMD= "i don't know"
.endif

-- 
`whois vmeta.jp | nkf -w`
meta <meta@vmeta.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0101015792959ef2-163aa5ec-0b1c-4220-baf0-67ab2871cfa8-000000>