ports/143136: [PATCH] databases/postgis: Update to 1.4.1
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Sat Jan 23 21:40:03 UTC 2010
>Number: 143136
>Category: ports
>Synopsis: [PATCH] databases/postgis: Update to 1.4.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 23 21:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 09:16:17 CST
>Description:
Changes:
- Update to 1.4.1
- Use PORTVERSION instead.
[DESCRIBE CHANGES]
Port maintainer (anderson at cnpm.embrapa.br) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- postgis-1.4.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/databases/postgis/Makefile /usr/ports/sunpoet/postgis/Makefile
--- /usr/ports/databases/postgis/Makefile 2009-12-21 17:44:28.000000000 +0800
+++ /usr/ports/sunpoet/postgis/Makefile 2010-01-24 05:17:04.000000000 +0800
@@ -6,8 +6,7 @@
#
PORTNAME= postgis
-DISTVERSION= 1.4.0
-PORTREVISION= 2
+PORTVERSION= 1.4.1
CATEGORIES= databases geography
MASTER_SITES= http://postgis.refractions.net/download/ \
http://www.postgis.org/download/
diff -ruN --exclude=CVS /usr/ports/databases/postgis/distinfo /usr/ports/sunpoet/postgis/distinfo
--- /usr/ports/databases/postgis/distinfo 2009-10-08 05:24:54.000000000 +0800
+++ /usr/ports/sunpoet/postgis/distinfo 2010-01-22 02:25:59.000000000 +0800
@@ -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 -ruN --exclude=CVS /usr/ports/databases/postgis/files/patch-postgis-Makefile.in /usr/ports/sunpoet/postgis/files/patch-postgis-Makefile.in
--- /usr/ports/databases/postgis/files/patch-postgis-Makefile.in 2009-10-26 18:06:14.000000000 +0800
+++ /usr/ports/sunpoet/postgis/files/patch-postgis-Makefile.in 2010-01-22 11:41:48.000000000 +0800
@@ -1,5 +1,5 @@
---- postgis/Makefile.in.orig 2009-06-06 11:09:39.000000000 -0300
-+++ postgis/Makefile.in 2009-09-20 09:48:02.000000000 -0300
+--- 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 @@
MODULE_big=postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@
@@ -9,18 +9,26 @@
+override pkglibdir := $(PREFIX)/lib/postgresql
+
# Files to be copied to the contrib/ directory
- DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade.sql
+ 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=../spatial_ref_sys.sql
-@@ -73,10 +77,10 @@
+@@ -73,16 +77,16 @@
# 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 $< > $@
+ postgis_upgrade_14_minor.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
+- $(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
--- postgis-1.4.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list