Created attachment 165283 [details]
patch against pristine databases/ to add postgis 2.2
As the documentation on how to submit new ports is rather outdated... here we go.
The PostGIS project released version 2.2 to support PostgreSQL 9.5 (PostGIS 2.1 does not work on PostgreSQL 9.5). A not-very-up-to-date chart is here:
As I needed PostGIS on PostgreSQL 9.5 quickly, I used the 2.1 port as a base for the 2.2 port. I'm quite happy to give this port to the maintainer of the other PostGIS verions - unless he resists: there it is.
On the other hand, this port is blocked by bug #206046 - without the PGXS framework knowing about perl I couldn't get the packaging straight.
Created attachment 165284 [details]
poudriere testport log
Note: the WWW site of the PostGIS project changed - the site at http://postgis.net is much more recent than the .org.
I'll take it and incorporate some changes I'm making to deal with the RASTER/Extensions thing and get it in. It also may be worth considering merging the many PostGIS port versions.
I'll also go ahead and update the website listed on the other ports.
*bump* I'd like this as well. I have my own version that I was about to submit until I saw this!
(In reply to Harrison Grundy from comment #3)
Are there plans to create a "meta" port like a databases/postgis pointing to the major postgis release (this for now: 2.2) ?
Maintaining databases/pgrouting, for now I have a dependency with postgis21 but in fact I need a dependency to postgis >= 21 and it will be better if I can use a RUN_DEPENDS to a single port (databases/postgis).
A commit references this bug:
Date: Sun Jun 5 16:21:56 UTC 2016
New revision: 416395
New port: databases/postgis22
PostGIS adds support for geographic objects to the PostgreSQL
object-relational database. In effect, PostGIS "spatially enables"
the PostgreSQL server, allowing it to be used as a backend spatial
database for geographic information systems (GIS), much like ESRI's
SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS
"Simple Features Specification for SQL" and has been certified as
compliant with the "Types and Functions" profile.
PostGIS development was started by Refractions Research as a project
in open source spatial database technology. PostGIS is released
under the GNU General Public License. PostGIS continues to be
developed by a group of contributors led by a Project Steering
Committee and new features continue to be added.
PR: 206049, 208513
Submitted by: Christoph Moench-Tegeder <email@example.com>, <firstname.lastname@example.org>, Rainer Hurling <email@example.com>
Approved by: Harrison Grundy <firstname.lastname@example.org> (maintainer postgis21)
Committed with the version from PR#208513