From anderson@cnpm.embrapa.br  Sun Feb 28 22:28:56 2010
Return-Path: <anderson@cnpm.embrapa.br>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 8F7D8106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Feb 2010 22:28:56 +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 C87718FC19
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Feb 2010 22:28:55 +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 3DC3773025
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Feb 2010 19:28:52 -0300 (BRT)
Received: from localhost (localhost [127.0.0.1])
	by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id 1A27C3F42C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Feb 2010 19:28:52 -0300 (BRT)
Received: from caraiba.cnpm.embrapa.br (localhost [127.0.0.1])
	by caraiba.cnpm.embrapa.br (Postfix) with ESMTP id 1611D3F42B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Feb 2010 19:28:52 -0300 (BRT)
Received: from caraiba.cnpm.embrapa.br ([127.0.0.1])
	by caraiba.cnpm.embrapa.br (caraiba.cnpm.embrapa.br [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4Ca-h1JYk66M for <FreeBSD-gnats-submit@freebsd.org>;
	Sun, 28 Feb 2010 19:28:51 -0300 (BRT)
Received: by caraiba.cnpm.embrapa.br (Postfix, from userid 1100)
	id B1E803F42A; Sun, 28 Feb 2010 19:28:51 -0300 (BRT)
Message-Id: <20100228222851.B1E803F42A@caraiba.cnpm.embrapa.br>
Date: Sun, 28 Feb 2010 19:28:51 -0300 (BRT)
From: Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
Reply-To: Anderson Soares Ferreira <anderson@cnpm.embrapa.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [maintainer-update] databases/postgis: Update to 1.5.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         144378
>Category:       ports
>Synopsis:       [maintainer-update] databases/postgis: Update to 1.5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 28 22:30:01 UTC 2010
>Closed-Date:    Fri Mar 26 03:01:22 UTC 2010
>Last-Modified:  Fri Mar 26 03:10:06 UTC 2010
>Originator:     Anderson Soares Ferreira
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
Embrapa Satellite Monitoring
>Environment:
System: FreeBSD caraiba.cnpm.embrapa.br 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu Jan 7 15:17:42 BRST 2010 anderson@caraiba.cnpm.embrapa.br:/usr/src/sys/amd64/compile/CARAIBA amd64

>Description:

Postgis update to 1.5.0

This is a major release adding a significant number of new features including:

    * New "geography" type for managing geodetic (lat/lon) data
    * Performance-enhanced distance calculations
    * GML and KML format readers
    * And more! 

For a complete list of new features, see http://postgis.refractions.net/news/20100204/

>How-To-Repeat:

>Fix:


--- postgis.patch begins here ---
diff -Nur postgis.old/Makefile postgis/Makefile
--- postgis.old/Makefile	2010-02-01 12:43:46.000000000 -0200
+++ postgis/Makefile	2010-02-28 18:50:44.000000000 -0300
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	postgis
-PORTVERSION=	1.4.1
+PORTVERSION=	1.5.0
 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	2010-02-01 12:43:46.000000000 -0200
+++ postgis/distinfo	2010-02-28 18:51:59.000000000 -0300
@@ -1,3 +1,3 @@
-MD5 (postgis-1.4.1.tar.gz) = 78d13c4294f3336502ad35c8a30e5583
-SHA256 (postgis-1.4.1.tar.gz) = 17d96c59e1653d7441c98ba0762b55cae3dc22f51e897294d3262dee22ba0a50
-SIZE (postgis-1.4.1.tar.gz) = 3273182
+MD5 (postgis-1.5.0.tar.gz) = 8c0d291296033deee4d7f545e5d8218f
+SHA256 (postgis-1.5.0.tar.gz) = f79e8f740d48367e5481183c33e09b860c2c4466b196ea99c5601db287e2d324
+SIZE (postgis-1.5.0.tar.gz) = 3752211
diff -Nur postgis.old/files/patch-doc-Makefile.in postgis/files/patch-doc-Makefile.in
--- postgis.old/files/patch-doc-Makefile.in	2009-10-07 11:10:58.000000000 -0300
+++ postgis/files/patch-doc-Makefile.in	2010-02-28 18:50:26.000000000 -0300
@@ -1,6 +1,24 @@
---- doc/Makefile.in.orig	2009-07-08 12:16:53.000000000 -0300
-+++ doc/Makefile.in	2009-09-20 10:12:53.000000000 -0300
-@@ -135,12 +135,12 @@
+--- doc/Makefile.in.orig	2010-01-11 23:00:56.000000000 -0200
++++ doc/Makefile.in	2010-02-28 17:04:05.000000000 -0300
+@@ -111,14 +111,14 @@
+ 	doxygen $<
+ 
+ images: 
+-	make -C html/image_src images
++
+ 	
+ clean:
+-	make -C html/image_src clean
++	gmake -C html/image_src clean
+ 	@rm -f postgis-out.xml postgis_aggs_mm.xml
+ 
+ maintainer-clean: clean
+-	make -C html/image_src clean
++	gmake -C html/image_src clean
+ 	@rm -f html/*.html \
+ 		postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf
+ 
+@@ -131,12 +131,13 @@
  	rm -f $(PGSQL_SHAREDIR)/contrib/postgis_comments.sql
  
  install: html/postgis.html man/shp2pgsql.1 man/pgsql2shp.1
@@ -16,6 +34,7 @@
 +	cp ../README.postgis $(DOCSDIR)/README.postgis
 +	cp man/pgsql2shp.1 $(PREFIX)/man/man1/pgsql2shp.1
 +	cp man/shp2pgsql.1 $(PREFIX)/man/man1/shp2pgsql.1
++	gmake -C html/image_src install
  
  uninstall:
  	rm -f $(PGSQL_DOCDIR)/postgis/postgis.html
diff -Nur postgis.old/files/patch-doc-html-image_src-Makefile.in postgis/files/patch-doc-html-image_src-Makefile.in
--- postgis.old/files/patch-doc-html-image_src-Makefile.in	1969-12-31 21:00:00.000000000 -0300
+++ postgis/files/patch-doc-html-image_src-Makefile.in	2010-02-28 18:50:26.000000000 -0300
@@ -0,0 +1,33 @@
+--- doc/html/image_src/Makefile.in.orig	2010-01-11 15:31:49.000000000 -0200
++++ doc/html/image_src/Makefile.in	2010-02-28 17:43:56.000000000 -0300
+@@ -83,7 +83,17 @@
+ 	../images/st_touches04.png \
+ 	../images/st_touches05.png \
+ 	../images/st_touches06.png \
+-	../images/st_within01.png
++	../images/st_within01.png \
++	../images/caution.png \
++	../images/check.png \
++	../images/important.png \
++	../images/note.png \
++	../images/tip.png \
++	../images/warning.png \
++	../images/matrix_autocast.png \
++	../images/matrix_transform.png \
++	../images/matrix_checkmark.png
++
+ 
+ # Images that are created with dimensions 100x100
+ IMAGES_RESIZED= \
+@@ -132,5 +139,10 @@
+ clean:
+ 	@rm -f $(OBJS)
+ 	@rm -f generator
+-	@rm -f tmp[0-9].png
++	@rm -f tmp[0-9].png'
++
++install:
++	@mkdir -p $(DOCSDIR)/images
++	cp $(IMAGES) $(DOCSDIR)/images
++
+ 
diff -Nur postgis.old/files/patch-postgis-Makefile.in postgis/files/patch-postgis-Makefile.in
--- postgis.old/files/patch-postgis-Makefile.in	2010-02-01 12:43:46.000000000 -0200
+++ postgis/files/patch-postgis-Makefile.in	2010-02-28 18:50:26.000000000 -0300
@@ -1,34 +1,34 @@
---- postgis/Makefile.in.orig	2009-11-14 06:26:00.000000000 +0800
-+++ postgis/Makefile.in	2010-01-22 11:41:18.000000000 +0800
-@@ -12,6 +12,10 @@
- 
+--- postgis/Makefile.in.orig	2010-01-08 20:48:29.000000000 -0200
++++ postgis/Makefile.in	2010-02-28 14:18:37.000000000 -0300
+@@ -13,6 +13,10 @@
  MODULE_big=postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@
+ MODULEDIR=contrib/$(MODULE_big)
  
 +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_14_minor.sql postgis_upgrade_13_to_14.sql postgis_upgrade_12_to_14.sql
+ DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade_15_minor.sql postgis_upgrade_14_to_15.sql postgis_upgrade_13_to_15.sql
  DATA=../spatial_ref_sys.sql
-@@ -73,16 +77,16 @@
+@@ -103,16 +107,16 @@
  
  # 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/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@
 +	sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
  
- postgis_upgrade_14_minor.sql: postgis.sql
+ postgis_upgrade_15_minor.sql: postgis.sql
+-	$(PERL) ../utils/postgis_proc_upgrade.pl $< 1.5 > $@
++	%PERL% ../utils/postgis_proc_upgrade.pl $< 1.5 > $@
+ 
+ postgis_upgrade_14_to_15.sql: postgis.sql
 -	$(PERL) ../utils/postgis_proc_upgrade.pl $< 1.4 > $@
 +	%PERL% ../utils/postgis_proc_upgrade.pl $< 1.4 > $@
  
- postgis_upgrade_13_to_14.sql: postgis.sql
+ postgis_upgrade_13_to_15.sql: postgis.sql
 -	$(PERL) ../utils/postgis_proc_upgrade.pl $< 1.3 > $@
 +	%PERL% ../utils/postgis_proc_upgrade.pl $< 1.3 > $@
  
- postgis_upgrade_12_to_14.sql: postgis.sql
--	$(PERL) ../utils/postgis_proc_upgrade.pl $< 1.2 > $@
-+	%PERL% ../utils/postgis_proc_upgrade.pl $< 1.2 > $@
- 
  # Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor 
  $(SQL_OBJS): %.in: %.in.c
diff -Nur postgis.old/pkg-plist postgis/pkg-plist
--- postgis.old/pkg-plist	2010-02-01 12:43:46.000000000 -0200
+++ postgis/pkg-plist	2010-02-28 19:09:15.000000000 -0300
@@ -1,15 +1,15 @@
 bin/pgsql2shp
 bin/shp2pgsql
-lib/postgresql/postgis-1.4.so
-lib/postgresql/postgis.so
 lib/postgresql/liblwgeom.so
 lib/postgresql/liblwgeom.so.1
-%%DATADIR%%/contrib/postgis.sql
-%%DATADIR%%/contrib/postgis_upgrade_14_minor.sql
-%%DATADIR%%/contrib/postgis_upgrade_13_to_14.sql
-%%DATADIR%%/contrib/postgis_upgrade_12_to_14.sql
-%%DATADIR%%/contrib/spatial_ref_sys.sql
-%%DATADIR%%/contrib/uninstall_postgis.sql
+lib/postgresql/postgis-1.5.so
+lib/postgresql/postgis.so
+%%DATADIR%%/contrib/postgis-1.5/postgis.sql
+%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_13_to_15.sql
+%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_14_to_15.sql
+%%DATADIR%%/contrib/postgis-1.5/postgis_upgrade_15_minor.sql
+%%DATADIR%%/contrib/postgis-1.5/spatial_ref_sys.sql
+%%DATADIR%%/contrib/postgis-1.5/uninstall_postgis.sql
 %%DATADIR%%/utils/create_undef.pl
 %%DATADIR%%/utils/new_postgis_restore.pl
 %%DATADIR%%/utils/postgis_proc_upgrade.pl
@@ -17,7 +17,9 @@
 %%DATADIR%%/utils/profile_intersects.pl
 %%DATADIR%%/utils/test_estimation.pl
 %%DATADIR%%/utils/test_joinestimation.pl
-@dirrm %%DATADIR%%/utils
-@dirrm %%DATADIR%%/contrib
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%/utils
+@dirrmtry %%DATADIR%%/contrib/postgis-1.5
+@dirrmtry %%DATADIR%%/contrib
+@dirrmtry %%DATADIR%%
 @dirrmtry lib/postgresql
+@dirrmtry lib
--- postgis.patch ends here ---


---
Aviso de confidencialidade:

Esta mensagem da Empresa Brasileira de Pesquisa Agropecuria (Embrapa), 
empresa pblica federal regida pelo disposto na Lei Federal n 5.851, 
de 7 de dezembro de 1972,  enviada exclusivamente a seu destinatrio 
e pode conter informaes confidenciais, protegidas por sigilo profissional. 
Sua utilizao desautorizada  ilegal e sujeita o infrator s penas da lei. 
Se voc a recebeu indevidamente, queira, por gentileza, reenvi-la ao emitente, 
esclarecendo o equvoco.

Confidentiality note:

This message from Empresa Brasileira de Pesquisa Agropecuria (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:
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: wen 
Responsible-Changed-When: Mon Mar 1 02:23:31 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144378 

From: wen heping <wenheping@gmail.com>
To: bug-followup@FreeBSD.org, anderson@cnpm.embrapa.br
Cc:  
Subject: Re: ports/144378: [maintainer-update] databases/postgis: Update to 
	1.5.0
Date: Mon, 1 Mar 2010 15:19:08 +0800

 --00504502ad5fa4658d0480b810b6
 Content-Type: text/plain; charset=ISO-8859-1
 
 The patch has 2 problem:
 
 1 postgis-1.5 require postgresql>8.2, while default postgresql version is
 8.2 , so you should fix it.
 
 2 When NOPORTSDOC is defined, the build will fail. it should be fixed too.
 
 
 Regards,
 wen
 
 --00504502ad5fa4658d0480b810b6
 Content-Type: text/html; charset=ISO-8859-1
 
 The patch has 2 problem:<br><br>1 postgis-1.5 require postgresql&gt;8.2, while default postgresql version is<br>8.2 , so you should fix it.<br><br>2 When NOPORTSDOC is defined, the build will fail. it should be fixed too.<br>
 <br><br>Regards,<br>wen<br>
 
 --00504502ad5fa4658d0480b810b6--

From: Ralf Gebhart <gebhart@secnetix.de>
To: bug-followup@FreeBSD.org, anderson@cnpm.embrapa.br
Cc:  
Subject: Re: ports/144378: [maintainer-update] databases/postgis: Update to 1.5.0
Date: Tue, 2 Mar 2010 22:30:24 +0100

 There is a third problem:
 
 geos is listed in BUILD_DEPENDS , but as libgeos.so.* is required
 at runtime, it should be listet in LIB_DEPENDS or even RUN_DEPENDS (I'm not
 sure which one it should be).
 I just stumbled across that problem, when I tried to use postgis.
 
 -- 
 Ralf 'Snake' Gebhart

From: wen heping <wenheping@gmail.com>
To: Ralf Gebhart <gebhart@secnetix.de>
Cc: Anderson Soares Ferreira <anderson@cnpm.embrapa.br>, bug-followup@freebsd.org
Subject: Re: ports/144378: [maintainer-update] databases/postgis: Update to 
	1.5.0
Date: Wed, 3 Mar 2010 06:32:46 +0800

 --00504502ce94e1057f0480d8f140
 Content-Type: text/plain; charset=ISO-8859-1
 
 On Wed, Mar 3, 2010 at 5:40 AM, Ralf Gebhart <gebhart@secnetix.de> wrote:
 
 > The following reply was made to PR ports/144378; it has been noted by
 > GNATS.
 >
 > From: Ralf Gebhart <gebhart@secnetix.de>
 > To: bug-followup@FreeBSD.org, anderson@cnpm.embrapa.br
 > Cc:
 > Subject: Re: ports/144378: [maintainer-update] databases/postgis: Update to
 > 1.5.0
 > Date: Tue, 2 Mar 2010 22:30:24 +0100
 >
 >  There is a third problem:
 >
 >  geos is listed in BUILD_DEPENDS , but as libgeos.so.* is required
 >  at runtime, it should be listet in LIB_DEPENDS or even RUN_DEPENDS (I'm
 > not
 >  sure which one it should be).
 >  I just stumbled across that problem, when I tried to use postgis.
 >
 
 Thank you.
 
 I think it should in LIB_DEPENDS.
 
 wen
 
 
 >
 >  --
 >  Ralf 'Snake' Gebhart
 >
 
 --00504502ce94e1057f0480d8f140
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 <br><br><div class=3D"gmail_quote">On Wed, Mar 3, 2010 at 5:40 AM, Ralf Geb=
 hart <span dir=3D"ltr">&lt;<a href=3D"mailto:gebhart@secnetix.de">gebhart@s=
 ecnetix.de</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
 =3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); p=
 adding-left: 1ex;">
 <div class=3D"im">The following reply was made to PR ports/144378; it has b=
 een noted by GNATS.<br>
 <br>
 </div>From: Ralf Gebhart &lt;<a href=3D"mailto:gebhart@secnetix.de">gebhart=
 @secnetix.de</a>&gt;<br>
 <div class=3D"im">To: bug-followup@FreeBSD.org, <a href=3D"mailto:anderson@=
 cnpm.embrapa.br">anderson@cnpm.embrapa.br</a><br>
 Cc:<br>
 Subject: Re: ports/144378: [maintainer-update] databases/postgis: Update to=
  1.5.0<br>
 </div>Date: Tue, 2 Mar 2010 22:30:24 +0100<br>
 <br>
 =A0There is a third problem:<br>
 <br>
 =A0geos is listed in BUILD_DEPENDS , but as libgeos.so.* is required<br>
 =A0at runtime, it should be listet in LIB_DEPENDS or even RUN_DEPENDS (I&#3=
 9;m not<br>
 =A0sure which one it should be).<br>
 =A0I just stumbled across that problem, when I tried to use postgis.<br></b=
 lockquote><div><br>Thank you.<br><br>I think it should in LIB_DEPENDS.<br><=
 br>wen<br>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0=
 pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;=
 ">
 
 <br>
 =A0--<br>
 =A0Ralf &#39;Snake&#39; Gebhart<br>
 </blockquote></div><br>
 
 --00504502ce94e1057f0480d8f140--
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Fri Mar 26 03:01:20 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144378 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/144378: commit references a PR
Date: Fri, 26 Mar 2010 03:01:03 +0000 (UTC)

 wen         2010-03-26 03:00:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/postgis    Makefile distinfo pkg-plist 
     databases/postgis/files patch-doc-Makefile.in 
                             patch-postgis-Makefile.in 
   Added files:
     databases/postgis/files patch-doc-html-image_src-Makefile.in 
   Log:
   - Update to 1.5.0
   
   PR:             ports/144378
   Submitted by:   Anderson Soares Ferreira <anderson@cnpm.embrapa.br> (maintainer)
   
   Revision  Changes    Path
   1.58      +5 -3      ports/databases/postgis/Makefile
   1.30      +3 -3      ports/databases/postgis/distinfo
   1.2       +22 -3     ports/databases/postgis/files/patch-doc-Makefile.in
   1.1       +30 -0     ports/databases/postgis/files/patch-doc-html-image_src-Makefile.in (new)
   1.4       +13 -13    ports/databases/postgis/files/patch-postgis-Makefile.in
   1.14      +13 -11    ports/databases/postgis/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
