Index: externals/epaper-driver/debian/changelog
===================================================================
--- externals/epaper-driver/debian/changelog	(revision 51497146ca7e95c0d11b064cc76b797d35644b90)
+++ externals/epaper-driver/debian/changelog	(revision 76bbdad5397afd9c89361b56549b47e1e622f7bb)
@@ -1,2 +1,11 @@
+epd-fuse (0.1-4) unstable; urgency=low
+
+  * Added auto switch to systemd for debian jessie (8.0) or initd for
+    version before jessie
+  * Added Apache 2.0 as license and also added copyright information
+  * epd-fuse-* provides virtual package epd-fuse and python-epd depends on that virtual package
+
+ -- EngSaS - Joachim Langenbach <info@engsas.de>  Thu, 21 Jul 2016 17:00:00 +0000
+
 epd-fuse (0.1-3) unstable; urgency=low
 
Index: externals/epaper-driver/debian/control
===================================================================
--- externals/epaper-driver/debian/control	(revision 51497146ca7e95c0d11b064cc76b797d35644b90)
+++ externals/epaper-driver/debian/control	(revision 76bbdad5397afd9c89361b56549b47e1e622f7bb)
@@ -13,4 +13,5 @@
 Package: epd-fuse-v230-g2
 Architecture: any
+Provides: epd-fuse
 Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse-dev
 Description: EPD driver for repaper display
@@ -20,5 +21,5 @@
 Section: python
 Architecture: any
-Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse-v230-g2
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse
 Description: Python module for the repaper display epd-fuse driver
  It provides an API to use the repaper displays with epd-fuse driver
@@ -28,5 +29,5 @@
 Section: python
 Architecture: any
-Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse-v230-g2
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, epd-fuse
 Description: Python module for the repaper display epd-fuse driver (Python 3)
  It provides an API to use the repaper displays with epd-fuse driver 
Index: externals/epaper-driver/debian/copyright
===================================================================
--- externals/epaper-driver/debian/copyright	(revision 51497146ca7e95c0d11b064cc76b797d35644b90)
+++ externals/epaper-driver/debian/copyright	(revision 76bbdad5397afd9c89361b56549b47e1e622f7bb)
@@ -1,38 +1,24 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: epd-fuse
-Source: <url://example.com>
+Source: https://github.com/repaper/gratis
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
+Copyright: Copyright 2013-2015 Pervasive Displays, Inc
+License: Apache-2.0
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
  .
- <Including paragraphs>
-
-# If you want to use GPL v2 or later for the /debian/* files use 
-# the following clauses, or change it to suit. Delete these two lines
-Files: debian/*
-Copyright: 2016 EngSaS - Joachim Langenbach <info@engsas.de>
-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.
+      http://www.apache.org/licenses/LICENSE-2.0
  .
- 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.
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
  .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>
- .
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
+ On Debian systems, the full text of the Apache Software License version 2 can
+ be found in the file `/usr/share/common-licenses/Apache-2.0'.
Index: externals/epaper-driver/debian/patches/switch-service-file.diff
===================================================================
--- externals/epaper-driver/debian/patches/switch-service-file.diff	(revision 51497146ca7e95c0d11b064cc76b797d35644b90)
+++ externals/epaper-driver/debian/patches/switch-service-file.diff	(revision 76bbdad5397afd9c89361b56549b47e1e622f7bb)
@@ -57,2 +57,18 @@
  else # otherwise Debian
  	rm -f "${DESTDIR}${SYSCONFDIR}/init/epd-fuse.conf"
+Index: epd-fuse-0.1/driver-common/epd-fuse.service
+===================================================================
+--- epd-fuse-0.1.orig/driver-common/epd-fuse.service
++++ epd-fuse-0.1/driver-common/epd-fuse.service
+@@ -10,9 +10,9 @@ SyslogLevel=err
+ # make sure panel size matches installed EPD panel
+ Environment=EPD_MOUNTPOINT=/dev/epd EPD_SIZE=2.0 "EPD_OPTS=-o allow_other -o default_permissions"
+ EnvironmentFile=/etc/default/epd-fuse
+-ExecStartPre=/usr/bin/mkdir -p ${EPD_MOUNTPOINT}
++ExecStartPre=/bin/mkdir -p ${EPD_MOUNTPOINT}
+ ExecStart=/usr/sbin/epd_fuse --panel=${EPD_SIZE} $EPD_OPTS ${EPD_MOUNTPOINT}
+-ExecStop=/usr/bin/umount /dev/epd
++ExecStop=/bin/umount ${EPD_MOUNTPOINT}
+ KillSignal=SIGQUIT
+ KillMode=mixed
+ 
Index: externals/epaper-driver/debian/rules
===================================================================
--- externals/epaper-driver/debian/rules	(revision 51497146ca7e95c0d11b064cc76b797d35644b90)
+++ externals/epaper-driver/debian/rules	(revision 76bbdad5397afd9c89361b56549b47e1e622f7bb)
@@ -4,5 +4,5 @@
 export PYBUILD_NAME = epd
 PANEL_VERSION := V230_G2
-DESTDIR := $$(pwd)/debian/epd-fuse-v230-g2
+DESTDIR := $(CURDIR)/debian/epd-fuse-v230-g2
 PREFIX := /usr
 RELEASE := $(shell lsb_release -rs)
