summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-12 16:11:54 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-12 16:11:54 +0200
commitcbfc3615230f3f7685122b81e6ddbd0e51d39c63 (patch)
treecc5267d3c665641c1ce582091836ad05dc3cae20
parentc321e17270211702940fcf1d677c40894dc4dcb3 (diff)
Fix some init system issues
-rw-r--r--debian/changelog3
-rw-r--r--debian/control2
-rw-r--r--debian/sane-utils.lintian-overrides4
3 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5f62e21..707ae6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ sane-backends (1.0.27-4~experimental1) experimental; urgency=medium
- Change debian/compat to 12.
- Bump minimum debhelper version in debian/control to >= 12.
* Declare compliance with Debian Policy 4.4.0 (No changes needed).
+ * New debian/sane-utils.lintian-overrides to override false positve missing
+ init.d script.
+ * debian/control: Add Pre-Depends ${misc:Pre-Depends} to install invoke-rc.d.
-- Jörg Frings-Fürst <debian@jff.email> Thu, 11 Jul 2019 21:57:10 +0200
diff --git a/debian/control b/debian/control
index 9901c65..f0ac9b4 100644
--- a/debian/control
+++ b/debian/control
@@ -35,6 +35,8 @@ Depends:
update-inetd,
${misc:Depends},
${shlibs:Depends}
+Pre-Depends:
+ ${misc:Pre-Depends}
Breaks: libsane-common (<<1.0.27-1~)
Replaces: libsane-common (<<1.0.27-1~)
Suggests: avahi-daemon, unpaper
diff --git a/debian/sane-utils.lintian-overrides b/debian/sane-utils.lintian-overrides
new file mode 100644
index 0000000..94f310e
--- /dev/null
+++ b/debian/sane-utils.lintian-overrides
@@ -0,0 +1,4 @@
+#
+# /etc/init.d/saned exists
+#
+sane-utils: package-supports-alternative-init-but-no-init.d-script lib/systemd/system/saned@.service \ No newline at end of file