Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Drop preloading liblwgeom in test target.
· 0852aa1a
Bas Couwenberg
authored
May 27, 2019
0852aa1a
Drop postgis minor version from package name to match extension name.
· 7d0b43ff
Bas Couwenberg
authored
May 27, 2019
7d0b43ff
Update Conflicts for 2.5 packages.
· 015de00d
Bas Couwenberg
authored
May 27, 2019
015de00d
Set distribution to experimental.
· cba0eed0
Bas Couwenberg
authored
May 27, 2019
cba0eed0
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
cba0eed0
postgis (3.0.0~alpha1+dfsg-1~exp2)
UNRELEASED
; urgency=medium
postgis (3.0.0~alpha1+dfsg-1~exp2)
experimental
; urgency=medium
* Update dh_install -a override to use --list-missing.
* Move binaries to postgis binary package.
...
...
@@ -6,8 +6,11 @@ postgis (3.0.0~alpha1+dfsg-1~exp2) UNRELEASED; urgency=medium
* Bump GEOS build dependency to 3.6.
* Bump pgversions to 9.5+.
* Require at least libsfcgal-dev 1.3.1.
* Drop preloading liblwgeom in test target.
* Drop postgis minor version from package name to match extension name.
* Update Conflicts for 2.5 packages.
-- Bas Couwenberg <sebastic@debian.org>
Su
n, 2
6
May 2019 1
8
:2
2
:1
2
+0200
-- Bas Couwenberg <sebastic@debian.org>
Mo
n, 2
7
May 2019 1
6
:2
4
:1
5
+0200
postgis (3.0.0~alpha1+dfsg-1~exp1) experimental; urgency=medium
...
...
debian/control
View file @
cba0eed0
...
...
@@ -44,7 +44,7 @@ Package: postgis
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-11-postgis-3
.0
,
Recommends: postgresql-11-postgis-3,
postgis-doc
Suggests: postgis-gui
Description: Geographic objects support for PostgreSQL
...
...
@@ -62,7 +62,7 @@ Package: postgis-gui
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-11-postgis-3
.0
,
Recommends: postgresql-11-postgis-3,
postgis-doc
Suggests: postgis
Breaks: postgis (<< 2.2.2+dfsg-2~)
...
...
@@ -94,12 +94,12 @@ Description: Geographic objects support for PostgreSQL -- documentation
.
This package contains the PostGIS documentation.
Package: postgresql-11-postgis-3
.0
Package: postgresql-11-postgis-3
Architecture: any
Depends: postgresql-11,
${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-11-postgis-3
.0
-scripts
Recommends: postgresql-11-postgis-3-scripts
Suggests: postgis
Breaks: postgis (<< 1.2.1)
Provides: postgresql-11-postgis,
...
...
@@ -113,18 +113,19 @@ Description: Geographic objects support for PostgreSQL 11
"Simple Features Specification for SQL".
.
To create the PostGIS extensions in a PostgreSQL 11 database, the
postgresql-11-postgis-3
.0
-scripts package must be installed as well.
postgresql-11-postgis-3-scripts package must be installed as well.
Package: postgresql-11-postgis-3
.0
-scripts
Package: postgresql-11-postgis-3-scripts
Architecture: all
Multi-Arch: foreign
Depends: ${perl:Depends},
${misc:Depends}
Recommends: postgresql-11-postgis-3
.0
Recommends: postgresql-11-postgis-3
Breaks: postgresql-11-postgis-scripts (<< 2.2.2+dfsg-3~)
Conflicts: postgresql-11-postgis-2.2-scripts,
postgresql-11-postgis-2.3-scripts,
postgresql-11-postgis-2.4-scripts
postgresql-11-postgis-2.4-scripts,
postgresql-11-postgis-2.5-scripts
Provides: postgresql-11-postgis-scripts,
postgresql-postgis-scripts
Replaces: postgresql-11-postgis-scripts (<< 2.2.2+dfsg-3~)
...
...
debian/control.in
View file @
cba0eed0
...
...
@@ -44,7 +44,7 @@ Package: postgis
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-NEWEST_PGVERSION-postgis-3
.0
,
Recommends: postgresql-NEWEST_PGVERSION-postgis-3,
postgis-doc
Suggests: postgis-gui
Description: Geographic objects support for PostgreSQL
...
...
@@ -62,7 +62,7 @@ Package: postgis-gui
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-NEWEST_PGVERSION-postgis-3
.0
,
Recommends: postgresql-NEWEST_PGVERSION-postgis-3,
postgis-doc
Suggests: postgis
Breaks: postgis (<< 2.2.2+dfsg-2~)
...
...
@@ -94,12 +94,12 @@ Description: Geographic objects support for PostgreSQL -- documentation
.
This package contains the PostGIS documentation.
Package: postgresql-PGVERSION-postgis-3
.0
Package: postgresql-PGVERSION-postgis-3
Architecture: any
Depends: postgresql-PGVERSION,
${shlibs:Depends},
${misc:Depends}
Recommends: postgresql-PGVERSION-postgis-3
.0
-scripts
Recommends: postgresql-PGVERSION-postgis-3-scripts
Suggests: postgis
Breaks: postgis (<< 1.2.1)
Provides: postgresql-PGVERSION-postgis,
...
...
@@ -113,18 +113,19 @@ Description: Geographic objects support for PostgreSQL PGVERSION
"Simple Features Specification for SQL".
.
To create the PostGIS extensions in a PostgreSQL PGVERSION database, the
postgresql-PGVERSION-postgis-3
.0
-scripts package must be installed as well.
postgresql-PGVERSION-postgis-3-scripts package must be installed as well.
Package: postgresql-PGVERSION-postgis-3
.0
-scripts
Package: postgresql-PGVERSION-postgis-3-scripts
Architecture: all
Multi-Arch: foreign
Depends: ${perl:Depends},
${misc:Depends}
Recommends: postgresql-PGVERSION-postgis-3
.0
Recommends: postgresql-PGVERSION-postgis-3
Breaks: postgresql-PGVERSION-postgis-scripts (<< 2.2.2+dfsg-3~)
Conflicts: postgresql-PGVERSION-postgis-2.2-scripts,
postgresql-PGVERSION-postgis-2.3-scripts,
postgresql-PGVERSION-postgis-2.4-scripts
postgresql-PGVERSION-postgis-2.4-scripts,
postgresql-PGVERSION-postgis-2.5-scripts
Provides: postgresql-PGVERSION-postgis-scripts,
postgresql-postgis-scripts
Replaces: postgresql-PGVERSION-postgis-scripts (<< 2.2.2+dfsg-3~)
...
...
debian/rules
View file @
cba0eed0
...
...
@@ -59,14 +59,6 @@ ifeq ($(POSTGIS_VERSION),..)
$(
error
Cannot detect Postgis version, fix debian/rules
)
endif
LIBLWGEOM_CURRENT
=
$(
shell
grep
^LIBLWGEOM_IFACE_CUR Version.config |
cut
-d
=
-f2
)
LIBLWGEOM_REVISION
=
$(
shell
grep
^LIBLWGEOM_IFACE_REV Version.config |
cut
-d
=
-f2
)
LIBLWGEOM_AGE
=
$(
shell
grep
^LIBLWGEOM_IFACE_AGE Version.config |
cut
-d
=
-f2
)
LIBLWGEOM_SOVERSION
=
$(
shell
expr
$(
LIBLWGEOM_CURRENT
)
-
$(
LIBLWGEOM_AGE
))
ifeq
($(LIBLWGEOM_SOVERSION),)
$(
error
Cannot detect liblwgeom SOVERSION, fix debian/rules
)
endif
# For the Postgres APT repository, we want to support multiple
# Postgres versions. However, docs and the JDBC jar only need to be
# built once - in the main directory.
...
...
@@ -194,8 +186,6 @@ override_dh_auto_test-indep:
override_dh_auto_test-arch
:
ifeq
(,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Run unit tests (against the newest Postgres version, first)
echo
"LD_PRELOAD = '$(CURDIR)/liblwgeom/.libs/liblwgeom-$(MAJOR_VERSION).$(MINOR_VERSION).so.$(LIBLWGEOM_SOVERSION)'"
\
>
$(CURDIR)/postgis-check-env.tmp
echo
" ### testing $(NEWEST_POSTGRES_VERSION) ###"
pg_virtualenv
-v
$(NEWEST_POSTGRES_VERSION)
\
-c
'--environment $(CURDIR)/postgis-check-env.tmp'
\
...
...
@@ -205,8 +195,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set
-e;
\
for
PGVER
in
$(OTHER_POSTGRES_VERSIONS);
do
\
echo
" ### testing $$PGVER ###"
;
\
echo
"LD_PRELOAD = '$(CURDIR)/debian/build-$$PGVER/liblwgeom/.libs/liblwgeom-$(MAJOR_VERSION).$(MINOR_VERSION).so.$(LIBLWGEOM_SOVERSION)'"
\
>
$(CURDIR)/postgis-check-env.tmp;
\
pg_virtualenv
-v
$$PGVER
\
-c
'--environment $(CURDIR)/postgis-check-env.tmp'
\
make
-C
$(CURDIR)/debian/build-$$PGVER
check
RUNTESTFLAGS
=
"-v"
||
$(
CHECK_FAIL
);
\
...
...
@@ -272,10 +260,10 @@ override_dh_auto_install-arch:
for
PGVER
in
$(OTHER_POSTGRES_VERSIONS)
$(NEWEST_POSTGRES_VERSION);
do
\
cat
$(CURDIR)/debian/postgresql-generic-postgis.install.in
\
|
sed
-e
"s/@PGVERSION@/$$PGVER/"
\
>
$(CURDIR)/debian/postgresql-$$PGVER-postgis-$(MAJOR_VERSION).
$(MINOR_VERSION).
install;
\
>
$(CURDIR)/debian/postgresql-$$PGVER-postgis-$(MAJOR_VERSION).install;
\
cat
$(CURDIR)/debian/postgresql-generic-postgis-scripts.install.in
\
|
sed
-e
"s/@PGVERSION@/$$PGVER/"
\
>
$(CURDIR)/debian/postgresql-$$PGVER-postgis-$(MAJOR_VERSION)
.$(MINOR_VERSION)
-scripts.install;
\
>
$(CURDIR)/debian/postgresql-$$PGVER-postgis-$(MAJOR_VERSION)-scripts.install;
\
done)
# Move binaries from the NEWEST_POSTGRES_VERSION build to the
...
...