From owner-freebsd-ports@freebsd.org Tue Jul 21 11:15:31 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 A1BDB9A7E35 for ; Tue, 21 Jul 2015 11:15:31 +0000 (UTC) (envelope-from michelle@sorbs.net) 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 8DC351FD3 for ; Tue, 21 Jul 2015 11:15:31 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: by mailman.ysv.freebsd.org (Postfix) id 8A0A89A7E2F; Tue, 21 Jul 2015 11:15:31 +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 899D79A7E2E for ; Tue, 21 Jul 2015 11:15:31 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (hades.sorbs.net [67.231.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8A01FD1; Tue, 21 Jul 2015 11:15:31 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0NRU007BJ4VPMD00@hades.sorbs.net>; Tue, 21 Jul 2015 04:21:27 -0700 (PDT) Message-id: <55AE29CF.5080606@sorbs.net> Date: Tue, 21 Jul 2015 13:15:27 +0200 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: pgsql@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: Proposal to fix postgresql package maintainance nightmare References: <20150721094627.GD21594@ivaldir.etoilebsd.net> <55AE219F.50501@sorbs.net> In-reply-to: <55AE219F.50501@sorbs.net> 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:15:31 -0000 Michelle Sullivan wrote: > > That is where your proposal will not work for us that have massive > production infrastructure...without modification... sounds very debianish. > > 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="YES" > becomes postgresql84_enable="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. > Slight addition... 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) -- Michelle Sullivan http://www.mhix.org/