debian/0000775000000000000000000000000012254251407007172 5ustar debian/watch0000664000000000000000000000012412254251306010216 0ustar version=3 https://github.com/openstreetmap/osm2pgsql/tags .*/v*(\d[\d\.]+)\.tar\.gz debian/source/0000775000000000000000000000000012254251306010470 5ustar debian/source/format0000664000000000000000000000001412254251306011676 0ustar 3.0 (quilt) debian/rules0000775000000000000000000000200612254251306010246 0ustar #!/usr/bin/make -f # debian/rules for osm2pgsql # # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 SVNREPO := http://svn.openstreetmap.org/applications/utils/export/osm2pgsql VERSION := $(shell dpkg-parsechangelog | grep Version | cut -d' ' -f2) UPVER := $(shell echo $(VERSION) | awk -F'+r' '{print $$1}') SVNREV := $(shell echo $(VERSION) | awk -F'+r' '{print $$2}' | cut -d- -f1) SUFFIX := +r$(SVNREV) %: dh $@ \ --with autoreconf override_dh_compress: # clean up some naive file permissions dh_compress -X.php -X.sql -X.js -X.c -X.h get-orig-source: @echo Downloading osm2pgsql from ${SVNREPO} svn export -r ${SVNREV} ${SVNREPO} osm2pgsql-${UPVER}${SUFFIX}/ @echo Removing debian/ directory rm -rf osm2pgsql-${UPVER}${SUFFIX}/debian/ @echo Building snapshot tarball. tar czvf osm2pgsql_${UPVER}${SUFFIX}.orig.tar.gz osm2pgsql-${UPVER}${SUFFIX} @echo Cleaning up rm -rf osm2pgsql-${UPVER}${SUFFIX} @echo . @echo To update debian/changelog type @echo dch -v ${UPVER}${SUFFIX}-1 @echo . debian/patches/0000775000000000000000000000000012254251306010617 5ustar debian/patches/series0000664000000000000000000000002312254251306012027 0ustar 00-fix_build.patch debian/patches/00-fix_build.patch0000664000000000000000000000206212254251306014022 0ustar From: David Paleino Subject: add missing ZLIB linkage Last-Update: 2013-09-17 23:21:42 +0200 Forwarded: no --- a/Makefile.am +++ b/Makefile.am @@ -38,7 +38,7 @@ endif osm2pgsqldir = $(datadir)/osm2pgsql -AM_CFLAGS = @PTHREAD_CFLAGS@ @LFS_CFLAGS@ @POSTGRESQL_CFLAGS@ @XML2_CFLAGS@ @BZIP2_CFLAGS@ @GEOS_CFLAGS@ @PROJ_CFLAGS@ @PROTOBUF_C_CFLAGS@ -DOSM2PGSQL_DATADIR='"$(osm2pgsqldir)"' -DVERSION='"@PACKAGE_VERSION@"' +AM_CFLAGS = @PTHREAD_CFLAGS@ @LFS_CFLAGS@ @POSTGRESQL_CFLAGS@ @XML2_CFLAGS@ @BZIP2_CFLAGS@ @GEOS_CFLAGS@ @PROJ_CFLAGS@ @PROTOBUF_C_CFLAGS@ @ZLIB_CFLAGS@ -DOSM2PGSQL_DATADIR='"$(osm2pgsqldir)"' -DVERSION='"@PACKAGE_VERSION@"' AM_CPPFLAGS = @PTHREAD_CFLAGS@ @POSTGRESQL_CFLAGS@ @XML2_CFLAGS@ @BZIP2_CFLAGS@ @GEOS_CFLAGS@ @PROJ_CFLAGS@ -DOSM2PGSQL_DATADIR='"$(osm2pgsqldir)"' -Igeos-fallback AM_LDFLAGS = @PTHREAD_CFLAGS@ @ZLIB_LDFLAGS@ @ZLIB_LIBS@ @POSTGRESQL_LDFLAGS@ @POSTGRESQL_LIBS@ @XML2_LDFLAGS@ @BZIP2_LDFLAGS@ @BZIP2_LIBS@ @GEOS_LDFLAGS@ @GEOS_LIBS@ @PROJ_LDFLAGS@ @PROJ_LIBS@ @PROTOBUF_C_LDFLAGS@ @PROTOBUF_C_LIBS@ debian/manpages0000664000000000000000000000001112254251306010676 0ustar docs/*.1 debian/install0000664000000000000000000000006712254251306010564 0ustar osm2pgsql /usr/bin/ default.style /usr/share/osm2pgsql debian/examples0000664000000000000000000000002012254251306010721 0ustar 900913.sql *.sh debian/docs0000664000000000000000000000003112254251306010035 0ustar AUTHORS NEWS README TODO debian/dirs0000664000000000000000000000001012254251306010043 0ustar usr/bin debian/copyright0000664000000000000000000000646612254251306011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Contact: Kai Krueger Source: https://github.com/openstreetmap/osm2pgsql/tags Files: * Copyright: © 2007-2008, Artem Pavlenko © 2006-2008, Jon Burgess License: GPL-2+ Files: debian/* Copyright: © 2007-2009, Andreas Putzo © 2010-2012, David Paleino License: GPL-2+ Files: geos-fallback/* Copyright: © 2006, Refractions Research Inc. License: LGPL-3+ Files: rb.c Copyright: © 1998-2002, 2004, Free Software Foundation, Inc. License: GPL-2+ Files: sprompt.c Copyright: © 1994, The Regents of the University of California © 1996-2006, PostgreSQL Global Development Group License: other License: GPL-2+ 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 program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 2 or later can be found in `/usr/share/common-licenses/GPL-2'. License: other Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. . IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. License: LGPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 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 Lesser General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 3 or later can be found in `/usr/share/common-licenses/LGPL-3'. debian/control0000664000000000000000000000234712254251306010601 0ustar Source: osm2pgsql Maintainer: Debian GIS Project Uploaders: Francesco Paolo Lovergine , David Paleino , Andreas Tille Section: utils Priority: optional Build-Depends: debhelper (>= 9), dh-autoreconf, libbz2-dev, zlib1g-dev, libgeos++-dev, libpq-dev, libxml2-dev, libproj-dev, libprotobuf-c0-dev (>= 0.14), protobuf-c-compiler Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/osm2pgsql.git Vcs-Git: git://anonscm.debian.org/pkg-grass/osm2pgsql.git Homepage: http://wiki.openstreetmap.org/wiki/Osm2pgsql Package: osm2pgsql Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: postgis, postgresql-9.3-postgis-2.1 Suggests: josm, gosmore Description: OpenStreetMap data to PostgreSQL converter Convert OSM planet snapshot data to SQL suitable for loading into a PostgreSQL database with PostGIS geospatial extensions. This database may then be used to render maps with Mapnik or for other geospatial analysis. debian/compat0000664000000000000000000000000212254251306010366 0ustar 9 debian/clean0000664000000000000000000000004312254251306010172 0ustar fileformat.pb-c.* osmformat.pb-c.* debian/changelog0000664000000000000000000001505312254251364011052 0ustar osm2pgsql (0.82.0-1git1) trusty; urgency=low Upload current Debian git head for the postgis transition. [ Bas Couwenberg ] * Team upload. * Update postgis Recommends to postgresql-9.3-postgis-2.1. (closes: #732413) -- Martin Pitt Wed, 18 Dec 2013 08:46:43 +0100 osm2pgsql (0.82.0-1) unstable; urgency=low [ Andrew Harvey ] * New SVN snapshot * Patches refreshed to apply to new source * Update debian/rules get-orig-source to not bother trying to remove the gazetteer as it is no longer included upstream * Update manpage * Add debian/watch documenting the situation of the upstream version number [ David Paleino ] * Dropped 02-backport_64bit_ids_support.patch, no more needed * Standards-Version bump to 3.9.4, no changes needed * Removed Andreas Putzo and DMUA flag from debian/control [ Andreas Tille ] * New upstream version (adapted patch) * Added watch file * debian/control: - Add myself as Uploader (and drop pkg-osm team) - canonical URIs for Vcs fields - cme fix dpkg-control - debhelper 9 * debian/copyright: - DEP5 - New Source location - Added Upstream-Contact * debian/manpages: Install manpages provided upstream * debian/osm2pgsql.1: removed -- Andreas Tille Tue, 17 Sep 2013 23:21:42 +0200 osm2pgsql (0.80.0+r27899-3) unstable; urgency=low * Update Recommends of postgresql-8.4-postgis to -9.1 * Backport support for 64-bit IDs (Closes: #687965) -- David Paleino Sun, 23 Sep 2012 09:14:15 +0200 osm2pgsql (0.80.0+r27899-1) unstable; urgency=low * New SVN snapshot * Strip the debian/ directory from the SVN checkout * Standards-Version bump to 3.9.3, no changes needed * Updated debian/copyright * Patches refreshed to apply to new source * Switch build-dependency from libgeos-dev to libgeos++-dev -- David Paleino Sun, 26 Feb 2012 21:37:38 +0100 osm2pgsql (0.70.5+r25090-2) unstable; urgency=low * Fix Maintainer e-mail address -- David Paleino Wed, 19 Jan 2011 16:15:54 +0100 osm2pgsql (0.70.5+r25090-1) unstable; urgency=low * New SVN snapshot * debian/control: - fix Vcs-* fields to point to the git repository. - added pkg-osm to Uploaders * Bump Standards-Version to 3.9.1, no changes needed * Use "3.0 (quilt)" format * Removed useless dpatch machinery * Use dh7 for debian/rules * Improve get-orig-source target * Wrapped multi-value fields in debian/control * Bump debhelper compatibility to 8 * debian/docs updated * Use new DebianGIS e-mail address * Add Build-Dependencies on zlib, protobuf-c and dh-autoreconf * Use DEP-5 for debian/copyright * Clean protoc-generated files during the clean target * Updated manpage * Fix FTBFS, due to missing linkage with zlib (00-fix_build.patch) * Remove 'gazetteer' from the packaged examples. It has become quite huge (90M unpacked), and I suppose not much people need it. It might become a separate binary package in future, though. Also remove it from the "orig" tarball. I'll reintroduce it as soon as someone actually asks for it. * Don't actually build gazetteer (01-disable_gazetteer.patch) -- David Paleino Tue, 18 Jan 2011 22:13:02 +0100 osm2pgsql (0.69+r20104-2) unstable; urgency=low [ Francesco Paolo Lovergine ] * Changed debian/rules to autodetect latest svn revision and upstream version. * Now recommends both postgis and last available postgresql-postgis revision. (closes: #559604) * Fixed previous changelog for repeated logs. [ David Paleino ] * debian/control: - fix Vcs-* fields to point to trunk only. - added myself to Uploaders -- David Paleino Sun, 05 Sep 2010 08:38:52 +0200 osm2pgsql (0.69+r20104-1) unstable; urgency=low * Added 900913.sql, containing EPSG:900913 for postgis, as example. (Andreas) * New upstream svn snapshot as taken from upstream svn. Now using svn release number instead of date to identify better the relevant snapshot. * Patch 01_style_location merged upstream. * Added Vcs-* fields to debian/control. * Policy bumped to 3.8.4 without changes. * Added a new set of examples (gazetteer and other scripts). -- Francesco Paolo Lovergine Mon, 22 Feb 2010 10:43:12 +0100 osm2pgsql (0.66.20090526-1) unstable; urgency=low * New upstream svn snapshot. (Closes: #532145) * Removed 10-missing-includes patch, fixed upstream. * Updated long description, mostly taken from osm2pgsql.spec.in. * Updated copyright year of debian packaging. * Added DM-Upload-Allowed to debian/control. * Added 01_style_location patch from Frederik Ramm to reflect path of style files on debian systems. * Use dh_prep instead of dh_clean -k to fix a lintian warning. * Updated manpage. -- Andreas Putzo Mon, 08 Jun 2009 21:44:57 +0000 osm2pgsql (0.52.20080408-3) unstable; urgency=high * Updated build-dep: proj -> libproj-dev. * Added Homepage field. * Added me as uploader. * Policy bumped to 3.8.1. * Debhelper compatibility moved to 7. * Now recommends postgis 8.3 extension. * Added me as uploader. -- Francesco Paolo Lovergine Tue, 26 May 2009 15:43:48 +0200 osm2pgsql (0.52.20080408-2) unstable; urgency=low * Added 10-missing-includes.dpatch to actually build with gcc-4.3. Thanks Chris Lamb for the patch. (Closes: #475692) * Added dpatch to Build-Depends in debian/control. Added patch targets to debian/rules. * Added a get-orig-source target to debian/rules to fetch upstream source from svn repository. * Bumped debhelper compatibility level to 5. * Upload sponsored by Petter Reinholdtsen. -- Andreas Putzo Sat, 12 Apr 2008 23:27:12 +0000 osm2pgsql (0.52.20080408-1) unstable; urgency=low * New upstream snapshot. (Closes: #474846) * Adopt rename of readme.txt in debian/docs. * Update manual page from usage output. (Closes: #468767) * Add license and copyright of added file sprompt.c to debian/copyright. * Upload sponsored by Petter Reinholdtsen. -- Andreas Putzo Fri, 11 Apr 2008 22:43:08 +0000 osm2pgsql (0.50.20071211-1) unstable; urgency=low * New upstream snapshot - Missing includes added (FTBS with gcc-4.3) (Closes: #454849) * Bumped Standards-Version to 3.7.3 -- Andreas Putzo Tue, 11 Dec 2007 19:18:26 +0000 osm2pgsql (0.08.20071007-1) unstable; urgency=low * Initial release (Closes: #444705) -- Andreas Putzo Sun, 07 Oct 2007 13:41:33 +0000