Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Jan 2007 15:25:36 -0200 (BRST)
From:      "Anderson S. Ferreira" <anderson@cnpm.embrapa.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/107489: [maintainer-update] databases/postgis: Upgrade to 1.2.0
Message-ID:  <20070103172536.4506616A453@caraiba.cnpm.embrapa.br>
Resent-Message-ID: <200701031750.l03HoOhu000653@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         107489
>Category:       ports
>Synopsis:       [maintainer-update] databases/postgis: Upgrade to 1.2.0
>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:   Wed Jan 03 17:50:24 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Anderson S. Ferreira
>Release:        FreeBSD 6.2-PRERELEASE amd64
>Organization:
Embrapa Monitoramento por Satélite
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Mon Dec 18 09:18:59 BRST 2006 root@caraiba.cnpm.embrapa.br:/usr/src/sys/amd64/compile/CARAIBA amd64

>Description:

>How-To-Repeat:

 The 1.2.0 release of PostGIS is a major new feature release, with the first PostGIS support for "curve" types, and initial support for the ISO SQL/MM suite of spatial database functions. Over time, the 1.2.X series will elabourate on the basic support provided in this release:

    * New Curve type, based on the ISO SQL/MM model for curves.
    * Index binding for curves, allowing them to use the same R-Tree indexes as the other types.
    * Serialization and deserialization functions for Curve, allowing them to be dumped and restored.
    * Performance shortcuts for Contains and Within to optimize point-in-polygon case.
    * Support for most of the ST_* and SE_* spatial SQL functions used by the ESRI ArcSDE spatial SQL interfaces.
    * Documentation of the new SQL/MM functions and Curve types. 

>Fix:

--- postgis.patch begins here ---
diff -Nur postgis/Makefile postgis/Makefile
--- postgis/Makefile	Tue Dec  5 06:53:16 2006
+++ postgis/Makefile	Wed Jan  3 15:12:42 2007
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	postgis
-DISTVERSION=	1.1.6
+DISTVERSION=	1.2.0
 CATEGORIES=	databases
 MASTER_SITES=	http://postgis.refractions.net/download/
 
@@ -23,7 +23,6 @@
 USE_PERL5_BUILD=	yes
 
 INSTALL_TARGET=	install
-USE_LDCONFIG=	no
 
 OPTIONS=	GEOS "Include GEOS - the OpenGIS 'Simple Features for SQL'" off \
 		UTF8 "UTF-8 support for shp2pgsql. (needs libiconv)" off
@@ -32,6 +31,7 @@
 CONFIGURE_ARGS=	--datadir=${PREFIX}/share/postgis \
 		--bindir=${PREFIX}/bin \
 		--libdir=${PREFIX}/lib \
+		--mandir=${PREFIX}/man \
 		--with-proj
 
 .include <bsd.port.pre.mk>
diff -Nur postgis/distinfo postgis/distinfo
--- postgis/distinfo	Tue Dec  5 06:53:16 2006
+++ postgis/distinfo	Wed Jan  3 14:41:47 2007
@@ -1,3 +1,4 @@
-MD5 (postgis-1.1.6.tar.gz) = d9df1ea49df747607e7ed9fdccf728cb
-SHA256 (postgis-1.1.6.tar.gz) = 18923e610e23e4c5fe706b5d52ff3d44fbddac9876775d36917268d32d7d1580
-SIZE (postgis-1.1.6.tar.gz) = 2039011
+SIZE (postgis-1.2.0.tar.gz) = 2077747
+SHA256 (postgis-1.2.0.tar.gz) = 7d8f5782ddca38199a1630765e4a2b6d7d703af0cc28d04685cbc6156177d9cb
+MD5 (postgis-1.2.0.tar.gz) = 59b5f89d0a0230b00d80e779bb517520
+
diff -Nur postgis/files/patch-lwgeom postgis/files/patch-lwgeom
--- postgis/files/patch-lwgeom	Mon Jul 10 07:47:53 2006
+++ postgis/files/patch-lwgeom	Wed Jan  3 14:46:57 2007
@@ -1,11 +1,11 @@
---- lwgeom/Makefile	Sun Jun 25 20:59:32 2006
-+++ lwgeom/Makefile	Wed Jul  5 16:29:07 2006
+--- lwgeom/Makefile	Tue Dec  5 17:07:00 2006
++++ lwgeom/Makefile	Wed Jan  3 14:45:49 2007
 @@ -129,7 +129,7 @@
  	$(PERL) ../utils/postgis_proc_upgrade.pl ../lwpostgis.sql > ../lwpostgis_upgrade.sql
  
- ../lwpostgis.sql: lwpostgis.sql.in long_xact.sql
+ ../lwpostgis.sql: lwpostgis.sql.in long_xact.sql.in sqlmm.sql.in sqldefines.h 
 -	cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
 +	cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$$libdir/liblwgeom.so.1:g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
  
- ../regress/lwpostgis.sql: lwpostgis.sql.in long_xact.sql
+ ../regress/lwpostgis.sql: lwpostgis.sql.in long_xact.sql.in sqlmm.sql.in sqldefines.h
  	cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's#@MODULE_FILENAME@#$(REGRESS_MODULE_FILENAME)#g;s#@POSTGIS_VERSION@#$(POSTGIS_VERSION)#g;s#@POSTGIS_SCRIPTS_VERSION@#$(SCRIPTS_VERSION)#g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
--- 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070103172536.4506616A453>