Re: [Nbd] [PATCH v2 1/6] build: Silence autogen.sh warnings
- To: Alex Bligh <alex@...872...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>
- Subject: Re: [Nbd] [PATCH v2 1/6] build: Silence autogen.sh warnings
- From: Wouter Verhelst <w@...112...>
- Date: Thu, 20 Oct 2016 09:25:21 +0200
- Message-id: <20161020072521.5wgdxjprbln2xzgc@...3...>
- In-reply-to: <78345010-5B8C-4F34-9616-4F6A66D927A9@...872...>
- References: <1476735820-17208-1-git-send-email-eblake@...696...> <1476735820-17208-2-git-send-email-eblake@...696...> <20161018110134.5zvhk4hiyy4ncsxq@...3...> <79211418-8403-3ca9-5106-81199e8eeaa8@...696...> <22de9026-f0b5-def9-d508-c441c645511b@...696...> <78345010-5B8C-4F34-9616-4F6A66D927A9@...872...>
On Tue, Oct 18, 2016 at 04:55:48PM +0100, Alex Bligh wrote:
>
> > On 18 Oct 2016, at 15:19, Eric Blake <eblake@...696...> wrote:
> >
> > Initial testing: broken before my patches:
> >
> > checking for GnuTLS... configure: error: Package requirements (gnutls >=
> > 3.3.0) were not met:
> >
> > Requested 'gnutls >= 3.3.0' but version of GnuTLS is 2.8.5
> >
> > You'll want to make the new TLS code conditional, and merely disable TLS
> > rather than fail the entire build if you don't have a new enough library
> > to rely on. I might be able to develop that patch too...
>
> I don't think we should require gnutls >= 3.3.0
>
> My patches (for both the server and client) worked with an older versions
> of gnutls deliberately (certainly whatever ships with Ubuntu 14.04, which
> I think is 2.12.23).
>
> Is there any reason to depend on such a new version of gnutls?
older versions require gnutls_init(), as of 3.3.0 that isn't required. I
thought 3.3.0 was sufficiently old that this wouldn't be a problem, but
I guess that that's wrong and I should revisit it.
> I seem to remember that one tiny bit of set up took slightly more
> calls on old versions.
Indeed :-)
> My branch is at:
> https://github.com/abligh/nbd/tree/add-tls-support
>
> if you want to nick the TLS code (including autotools etc support)
I was planning to look at it. I certainly wanted to get your client-side
TLS support patches, since we do need a proxy there, and that's what you
implemented.
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
Reply to: