pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Jacob Champion <pchampion@vmware.com>
Cc: daniel@yesql.se <daniel@yesql.se>
Cc: tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Cc: andrew@dunslane.net <andrew@dunslane.net>
Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target
Date: Tue, 10 Aug 2021 16:22:55 +0900
Message-ID: <YRIpT6S+malaw79H@paquier.xyz> (raw)
In-Reply-To: <7316398fbce3fdc0192c3b9c5aa1011e32e7f88e.camel@vmware.com>
References: <d15a9838344ba090e09fd866abf913584ea19fb7.camel@vmware.com>
	<223071F9-618F-48AF-BE40-EFF76F5CE45F@yesql.se>
	<ffce081b30b0d3303c788471f30171b4074fbb9f.camel@vmware.com>
	<604960.1627506174@sss.pgh.pa.us>
	<FBD68F12-C591-4589-AAC7-38F16AD226CE@yesql.se>
	<7316398fbce3fdc0192c3b9c5aa1011e32e7f88e.camel@vmware.com>

On Fri, Jul 30, 2021 at 03:11:49PM +0000, Jacob Champion wrote:
> No worries, it's easy enough to unroll the expansion manually. The
> annoyances without secondary expansion are the duplicated lines for
> each individual CA and the need to introduce .INTERMEDIATE targets so
> that cleanup works as intended.
> 
> Attached is a v3 that does that, and introduces a fallback in case
> openssl isn't on the PATH. I also missed a Makefile dependency on
> cas.config the first time through, which has been fixed. The patch you
> pulled out earlier is 0001 in the set.

Patch 0001 is a good cleanup.  Daniel, are you planning to apply that?

Regarding 0002, I am not sure.  Even if this reduces a lot of
duplication, which is really nice, enforcing .SECONDARY to not trigger
with a change impacting Makefile.global.in does not sound very
appealing to me in the long-run, TBH.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (31+ messages)  latest in thread

Message-ID: <YRIpT6S+malaw79H@paquier.xyz>
Permalink:  ../YRIpT6S+malaw79H@paquier.xyz/
Also on:    postgresql.org/message-id/YRIpT6S+malaw79H@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: michael@paquier.xyz, pchampion@vmware.com, daniel@yesql.se, tgl@sss.pgh.pa.us, andrew@dunslane.net
  Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target
  In-Reply-To: <YRIpT6S+malaw79H@paquier.xyz>
  References: <d15a9838344ba090e09fd866abf913584ea19fb7.camel@vmware.com> <223071F9-618F-48AF-BE40-EFF76F5CE45F@yesql.se> <ffce081b30b0d3303c788471f30171b4074fbb9f.camel@vmware.com> <604960.1627506174@sss.pgh.pa.us> <FBD68F12-C591-4589-AAC7-38F16AD226CE@yesql.se> <7316398fbce3fdc0192c3b9c5aa1011e32e7f88e.camel@vmware.com> <YRIpT6S+malaw79H@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox