From owner-freebsd-ports@freebsd.org Tue Sep 20 20:27:30 2016 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 3BC10BE3D0F for ; Tue, 20 Sep 2016 20:27:30 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8873A5; Tue, 20 Sep 2016 20:27:29 +0000 (UTC) (envelope-from lbartoletti@tuxfamily.org) Received: from [192.168.0.66] (unknown [88.184.223.108]) by smtp1-g21.free.fr (Postfix) with ESMTP id 1BEB0B004EC; Tue, 20 Sep 2016 22:27:27 +0200 (CEST) To: freebsd-ports@freebsd.org, rhurlin@gwdg.de, sunpoet@FreeBSD.org, pgsql@FreeBSD.org From: "L.Bartoletti" Subject: [CFT][CFH] Uses for PostGis Message-ID: Date: Tue, 20 Sep 2016 22:27:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2016 20:27:30 -0000 Hello, As exposed on some postgis bugs. I propose an infrastructure framework for this ports. PostGis is not compatible with all versions of PostGreSQL (https://trac.osgeo.org/postgis/wiki/UsersWikiPostgreSQLPostGIS). So postgis.mk can check if a version of postgis is already installed and compatible, and check if postgresql is compatible too. What I've done: - Create the Uses file (Mk/Uses/postgis.mk) - Add a default version of postgis (Mk/bsd.default-versions.mk) - Modify all postgis Makefile. There may a problem with postgis21 which require a PGSQL version between 9.1 and 9.4 (Uses= pgsql:9.1+ pgsql:9.4- is it correct? Can we have bounded versions?) - Modify all dependent ports (Qgis, Pgrouting) All files can be downloaded from http://download.tuxfamily.org/bartcoding/postgis.tar.gz. You have several patch. The file all.diff contain... all patch. Can you help me to test this framework? Thank you in advance. Regards, Loïc BARTOLETTI PS: I can't send this mail to harrison.grundy at astrodoggroup.com maintainer of PostGis21