Commit graph

119 commits

Author SHA1 Message Date
triaxx
7c6a23818f postgresql-postgis2: Add 14 as acceptable pgsql version
pkgsrc changes:
---------------
  * Add 14 to PGSQL_VERSION_ACCEPTABLE to fix a dependency failure of
    geography/mapserver with PostgreSQL 14.
  * Fix BUILDLINK_ABI_DEPENDS that contained a hardcoded dependency.
  * Bump revision.
2021-12-28 21:10:53 +00:00
gdt
49d444ddc2 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)
2021-12-18 15:13:02 +00:00
gdt
8b7da11496 postgis: Add coment about running gdb on postgres during tests 2021-12-10 14:26:23 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
kim
fcb31ffb58 *: Revbump for protobuf-3.19.0
Fix for: Shared object "libprotobuf.so.29" not found
2021-11-11 12:02:46 +00:00
gdt
c3c81d2571 postgis: Respect LDFLAGS in shp2pgsql build
Resolves RELRO check failure.  Filed upstream.
2021-11-01 13:48:41 +00:00
nia
acde260c8b databases: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
2021-10-26 10:09:13 +00:00
kim
8f52ceaa4f *: Revbump for protobuf-3.18.0
Fix for: Shared object "libprotobuf.so.28" not found
2021-10-21 20:33:03 +00:00
nia
1094812f57 Recursive revbump for multimedia/libaom 2021-10-09 15:35:02 +00:00
nia
2946ea15ca databases: Remove SHA1 distfile hashes 2021-10-07 13:35:05 +00:00
adam
5e7c36d9d2 revbump for boost-libs 2021-09-29 19:00:02 +00:00
gdt
5377d8d6bf databases/postgresql-postgis2: Update to 3.1.4
Upstream changes: bug fixes
2021-09-05 00:36:29 +00:00
gdt
4e072df103 postgis2: Sort PLIST and drop comments (NFCI) 2021-09-04 18:56:47 +00:00
wiz
b8e1617491 *: recursive bump for openexr 3.1 2021-08-15 14:23:57 +00:00
gdt
534a257aa2 databases/postgresql-postgis2: Update to 3.1.3
Upstream changes: accomodate a breaking change in PostgreSQL 14 betas
2021-07-04 12:02:09 +00:00
gdt
13689c39cf databases/postgresql-postgis2: Upgrade to 3.1.2
Upstream changes: bugfixes
2021-05-25 00:29:33 +00:00
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
adam
423722857c Adjust PGSQL_VERSIONS_ACCEPTED 2021-05-24 08:23:18 +00:00
gdt
236142c284 revbump for gdal-lib udpate 2021-05-03 16:28:46 +00:00
adam
da0a125726 revbump for boost-libs 2021-04-21 13:24:06 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
adam
c9b3ac2dcf Revbump for multimedia/x265 update 2021-04-12 08:29:59 +00:00
gdt
f9e3549914 revbump for gdal-lib update 2021-03-01 19:23:07 +00:00
gdt
29b4d80e29 databases/postgresql-postgis2: revbump for geos update 2021-02-11 13:57:29 +00:00
gdt
cb991af278 databases/postgresql-postgis2: Update to 3.1.1
Upstream changes: bugfixes
2021-01-30 00:41:45 +00:00
gdt
7dc51c6fc6 postgis: Revbump for geos update 2021-01-03 01:28:49 +00:00
gdt
ee9bacb29f postgresql-postgis2: Update to 3.1.0
packaging changes:  PostgresQL 9.5 is no longer supported.

Upstream NEWS:

PostGIS 3.1.0
2020/12/18

This version requires PostgreSQL 9.6 or higher and GEOS 3.6 or higher
Additional features are enabled if you are running GEOS 3.9.

 * Breaking changes *
  - #4737, Bump minimum protobuf-c requirement to 1.1.0 (Raúl Marín)
           The configure step will now fail if the requirement isn't
           met or explicitly disabled (--without-protobuf)
  - #4258, Separated postgis_sfcgal from postgis
           into its own lib file and extension (Regina Obe)
  - #4577, Drop support for PostgreSQL 9.5 (Raúl Marín)
  - #4601, ST_TileEnvelope signature changed.
  - #3057, ST_Force3D, ST_Force3DZ, ST_Force3DM and ST_Force4D signatures changed.

* Deprecated signatures *
  - Function postgis_svn_version() replaced by postgis_lib_revision()
    (Sandro Santilli)
  - #4214, Deprecated ST_Count(tablename,...), ST_ApproxCount(tablename, ...)
           ST_SummaryStats(tablename, ..),
           ST_Histogram(tablename, ...), ST_ApproxHistogram(tablename, ...),
           ST_Quantile(tablename, ...), ST_ApproxQuantile(tablename, ...) removed.
           (Darafei Praliaskouski)

 * New features*
  - #4687, (GEOS 3.9+) MaximumInscribedCircle (Paul Ramsey)
  - (GEOS 3.9+) Optional gridSize parameter to ST_Union, ST_UnaryUnion,
           ST_Difference, ST_Intersection, ST_SymDifference, ST_Subdivide
           for overlay with exact tolerance (Sandro Santilli)
  - #4624, ST_HexagonGrid and ST_SquareGrid, set returning functions to
           generate tilings of the plane (Paul Ramsey)
  - #4624, ST_Hexagon and ST_Square, shape generators (Paul Ramsey)
  - #4804, (GEOS 3.9+) ST_ReducePrecision allows valid precision reduction
           (Paul Ramsey)
  - #4710, ST_ClusterKMeans now works with 3D geometries (Darafei Praliaskouski)
  - #4801, ST_ClusterKMeans supports weights in POINT[Z]M geometries
           (Darafei Praliaskouski)
  - #4805, _ST_SortableHash exposed to work around parallel soring performance issue
           in Postgres. If your table is huge, use ORDER BY _ST_SortableHash(geom)
           instead of ORDER BY geom to make parallel sort faster (Darafei Praliaskouski)
  - #4625, Correlation statistics now calculated.
           Run ANALYZE for BRIN indexes to start kicking in.
           (Darafei Praliaskouski)
  - #4698, Add a precision parameter to ST_AsEWKT (Raúl Marín)

 * Enhancements *
  - #4789, Sped up TopoJSON output for areal TopoGeometry with
           many holes (Sandro Santilli)
  - #4758, Improved topology noding robustness (Sandro Santilli)
  - Make ST_Subdivide interruptable (Sandro Santilli)
  - #4660, Changes in double / coordinate printing (Raúl Marín)
         - Use the shortest representation (enough to guarantee roundtrip).
         - Uses scientific notation for absolute numbers smaller than 1e-8.
           The previous behaviour was to output 0 for absolute values smaller than
           1e-12 and fixed notation for anything bigger than that.
         - Uses scientific notation for absolute numbers greater than 1e+15
           (same behaviour).
         - The precision parameter now also affects the scientific notation
           (before it was fixed [5-8]).
         - All output functions now respect the requested precision (without
           any limits).
         - The default precision is the same (9 for GeoJSON, 15 for everything else).
  - #4746, Micro optimizations to the serialization process (Raúl Marín)
  - #4623, Optimize varlena returning functions (Raúl Marín)
  - #4615, Speed up geojson output (Raúl Marín)
  - #4737, Improve performance and reduce memory usage in ST_AsMVT, especially in
           queries involving parallelism (Raúl Marín)
  - #4719, Fail fast when srids don't match ST_Intersection(geometry,raster)
           Also schema qualify calls in function. (Regina Obe)
  - #4784, Add ST_CollectionExtract(geometry) with default behaviour of
           extracting the components of highest coordinate dimension. (Paul Ramsey)
  - #4675, topology.GetRingEdges now implemented in C (Sandro Santilli)
  - #4672, Cache getSRSbySRID and getSRIDbySRS for better performance (Raúl Marín)
  - #4676, #4657 Avoid decompressing toasted geometries to read only the header
           (Raúl Marín)
  - #4677, Share gserialized objects between different cache types (Raúl Marín)
  - #4601, Add ST_TileEnvelope margin argument (Yuri Astrakhan)
  - #2972, Add quiet mode (-q) to pgsql2shp (Kristian Thy)
  - #3057, Optional value params for Force3D*, Force4D functions (Kristian Thy)
  - #4569, Allow unknown SRID geometry insertion into typmod SRID column (Paul Ramsey)
  - #4149, ST_Simplify(geom, 0) is now O(N).
           ST_Affine (ST_Translate, ST_TransScale, ST_Rotate) optimized.
           ST_SnapToGrid optimized. (Darafei Praliaskouski)
  - #4656, Cast a geojson_text::geometry for implicit GeoJSON ingestion (Raúl Marín)
2020-12-19 14:18:24 +00:00
riastradh
77697b790a Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
gdt
60af4569a9 postgis: Update to 3.0.3
Packaging changes: make bl3 refer to PGSQL_VERSION, not 12, reverting
an earlier change labeled "revbump" which does not make sense for such
a change.

Upstream changes: bugfixes
2020-11-25 01:04:53 +00:00
ryoon
4675ccbc79 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:06:42 +00:00
gdt
bf5a439fe8 postgis: Update to 3.0.2
pkgsrc changes: Adjust API_DEPENDS to 2.0.  I don't have a specific
reason, but the previous 1.4 is so ancient that accepting it defies
the Principle of Least Astonishment.

Note that regression tests crash, but in the same way as 3.0.1.
3.0.1, when committed, passed, and I believe this is about proj.

Upstream changes: Bug fixes
2020-10-04 00:08:38 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
leot
0e49372c4e *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:17:15 +00:00
gdt
9646b7d2f7 postgis: Simplify DESCR
There has been one package only for a long time, so don't explain
which it is.
2020-06-22 00:31:17 +00:00
gdt
8308d8922d database/postgresql-postgis2: Update to 3.0.1
Packaging changes: depend on protobuf-c and json-c


PostGIS 3.0.1
2020/02/20

* Breaking Changes *
  - #4637 svn number replaced by git hash in version output
    (Sandro Santilli, Regina Obe, Bas Couwenberg)

* New Features *
 - #4617, Add configure switch `--without-phony-revision` (Raúl Marín)
          Use to prevent postgis_revision.h from rebuilding
          (when building from tar ball) and building in a gitted folder.

* Bug Fixes and Enhancements *
  [many, see NEWS]


PostGIS 3.0.0
2019/10/20

This version requires PostgreSQL 9.5+-12 and GEOS >= 3.6+
Additional features enabled if you are running Proj6+, PostgreSQL 12
and GEOS 3.8.0

* Breaking Changes *
  - #4267, Bump minimum GEOS version to 3.6 (Regina Obe, Darafei Praliaskouski)
  - #3888, Raster support now available as a separate extension
           (Sandro Santilli)
  - #3807, Extension library files no longer include the minor version.
           Use New configure switch --with-library-minor-version
           if you need the old behavior (Regina Obe)
  - #4230, ND box operators (overlaps, contains, within, equals) now
           don't look on dimensions that aren't present in both operands.
           Please REINDEX your ND indexes after upgrade. (Darafei Praliaskouski)
  - #4229, Dropped support for PostgreSQL < 9.5. (Darafei Praliaskouski)
  - #4260, liblwgeom headers are not installed anymore.
           If your project depends on them available, please use
           librttopo instead. (Darafei Praliaskouski)
  - #4258, Remove SFCGAL support for ST_Area, ST_Distance, ST_Intersection,
           ST_Difference, ST_Union, ST_Intersects, ST_3DIntersects, ST_3DDistance
           and postgis.backend switch (Darafei Praliaskouski)
  - #4267, Enable Proj 6 deprecated APIs (Darafei Praliaskouski, Raúl Marín)
  - #4268, Bump minimum SFCGAL version to 1.3.1 (Darafei Praliaskouski)
  - #4331, ST_3DMakeBox now returns error instead of a miniscule box (Regina Obe)
  - #4342, Removed "versioned" variants of ST_AsGeoJSON and ST_AsKML (Paul Ramsey)
  - #4356, ST_Accum removed. Use array_agg instead. (Darafei Praliaskouski)
  - #4414, Include version number in address_standardizer lib (Raúl Marín)
  - #4334, Fix upgrade issues related to renamed function parameters (Raúl Marín)
  - #4442, raster2pgsql now skips NODATA tiles. Use -k option if you still want
           them in database for some reason. (Darafei Praliaskouski)
  - #4433, 32-bit hash fix (requires reindexing hash(geometry) indexes) (Raúl Marín)
  - #3383, Sorting now uses Hilbert curve and Postgres Abbreviated Compare.
           You need to REINDEX your btree indexes if you had them.
           (Darafei Praliaskouski)

* New Features *
  - #2902, postgis_geos_noop (Sandro Santilli)
  - #4128, ST_AsMVT support for Feature ID (Stepan Kuzmin)
  - #4230, SP-GiST and GiST support for ND box operators overlaps, contains,
           within, equals (Esteban Zimányi and Arthur Lesuisse from Université
           Libre de Bruxelles (ULB), Darafei Praliaskouski)
  - #4171, ST_3DLineInterpolatePoint (Julien Cabieces, Vincent Mora)
  - #4311, Introduce WAGYU to validate MVT polygons. This option requires a C++11
           compiler and will use CXXFLAGS (not CFLAGS). Add `--without-wagyu`
           to disable this option and keep the behaviour from 2.5 (Raúl Marín)
  - #1833, ST_AsGeoJSON(row) generates full GeoJSON Features (Joe Conway)
  - #3687, Casts json(geometry) and jsonb(geometry) for implicit GeoJSON
           generation (Paul Ramsey)
  - #4198, Add ST_ConstrainedDelaunayTriangles SFCGAL function (Darafei
           Praliaskouski)

* Enhancements *
  - #4322, Support for Proj 6+ API, bringing more accurate datum transforms
           and support for WKT projections
  [many more; see NEWS]
2020-06-22 00:30:17 +00:00
jperkin
38fe454b9c *: Apply revbump for graphics/giflib API change. 2020-06-05 12:48:58 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +00:00
nia
e68e44479d *: Remove references to postgres 94 2020-05-23 15:30:27 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
rillig
eeef25af2b databases/postgresql-postgis2: remove no-op SUBST block
The mentioned files don't contain any placeholder, and they are not
installed either.
2020-05-16 11:23:57 +00:00
rillig
e196a795de databases/postgresql-postgis2: remove outdated PGSQL_VERSIONS_ACCEPTED
This should have been PGSQL_VERSIONS_INCOMPATIBLE from the beginning, as
the comment above that line clearly said.
2020-05-16 11:08:59 +00:00
adam
7d4b705c63 revbump after boost update 2020-05-06 14:04:05 +00:00
gdt
3ab177afa6 Revbump for gdal-lib 2020-04-28 23:59:21 +00:00
adam
24daafa112 Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
gdt
4518909167 revbump to work around libtool bug triggered by geos update 2020-03-11 12:55:36 +00:00
wiz
4e3b1b97c2 librsvg: update bl3.mk to remove libcroco in rust case
recursive bump for the dependency change
2020-03-10 22:08:37 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
ryoon
eedd1e806f *: Recursive revbump from devel/boost-libs 2020-01-12 20:19:52 +00:00