From owner-freebsd-ports@freebsd.org Sat Nov 7 00:25:42 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 755232D821B for ; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSdMV2mc4z3Gg1 for ; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5F0D42D821A; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5EDAB2D7DC6 for ; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSdMV29yWz3G5P; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 2022230D17; Sat, 7 Nov 2020 00:25:42 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:f0a2:fb6c:caae:c35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 85FEE1F4A8; Sat, 7 Nov 2020 00:25:39 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/85FEE1F4A8; dkim=none; dkim-atps=neutral Subject: Re: FreeBSD Port: pgbarman-2.11 To: Ryan Quinn Cc: "ports@freebsd.org" References: From: Matthew Seaman Message-ID: Date: Sat, 7 Nov 2020 00:25:38 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 00:25:42 -0000 On 06/11/2020 20:17, Ryan Quinn wrote: > Hi Matthew! > > Would it be possible to get barman to support multiple versions of postgres? > > Here’s the background. > > I’m testing barman as a backup solution, and I upgraded barman to version 2.11 on my test system. I wasn’t paying attention, so this is totally my fault. Anyway, the barman 2.11 dependency on postgresql12-client caused postgres 11 to be removed. > > Ryan > In theory, yes. That's a job for flavours. Unfortunately, for reasons that I cannot recall clearly just now, we don't have any postgresql flavour support in ports. As far as I recall, it might have been concern about the number of ports increasing beyond what the builders could handle in a reasonable time. If you build your own packages, then it's easy enough to add 'pgsql=11' to your DEFAULT_VERSIONS setting. Or, if adverse to compiling stuff, you could run the default barman package in a jail to do a "remote" backup of your main postgresql installation. barman when linked against the most recent version of libpq can work with any of the older versions of postgresql in the ports. Cheers, Matthew