Package: mediatomb-daemon
Version: 0.12.1-47-g7ab7616-1
Severity: important
Tags: patch

Hi,

The mediatomb source package contains the file
 "mediatomb-daemon.mediatomb.service"

However, dh_systemd_enable(1) explicitly states that service files must
be of the format "$package.service" which this file is not. Therefore
dh_systemd_enable is a noop when building mediatomb. In addition, as
of init-system-helpers 1.30, the entire call to dh_systemd_enable is
omitted because of this.

The attached patch should fix this by passing --name to
dh_systemd_enable.

Thanks,
James
diff --git a/debian/rules b/debian/rules
index b88f1a8..4fb745d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,9 @@ MEDIATOMB_CONFIG_OPTIONS ?= --enable-sqlite3 \
 override_dh_auto_configure:
 	dh_auto_configure -- $(MEDIATOMB_CONFIG_OPTIONS) --disable-silent-rules
 
+override_dh_systemd_enable:
+	dh_systemd_enable --name=mediatomb
+
 override_dh_installinit:
 	dh_installinit --name=mediatomb \
 		--update-rcd-params='defaults 98 02'

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to