From owner-freebsd-ports@freebsd.org Tue Jul 21 11:26:26 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AFB89A6081 for ; Tue, 21 Jul 2015 11:26:26 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2779A143A for ; Tue, 21 Jul 2015 11:26:26 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 259D19A607F; Tue, 21 Jul 2015 11:26:26 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C65D9A607E for ; Tue, 21 Jul 2015 11:26:26 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 978011439; Tue, 21 Jul 2015 11:26:25 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wgmn9 with SMTP id n9so153650292wgm.0; Tue, 21 Jul 2015 04:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=lrSoPijkxZj50bOXF/kSQQeLPiHUPJ55PQXag8s+W2w=; b=glfVLzWx1gQ57Pt02lHNsNMnz24bVS6cwujvg4V1C2msEQ1krsEYlbT+mitLI9ZUHR BmGttIJ2PbgyYpAh4oOIizwAeta8W6LB79rRoblhc189XCdrNx3gF5NPB8B24tbZam4+ Tm5InaOMGFah7kr1dgBVZtjrWYWG/5agewPEueMBs4AczNqKptWjcN20gXk807Kf5Rto 3Qek6cbxnQFCh/j3Z3owkh+VUfBTUuSZWLJulT8Huz41+TUdYjrMjtigEOVswNsSz3kH 74mhjxC2/jkK9L079q1qkPw+oyjnVBPCgq6lZZPoSIKKvv2mgj1IDi6wVZiG83Wwx5Wj FGiw== X-Received: by 10.194.184.82 with SMTP id es18mr68614676wjc.79.1437477984049; Tue, 21 Jul 2015 04:26:24 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id qq1sm36578765wjc.0.2015.07.21.04.26.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 04:26:23 -0700 (PDT) Sender: Baptiste Daroussin Date: Tue, 21 Jul 2015 13:26:21 +0200 From: Baptiste Daroussin To: Michelle Sullivan Cc: pgsql@FreeBSD.org, ports@FreeBSD.org Subject: Re: Proposal to fix postgresql package maintainance nightmare Message-ID: <20150721112621.GF21594@ivaldir.etoilebsd.net> References: <20150721094627.GD21594@ivaldir.etoilebsd.net> <55AE219F.50501@sorbs.net> <55AE29CF.5080606@sorbs.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wb5NtZlyOqqy58h0" Content-Disposition: inline In-Reply-To: <55AE29CF.5080606@sorbs.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2015 11:26:26 -0000 --Wb5NtZlyOqqy58h0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 21, 2015 at 01:15:27PM +0200, Michelle Sullivan wrote: > Michelle Sullivan wrote: > > > > That is where your proposal will not work for us that have massive > > production infrastructure...without modification... sounds very debiani= sh. > > > > Here's my thought which follows yours mostly (maybe the same, but not > > the way I read yours.) > > > > All postgres* go under /usr/local/postgresql > > rc scripts are always version specific (ie > > /usr/local/etc/rc.d/postgresql becomes /usr/local/etc/rc.d/postgresql84, > > /usr/local/etc/rc.d/postgresql93 etc) > > rc.conf stuff becomes version specific (ie postgresql_enable=3D"YES" > > becomes postgresql84_enable=3D"YES" etc) > > All ports then can be linked to default versions, the default can be in > > Mk/bsd.default-versions.mk, and as it is in /etc/make.conf > > All pkg tools then have a dependency to which ever is currently set in > > the package and if the required lib is not installed you can install it > > without a conflict to what is already on the systems... > > All client binaries and tools can have symlinks in /usr/local/bin as > > necessary with the major/minor suffix, and the "default versions" of the > > *clients and tools* can be symlinked without a major/minor version. > > =20 >=20 > Slight addition... >=20 > metaport's for 'postgresql-server' and 'postgresql-client' seem to be > the ideal addition to this (forget the symlinking and pkgconfig - the > metaport would take care of that ideally) >=20 I do not see the point of having metaport here? We in the end have one single postgresql-client (always latest version) and multiple postgresql*-server which will bundle the client tools they go = with and the symlinks so postgresql-client will have /usr/local/bin/psql and postgresql94-server will have: /usr/local/bin/psql94 -> /usr/local/postgresql94/bin/psql For example. Where would the metaport give something more? Best regards, Bapt --Wb5NtZlyOqqy58h0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlWuLF0ACgkQ8kTtMUmk6ExxGACfW0+9nH+uLDRS4iuLKZCIH1vB 3YAAoIXr0kDPKEcVl9xeOKzivGjTBlBt =tdGg -----END PGP SIGNATURE----- --Wb5NtZlyOqqy58h0--