Skip to content

Commit

Permalink
[mod_tile] update debian packaging scripts to reduce linthian warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
apmon committed Sep 21, 2011
1 parent 364c2c7 commit 0451630
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 16 deletions.
13 changes: 10 additions & 3 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
libapache2-mod-tile (0.4) natty; urgency=low

* new upstream version
* fixed debian package scripts

-- Kai Krueger <kakrueger@gmail.com> Tue, 20 Sep 2011 00:00:00 +0000

libapache2-mod-tile (0.3) jaunty; urgency=low

* new version of render_list with proper multithreading
* bugfixes
* new render_expired

-- Frederik Ramm <fred@lambert> Tue, 24 Nov 2009 00:09:17 +0100
-- Frederik Ramm <frederik@remote.org> Tue, 24 Nov 2009 00:09:17 +0100

libapache2-mod-tile (0.2) jaunty; urgency=low

* now also installs munin stuff

-- Frederik Ramm <fred@lambert> Tue, 20 Oct 2009 19:52:04 +0200
-- Frederik Ramm <frederik@remote.org> Tue, 20 Oct 2009 19:52:04 +0200

libapache2-mod-tile (0.1) unstable; urgency=low

* Initial Debian packaging for mod_tile and renderd

-- Frederik Ramm <fred@geofabrik.de> Thu, 04 Jun 2009 13:33:42 +0200
-- Frederik Ramm <frederik@remote.org> Thu, 04 Jun 2009 13:33:42 +0200
6 changes: 3 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ Section: utils
Priority: optional
Maintainer: Frederik Ramm <frederik@remote.org>
Build-Depends: debhelper (>= 7), apache2-prefork-dev (>= 2.2.3) | apache2-threaded-dev (>= 2.2.3), libmapnik-dev, dpatch
Standards-Version: 3.8.0
Standards-Version: 3.9.2

Package: libapache2-mod-tile
Architecture: any
Depends: ${misc:Depends}, renderd | tirex-master, apache2.2-common, apache2-mpm-prefork | apache2-mpm-worker
Depends: ${shlibs:Depends}, ${misc:Depends}, renderd | tirex-master, apache2.2-common, apache2-mpm-prefork | apache2-mpm-worker
Suggests: renderd
Description: Apache module to deliver tiles created by renderd
This Apache module receives map tiles requests and satisfies them from
tiles stored on disk, or queries a renderd instance to create them.

Package: renderd
Architecture: any
Depends: ${misc:Depends}, libmapnik0.7
Depends: ${shlibs:Depends}, ${misc:Depends}, libmapnik0.7
Suggests: libapache2-mod-tile
Recommends: osm2pgsql
Description: Daemon that renders map tiles using mapnik
Expand Down
3 changes: 2 additions & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Licensed under GPL v2 or later
Various authors, as per http://svn.openstreetmap.org/applications/utils/mod_tile/
The full license text can be found at /usr/share/common-licenses/GPL-2
Copyright 2007-2001 various authors, as per http://svn.openstreetmap.org/applications/utils/mod_tile/

3 changes: 3 additions & 0 deletions debian/libapache2-mod-tile.postinst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -e

mkdir -p /var/lib/mod_tile
chown www-data:www-data /var/lib/mod_tile
Expand Down Expand Up @@ -26,3 +27,5 @@ then
fi
done
fi

#DEBHELPER#
3 changes: 3 additions & 0 deletions debian/libapache2-mod-tile.prerm
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -e

if [ "$1" = remove ] ; then
a2dismod -q -f tile || true
Expand All @@ -10,3 +11,5 @@ if [ -d /etc/munin/plugins ]
then
rm -f /etc/munin/plugins/mod_tile*
fi

#DEBHELPER#
2 changes: 1 addition & 1 deletion debian/renderd.conffiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/etc/renderd.conf

4 changes: 2 additions & 2 deletions debian/renderd.init
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: renderd
# Required-Start:
# Required-Stop:
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Mapnik rendering daemon
Expand Down
5 changes: 3 additions & 2 deletions debian/renderd.postinst
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/sh
set -e

mkdir -p /var/lib/mod_tile
chown www-data:www-data /var/lib/mod_tile

update-rc.d renderd defaults

# automatically install munin plugins if munin is present.
if [ -d /etc/munin/plugins ]
then
Expand All @@ -17,3 +16,5 @@ then
fi
done
fi

#DEBHELPER#
3 changes: 3 additions & 0 deletions debian/renderd.prerm
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/sh
set -e

# automatically remove munin plugins
if [ -d /etc/munin/plugins ]
then
rm -f /etc/munin/plugins/renderd_*
fi

#DEBHELPER#
9 changes: 5 additions & 4 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
configure: configure-stamp
configure-stamp: patch
dh_testdir

# Add here commands to configure the package.

touch configure-stamp

build: build-stamp

build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir

Expand Down Expand Up @@ -49,7 +50,7 @@ unpatch:
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_prep
dh_installdirs

# Add here commands to install the package into debian/libapache2-mod-tile.
Expand Down
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit 0451630

Please sign in to comment.