postgis 2.4.0

This is a prerequisite for upgrading to postgresql 10.0, but should
still be backwards compatible until postgres 9.3.

Closes #19113.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Felix Bünemann 2017-10-06 17:58:39 +02:00 committed by ilovezfs
parent c5581f53bb
commit fc09375733

View file

@ -1,8 +1,8 @@
class Postgis < Formula
desc "Adds support for geographic objects to PostgreSQL"
homepage "https://postgis.net/"
url "http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz"
sha256 "e92e34c18f078a3d1a2503cd870efdc4fa9e134f0bcedbbbdb8b46b0e6af09e4"
url "http://download.osgeo.org/postgis/source/postgis-2.4.0.tar.gz"
sha256 "02baa90f04da41e04b6c18eedfda53110c45ae943d4e65050f6d202f7de07d29"
bottle do
cellar :any
@ -117,11 +117,11 @@ class Postgis < Formula
def caveats
<<-EOS.undent
To create a spatially-enabled database, see the documentation:
https://postgis.net/docs/manual-2.2/postgis_installation.html#create_new_db_extensions
https://postgis.net/docs/manual-2.4/postgis_installation.html#create_new_db_extensions
If you are currently using PostGIS 2.0+, you can go the soft upgrade path:
ALTER EXTENSION postgis UPDATE TO "#{version}";
Users of 1.5 and below will need to go the hard-upgrade path, see here:
https://postgis.net/docs/manual-2.2/postgis_installation.html#upgrading
https://postgis.net/docs/manual-2.4/postgis_installation.html#upgrading
PostGIS SQL scripts installed to:
#{opt_pkgshare}