Re: DEFAULT_VERSIONS conflicts

2018-01-03 Thread Mathieu Arnold
Le 02/01/2018 à 20:03, Roger Marquis a écrit :
>>> Sorry, the language there is unclear. It should say "ssl=[name of
>>> the port]".
>>> You just want the ssl=libressl line.
>
> Ah, so the "base" specified here is a constant whereas "port" is a
> variable, to be expanded before writing make.conf.  If I might then
> suggest a potential documentation update:
>
> < WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
> < WITH_OPENSSL_PORT  DEFAULT_VERSIONS+= ssl=port
>
>> WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
>> or
>> WITH_OPENSSL_PORT  DEFAULT_VERSIONS+=
>> ssl=[openssl|libressl|...]


Note that if you have, say, WITH_OPENSSL_PORT=yes and
OPENSSL_PORT=libressl defined, you have been getting warnings since
2016-06-16 for every port that uses openssl, with something like this:

/!\ WARNING /!\

Using WITH_OPENSSL_PORT and OPENSSL_PORT in make.conf is deprecated, replace
them with DEFAULT_VERSIONS+=ssl=libressl in your make.conf


So you have been warned, for 19 months.


-- 
Mathieu Arnold



signature.asc
Description: OpenPGP digital signature


Re: DEFAULT_VERSIONS conflicts

2018-01-02 Thread Roger Marquis

Sorry, the language there is unclear. It should say "ssl=[name of the port]".
You just want the ssl=libressl line.


Ah, so the "base" specified here is a constant whereas "port" is a
variable, to be expanded before writing make.conf.  If I might then
suggest a potential documentation update:

< WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
< WITH_OPENSSL_PORT  DEFAULT_VERSIONS+= ssl=port


WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
or
WITH_OPENSSL_PORT  DEFAULT_VERSIONS+= ssl=[openssl|libressl|...]


Roger
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: DEFAULT_VERSIONS conflicts

2018-01-02 Thread Adam Weinberger

On 2 Jan, 2018, at 10:47, Roger Marquis  wrote:

Per the 20171214 UPDATING entry:

  Support for some deprecated variables is going to be removed soon. If
  you use any of the following constructs (usually in /etc/make.conf),
  you must switch to the new incantations:
  ...
  WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
  WITH_OPENSSL_PORT  DEFAULT_VERSIONS+= ssl=port

Question is what occurrs when the port version is also specified:

  DEFAULT_VERSIONS+=ssl=libressl

Some builds report an error when both are specified depending on the
order of, for example:

  DEFAULT_VERSIONS+=ssl=libressl
  DEFAULT_VERSIONS+=ssl=port

Is there documentation on how to specify multiple port options?


Sorry, the language there is unclear. It should say "ssl=[name of the port]".
You just want the ssl=libressl line.

# Adam


--
Adam Weinberger
ad...@adamw.org
http://www.adamw.org

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


DEFAULT_VERSIONS conflicts

2018-01-02 Thread Roger Marquis

Per the 20171214 UPDATING entry:

  Support for some deprecated variables is going to be removed soon. If
  you use any of the following constructs (usually in /etc/make.conf),
  you must switch to the new incantations:
  ...
  WITH_OPENSSL_BASE  DEFAULT_VERSIONS+= ssl=base
  WITH_OPENSSL_PORT  DEFAULT_VERSIONS+= ssl=port

Question is what occurrs when the port version is also specified:

  DEFAULT_VERSIONS+=ssl=libressl

Some builds report an error when both are specified depending on the
order of, for example:

  DEFAULT_VERSIONS+=ssl=libressl
  DEFAULT_VERSIONS+=ssl=port

Is there documentation on how to specify multiple port options?

Roger
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"