chiark / gitweb /
Override lintian warning about start-stop-daemon
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 4 Apr 2009 16:47:05 +0000 (17:47 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 4 Apr 2009 16:47:05 +0000 (17:47 +0100)
debian/Makefile.am
debian/overrides.disorder-server [new file with mode: 0644]
debian/rules

index b4af06d..b799a1c 100644 (file)
@@ -22,7 +22,7 @@ EXTRA_DIST=README.Debian config.disorder-server control \
           copyright README.RTP \
           etc.disorder.options.user etc.disorder.config \
           postinst.disorder-server prerm.disorder-server \
-          postrm.disorder-server \
+          postrm.disorder-server overrides.disorder-server \
           templates.disorder-server conffiles.disorder-server \
           rules changelog usr.share.menu.disobedience \
           postinst.disobedience
diff --git a/debian/overrides.disorder-server b/debian/overrides.disorder-server
new file mode 100644 (file)
index 0000000..404841e
--- /dev/null
@@ -0,0 +1,3 @@
+# No, we can't use '/etc/init.d/disorder stop', the whole point is to
+# avoid problems with that not working.
+disorder-server: start-stop-daemon-in-maintainer-script prerm:29
index a4dfdc4..e3fe1c9 100755 (executable)
@@ -141,6 +141,9 @@ pkg-disorder-server: build
        $(MKDIR) debian/disorder-server
        $(MKDIR) debian/disorder-server/DEBIAN
        $(MKDIR) debian/disorder-server/usr/share/doc/disorder-server
+       $(MKDIR) debian/disorder-server/usr/share/lintian/overrides
+       $(INSTALL_DATA) debian/overrides.disorder-server \
+           debian/disorder-server/usr/share/lintian/overrides/disorder-server
        $(INSTALL_DATA) debian/copyright \
                debian/disorder-server/usr/share/doc/disorder-server/copyright
        $(INSTALL_DATA) debian/changelog \