Index: debian/changelog
===================================================================
--- debian/changelog	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/changelog	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,98 @@
+gnuboat (0.4.5) jessie; urgency=low
+
+  * Added chrony as time server sourcing gpsd
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 01 Aug 2017 15:45:00 +0200
+gnuboat (0.4.4) jessie; urgency=low
+
+  * Fixed puppet configversion
+  * Fixed webservice config path error
+  * Fixed webclient main.js datatype check error
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Jul 2017 19:00:00 +0200
+gnuboat (0.4.3) jessie; urgency=low
+
+  * Fixed repository pinning
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Jul 2017 18:32:00 +0200
+gnuboat (0.4.2) jessie; urgency=low
+
+  * Fixed old puppet configversion
+  * Merged udev management for hostapd into puppet configuration from trunk
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 10:30:00 +0200
+gnuboat (0.4.1) jessie; urgency=low
+
+  * uncommented gnuboat repository in puppet, as it is managed by the
+    debian-release package now
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 09:30:00 +0200
+gnuboat (0.4.0) jessie; urgency=low
+
+  * Added gnuboat-jessie release package
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 25 Jul 2017 17:00:00 +0200
+gnuboat (0.3.4) jessie; urgency=low
+
+  * gnuboat-puppet: Fixed invalid default channel in hostapd puppet module
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 25 Jul 2017 15:00:00 +0200
+gnuboat (0.3.3) jessie; urgency=low
+
+  * gnuboat-puppet: Fixed typo in gnuboat_hiera.yaml
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 21:00:00 +0200
+gnuboat (0.3.2) jessie; urgency=low
+
+  * Merge puppet config fixes from master
+  * gnuboat.service fix from master
+  * gnuboat-puppet install locations fixed
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 20:20:00 +0200
+gnuboat (0.3.1) jessie; urgency=low
+
+  * Merged fixes for gnuboat daemon, webservice and webclient
+    from master
+  * Added gnuboat-puppet package
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 28 Apr 2017 16:34:00 +0200
+gnuboat (0.3.0) jessie; urgency=low
+
+  * Merged fixes for gnuboat daemon, webservice and webclient
+    from master
+  * Incompatible rrd database schema to previous versions!
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 27 Apr 2017 12:04:00 +0200
+gnuboat (0.2.1) jessie; urgency=low
+
+  * Added php5-mysql dependency for gnuboat-server
+  * Merged improvements to gnuboat-server and gnuboat-webclient
+    from master
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 23 Apr 2017 12:54:00 +0200
+gnuboat (0.2.0) jessie; urgency=low
+
+  * Merged fixed gnuboat daemon from master
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 23 Apr 2017 11:41:00 +0200
+gnuboat (0.1.3) jessie; urgency=low
+
+  * gnuboat-server: Fixed service file handling
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 21 Apr 2017 14:15:00 +0200
+gnuboat (0.1.2) jessie; urgency=low
+
+  * gnuboat-server: Improved handling of data directory by
+    postinst and prerm scripts
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Fri, 21 Apr 2017 12:06:00 +0200
+gnuboat (0.1.1) jessie; urgency=low
+
+  * Packages are now build architecture independend
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Tue, 23 Aug 2016 07:15:00 +0000
+gnuboat (0.1) unstable; urgency=low
+
+  * Initial release
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 21 Jul 2016 15:00:00 +0000
Index: debian/compat
===================================================================
--- debian/compat	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/compat	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,1 @@
+9
Index: debian/control
===================================================================
--- debian/control	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/control	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,57 @@
+Source: gnuboat
+Section: misc
+Priority: optional
+Maintainer: EngSaS - Joachim Langenbach <info@engsas.de>
+Build-Depends: debhelper (>= 9), lsb-release, dh-python, dh-systemd (>= 1.5), python-all, python3-all, python-all-dbg, python3-all-dbg, phing, php-pear
+Standards-Version: 3.9.6
+Homepage: https://trac.falaba.de/gnuboat
+Vcs-Git: https://svn.falaba.de/gnuboat -b debian/jessie
+Vcs-Browser: https://trac.falaba.de/gnuboat/browser
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: gnuboat-webserver
+Architecture: all
+Depends: ${misc:Depends}, php5-rrd, php5-json, php5-mysql, python2-gnuboat | python3-gnuboat
+Description: GNUBoat server with log daemon and webservice
+ The GNUBoat server drives a webservice, serving clients,
+ feeded with data from python-gnuboat.
+
+Package: gnuboat-webclient
+Architecture: all
+Depends: ${misc:Depends}, php5 | php5-cgi | php5-json
+Description: GNUBoat webclient to display data from gnuboat-server
+ Display data from GNUBoat server in a browser.
+
+Package: python2-gnuboat
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-pil, python-dateutil, python-tz, python-rrdtool, python-pynmea2, gpsd, n2kd-scripts, n2kd-bin
+Recommends: python-epd
+Description: GNUBoat logging daemon
+ The GNUBoat daemon provides a daemon to collect data, optionally drives
+ the display.
+
+Package: python3-gnuboat
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-pil, python-dateutil, python-tz, python-rrdtool, python-pynmea2, gpsd, n2kd-scripts, n2kd-bin
+Recommends: python-epd
+Description: GNUBoat logging daemon
+ The GNUBoat daemon provides a daemon to collect data, optionally drives
+ the display.
+
+Package: gnuboat-puppet
+Architecture: all
+Depends: ${misc:Depends}, puppet (>= 3.8)
+Description: GNUBoat puppet configuration environment
+ Contains a complete puppet environment to configure a device
+ as a gnu.boat server and webclient
+
+Package: gnuboat-jessie
+Architecture: all
+Section: admin
+Depends: ${misc:Depends}
+Description: Release packages for the GNUBoat jessie repository
+ This package adds the gnuboat repository and the
+ needed trusted keyring to apt.
+ .
+
Index: debian/copyright
===================================================================
--- debian/copyright	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/copyright	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gnuboat
+Source: https://svn.falaba.de/gnuboat
+
+Files: *
+Copyright: 2016 EngSaS - Engineering Solutions and Services Langenbach
+License: GPL-3+
+ This program 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 3 of the License, or (at your option) any later
+ version.
+ .
+ This program 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
Index: debian/gnuboat-jessie.install
===================================================================
--- debian/gnuboat-jessie.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-jessie.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,2 @@
+src/apt/sources.list.d/gnuboat-jessie.list etc/apt/sources.list.d/
+src/apt/trusted.gpg.d/gnuboat-jessie-keyring.gpg etc/apt/trusted.gpg.d/
Index: debian/gnuboat-jessie.postinst
===================================================================
--- debian/gnuboat-jessie.postinst	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-jessie.postinst	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Set up any specific permissions needed...
+chmod '0644' '/etc/apt/trusted.gpg.d/gnuboat-jessie-keyring.gpg'
+
+#DEBHELPER#
+
+exit 0
+
Index: debian/gnuboat-puppet.install
===================================================================
--- debian/gnuboat-puppet.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-puppet.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,3 @@
+src/puppetcode/gnuboat_hiera.yaml etc/puppet/
+src/puppetcode/gnuboat_puppet.conf etc/puppet/
+src/puppetcode/environments etc/puppet/
Index: debian/gnuboat-puppet.lintian-overrides
===================================================================
--- debian/gnuboat-puppet.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-puppet.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,2 @@
+gnuboat-puppet binary: ruby-script-but-no-ruby-dep etc/puppet/environments/gnuboat/modules/*
+gnuboat-puppet binary: script-not-executable etc/puppet/environments/gnuboat/modules/*
Index: debian/gnuboat-server.install
===================================================================
--- debian/gnuboat-server.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-server.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,4 @@
+src/daemon/gnuboat usr/bin/
+src/daemon/gnuboat-splashscreen usr/bin/
+src/daemon/gnuboat.service lib/systemd/system/
+debian/build/webapp/webservice/* usr/share/gnuboat/webservice/
Index: debian/gnuboat-server.lintian-overrides
===================================================================
--- debian/gnuboat-server.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-server.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,1 @@
+gnuboat-server binary: executable-not-elf-or-script usr/share/gnuboat/webservice/map.mbtiles
Index: debian/gnuboat-server.postinst
===================================================================
--- debian/gnuboat-server.postinst	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-server.postinst	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+mkdir -p /var/spool/gnuboat
+mkdir -p /var/lib/gnuboat
+chown www-data:www-data /var/spool/gnuboat /var/lib/gnuboat
+
+#DEBHELPER#
+
+exit 0
Index: debian/gnuboat-server.prerm
===================================================================
--- debian/gnuboat-server.prerm	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-server.prerm	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+rm -R /var/spool/gnuboat
+
+if [ "$(ls -A /var/lib/gnuboat/)" ]; then
+	# do not remove the data directory
+	echo "Your data directory is not empty. Leaving the data directory untouched!"
+else
+	rm -R /var/lib/gnuboat/
+fi
+
+#DEBHELPER#
+
+exit 0
Index: debian/gnuboat-webclient.install
===================================================================
--- debian/gnuboat-webclient.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/gnuboat-webclient.install	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,1 @@
+debian/build/webapp/webclient/* usr/share/gnuboat/webclient/
Index: debian/rules
===================================================================
--- debian/rules	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/rules	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+DESTDIR := $(CURDIR)/debian/build/webapp
+
+%:
+	dh $@ --with systemd,python2,python3
+
+override_dh_auto_build-indep:
+	dh_auto_build
+	phing -Dbuilddir=$(DESTDIR) -f $(CURDIR)/src/webapp/build.xml
Index: debian/source.lintian-overrides
===================================================================
--- debian/source.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/source.lintian-overrides	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,2 @@
+gnuboat source: source-is-missing src/webapp/webclient/javascript/leaflet.js
+gnuboat source: source-is-missing src/webapp/webclient/javascript/jquery-2.2.4.min.js
Index: debian/source/format
===================================================================
--- debian/source/format	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ debian/source/format	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,1 @@
+3.0 (native)
Index: src/apt/sources.list.d/gnuboat-jessie.list
===================================================================
--- src/apt/sources.list.d/gnuboat-jessie.list	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
+++ src/apt/sources.list.d/gnuboat-jessie.list	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -0,0 +1,2 @@
+# GNUBoat jessie repository
+deb http://ftp.engsas.de/unstable/gnuboat/ jessie main
Index: src/puppetcode/environments/gnuboat/hieradata/common.yaml
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/common.yaml	(revision e403713c28cd20d46527574dd793aab5eb251a71)
+++ src/puppetcode/environments/gnuboat/hieradata/common.yaml	(revision f48b5ac569ed1ed3e6f5985c31f187c0acda07c3)
@@ -8,19 +8,19 @@
   - gnuboat_canboat
   - apt
-#  - ntp
   - chrony
 
 apt::sources:
-  'gnuboat':
-    comment: 'GNUBoat repository'
-    location: 'http://ftp.engsas.de/unstable/gnuboat/'
-    release: 'jessie'
-    repos: 'main'
-    key:
-      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
-      server: 'pgp.mit.edu'
-    include:
-      src: true
-      deb: true
+# Not needed, as it is managed by the debien-release package already
+#  'gnuboat':
+#    comment: 'GNUBoat repository'
+#    location: 'http://ftp.engsas.de/unstable/gnuboat/'
+#    release: 'jessie'
+#    repos: 'main'
+#    key:
+#      id: 'A365301E098FC834A7DA74C5210358AB8EC7F5EB'
+#      server: 'pgp.mit.edu'
+#    include:
+#      src: true
+#      deb: true
   'gnuboat-raspbian':
     comment: 'GNUBoat raspbian repository'
@@ -35,9 +35,6 @@
       deb: true
 apt::pin:
-  'gnuboat':
-    priority        => 100
-    originator      => 'gnuboat-raspbian'
   'gnuboat-raspbian':
-    priority        => 200
+    priority        => 999
     originator      => 'gnuboat-raspbian'
 gnuboat_lighttpd::service::status: 'running'
@@ -69,8 +66,2 @@
   - 'SHM 0  delay 0.5 refid NMEA'
 chrony::serve_ntp: true
-# ntp >= 4.2.8
-#ntp::enable: true
-#ntp::servers:
-#  - '127.127.46.0'
-#ntp::fudge:
-#  - '127.127.46.0 refid GPS'
