Hi Rémi,

Thanks for shipping a systemd service file with miredo.

Attached you can find a patch which updates the miredo packaging to use
dh-systemd in order to get proper maintscripts for enabling the service
file.

Note however that merely applying this patch will not help, bug #715504
needs to be fixed first in cdbs.

You have multiple options:

1) Wait until #715504 is fixed.
2) Additionally ship the service file as debian/miredo.service, making
   dh-systemd pick it up. This duplicates the service file, which is
   unfortunate, but would work for now.
3) Switch from cdbs to debhelper :-).

-- 
Best regards,
Michael
diff -ur ../miredo-1.2.3/debian/control debian/control
--- ../miredo-1.2.3/debian/control	2010-03-04 16:27:53.000000000 +0100
+++ debian/control	2013-07-09 20:53:38.281654350 +0200
@@ -2,10 +2,11 @@
 Section: net
 Priority: optional
 Maintainer: Rémi Denis-Courmont <r...@remlab.net>
-Build-Depends: dpkg-dev (>= 1.13.2), debhelper (>= 7), cdbs, autotools-dev,
+Build-Depends: dpkg-dev (>= 1.13.2), debhelper (>= 7), cdbs (>= 0.4.122), autotools-dev,
                automake (>= 1.11), libtool, autopoint,
                libjudy-dev,
-               libcap2-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64]
+               libcap2-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
+               dh-systemd (>= 1.4)
 Standards-Version: 3.8.4
 Homepage: http://www.remlab.net/miredo/
 XS-Vcs-Svn: http://anonsvn.remlab.net/svn/pkg-remlab/miredo
diff -ur ../miredo-1.2.3/debian/miredo.install debian/miredo.install
--- ../miredo-1.2.3/debian/miredo.install	2009-10-21 20:23:32.000000000 +0200
+++ debian/miredo.install	2013-07-09 20:53:02.374041858 +0200
@@ -9,3 +9,4 @@
 usr/share/man/man8/miredo.8
 usr/share/man/man8/miredo-checkconf.8
 usr/lib/miredo/miredo-privproc
+usr/lib/systemd/system/miredo.service

Reply via email to