ports/141888: [maintainer-update] databases/postgis: Update to Postgis 1.4.1

Anderson Soares Ferreira anderson at cnpm.embrapa.br
Tue Dec 22 10:40:09 UTC 2009


>Number:         141888
>Category:       ports
>Synopsis:       [maintainer-update] databases/postgis: Update to Postgis 1.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 22 10:40:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anderson Soares Ferreira
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
Embrapa Satellite Monitoring 
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Oct 12 14:53:02 BRT 2009 root at caraiba.cnpm.embrapa.br:/usr/src/sys/amd64/compile/CARAIBA amd64

>Description:

Postgis update to 1.4.1

The 1.4.1 release of PostGIS is a minor release addressing a few issues that have been filed since the 1.4.0 release.

Bug Fixes:

* crash in ST_LineCrossingDirection
* segmentation faults in ST_Union with NULLs
* crash on very large numeric inputs
* ST_MakeLine crash server with NULLs
* inconsistent results when using the ~= operator
* ST_AsGML producing non-compliant GML
* memory issues with ST_As* functions
* ST_LineCrossingDirection should be negatively symmetric
* parsing problem for invalid higher dimensional geometries

>How-To-Repeat:

>Fix:
--- postgis.patch begins here ---
diff -Nur postgis.old/Makefile postgis/Makefile
--- postgis.old/Makefile	2009-12-21 07:48:02.000000000 -0200
+++ postgis/Makefile	2009-12-22 07:58:58.000000000 -0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	postgis
-DISTVERSION=	1.4.0
-PORTREVISION=	2
+DISTVERSION=	1.4.1
 CATEGORIES=	databases geography
 MASTER_SITES=	http://postgis.refractions.net/download/ \
   		http://www.postgis.org/download/
diff -Nur postgis.old/distinfo postgis/distinfo
--- postgis.old/distinfo	2009-10-07 13:48:06.000000000 -0300
+++ postgis/distinfo	2009-12-22 07:59:08.000000000 -0200
@@ -1,3 +1,3 @@
-MD5 (postgis-1.4.0.tar.gz) = bc5b97d5399bd20ca90bfdf784ab6c33
-SHA256 (postgis-1.4.0.tar.gz) = 71c5ffde54a2ecbb88fbffa12ca18c617ecfe2404fb9049940cd1b7a06a7e38d
-SIZE (postgis-1.4.0.tar.gz) = 3143966
+MD5 (postgis-1.4.1.tar.gz) = 78d13c4294f3336502ad35c8a30e5583
+SHA256 (postgis-1.4.1.tar.gz) = 17d96c59e1653d7441c98ba0762b55cae3dc22f51e897294d3262dee22ba0a50
+SIZE (postgis-1.4.1.tar.gz) = 3273182
diff -Nur postgis.old/files/patch-postgis-Makefile.in postgis/files/patch-postgis-Makefile.in
--- postgis.old/files/patch-postgis-Makefile.in	2009-10-26 07:43:00.000000000 -0200
+++ postgis/files/patch-postgis-Makefile.in	2009-12-22 08:17:59.000000000 -0200
@@ -1,26 +1,13 @@
---- postgis/Makefile.in.orig	2009-06-06 11:09:39.000000000 -0300
-+++ postgis/Makefile.in	2009-09-20 09:48:02.000000000 -0300
-@@ -12,6 +12,10 @@
- 
- MODULE_big=postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@
+--- postgis/Makefile.in.old	2009-12-22 08:10:52.000000000 -0200
++++ postgis/Makefile.in	2009-12-22 08:11:11.000000000 -0200
+@@ -19,6 +19,10 @@
+ # SQL objects (files requiring C pre-processing)
+ SQL_OBJS=postgis.sql.in uninstall_postgis.sql.in
  
 +override datadir := $(DATADIR)
 +override bindir := $(PREFIX)/bin
 +override pkglibdir := $(PREFIX)/lib/postgresql
 +
- # Files to be copied to the contrib/ directory
- DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade.sql
- DATA=../spatial_ref_sys.sql
-@@ -73,10 +77,10 @@
- 
- # Borrow the $libdir substitution from PGXS but customise by adding the version number
- %.sql: %.sql.in
--	sed 's,MODULE_PATHNAME,$$libdir/$*- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@,g' $< >$@
-+	sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
- 
- postgis_upgrade.sql: postgis.sql
--	$(PERL) ../utils/postgis_proc_upgrade.pl $< > $@
-+	%PERL% ../utils/postgis_proc_upgrade.pl $< > $@
- 
- # Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor 
- $(SQL_OBJS): %.in: %.in.c
+ # PostgreSQL objects
+ PG_OBJS=lwgeom_pg.o \
+ 	lwgeom_debug.o \
diff -Nur postgis.old/pkg-plist postgis/pkg-plist
--- postgis.old/pkg-plist	2009-10-26 07:43:00.000000000 -0200
+++ postgis/pkg-plist	2009-12-22 08:20:59.000000000 -0200
@@ -5,9 +5,11 @@
 lib/postgresql/liblwgeom.so
 lib/postgresql/liblwgeom.so.1
 %%DATADIR%%/contrib/postgis.sql
-%%DATADIR%%/contrib/postgis_upgrade.sql
 %%DATADIR%%/contrib/spatial_ref_sys.sql
 %%DATADIR%%/contrib/uninstall_postgis.sql
+%%DATADIR%%/contrib/postgis_upgrade_12_to_14.sql
+%%DATADIR%%/contrib/postgis_upgrade_13_to_14.sql
+%%DATADIR%%/contrib/postgis_upgrade_14_minor.sql
 %%DATADIR%%/utils/create_undef.pl
 %%DATADIR%%/utils/new_postgis_restore.pl
 %%DATADIR%%/utils/postgis_proc_upgrade.pl
--- postgis.patch ends here ---


---
Aviso de confidencialidade:

Esta mensagem da Empresa Brasileira de Pesquisa Agropecuária (Embrapa), 
empresa pública federal regida pelo disposto na Lei Federal nº 5.851, 
de 7 de dezembro de 1972, é enviada exclusivamente a seu destinatário 
e pode conter informações confidenciais, protegidas por sigilo profissional. 
Sua utilização desautorizada é ilegal e sujeita o infrator às penas da lei. 
Se você a recebeu indevidamente, queira, por gentileza, reenviá-la ao emitente, 
esclarecendo o equívoco.

Confidentiality note:

This message from Empresa Brasileira de Pesquisa Agropecuária (Embrapa), 
a government company established under Brazilian law (5.851/72), 
is directed exclusively to its addressee and may contain confidential data, 
protected under professional secrecy rules. Its unauthorized use is illegal 
and may subject the transgressor to the law's penalties. 
If you are not the addressee, please send it back, elucidating the failure. 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list