From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 22 10:40:09 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2D721065694 for ; Tue, 22 Dec 2009 10:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9417C8FC23 for ; Tue, 22 Dec 2009 10:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBMAe9xq036948 for ; Tue, 22 Dec 2009 10:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBMAe9sW036947; Tue, 22 Dec 2009 10:40:09 GMT (envelope-from gnats) Resent-Date: Tue, 22 Dec 2009 10:40:09 GMT Resent-Message-Id: <200912221040.nBMAe9sW036947@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anderson Soares Ferreira Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D98D1065670 for ; Tue, 22 Dec 2009 10:36:32 +0000 (UTC) (envelope-from anderson@cnpm.embrapa.br) Received: from inga.cnpm.embrapa.br (inga.cnpm.embrapa.br [200.136.111.23]) by mx1.freebsd.org (Postfix) with ESMTP id A32718FC15 for ; Tue, 22 Dec 2009 10:36:31 +0000 (UTC) Received: from caraiba.cnpm.embrapa.br (caraiba.cnpm.embrapa.br [200.136.111.98]) by inga.cnpm.embrapa.br (Postfix) with ESMTP id 49A9F7301E for ; Tue, 22 Dec 2009 08:35:13 -0200 (BRST) Received: from localhost (localhost [127.0.0.1]) by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id E5F393F42C for ; Tue, 22 Dec 2009 08:36:28 -0200 (BRST) Received: from localhost (localhost [127.0.0.1]) by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id E37713F42B for ; Tue, 22 Dec 2009 08:36:28 -0200 (BRST) Received: from caraiba.cnpm.embrapa.br ([127.0.0.1]) by localhost (caraiba.cnpm.embrapa.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EISA5PHW-ZHj for ; Tue, 22 Dec 2009 08:36:28 -0200 (BRST) Received: by caraiba.cnpm.embrapa.br (Postfix, from userid 1100) id B46E43F42A; Tue, 22 Dec 2009 08:36:28 -0200 (BRST) Message-Id: <20091222103628.B46E43F42A@caraiba.cnpm.embrapa.br> Date: Tue, 22 Dec 2009 08:36:28 -0200 (BRST) From: Anderson Soares Ferreira To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/141888: [maintainer-update] databases/postgis: Update to Postgis 1.4.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anderson Soares Ferreira List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 10:40:09 -0000 >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@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-@POSTGIS_MAJOR_VERSION@.@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/$*-@POSTGIS_MAJOR_VERSION@.@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: