pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/postgresql-postgis2 postgresql-postgis2: Upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3517cec5b1f8
branches:  trunk
changeset: 771412:3517cec5b1f8
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Dec 18 15:13:02 2021 +0000

description:
postgresql-postgis2: Update to 3.2.0

See NEWS in sources for details.  A summary of upstream NEWS:


* Enhancements and bugfixes


PostGIS 3.2.0 (Olivier Courtin Edition)
2021/12/17
This version requires PostgreSQL 9.6 or higher, GEOS 3.6 or higher
, and Proj 4.9+.
Additional features are enabled if you are running GEOS 3.9+
(and ST_MakeValid enhancements with 3.10+),
Proj 6.1+, and PostgreSQL 14+.
Due to some query performance degradation
with the new fast index build that requires PG14,
we have decided to disable the feature by default
until we get more user testing
as to the true impact of real-world queries.
If you are running PG14+, you can reenable it by doing

ALTER OPERATOR FAMILY gist_geometry_ops_2d USING gist
     ADD FUNCTION 11 (geometry)
     geometry_gist_sortsupport_2d (internal);
and then reindex your gist indexes.

To revert back to the old index behavior:
   ALTER OPERATOR FAMILY gist_geometry_ops_2d using gist
     DROP FUNCTION 11 (geometry);

and then reindex your gist indexes.

 * Breaking changes *
  - #5008, Empty geometries are not reported as being within Infinite
           distance by ST_DWithin (Sandro Santilli)
  - #4824, Removed `--without-wagyu` build option. Using Wagyu is now mandatory to build with MVT support.
  - #4933, topology.GetFaceByPoint will not work with topologies having invalid edge linking.
  - #4981, ST_StartPoint support any geometry. No longer returns null for non-linestrings.
  - #4149, ST_AsMVTGeom now preserves more of original geometry's details at scale close to target extent.
           If you need previous simplifying behaviour, you can ST_Simplify the geometry in advance.
           (Darafei Praliaskouski)
  - Proj 4.9 or higher is required
  - #5000, Turn off Window support in ST_AsMVT aggregate
        as no real use-case for it and it crashes with random input
        (Paul Ramsey)

 * New features*
  - #4923, topology.ValidateTopologyRelation (Sandro Santilli)
  - #4933, topology.GetFaceContainingPoint (Sandro Santilli)
  - #2175, ST_Scroll (Sandro Santilli)
  - #4841, FindTopology to quickly get a topology record (Sandro Santilli)
  - #4869, FindLayer to quickly get a layer record (Sandro Santilli)
  - #4851, TopoGeom_addTopoGeom function (Sandro Santilli)
  - ST_MakeValid(geometry, options) allows alternative validity building
    algorithms with GEOS 3.10 (Paul Ramsey)
  - ST_InterpolateRaster() fills in raster cells between sample points
    using one of a number of algorithms (inverse weighted distance, average, etc)
    using algorithms from GDAL
    (Paul Ramsey)
  - ST_Contour() generates contour lines from raster values
    using algorithms from GDAL (Paul Ramsey)
  - ST_SetZ()/ST_SetM() fills in z/m coordinates of a geometry using data read
    from a raster (Paul Ramsey)
  - New postgis.gdal_vsi_options GUC allows out-db rasters on VSI network
    services to be accessed with authentication keys, etc. (Paul Ramsey)
  - ST_DumpSegments returns a set of segments of input geometry (Aliaksandr Kalenik)
  - #4859, ST_Point, ST_PointZ, ST_PointM, ST_PointZM, constructors
    with SRID parameter (Paul Ramsey)
  - #4808, ST_ClusterKMeans now supports max_radius argument. Use it when you're not sure what is
    the number of clusters but you know what the size of clusters should be. (Darafei Praliaskouski)

diffstat:

 databases/postgresql-postgis2/Makefile                         |   8 +-
 databases/postgresql-postgis2/PLIST                            |  38 +++++++++-
 databases/postgresql-postgis2/distinfo                         |   9 +-
 databases/postgresql-postgis2/patches/patch-loader_Makefile.in |  17 ----
 4 files changed, 45 insertions(+), 27 deletions(-)

diffs (192 lines):

diff -r 8bd0ca61db1e -r 3517cec5b1f8 databases/postgresql-postgis2/Makefile
--- a/databases/postgresql-postgis2/Makefile    Sat Dec 18 15:07:34 2021 +0000
+++ b/databases/postgresql-postgis2/Makefile    Sat Dec 18 15:13:02 2021 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.106 2021/12/10 14:26:23 gdt Exp $
+# $NetBSD: Makefile,v 1.107 2021/12/18 15:13:02 gdt Exp $
 
 # Note that the directory is still postgis2, for historical reasons.
 # It remains, due to inertia, until there is a good basis to be sure
 # no other changes will be needed.
-MAJOR=         3.1
-DISTNAME=      postgis-${MAJOR}.4
+MAJOR=         3.2
+DISTNAME=      postgis-${MAJOR}.0
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
-PKGREVISION=   6
+#PKGREVISION=  0
 CATEGORIES=    databases geography
 MASTER_SITES=  https://download.osgeo.org/postgis/source/
 
diff -r 8bd0ca61db1e -r 3517cec5b1f8 databases/postgresql-postgis2/PLIST
--- a/databases/postgresql-postgis2/PLIST       Sat Dec 18 15:07:34 2021 +0000
+++ b/databases/postgresql-postgis2/PLIST       Sat Dec 18 15:13:02 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2021/09/05 00:36:29 gdt Exp $
+@comment $NetBSD: PLIST,v 1.28 2021/12/18 15:13:02 gdt Exp $
 bin/pgsql2shp
 bin/raster2pgsql
 bin/shp2pgsql
@@ -27,7 +27,12 @@
 share/postgresql/contrib/postgis-${MAJOR}/uninstall_topology.sql
 share/postgresql/extension/postgis--${PKGVERSION}--${PKGVERSION}next.sql
 share/postgresql/extension/postgis--${PKGVERSION}.sql
+share/postgresql/extension/postgis--${PKGVERSION}alpha1--${PKGVERSION}.sql
+share/postgresql/extension/postgis--${PKGVERSION}beta1--${PKGVERSION}.sql
+share/postgresql/extension/postgis--${PKGVERSION}beta2--${PKGVERSION}.sql
+share/postgresql/extension/postgis--${PKGVERSION}beta3--${PKGVERSION}.sql
 share/postgresql/extension/postgis--${PKGVERSION}next--${PKGVERSION}.sql
+share/postgresql/extension/postgis--${PKGVERSION}rc1--${PKGVERSION}.sql
 share/postgresql/extension/postgis--2.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis--2.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis--2.0.2--${PKGVERSION}.sql
@@ -83,22 +88,31 @@
 share/postgresql/extension/postgis--2.5.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis--2.5.4--${PKGVERSION}.sql
 share/postgresql/extension/postgis--2.5.5--${PKGVERSION}.sql
+share/postgresql/extension/postgis--2.5.6dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.0.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.0.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.0.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis--3.0.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.1.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.1.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.1.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis--3.1.3--${PKGVERSION}.sql
+share/postgresql/extension/postgis--3.1.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis--3.1.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis--ANY--${PKGVERSION}.sql
 share/postgresql/extension/postgis--unpackaged--${PKGVERSION}.sql
 share/postgresql/extension/postgis--unpackaged.sql
 share/postgresql/extension/postgis.control
 share/postgresql/extension/postgis_raster--${PKGVERSION}--${PKGVERSION}next.sql
 share/postgresql/extension/postgis_raster--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--${PKGVERSION}alpha1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--${PKGVERSION}beta1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--${PKGVERSION}beta2--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--${PKGVERSION}beta3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--${PKGVERSION}next--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--${PKGVERSION}rc1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--2.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--2.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--2.0.2--${PKGVERSION}.sql
@@ -154,22 +168,31 @@
 share/postgresql/extension/postgis_raster--2.5.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--2.5.4--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--2.5.5--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--2.5.6dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.0.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.0.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.0.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--3.0.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.1.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.1.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.1.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--3.1.3--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--3.1.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_raster--3.1.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--ANY--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--unpackaged--${PKGVERSION}.sql
 share/postgresql/extension/postgis_raster--unpackaged.sql
 share/postgresql/extension/postgis_raster.control
 share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}--${PKGVERSION}next.sql
 share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}alpha1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}beta1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}beta2--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}beta3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}next--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}rc1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--2.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--2.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--2.0.2--${PKGVERSION}.sql
@@ -225,21 +248,30 @@
 share/postgresql/extension/postgis_tiger_geocoder--2.5.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--2.5.4--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--2.5.5--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--2.5.6dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.0.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.0.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.0.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--3.0.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.1.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.1.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.1.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--3.1.3--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--3.1.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_tiger_geocoder--3.1.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--ANY--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder--unpackaged--${PKGVERSION}.sql
 share/postgresql/extension/postgis_tiger_geocoder.control
 share/postgresql/extension/postgis_topology--${PKGVERSION}--${PKGVERSION}next.sql
 share/postgresql/extension/postgis_topology--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--${PKGVERSION}alpha1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--${PKGVERSION}beta1--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--${PKGVERSION}beta2--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--${PKGVERSION}beta3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--${PKGVERSION}next--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--${PKGVERSION}rc1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--2.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--2.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--2.0.2--${PKGVERSION}.sql
@@ -295,15 +327,19 @@
 share/postgresql/extension/postgis_topology--2.5.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--2.5.4--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--2.5.5--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--2.5.6dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.0.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.0.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.0.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.0.3--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.0.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--3.0.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.1.0--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.1.1--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.1.2--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--3.1.3--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--3.1.4--${PKGVERSION}.sql
+share/postgresql/extension/postgis_topology--3.1.5dev--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--ANY--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--unpackaged--${PKGVERSION}.sql
 share/postgresql/extension/postgis_topology--unpackaged.sql
diff -r 8bd0ca61db1e -r 3517cec5b1f8 databases/postgresql-postgis2/distinfo
--- a/databases/postgresql-postgis2/distinfo    Sat Dec 18 15:07:34 2021 +0000
+++ b/databases/postgresql-postgis2/distinfo    Sat Dec 18 15:13:02 2021 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.30 2021/11/01 13:48:41 gdt Exp $
+$NetBSD: distinfo,v 1.31 2021/12/18 15:13:02 gdt Exp $
 
-BLAKE2s (postgis-3.1.4.tar.gz) = 5d3f5e119436ff80204ed6307cba6b03db09e10780e4102012ffe03ec6093516
-SHA512 (postgis-3.1.4.tar.gz) = afd84b45b146bdae310580fc9f8a878dd658f9e74f99c41f5d143f32974d5f5017ab4190855dcaea915a31ac2a78d34bf5561f206965264de3252f2c2ac57683
-Size (postgis-3.1.4.tar.gz) = 17269391 bytes
-SHA1 (patch-loader_Makefile.in) = 2486bcb91f8ffa3a5b397ef3bffe4bfbdf1936f5
+BLAKE2s (postgis-3.2.0.tar.gz) = fffc30bc47de32d4d22634f7c9d326b8ae322a889cb51258a6c7f0ffc449f7a1
+SHA512 (postgis-3.2.0.tar.gz) = b49b2fbb88ec07981c0fd05400ad807e85553164023a4b47326c21f48b4e07827a183676c497ad6823dc3a6b97518e1d40906826b8a91739c96966d62858b2b5
+Size (postgis-3.2.0.tar.gz) = 16884722 bytes
diff -r 8bd0ca61db1e -r 3517cec5b1f8 databases/postgresql-postgis2/patches/patch-loader_Makefile.in
--- a/databases/postgresql-postgis2/patches/patch-loader_Makefile.in    Sat Dec 18 15:07:34 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-loader_Makefile.in,v 1.1 2021/11/01 13:48:41 gdt Exp $
-
-Respect LDFLAGS for shp2pgsql etc.
-
-https://trac.osgeo.org/postgis/ticket/5016
-
---- loader/Makefile.in.orig    2021-09-04 05:03:42.000000000 +0000
-+++ loader/Makefile.in
-@@ -28,6 +28,8 @@ SHELL = @SHELL@
- INSTALL = @INSTALL@
- LIBTOOL = @LIBTOOL@
- 
-+LDFLAGS = @LDFLAGS@
-+
- # Filenames with extension as determined by the OS
- POSTGIS-CLI=postgis@EXESUFFIX@
- PGSQL2SHP-CLI=pgsql2shp@EXESUFFIX@



Home | Main Index | Thread Index | Old Index