Fix lintian-warning: init.d-script-does-not-source-init-functions
authorDarshaka Pathirana <dpat@syn-net.org>
Sun, 30 Apr 2017 18:44:05 +0000 (20:44 +0200)
committerDarshaka Pathirana <dpat@syn-net.org>
Wed, 3 May 2017 10:31:51 +0000 (12:31 +0200)
commit45680e6db31b6fc73f2445d65622ece02d1369af
tree60e86cb40449146c4dc73db6f7ef3fde1da294fa
parentf40624971649d92c005a89fde94e75011b22bf4a
Fix lintian-warning: init.d-script-does-not-source-init-functions

The /etc/init.d/uanytun script does not source /lib/lsb/init-functions. The
systemd package provides /lib/lsb/init-functions.d/40-systemd to redirect
/etc/init.d/$script calls to systemctl.

When a init script sources the /lib/lsb/init-functions utility
we have to declare a dependency on lsb-base (>= 3.0-6).

This patch includes an upstream commit which was commited after the release of v0.3.6
Source: https://git.spreadspace.org/anytun/uanytun.git/commit/?id=e84f028444822b2a185395a640c5e12da4db8454
debian/control
debian/patches/01_source-init-functions.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]