--- postgis-1.3.5.orig/debian/README.Debian +++ postgis-1.3.5/debian/README.Debian @@ -0,0 +1,234 @@ +Debian README for Postgis +========================= + +These are the PostGIS packages for Debian. PostGIS is split into three +Debian packages: + +postgresql-8.3-postgis + This is the PostGIS module for the PostgreSQL server itself. It contains + the library which is loaded by the server (liblwgeom.so.1.1), the SQL script + for creating the SQL functions in a given database (lwpostgis.sql), and an + SQL script which contains the OpenGIS Spatial References + (spatial_ref_sys.sql). + + NOTE: To install PostGIS you must run the lwpostgis.sql script in each + PostgreSQL database you want PostGIS in as the PostgreSQL superuser + (generally the 'postgres' user)! The Debian utilities do not do + this automatically as they can't be sure what state your database is in, + what database(s) you would want PostGIS installed in, or how to + authenticate as the PostgreSQL superuser to your database. It is likely + that a PostGIS user would also want the Spatial References installed and + so it is recommended that the spatial_ref_sys.sql also be run in each + database you have PostGIS installed in. + + These scripts can be found in the /usr/share/postgresql-8.3/postgis + directory. + +postgis + This package contains the user-oriented PostGIS utilities for loading + data into and pulling data out of a PostGIS-enabled PostgreSQL database. + These utilities are: pgsql2shp and shp2pgsql. These utilities can be + installed and used separately from the server module on client machines. + +libpostgis-java + This package contains the Java library for using JDBC with a PostGIS- + enabled PostgreSQL server. + + + +How to create a Postgis-enabled database +======================================== + +Type as root: + + # Become a postgresql superuser + su - postgres + + # Create the user (allowed to log in and with password) + createuser -l -W + + # Shall the new role be a superuser? (y/n) n + # Shall the new role be allowed to create databases? (y/n) n + # Shall the new role be allowed to create more new roles? (y/n) n + # Password: + + # create database ownered by user + createdb --o + + # Need to enable plpgsql for the database before loading the functions + createlang plpgsql -d + + # Finally, load the functions and reference system tables + psql -f /usr/share/postgresql-8.3-postgis/lwpostgis.sql + psql -f /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql + + # login in new database (still as superuser postgres) + psql + + # grant privilege on standard ogc tables to user + grant all on geometry_columns to ; + grant select on spatial_ref_sys to ; + + # exit from postgres + \q + + # log out from unix user postgres and from root. As normal user, enter + # in your new db: + psql -h -U -d + + # you are in your new geodb + # have a look of tables + \dt + + # have a look of functions + \df + + # have a look of spatial_ref_sys + select * from spatial_ref_sys; + + + +How to create a Postgis-enabled template database +================================================= + +If you want to create a template_gis to use as template for every new +geodatabase, type as root: + + # Become a postgresql superuser + su - postgres + + # create database (owner:postgres) + createdb template_gis + + # Need to enable plpgsql for the database beforeloading the functions + createlang plpgsql -d template_gis + + # Finally, load the functions and reference system tables + psql template_gis -f /usr/share/postgresql-8.3-postgis/lwpostgis.sql + psql template_gis -f /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql + + # login in new database (still as superuser postgres) + psql template_gis + + # transform new db in template + update pg_database SET datistemplate='true' where datname='template_gis'; + + # exit from postgres + \q + + +How to create a Postgis-enabled database using the template +=========================================================== + +Type as root: + + # Become a postgresql superuser (or another superuser if there is) + su - postgres + + # Create the user (allowed to log in and with password, wich must + # beo wner of new db) skip if you still have your user + createuser -l -W + + # Shall the new role be a superuser? (y/n) n + # Shall the new role be allowed to create databases? (y/n) n + # Shall the new role be allowed to create more new roles? (y/n) n + # Password: + + # create database (from template_gis) ownered by user + createdb --o - T template_gis + + # login in new database (still as superuser postgres) + psql + + # grant privilege on standard ogc tables to user + grant all on geometry_columns to ; + grant select on spatial_ref_sys to ; + + # exit from postgres + \q + + # log out from unix user postgres and from root. As normal user, enter + # in your new db: + psql -h -U -d + + # you are in your new geodb + # have a look of tables + \dt + + # have a look of functions + \df + + # have a look of spatial_ref_sys + select * from spatial_ref_sys; + + +Upgrading existing spatial databases +==================================== + +Upgrading existing spatial databases can be tricky as it requires +replacement or introduction of new PostGIS object definitions. + +Unfortunately not all definitions can be easily replaced in +a live database, so sometimes your best bet is a dump/reload +process. + +PostGIS provides a SOFT UPGRADE procedure for minor or bugfix +releases, and an HARD UPGRADE procedure for major releases. + +--- SOFT UPGRADE --- + +Soft upgrade consists of sourcing the lwpostgis_upgrade.sql +script in your spatial database: + + psql -f lwpostgis_upgrade.sql -d your_spatial_database + +If a soft upgrade is not possible the script will abort and +you will be warned about HARD UPGRADE being required, +so do not hesitate to try a soft upgrade first. + +--- HARD UPGRADE --- + +Hard upgrade is a PostgreSQL dump/restore procedure combined +with a filter to selectively update PostGIS functions and +objects to point to a new library version. + +Hard upgrades are required when object definitions have changed, +aggregates have changed or been added, and when the underlying +PostgreSQL database itself has undergone a major update. + +For this purpose, PostGIS provides a utility script to restore a dump +in "custom" format. The hard upgrade procedure is as follows: + + # Create a "custom-format" dump of the database you want + # to upgrade (let's call it "olddb") + $ pg_dump -Fc olddb olddb.dump + + # Restore the dump while upgrading postgis into + # a new database. + # Note: The new database does NOT have to exist. + # Let's call it "newdb" + $ sh utils/postgis_restore.pl lwpostgis.sql newdb olddb.dump > restore.log + + # Check that all restored dump objects really had to be + # restored from dump and do not conflict with the + # ones defined in lwpostgis.sql + $ grep ^KEEPING restore.log | less + + # If upgrading from PostgreSQL < 8.0 to >= 8.0 you will want to + # drop the attrelid, varattnum and stats columns in the geometry_columns + # table, which are no-more needed. Keeping them won't hurt. + # !!! DROPPING THEM WHEN REALLY NEEDED WILL DO HARM !!!! + $ psql newdb -c "ALTER TABLE geometry_columns DROP attrelid" + $ psql newdb -c "ALTER TABLE geometry_columns DROP varattnum" + $ psql newdb -c "ALTER TABLE geometry_columns DROP stats" + + # The spatial_ref_sys table is restored from the dump, to + # ensure your custom additions are kept, but the distributed + # one might contain modification so you should backup your + # entries, drop the table and source the new one. + # If you did make additions we assume you know how to backup them before + # upgrading the table. Replace it with the new like this: + $ psql newdb + newdb=> DELETE FROM spatial_ref_sys; + DROP + newdb=> \i spatial_ref_sys.sql --- postgis-1.3.5.orig/debian/rules +++ postgis-1.3.5/debian/rules @@ -0,0 +1,146 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +MAJOR_VERSION = $(shell grep REL_MAJOR_VERSION Version.config|cut -d= -f2) +MINOR_VERSION = $(shell grep REL_MINOR_VERSION Version.config|cut -d= -f2) +MICRO_VERSION = $(shell grep REL_MICRO_VERSION Version.config|cut -d= -f2) +VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: patch build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: + touch build-indep-stamp + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp + [ -f doc/html/postgis.html.prev ] && mv doc/html/postgis.html.prev doc/html/postgis.html || true + [ ! -f Makefile ] || $(MAKE) distclean + [ ! -f java/jdbc/Makefile ] || $(MAKE) -C java/jdbc clean + rm -f $(CURDIR)/debian/*.postinst $(CURDIR)/debian/*.postrm + dh_clean + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \ + --with-docdir=\$${prefix}/share/doc/postgis \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + # PostGIS JDBC (with debug support) + $(MAKE) -C java/jdbc clean + DEBUGJAR=postgis_debug.fastjar JAR=fastjar JAVAC=javac $(MAKE) -C java/jdbc jar + DEBUGJAR=postgis_debug.fastjar JAR=fastjar JAVAC=javac $(MAKE) -C java/jdbc install DESTDIR=$(CURDIR)/debian/libpostgis-java/usr/share/java/$(JAVA_PATH) + $(MAKE) distclean + dh_install -i + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + # Documentation and common files for PostGIS + [ ! -f doc/html/postgis.html.prev ] && cp doc/html/postgis.html doc/html/postgis.html.prev || true + # PostGIS for PostgreSQL 8.3 + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --with-docdir=$(CURDIR)/debian/postgis/usr/share/doc \ + --exec-prefix=\$${prefix}/lib/postgresql/8.3 \ + --datadir=\$${prefix}/share/postgresql-8.3-postgis \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --with-pgsql=/usr/lib/postgresql/8.3/bin/pg_config \ + --with-geos \ + --with-proj + $(MAKE) + $(MAKE) -C doc + $(MAKE) install prefix=$(CURDIR)/debian/postgresql-8.3-postgis/usr + $(MAKE) -C doc install prefix=$(CURDIR)/debian/postgis/usr + install -o root -g root -d $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib + mv $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/lib/liblwgeom.so.$(MAJOR_VERSION).$(MINOR_VERSION) \ + $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgis/$(VERSION)/postgres/8.3/lib + mv $(CURDIR)/debian/postgresql-8.3-postgis/usr/lib/postgresql/8.3/bin $(CURDIR)/debian/postgis/usr + $(MAKE) distclean + sed -e 's/@POSTGIS_VERSION@/1.3.5/' \ + -e 's/@POSTGRES_VERSION@/8.3/' \ + -e 's/@SOVERSION@/1.3/' \ + $(CURDIR)/debian/postgis-postgresql-generic.postinst.in >$(CURDIR)/debian/postgresql-8.3-postgis.postinst + sed -e 's/@POSTGRES_VERSION@/8.3/' \ + $(CURDIR)/debian/postgis-generic.postrm.in >$(CURDIR)/debian/postgis.postrm + dh_install -s + # copy utils + mkdir -p $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils + cp utils/*.pl utils/README $(CURDIR)/debian/postgresql-8.3-postgis/usr/share/postgresql-8.3-postgis/utils + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch --- postgis-1.3.5.orig/debian/compat +++ postgis-1.3.5/debian/compat @@ -0,0 +1 @@ +5 --- postgis-1.3.5.orig/debian/postgis-postgresql-generic.postinst.in +++ postgis-1.3.5/debian/postgis-postgresql-generic.postinst.in @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +# Creates a link for the shared lib in the postgres area +if [ "$1" = "configure" ]; then + if [ -f /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/liblwgeom.so.@SOVERSION@ ]; then + ln -f /usr/lib/postgis/@POSTGIS_VERSION@/postgres/@POSTGRES_VERSION@/lib/liblwgeom.so.@SOVERSION@ \ + /usr/lib/postgresql/@POSTGRES_VERSION@/lib/liblwgeom.so.@SOVERSION@ + fi +fi + +#DEBHELPER# + +exit 0 --- postgis-1.3.5.orig/debian/watch +++ postgis-1.3.5/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# You can run the "uscan" command to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://postgis.refractions.net/download/postgis-(.*)\.tar\.gz debian uupdate --- postgis-1.3.5.orig/debian/postgis-generic.postrm.in +++ postgis-1.3.5/debian/postgis-generic.postrm.in @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +# Removes all postgis shared libs links +if [ "$1" = "purge" ]; then + for version in @POSTGRES_VERSION@ + do + find /usr/lib/postgresql/$version/lib -type f -name "liblwgeom.so.*" -delete || true + done +fi + +#DEBHELPER# + +exit 0 --- postgis-1.3.5.orig/debian/copyright +++ postgis-1.3.5/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Fabio Tranchitella on +Mon, 15 May 2006 14:49:25 +0200. + +Additional debianization and changes by Stephen Frost +on or about Wed, 31 May 2006 + +Additional debianization and changes by Stephen Frost +for PostGIS 1.2.1 on or about Mon, 28 May 2007 21:28:24 -0400 + +It was downloaded from http://www.postgis.org/download/ + +Copyright Holder: Refractions Research + Sandro Santilli, Paul Ramsey, + Jeff Lounsbury and Chris Hodgson + + lwgeom/lwgparse.c, lwgeom/wktparse.y and lwgeom/wktunparse.c: + Copyright holder: Ralph Mason ralph.mason@telogis.com, Telogis 2004 + + loader/dbfopen.c, loader/shapefil.h, loader/shpopen.c: + Copyright holder: Frank Warmerdam, warmerdam@pobox.com + + See CREDITS for a ful list of contributors. + + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- postgis-1.3.5.orig/debian/changelog +++ postgis-1.3.5/debian/changelog @@ -0,0 +1,410 @@ +postgis (1.3.5-1ubuntu2) karmic-proposed; urgency=low + + * Fixed libpostgis-java package FTBFS. + + -- Jean-Baptiste Lallement Wed, 23 Dec 2009 01:01:23 +0100 + +postgis (1.3.5-1ubuntu1) karmic-proposed; urgency=low + + * debian/postgis-generic.postrm.in : backport fix from 1.4.0-2 to not stop + on error in postrm if the target dir does not exist. (LP: #392143) + + -- Jean-Baptiste Lallement Sun, 13 Dec 2009 12:51:04 +0100 + +postgis (1.3.5-1) unstable; urgency=low + + * New upstream release. + * debian/control: bumped Standard-Versions to 3.8.0, no changes needed. + * debian/rules: copy utils/*.pl to the binary package. (Closes: #491154) + + -- Fabio Tranchitella Thu, 05 Mar 2009 22:47:15 +0100 + +postgis (1.3.3-3) unstable; urgency=low + + * Added Vcs-* fields in debian/control. + * Fixed download URL in debian/copyright. + * Now it installs the shared lib in a private postgis path and makes a + hard link in the postgres library path at configure time. That would + allow coexistence of different flavors of the library which could be + used by different DBs at run-time and allowing soft/hard-upgrade scripts + working. (closes: #441794, #441797) + + -- Francesco Paolo Lovergine Mon, 09 Jun 2008 13:03:04 +0200 + +postgis (1.3.3-2) unstable; urgency=high + + * Dropped postgresql 8.2 support due to removal in Lenny. + (closes: #474287) + + -- Francesco Paolo Lovergine Fri, 06 Jun 2008 23:57:45 +0200 + +postgis (1.3.3-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Tue, 15 Apr 2008 09:01:58 +0200 + +postgis (1.3.2-2) unstable; urgency=low + + * Add support for postgresql-8.3. (Closes: #466417, #471689) + + -- Fabio Tranchitella Wed, 19 Mar 2008 19:23:00 +0100 + +postgis (1.3.2-1) unstable; urgency=low + + [ Francesco Paolo Lovergine ] + * Added Homepage field in debian/control + * Fixed lintian warning: debian-rules-ignores-make-clean-error + + [ Fabio Tranchitella ] + * New upstream release. + * Updated Standard-Version to 3.7.3. + + -- Fabio Tranchitella Mon, 31 Dec 2007 10:57:12 +0100 + +postgis (1.3.1-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Mon, 10 Sep 2007 10:36:30 +0200 + +postgis (1.2.1-2) unstable; urgency=low + + * Added build-dep from libjts-java 1.7 + (closes: #425919) + * Added me among uploaders. + + -- Francesco Paolo Lovergine Sat, 16 Jun 2007 01:00:49 +0200 + +postgis (1.2.1-1) unstable; urgency=low + + * New upstream release. + * Migrate to PostgreSQL 8.2-only (Closes: #419297) + * Remove busted templategis from the build (new in 1.2.1 anyway). + (Currently attempts to install files in /etc/default, doesn't + respect $DESTDIR and overall looks like a godawful mess) + + -- Stephen Frost Fri, 13 Apr 2007 09:19:18 +0200 + +postgis (1.1.6-2) unstable; urgency=low + + * debian/README.Debian: added documentation for the new users on how to use + postgis and how to enable it for new or existent databases. + + -- Fabio Tranchitella Mon, 18 Dec 2006 17:19:27 +0100 + +postgis (1.1.6-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Tue, 7 Nov 2006 09:47:00 +0100 + +postgis (1.1.5-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Tue, 31 Oct 2006 21:56:32 +0100 + +postgis (1.1.4-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Fri, 6 Oct 2006 10:51:51 +0200 + +postgis (1.1.3-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Sun, 16 Jul 2006 22:19:25 +0200 + +postgis (1.1.2-1) unstable; urgency=low + + - Fabio Tranchitella + * New upstream release. (Closes: #314854) + * Renamed packages to follow the actual naming conventions. + (Closes: #312675) + * Re-packaging, let's try to have postgis in etch. (Closes: #309528, #310094) + * Fixed several FTBFS and uninstallable bugs. + (Closes: #316519, #335631, #363946, #323120) + * Fixed libpostgis-java package FTBFS. (Closes: #308848) + * Move to the new postgresql infrastructure. (Closes: #321913, #312676) + * Team maintainership, added myself as uploader. + + - Stephen Frost + * Added myself as uploader + * Removed Alex from uploaders (for now at least) + * Cleaned up doc/html/postgis.html handling + * Renamed postgis-common -> postgis + * Made postgis package Arch: any + * Moved PostGIS binaries into base postgis package + * Changed postgis package to only suggest server packages (could very + reasonably be installed on a non-server machine for the PostGIS + binaries) + * Dropped extra extraneous linking (previously the server module and + the binaries were linking to everything the Postgres server linked + to, unnecessary and potentially dangerous) + * Dropped support for 7.4, after discussion with Martin Pitt and others + it's clear that there isn't any need for a 7.4 version of PostGIS in + etch. + * New upstream release Closes: #311732 + + -- Stephen Frost Wed, 31 May 2006 16:33:48 -0400 + +postgis (1.1.0-7) unstable; urgency=low + + * postgresql-postgis-common should depend on postgresql-common | postgresql, + not the other way. + + -- Alex Bodnaru Tue, 21 Mar 2006 03:13:04 +0200 + +postgis (1.1.0-6) unstable; urgency=low + + * Closes: #312675 + postgresql-postgis-utils is the only utils package, replacing the + previous postgresql-pg_version-postgis-utils. a further elimination + of older method reminiscence. + + -- Alex Bodnaru Sat, 18 Mar 2006 23:13:04 +0200 + +postgis (1.1.0-5) unstable; urgency=low + + * Closes: #312675 + postgresql-postgis-utils is the only utils package, replacing the + previous postgresql-pg_version-postgis-utils. + * Closes: 335631 + Depends on libgeos which passed c2 ABI transition. + * Uses /usr/share/postgresql-common/supported-versions to dynamically + detect postgresql supported versions. thanks martin. + + -- Alex Bodnaru Thu, 9 Mar 2006 04:26:05 +0200 + +postgis (1.1.0-4) unstable; urgency=low + + * made invariable control file to match standards. the control file + may be made automatically by calling 'debian/rules maintainer-configure' + * the supported postgresql versions may be filtered, by filling + 'debian/_supported.postgresql'. + * the postgis binary packages have been renamed, to obey the postgresql + standard for extension packages: now their name allways begins with + 'postgresql', eventually followed by the postgresql major and minor + version, if a specific one is needed. + 'libpostgis' has become 'postgis'. + + -- Alex Bodnaru Mon, 27 Feb 2006 03:26:15 +0200 + +postgis (1.1.0-3) unstable; urgency=low + + * minor bug fixes + * recompilation + + -- Alex Bodnaru Sun, 26 Feb 2006 05:16:09 +0200 + +postgis (1.1.0-2) unstable; urgency=low + + * minor bug fixes + * the package builds again on systems without multiclustering postgresql. + + -- Alex Bodnaru Wed, 28 Dec 2005 07:11:39 +0200 + +postgis (1.1.0-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Wed, 21 Dec 2005 05:15:37 +0200 + +postgis (1.0.4-2) unstable; urgency=low + + * Closes: #321913 Closes: #312676 + Support of multiple postgis installations on the same postgresql server. + Please note: + - The template database will be template_gis#SONAME#, + - The famous (lw)?postgis.sql file will be postgis#SONAME#.sql, + where #SONAME# is roughly the major upstream postgis version. + * Closes: #323120 + The building process is autodetecting the appropriate postgresql-dev. + * README.Debian updated to support multiversion postgresql architecture. + * Closes: #314854 + Newer upstream version. + * Minor improvements to make the build process more quiet. + * Default variables are being kept in configuration files. Thus, the same + package diff will serve for postgis-0.9 and 1.0. + * Closes: #310100 + The template database is no longer been installed/removed with every + installation/remove/upgrade of postgis. It should have received finer + grained parameters, anyway . + + -- Alex Bodnaru Sun, 16 Oct 2005 03:31:03 +0200 + +postgis (0.9.2-1) unstable; urgency=low + + * Basic support for libpostgis0. + The only package(s) made are the library and examples one(s), so that + postgis-0.9.2 databases can be created and used, while not clashing with + files and utilities for postgis-1.0. + + -- Alex Bodnaru Sun, 9 Oct 2005 09:49:04 +0200 + +postgis (1.0.4-1) unstable; urgency=low + + * Automatic upstream version tracking. + * Closes: #316519 + Changed the dependencies in control file to work with multiversion + postgresql. + + -- Alex Bodnaru Sat, 1 Oct 2005 18:07:37 +0300 + +postgis (1.0.3-1) unstable; urgency=low + + * Automatic upstream version tracking. + * Adapted regress/test_index_concurrency to createdb.postgis method. + + -- Alex Bodnaru Thu, 1 Sep 2005 04:27:26 +0300 + +postgis (1.0.1-1) unstable; urgency=low + + * Automatic upstream version tracking. + * Closes: #309528 + binary-all has been separated from binary-arch + * Closes: #311732 + upstream fix: problem with ' char in field names. + * Closes: #310094 + all warnings have been clarified and/or the issues have been fixed + * libpostgis-java-debug has been split from libpostgis-java + * bug #308728 has been reassigned to postgresql + + -- Alex Bodnaru Fri, 27 May 2005 17:17:06 +0300 + +postgis (1.0.0-2) unstable; urgency=low + + * Closes: #308848 + gcj has been specifically set as the required java compiler, although other + java compilers would do as well + * Closes: #310101 + createdb.postgis documentation updated + + -- Alex Bodnaru Fri, 27 May 2005 05:02:45 +0300 + +postgis (1.0.0-1) unstable; urgency=low + + * First official release for the Debian archive. + * Corrected build-depends. + + -- Alex Bodnaru Thu, 5 May 2005 10:02:45 +0200 + +postgis (1.0.0RELEASE-4) unstable; urgency=low + + * example wkb_reader now compiles generically. tested with i386 and ppc. + + -- Alex Bodnaru Thu, 5 May 2005 05:14:02 +0300 + +postgis (1.0.0RELEASE-3) unstable; urgency=low + + * mktemplate_gis and rmtemplate_gis work on dash. + + -- Alex Bodnaru Sat, 30 Apr 2005 17:34:02 +0300 +postgis (1.0.0RELEASE-2) unstable; urgency=low + + * Fixed minor typos in manual pages. + * Documented the special debian usage of the ogc_test_suite. + * Fixed bug in automatic upstream version tracking. + + -- Alex Bodnaru Sat, 30 Apr 2005 16:25:22 +0300 + + +postgis (1.0.0RELEASE-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Sat, 30 Apr 2005 15:33:00 +0300 + +postgis (1.0.0RELEASE-1) unstable; urgency=low + + * Automatic upstream version tracking. + * added libpostgisjava replacement directive. + * improved automatic upstream version sensing: adding RELEASE for clean + upstream versions. + + -- Alex Bodnaru Sun, 24 Apr 2005 20:04:36 +0300 + +postgis (1.0.0RC6-6) unstable; urgency=low + + * renamed libpostgisjava to libpostgis-java + * specified libgeos2 version 2.1.1 and above as a dependency. + upstream authors will be warned to document this too. + + -- Alex Bodnaru Fri, 22 Apr 2005 18:49:01 +0200 + +postgis (1.0.0RC6-5) unstable; urgency=low + + * Cleaned up removal of .cvsignore files, so it will not be imposed on upstream. + * Added optional usage of postgresql-dev installed at custom location. + * NOTICE: Since manpages have been added and constantly updated after 1.0.0rc6 + was released, please copy them from postgis-cvs to the orig directory, or + use orig file uploaded with this package + * Improved the dependencies system, following suggestions from + Markus Schaber + + -- Alex Bodnaru Fri, 15 Apr 2005 14:49:01 +0200 + +postgis (1.0.0RC6-4) unstable; urgency=low + + * Adjusted useless i386-linux-gcc to gcc (existent for postgresql 7.4 only), thanks to comments from + Giuseppe Sacco + + -- Alex Bodnaru Tue, 12 Apr 2005 04:12:01 +0200 + +postgis (1.0.0RC6-3) unstable; urgency=low + + * Improved build-depends, thanks to comments from + Giuseppe Sacco + + -- Alex Bodnaru Mon, 11 Apr 2005 05:15:01 +0200 + +postgis (1.0.0RC6-2) unstable; urgency=low + + * Improved mktemplate_gis, and renamed from mktemplate_gis.sh. + * Updated man pages. + * Using createdb.postgis as the main method of creating gis enambled databases. + * Updated upstream testing scripts to use createdb.postgis. + * Fixind problem: postgres should be able to call mktemplate_gis. + + -- Alex Bodnaru Thu, 31 Mar 2005 05:05:41 +0200 + +postgis (1.0.0RC6-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Thu, 31 Mar 2005 05:05:41 +0200 + +postgis (1.0.0RC4-2) unstable; urgency=low + + * Minor bugfix in debian/rules + * Removed need for executable files in ./debian. rules is the only executable. + * Improvement for mktemplate_gis: now it may be run to grant full privileges to any user as argument. + + -- Alex Bodnaru Tue, 22 Mar 2005 03:51:20 +0200 + +postgis (1.0.0RC4-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Sun, 6 Mar 2005 05:06:51 +0200 + +postgis (1.0.0RC3-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Thu, 3 Mar 2005 04:30:58 +0200 + +postgis (1.0.0RC2-1) unstable; urgency=low + + * Automatic upstream version tracking. + + -- Alex Bodnaru Sun, 30 Jan 2005 05:18:50 +0200 + +postgis (0.9.0-1) unstable; urgency=low + + * Initial Release. + + -- Alex Bodnaru Sun, 7 Nov 2004 23:39:53 +0200 + --- postgis-1.3.5.orig/debian/control +++ postgis-1.3.5/debian/control @@ -0,0 +1,54 @@ +Source: postgis +Section: misc +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian GIS Project +Uploaders: Stephen Frost , Fabio Tranchitella , Francesco Paolo Lovergine +Build-Depends: debhelper (>= 5.0.0), autotools-dev, flex, bison, postgresql-server-dev-8.3, libgeos-dev, proj, libssl-dev, xsltproc, docbook, docbook-xsl, libpg-java, default-jdk, fastjar, libjts-java (>=1.7), dpatch +Standards-Version: 3.8.0 +Homepage: http://postgis.refractions.net/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-grass/packages/postgis/ +Vcs-Svn: svn://svn.debian.org/pkg-grass/packages/postgis/ + +Package: postgresql-8.3-postgis +Architecture: any +Depends: ${shlibs:Depends}, postgis, postgresql-8.3 +Conflicts: postgis (<< 1.2.1) +Description: geographic objects support for PostgreSQL 8.3 + PostGIS adds support for geographic objects to the PostgreSQL object-relational + database. In effect, PostGIS "spatially enables" the PostgreSQL server, + allowing it to be used as a backend spatial database for geographic information + systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS + follows the OpenGIS "Simple Features Specification for SQL". + . + This package supports PostgreSQL 8.3. + +Package: postgis +Suggests: postgresql-8.3-postgis +Depends: ${shlibs:Depends} +Architecture: any +Description: geographic objects support for PostgreSQL -- common files + PostGIS adds support for geographic objects to the PostgreSQL object-relational + database. In effect, PostGIS "spatially enables" the PostgreSQL server, + allowing it to be used as a backend spatial database for geographic information + systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS + follows the OpenGIS "Simple Features Specification for SQL". + . + This package contains the PostGIS userland binaries, common files and + documentation. + +Package: libpostgis-java +Architecture: all +Section: science +Depends: libpg-java +Suggests: postgresql-8.3-postgis +Conflicts: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java +Replaces: libpostgis-jdbc, libpostgisjava, postgresql-postgis-java +Description: geographic objects support for PostgreSQL -- JDBC support + PostGIS adds support for geographic objects to the PostgreSQL object-relational + database. In effect, PostGIS "spatially enables" the PostgreSQL server, + allowing it to be used as a backend spatial database for geographic information + systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS + follows the OpenGIS "Simple Features Specification for SQL". + . + This package contains JDBC support for PostGIS. --- postgis-1.3.5.orig/debian/patches/00list +++ postgis-1.3.5/debian/patches/00list @@ -0,0 +1 @@ +# no patches --- postgis-1.3.5.orig/debian/patches/DPATCH +++ postgis-1.3.5/debian/patches/DPATCH @@ -0,0 +1,16 @@ +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" + +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch $patch_opts -p1 < $0;; + -unpatch) patch $patch_opts -p1 -R < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0