[SCM] postgis branch, master, updated. upstream/2.0.1-95-gcc7a441

Markus Wanner markus at bluegap.ch
Thu Sep 26 14:00:09 UTC 2013


The following commit has been merged in the master branch:
commit 677a81952a57a6cb893e24e2db908b3d019f69c4
Author: Markus Wanner <markus at bluegap.ch>
Date:   Thu Sep 26 15:46:46 2013 +0200

    Temporarily revert all of the scripts upgrade fixes.
    
    Finalize 2.1.0-3 for upload to unstable (to test the latest
    big-endian patches).

diff --git a/debian/changelog b/debian/changelog
index 1d902f5..016e904 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,10 @@
-postgis (2.1.0-3) UNRELEASED; urgency=low
+postgis (2.1.0-3) unstable; urgency=low
 
-  * Add transitional postgis-2.0-scripts packages for all Pg versions ever
-    supported. These effectively remove scripts and the postgis.control
-    file prior to installing a newer *-postgis-2.1-scrips package, which
-    Breaks+Replaces it. Add appropriate notification messages on upgrade.
   * Update patch upstream-r11934 to cover rev 11979, instead. It seems to
     be a more thorough fix. Add minor-r11979-correction patch to account
     for some new WARNINGs, that didn't appear, before.
 
- -- Markus Wanner <markus at bluegap.ch>  Wed, 25 Sep 2013 20:19:09 +0200
+ -- Markus Wanner <markus at bluegap.ch>  Thu, 26 Sep 2013 15:36:22 +0200
 
 postgis (2.1.0-2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index 3ebcf17..9537f89 100644
--- a/debian/control
+++ b/debian/control
@@ -101,42 +101,6 @@ Description: PostGIS "Lightweight Geometry" library - Development files
  processing functions, are implemented here.  This package contains
  the development files.
 
-Package: postgresql-8.4-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 8.4 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 8.4.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.0-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.0 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.0.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.1-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.1 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.1.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.2-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.2 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.2.
- .
- This is a transitional dummy package. It can safely be removed.
-
 Package: postgresql-9.3-postgis-2.1
 Depends: ${shlibs:Depends}, postgresql-9.3,
  postgresql-9.3-postgis-2.1-scripts, liblwgeom-2.1.0,
@@ -158,8 +122,6 @@ Package: postgresql-9.3-postgis-2.1-scripts
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: postgresql-9.3-postgis-2.1
-Replaces: postgresql-9.3-postgis-2.0-scripts (<< 2.1.0~)
-Breaks: postgresql-9.3-postgis-2.0-scripts (<< 2.1.0~)
 Description: Geographic objects support for PostgreSQL 9.3 -- scripts
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS "spatially enables"
diff --git a/debian/control.in b/debian/control.in
index 7c4b857..e3ab48c 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -122,8 +122,6 @@ Package: postgresql-PGVERSION-postgis-2.1-scripts
 Architecture: all
 Depends: ${misc:Depends}
 Recommends: postgresql-PGVERSION-postgis-2.1
-Replaces: postgresql-PGVERSION-postgis-2.0-scripts (<< 2.1.0~)
-Breaks: postgresql-PGVERSION-postgis-2.0-scripts (<< 2.1.0~)
 Description: Geographic objects support for PostgreSQL PGVERSION -- scripts
  PostGIS adds support for geographic objects to the PostgreSQL
  object-relational database. In effect, PostGIS "spatially enables"
@@ -134,39 +132,3 @@ Description: Geographic objects support for PostgreSQL PGVERSION -- scripts
  .
  This package contains SQL scripts to upgrade from earlier PostGIS
  versions for PostgreSQL PGVERSION as well as Perl utility scripts.
-
-Package: postgresql-8.4-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 8.4 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 8.4.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.0-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.0 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.0.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.1-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.1 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.1.
- .
- This is a transitional dummy package. It can safely be removed.
-
-Package: postgresql-9.2-postgis-2.0-scripts
-Architecture: all
-Depends: ${misc:Depends}
-Description: PostGIS for PostgreSQL 9.2 -- scripts -- dummy package
- This package contained the scripts for PostGIS version 2.0, that's
- now deprecated. It extended PostgreSQL 9.2.
- .
- This is a transitional dummy package. It can safely be removed.
diff --git a/debian/postgresql-8.4-postgis-2.0-scripts.config b/debian/postgresql-8.4-postgis-2.0-scripts.config
deleted file mode 100644
index a67d43e..0000000
--- a/debian/postgresql-8.4-postgis-2.0-scripts.config
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# Should first check for installed extensions.
-db_input critical postgis/pg8.4_postgis2.0_deprecated || true
-db_go
diff --git a/debian/postgresql-8.4-postgis-2.0-scripts.postinst b/debian/postgresql-8.4-postgis-2.0-scripts.postinst
deleted file mode 100644
index a486666..0000000
--- a/debian/postgresql-8.4-postgis-2.0-scripts.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_stop
-
-#DEBHELPER#
diff --git a/debian/postgresql-8.4-postgis-2.0-scripts.templates b/debian/postgresql-8.4-postgis-2.0-scripts.templates
deleted file mode 100644
index 0854ccd..0000000
--- a/debian/postgresql-8.4-postgis-2.0-scripts.templates
+++ /dev/null
@@ -1,16 +0,0 @@
-Template: postgis/pg8.4_postgis2.0_deprecated
-Type: note
-Description: PostGIS 2.0 has been deprecated - please migrate your databases
- The package postgresql-8.4-postgis-2.0-scripts is installed on this
- system, which means you likely use the PostGIS extension in some
- databases.
- .
- Debian is now shipping PostGIS version 2.1 and dropped support for
- 2.0, meaning bug or security fixes will no longer be provided for the
- older one. Thus it is strongly recommended to migrate all databases
- to PostGIS 2.1 (and some newer PostgreSQL version) as soon as possible.
- .
- Databases that are already using PostGIS 2.0 will continue to
- work. Note, however, that with this upgrade it's no longer possible
- to create the extension PostGIS 2.0.
-
diff --git a/debian/postgresql-9.0-postgis-2.0-scripts.config b/debian/postgresql-9.0-postgis-2.0-scripts.config
deleted file mode 100644
index 10e4951..0000000
--- a/debian/postgresql-9.0-postgis-2.0-scripts.config
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# Should first check for installed extensions.
-db_input critical postgis/pg9.0_postgis2.0_deprecated || true
-db_go
diff --git a/debian/postgresql-9.0-postgis-2.0-scripts.postinst b/debian/postgresql-9.0-postgis-2.0-scripts.postinst
deleted file mode 100644
index a486666..0000000
--- a/debian/postgresql-9.0-postgis-2.0-scripts.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_stop
-
-#DEBHELPER#
diff --git a/debian/postgresql-9.0-postgis-2.0-scripts.templates b/debian/postgresql-9.0-postgis-2.0-scripts.templates
deleted file mode 100644
index 4976c0e..0000000
--- a/debian/postgresql-9.0-postgis-2.0-scripts.templates
+++ /dev/null
@@ -1,16 +0,0 @@
-Template: postgis/pg9.0_postgis2.0_deprecated
-Type: note
-Description: PostGIS 2.0 has been deprecated - please migrate your databases
- The package postgresql-9.0-postgis-2.0-scripts is installed on this
- system, which means you likely use the PostGIS extension in some
- databases.
- .
- Debian is now shipping PostGIS version 2.1 and dropped support for
- 2.0, meaning bug or security fixes will no longer be provided for the
- older one. Thus it is strongly recommended to migrate all databases
- to PostGIS 2.1 as soon as possible.
- .
- Databases that are already using PostGIS 2.0 will continue to
- work. Note, however, that with this upgrade it's no longer possible
- to create the extension PostGIS 2.0.
-
diff --git a/debian/postgresql-9.1-postgis-2.0-scripts.config b/debian/postgresql-9.1-postgis-2.0-scripts.config
deleted file mode 100644
index 4ef0062..0000000
--- a/debian/postgresql-9.1-postgis-2.0-scripts.config
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# Should first check for installed extensions.
-db_input critical postgis/pg9.1_postgis2.0_deprecated || true
-db_go
diff --git a/debian/postgresql-9.1-postgis-2.0-scripts.postinst b/debian/postgresql-9.1-postgis-2.0-scripts.postinst
deleted file mode 100644
index a486666..0000000
--- a/debian/postgresql-9.1-postgis-2.0-scripts.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_stop
-
-#DEBHELPER#
diff --git a/debian/postgresql-9.1-postgis-2.0-scripts.templates b/debian/postgresql-9.1-postgis-2.0-scripts.templates
deleted file mode 100644
index f233d0a..0000000
--- a/debian/postgresql-9.1-postgis-2.0-scripts.templates
+++ /dev/null
@@ -1,16 +0,0 @@
-Template: postgis/pg9.1_postgis2.0_deprecated
-Type: note
-Description: PostGIS 2.0 has been deprecated - please migrate your databases
- The package postgresql-9.1-postgis-2.0-scripts is installed on this
- system, which means you likely use the PostGIS extension in some
- databases.
- .
- Debian is now shipping PostGIS version 2.1 and dropped support for
- 2.0, meaning bug or security fixes will no longer be provided for the
- older one. Thus it is strongly recommended to migrate all databases
- to PostGIS 2.1 as soon as possible.
- .
- Databases that are already using PostGIS 2.0 will continue to
- work. Note, however, that with this upgrade it's no longer possible
- to create the extension PostGIS 2.0.
-
diff --git a/debian/postgresql-9.2-postgis-2.0-scripts.config b/debian/postgresql-9.2-postgis-2.0-scripts.config
deleted file mode 100644
index 08b66b5..0000000
--- a/debian/postgresql-9.2-postgis-2.0-scripts.config
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Source debconf library.
-. /usr/share/debconf/confmodule
-
-# Should first check for installed extensions.
-db_input critical postgis/pg9.2_postgis2.0_deprecated || true
-db_go
diff --git a/debian/postgresql-9.2-postgis-2.0-scripts.postinst b/debian/postgresql-9.2-postgis-2.0-scripts.postinst
deleted file mode 100644
index a486666..0000000
--- a/debian/postgresql-9.2-postgis-2.0-scripts.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-db_stop
-
-#DEBHELPER#
diff --git a/debian/postgresql-9.2-postgis-2.0-scripts.templates b/debian/postgresql-9.2-postgis-2.0-scripts.templates
deleted file mode 100644
index 8988114..0000000
--- a/debian/postgresql-9.2-postgis-2.0-scripts.templates
+++ /dev/null
@@ -1,16 +0,0 @@
-Template: postgis/pg9.2_postgis2.0_deprecated
-Type: note
-Description: PostGIS 2.0 has been deprecated - please migrate your databases
- The package postgresql-9.1-postgis-2.0-scripts is installed on this
- system, which means you likely use the PostGIS extension in some
- databases.
- .
- Debian is now shipping PostGIS version 2.1 and dropped support for
- 2.0, meaning bug or security fixes will no longer be provided for the
- older one. Thus it is strongly recommended to migrate all databases
- to PostGIS 2.1 as soon as possible.
- .
- Databases that are already using PostGIS 2.0 will continue to
- work. Note, however, that with this upgrade it's no longer possible
- to create the extension PostGIS 2.0.
-
diff --git a/debian/rules b/debian/rules
index 65ca336..28c06d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -182,8 +182,8 @@ clean: debian/control
 	rm -rf $(CURDIR)/java/jdbc/target
 
 #	Cleanup after the Makefile
-	rm -f postgis/postgis_upgrade_20_minor.sql.in \
-		raster/rt_pg/rtpostgis_drop.sql \
+	rm -f $(CURDIR)/debian/*.postinst $(CURDIR)/debian/*.postrm
+	rm -f postgis/postgis_upgrade_20_minor.sql.in raster/rt_pg/rtpostgis_drop.sql \
 		raster/rt_pg/rtpostgis_upgrade_cleanup.sql
 	rm -f $(CURDIR)/debian/postgresql-*-postgis-2.1.install
 	rm -f $(CURDIR)/debian/postgresql-*-postgis-2.1-scripts.install
@@ -292,7 +292,6 @@ binary-common:
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs ChangeLog
-	dh_installdebconf
 	dh_installdocs
 	dh_installexamples
 	dh_installman

-- 
PostGIS for PostgreSQL



More information about the Pkg-grass-devel mailing list