Skip to content
Commits on Source (3)
osmosis (0.46-4) UNRELEASED; urgency=medium
osmosis (0.46-4) unstable; urgency=medium
* Update Vcs-* URLs for Salsa.
* Drop override for vcs-deprecated-in-debian-infrastructure.
* Bump Standards-Version to 4.1.4, no changes.
* Strip trailing whitespace from control & rules files.
* Build depend on default-jdk & default-jdk-doc, fixes FTBFS:
javadoc: error - Error fetching URL: file:/usr/share/doc/default-jdk/api/
* Add patch to fix example-shell-script-fails-syntax-check issue.
-- Bas Couwenberg <sebastic@debian.org> Sat, 31 Mar 2018 12:38:21 +0200
-- Bas Couwenberg <sebastic@debian.org> Wed, 20 Jun 2018 21:21:12 +0200
osmosis (0.46-3) unstable; urgency=medium
......
......@@ -5,7 +5,8 @@ Uploaders: David Paleino <dapal@debian.org>,
Section: utils
Priority: optional
Build-Depends: debhelper (>= 9),
default-jdk-headless,
default-jdk,
default-jdk-doc,
ant-optional,
gradle-debian-helper,
ivy,
......
Description: Fix `sh -n` syntax check failure.
Also fix typo and quoting issues.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/openstreetmap/osmosis/pull/42
--- a/package/script/munin/osm_replication_lag
+++ b/package/script/munin/osm_replication_lag
@@ -1,35 +1,35 @@
-#!/bin/sh
-# -*- sh -*-
-
-# load the munin plugin helper
-. $MUNIN_LIBDIR/plugins/plugin.sh
-
-# if no workingDirectory has been configures
-if [ ! $workingDirectory ]; then
- # exit with an error
- echo "no workingDirectory configured" >&2
- exit 1
-fi
-
-# path to osmosis binary
-[ $osmosis ] || osmosis="osmosis"
-
-# configuration section
-if [ "$1" = "config" ]; then
-
- echo 'graph_title OSM PostGIS Database Replag'
- echo 'graph_args --base 1000'
- echo 'graph_vlabel seconds behind main database'
- echo 'graph_category osm'
-
- echo 'lag.label replication lag'
- echo 'lag.draw LINE'
-
- exit 0
-fi
-
-# invoke osmosis to calculate the replication lag
-lag=$($osmosis --read-replication-lag workingDirectory="$workingDirectory" 2>/dev/null)
-echo "lag.value $lag"
-
-exit 0
+#!/bin/sh
+# -*- sh -*-
+
+# load the munin plugin helper
+. "$MUNIN_LIBDIR/plugins/plugin.sh"
+
+# if no workingDirectory has been configured
+if [ ! "$workingDirectory" ]; then
+ # exit with an error
+ echo "no workingDirectory configured" >&2
+ exit 1
+fi
+
+# path to osmosis binary
+[ "$osmosis" ] || osmosis="osmosis"
+
+# configuration section
+if [ "$1" = "config" ]; then
+
+ echo 'graph_title OSM PostGIS Database Replag'
+ echo 'graph_args --base 1000'
+ echo 'graph_vlabel seconds behind main database'
+ echo 'graph_category osm'
+
+ echo 'lag.label replication lag'
+ echo 'lag.draw LINE'
+
+ exit 0
+fi
+
+# invoke osmosis to calculate the replication lag
+lag=$($osmosis --read-replication-lag workingDirectory="$workingDirectory" 2>/dev/null)
+echo "lag.value $lag"
+
+exit 0
01-fix_launcher.patch
02-fix_plexus.patch
04-osmosis-version.patch
example-shell-script-fails-syntax-check.patch