Index: debian/changelog
===================================================================
--- debian/changelog	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/changelog	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,110 @@
+gnuboat (0.4.7) jessie; urgency=low
+
+  * Fixed pynmea dependency
+  * Fixed puppet config adaption to python-gnuboat
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 06 Aug 2017 17:15:00 +0200
+gnuboat (0.4.6) jessie; urgency=low
+
+  * refactored gnuboat daemon into a python module
+  * Added logging functionality to gnuboat daemon
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Sun, 06 Aug 2017 15:30:00 +0200
+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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/compat	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+9
Index: debian/control
===================================================================
--- debian/control	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/control	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,68 @@
+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, python-setuptools, python3-setuptools, python-rrdtool, python-pynmea2, python3-pynmea2, 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, python-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: python-gnuboat
+Section: python
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python-pil, python-dateutil, python-tz, python-rrdtool, python-pynmea2, gpsd, n2kd-scripts, n2kd-bin, gnuboat-daemon-config
+Recommends: python-epd
+Description: GNUBoat logging daemon
+ The GNUBoat daemon provides a daemon to collect data, optionally drives
+ the display.
+
+#Package: python3-gnuboat
+#Section: python
+#Architecture: all
+#Depends: ${misc:Depends}, ${python3:Depends}, python3-pil, python3-dateutil, python3-tz, python3-rrdtool, python3-pynmea2, gpsd, n2kd-scripts, n2kd-bin, gnuboat-daemon-config
+#Recommends: python-epd
+#Description: GNUBoat logging daemon
+# The GNUBoat daemon provides a daemon to collect data, optionally drives
+# the display.
+
+Package: gnuboat-daemon-config
+Depends: ${misc:Depends}
+Architecture: all
+Recommends: python-gnuboat | python3-gnuboat
+Description: GNUBoat logging daemon config files
+ The GNUBoat daemon provides a daemon to collect data, optionally drives
+ the display.
+ .
+ This package installs the needed config files.
+
+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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/copyright	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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-daemon-config.install
===================================================================
--- debian/gnuboat-daemon-config.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-daemon-config.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,2 @@
+src/python/config/gnuboat.service lib/systemd/system/
+
Index: debian/gnuboat-jessie.install
===================================================================
--- debian/gnuboat-jessie.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-jessie.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-jessie.postinst	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+# 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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-puppet.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-puppet.lintian-overrides	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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-webclient.install
===================================================================
--- debian/gnuboat-webclient.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-webclient.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+debian/build/webapp/webclient/* usr/share/gnuboat/webclient/
Index: debian/gnuboat-webserver.install
===================================================================
--- debian/gnuboat-webserver.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-webserver.install	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+debian/build/webapp/webservice/* usr/share/gnuboat/webservice/
Index: debian/gnuboat-webserver.lintian-overrides
===================================================================
--- debian/gnuboat-webserver.lintian-overrides	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/gnuboat-webserver.lintian-overrides	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+gnuboat-webserver binary: executable-not-elf-or-script usr/share/gnuboat/webservice/map.mbtiles
Index: debian/python2-gnuboat.postinst
===================================================================
--- debian/python2-gnuboat.postinst	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/python2-gnuboat.postinst	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+mkdir -p /var/spool/gnuboat
+mkdir -p /var/lib/gnuboat
+mkdir -p /var/log/gnuboat
+chown www-data:www-data /var/spool/gnuboat /var/lib/gnuboat /var/log/gnuboat
+
+
+#DEBHELPER#
+
+exit 0
Index: debian/python2-gnuboat.prerm
===================================================================
--- debian/python2-gnuboat.prerm	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/python2-gnuboat.prerm	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,26 @@
+#!/bin/sh
+set -e
+
+DIR_DATA="/var/lib/gnuboat/"
+DIR_LOG="/var/log/gnuboat/"
+DIR_SPOOL="/var/spool/gnuboat"
+
+rm -R "${DIR_SPOLL}"
+
+if [ "$(ls -A ${DIR_DATA})" ]; then
+	# do not remove the data directory
+	echo "Your data directory (${DIR_DATA}) is not empty. Leaving the data directory untouched!"
+else
+	rm -R "${DIR_DATA}"
+fi
+
+if [ "$(ls -A ${DIR_LOG})" ]; then
+        # do not remove the data directory
+        echo "Your log directory (${DIR_LOG}) is not empty. Leaving the log directory untouched!"
+else
+        rm -R "${DIR_LOG}"
+fi
+
+#DEBHELPER#
+
+exit 0
Index: debian/python3-gnuboat.postinst
===================================================================
--- debian/python3-gnuboat.postinst	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/python3-gnuboat.postinst	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+python2-gnuboat.postinst
Index: debian/python3-gnuboat.prerm
===================================================================
--- debian/python3-gnuboat.prerm	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/python3-gnuboat.prerm	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+python2-gnuboat.prerm
Index: debian/rules
===================================================================
--- debian/rules	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/rules	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export PYBUILD_NAME = gnuboat
+export PYBUILD_OPTION="-d src/python"
+DESTDIR := $(CURDIR)/debian/build/webapp
+
+%:
+	dh $@ --with systemd,python2,python3 --buildsystem=pybuild
+
+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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/source.lintian-overrides	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ debian/source/format	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,1 @@
+3.0 (native)
Index: setup.py
===================================================================
--- setup.py	(revision 0e718778e4026c00b59eae819c6824bf65bba02d)
+++ setup.py	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -26,5 +26,5 @@
 setup(
   name="gnuboat",
-  version="0.4.0",
+  version="0.4.6",
   maintainer="EngSaS - Langenbach",
   maintainer_email="info@engsas.de",
Index: src/apt/sources.list.d/gnuboat-jessie.list
===================================================================
--- src/apt/sources.list.d/gnuboat-jessie.list	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
+++ src/apt/sources.list.d/gnuboat-jessie.list	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -0,0 +1,2 @@
+# GNUBoat jessie repository
+deb http://ftp.engsas.de/unstable/gnuboat/ jessie main
Index: src/puppetcode/environments/gnuboat/configversion
===================================================================
--- src/puppetcode/environments/gnuboat/configversion	(revision 0e718778e4026c00b59eae819c6824bf65bba02d)
+++ src/puppetcode/environments/gnuboat/configversion	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-echo "0.4.2"
+echo "0.4.3"
 
 exit 0
Index: src/puppetcode/environments/gnuboat/hieradata/common.yaml
===================================================================
--- src/puppetcode/environments/gnuboat/hieradata/common.yaml	(revision 0e718778e4026c00b59eae819c6824bf65bba02d)
+++ src/puppetcode/environments/gnuboat/hieradata/common.yaml	(revision 27a5d0d077a9704ca5a328dccc486aa0dbc35ee7)
@@ -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'
