Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2016 09:14:33 +0200
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        Jason Unovitch <junovitch@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, Adam Weinberger <adamw@adamw.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r417795 - head/security/letskencrypt
Message-ID:  <c5be99bb18693db25ed39436e035654c@imap.brnrd.eu>
In-Reply-To: <20160703222715.GA38987@Silverstone>
References:  <201606292055.u5TKtOwU090876@repo.freebsd.org> <08FF4FCE-BAD2-4F26-9082-FE04378133B0@adamw.org> <36C82FFBA7D42A621D21CE03@atuin.in.mat.cc> <a78c3668bb80adaa034dfd298be754c1@imap.brnrd.eu> <20160703222715.GA38987@Silverstone>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-07-04 0:27, Jason Unovitch wrote:
> On Thu, Jun 30, 2016 at 11:19:20AM +0200, Bernard Spil wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> On 2016-06-29 23:11, Mathieu Arnold wrote:
>> > +--On 29 juin 2016 15:04:28 -0600 Adam Weinberger <adamw@adamw.org> wrote:
>> > |> On 29 Jun, 2016, at 14:55, Bernard Spil <brnrd@freebsd.org> wrote:
>> > |>
>> > |>
>> > |> +USES=		gmake ssl:libressl tar:tgz
>> > |
>> > | Is USES=ssl:libressl real? It seems like a great idea, but I didn't know
>> > | it was a thing.
>> >
>> > It's about the same as USES=ssl:foobar :-)
>> 
>> Just figured this out as well :D
>> 
>> Luckily it is a no-op, the ports framework just makes it ssl_ARGS 
>> which
>> is not used in Mk/Uses/ssl.mk.
>> 
>> The port takes care of the problem at the bottom of the Makefile
>> 
>> .if empty(SSL_DEFAULT:Mlibressl*)
>> IGNORE= needs LibreSSL to build. set DEFAULT_VERSIONS+=ssl=libressl \
>>         and rebuild all ports that depend on openssl
>> .endif
>> 
>> which matches either security/libressl or security/libressl-devel.
>> 
> Can you fix the ssl:libressl then?  It doesn't make much sense to have
> this non-functional line in the port.

Hi All,

Will do!

There's a snafu in the periodic script as well that needs fixing.

I've started re-working the LibreSSL dependency in the makefile to mimic 
the dependencies in Mk/Uses/ssl.mk

BUILD_DEPENDS=  libtls.so:security/libressl
RUN_DEPENDS=    libtls.so:security/libressl

The IGNORE if SSL_DEFAULT is not set to a libressl port is a bit wide, 
wouldn't a nice big fat WARNING do? I intend to add a pkg-message as 
well to notify the user what path he's travelling down.

Bernard.



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