Didier Raboud [Mon, 4 Jun 2012 17:55:29 +0000 (19:55 +0200)]
Add test case for #675618.
Didier Raboud [Wed, 30 May 2012 17:27:22 +0000 (19:27 +0200)]
lsb 4.1+Debian6 Debian release.
Didier Raboud [Wed, 30 May 2012 14:01:53 +0000 (16:01 +0200)]
Revert "Allow FANCYTTY to be sourced from /etc/default/rcS."
This reverts commit
ce9dcceef7745798cf92b2aac03164818b79ce63.
This avoids one ugly `set +u` in the $() subshell and avoids the hijack of /etc/default/rcS.
Reopens: #673207
Closes: #675162
Reported-by: Kamen Naydenov <pau4o@kamennn.eu>
Closes: #675197
Reported-by: Steve Cotton <steve@s.cotton.clara.co.uk>
Thanks-To: Julien Cristau <jcristau@debian.org>
Didier Raboud [Tue, 29 May 2012 07:33:04 +0000 (09:33 +0200)]
lsb 4.1+Debian5 Debian release.
Didier Raboud [Wed, 23 May 2012 12:15:20 +0000 (14:15 +0200)]
Py: Deprecate the compare_release function.
In the process, rewrite it to be based on release_index() for robustness.
Didier Raboud [Wed, 23 May 2012 11:42:37 +0000 (13:42 +0200)]
Py3: Drop unused commands module in lsb_release.
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 11:42:01 +0000 (13:42 +0200)]
Py3: Use new print() functions in lsb_release.
Thanks-to: Jakub Wilk <jwilk@debian.org>
Didier Raboud [Wed, 23 May 2012 11:41:15 +0000 (13:41 +0200)]
Py3: Fix parse_policy_line test for python3.
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 11:29:22 +0000 (13:29 +0200)]
Py3: Replace `compare` with `key` function.
Didier Raboud [Wed, 23 May 2012 11:22:30 +0000 (13:22 +0200)]
PyUT: Add test_sort_releases to test multiple sorting syntaxes.
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 09:30:47 +0000 (11:30 +0200)]
Py3: Replace cmp usage by its equivalent.
Didier Raboud [Wed, 23 May 2012 09:26:25 +0000 (11:26 +0200)]
PyUT3: Fix rnd_string to use ascii_letters and range instead of letters and xrange.
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 09:21:00 +0000 (11:21 +0200)]
Py3: Bugfix check_modules_installed()
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 09:20:24 +0000 (11:20 +0200)]
Py3: Fix lists usage and handling.
Didier Raboud [Wed, 23 May 2012 09:18:18 +0000 (11:18 +0200)]
Py3: Replace commands with subprocess calls in lsb_release.py.
Thanks-to: Nicolas Dandrimont <nicolas.dandrimont@crans.org>
Thanks-to: Jakub Wilk <jwilk@debian.org>
Didier Raboud [Wed, 23 May 2012 09:16:39 +0000 (11:16 +0200)]
Py3: Use new print() functions and fix types in lsb_release.py
Thanks-to: Jakub Wilk <jwilk@debian.org>
Didier Raboud [Wed, 23 May 2012 08:43:38 +0000 (10:43 +0200)]
PyUT: Implement test for lsb_release.get_distro_information.
Didier Raboud [Wed, 23 May 2012 08:42:54 +0000 (10:42 +0200)]
PyUT: Put the distinfo commonities in get_arch_distinfo function.
Git-Dch: None
Didier Raboud [Wed, 23 May 2012 08:11:56 +0000 (10:11 +0200)]
PyUT: re-indent the guess_release_from_apt calls.
Git-Dch: None
Francois Gouget [Wed, 23 May 2012 12:54:43 +0000 (14:54 +0200)]
Avoid useless calls to guess_release_from_apt().
In guess_debian_release(), avoid calling guess_release_from_apt() if a
codename is already provided.
Closes: #674143
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Wed, 23 May 2012 08:08:42 +0000 (10:08 +0200)]
PyUT: Implement test for lsb_release.guess_debian_release.
This includes a modification of lsb_release.py to enable an
overridability with an environment variable LSB_ETC_DEBIAN_VERSION that
can point to another /etc/debian_version.
Didier Raboud [Tue, 22 May 2012 14:19:15 +0000 (16:19 +0200)]
PyUT: Implement test for lsb_release.guess_release_apt.
Didier Raboud [Tue, 22 May 2012 13:40:56 +0000 (15:40 +0200)]
PyUT: Bugfix environment left-overs.
Git-Dch: None
Didier Raboud [Tue, 22 May 2012 13:19:54 +0000 (15:19 +0200)]
PyUT: Implement test for lsb_release.get_lsb_information.
This includes a modification of lsb_release.py to enable an
overridability with an environment variable LSB_ETC_LSB_RELEASE that can
point to another /etc/lsb-release
Didier Raboud [Tue, 22 May 2012 13:01:05 +0000 (15:01 +0200)]
PyUT: Implement test for lsb_release.check_modules_installed.
Didier Raboud [Tue, 22 May 2012 11:50:24 +0000 (13:50 +0200)]
Add the /usr/lib/sendmail symlink to /u/s/sendmail in lsb-invalid-mta.
Reported-by: Stew Benedict <stewb@linux-foundation.org>
LP: #580914
Didier Raboud [Tue, 22 May 2012 10:54:02 +0000 (12:54 +0200)]
Safe-guard calls to echo with || true.
This helps towards making sure init.d scripts called with `set -e`
continue to work, see #661002.
In particular, this avoids blocking all init.d scripts run on a terminal
where civis and cnorm are capabilities not available, such as cmd.exe .
Thanks-to: Sam Hocevar <sho@debian.org>
Didier Raboud [Tue, 22 May 2012 09:48:32 +0000 (11:48 +0200)]
PyUT: Implement test for lsb_release.parse_apt_policy.
Didier Raboud [Tue, 22 May 2012 08:46:32 +0000 (10:46 +0200)]
PyUT: Fix a minor typo.
Git-Dch: None
Didier Raboud [Tue, 22 May 2012 08:44:43 +0000 (10:44 +0200)]
PyUT: Add a fake apt-cache for testing purposes.
Didier Raboud [Tue, 22 May 2012 08:28:08 +0000 (10:28 +0200)]
PyUT: Implement test for lsb_release.compare_release.
Didier Raboud [Mon, 21 May 2012 16:43:09 +0000 (18:43 +0200)]
PyUT: Add rnd_string function for the creation of random strings.
Git-Dch: None
Didier Raboud [Mon, 21 May 2012 15:18:57 +0000 (17:18 +0200)]
PyUT: Implement test for lsb_release.parse_policy_line.
Didier Raboud [Mon, 21 May 2012 12:58:14 +0000 (14:58 +0200)]
Allow FANCYTTY to be sourced from /etc/default/rcS.
The FANCYTTY shell variable is sourced from /etc/default/rcS before
etc/lsb-base-logging.sh .
- Systems with an administrator-provided /etc/lsb-base-logging.sh keep
working.
- Systems without /etc/lsb-base-logging.sh can now override FANCYTTY in
/etc/default/rcS too.
Thanks-To: Roger Leigh <rleigh@codelibre.net>
Reported-by: Stanislav Maslovski <stanislav.maslovski@gmail.com>
Closes: #673207
Git-Dch: Full
Didier Raboud [Mon, 21 May 2012 12:56:29 +0000 (14:56 +0200)]
Enhance doc about files sourced from init-functions.
Didier Raboud [Mon, 21 May 2012 12:34:14 +0000 (14:34 +0200)]
Correct comment in init-functions about hooks.
Git-Dch: None
Didier Raboud [Fri, 18 May 2012 20:30:19 +0000 (22:30 +0200)]
lsb 4.1+Debian4 Debian release.
Didier Raboud [Fri, 18 May 2012 20:27:58 +0000 (22:27 +0200)]
Revert the constraint on python to >= 2.7.
Just don't run the tests on python2.6.
Didier Raboud [Tue, 15 May 2012 14:52:15 +0000 (16:52 +0200)]
Merge branch 'pytests'
Didier Raboud [Tue, 15 May 2012 14:52:10 +0000 (16:52 +0200)]
Avoid writing the now useless lsb-qt4.substvars file.
Didier Raboud [Tue, 15 May 2012 09:03:15 +0000 (11:03 +0200)]
Move the "left info blocks" code to a hook.
Didier Raboud [Tue, 15 May 2012 08:56:51 +0000 (10:56 +0200)]
Put the Ubuntu logging functions in the hooks directory.
Add the needed maintscript helper to remove the untouched
lsb-base-logging.sh; including Pre-Dependency on recent-enough dpkg.
Didier Raboud [Tue, 15 May 2012 08:52:51 +0000 (10:52 +0200)]
Read admin's lsb-base-logging.sh after packaged hooks.
Git-Dch: None
Didier Raboud [Wed, 9 May 2012 12:43:17 +0000 (14:43 +0200)]
In init-functions, include hooks from other packages.
- Add a /lib/lsb/init-functions.d/ empty directory for this purpose.
- Add a lintian override for the above.
- Source any file in there.
- Document that in lsb-base.README.
(This would be used by systemd, at least).
Git-Dch: Full
Didier Raboud [Wed, 9 May 2012 13:06:17 +0000 (15:06 +0200)]
Properly document the first version with init_is_upstart.
Didier Raboud [Mon, 7 May 2012 17:12:27 +0000 (19:12 +0200)]
PyUT: Run tests with python3 too.
Note: This currently makes the build fail in a non-clean environment without
py3versions available. This is semi-intended and is the easiest way to have
the tests run as python3 too.
Didier Raboud [Sun, 6 May 2012 11:25:55 +0000 (13:25 +0200)]
PyUT: Add template tests for initdutils.py
Didier Raboud [Sun, 6 May 2012 11:19:10 +0000 (13:19 +0200)]
PyUT: Skip not implemented tests.
Didier Raboud [Sat, 5 May 2012 10:36:53 +0000 (12:36 +0200)]
PyUT: Implement a unittest for valid_lsb_versions.
Take the opportunity to fix its output for cxx in 3.1.
Didier Raboud [Fri, 4 May 2012 12:42:06 +0000 (14:42 +0200)]
PyUT: Add all the lsb_release.py functions as NotImplemented tests.
Didier Raboud [Fri, 4 May 2012 12:23:25 +0000 (14:23 +0200)]
PyUT: Add a unittest for lookup_codename.
Didier Raboud [Fri, 4 May 2012 11:41:25 +0000 (13:41 +0200)]
PyUT: Add initial unittest framework, limit possible python versions to >= 2.7.
Limiting the supported python versions to >= 2.6 permits to avoid unneccessary
code to permit the use of unittest in all python 2 and 3 versions such as:
import sys
if sys.version_info[0] >= 3:
import unittest
else:
import unittest2 as unittest
python2.7 is the default version in Debian unstable since Sep 2011.
Didier Raboud [Mon, 7 May 2012 17:22:50 +0000 (19:22 +0200)]
lsb 4.1+Debian3 Debian release.
Didier Raboud [Sun, 6 May 2012 20:16:27 +0000 (22:16 +0200)]
Drop empty directory in lsb-base.
Instead of moving lsb-base-logging.sh to /etc/lsb/, drop the empty /etc/lsb.
Closes: #671730
Git-Dch: Full
Didier Raboud [Fri, 4 May 2012 10:50:53 +0000 (12:50 +0200)]
Bugfix source compression.
Git-Dch: None
Didier Raboud [Wed, 2 May 2012 07:29:11 +0000 (09:29 +0200)]
Bugfix init_is_upstart(): use test and full paths.
Git-Dch: None
Didier Raboud [Wed, 2 May 2012 09:25:47 +0000 (11:25 +0200)]
Fix typo in lsb-invalid-mta's Description.
Didier Raboud [Tue, 1 May 2012 07:22:02 +0000 (09:22 +0200)]
Update LSB and packages versions in README.Debian.
Steve Langasek [Tue, 1 May 2012 06:55:45 +0000 (08:55 +0200)]
Add a new helper function: init_is_upstart().
init_is_upstart() is to be used by init scripts of upstart-aware packages to
render the init script inert when upstart is present.
Signed-off-by: Didier Raboud <odyx@debian.org>
Closes: #661109
Git-Dch: Full
Didier Raboud [Tue, 24 Apr 2012 20:40:19 +0000 (22:40 +0200)]
Compress the orig source tarball with bzip2.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Tue, 24 Apr 2012 19:34:41 +0000 (21:34 +0200)]
lsb 4.1+Debian2 Debian release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sun, 22 Apr 2012 11:54:31 +0000 (13:54 +0200)]
Make sure OPTIND is marked local for each use.
Closes: #669909
Reported-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 23 Apr 2012 13:45:00 +0000 (15:45 +0200)]
Make the cursor invisible when printing the Fancy output status block.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 23 Apr 2012 13:35:23 +0000 (15:35 +0200)]
Avoid two superflous calls to /bin/echo in Fancy output.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 19 Apr 2012 09:30:43 +0000 (11:30 +0200)]
lsb 4.1+Debian1 Debian release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 12 Apr 2012 12:13:35 +0000 (14:13 +0200)]
In killproc(), make sure to exit 0 when the program is not running and when no signal was specified.
Closes: #668416
Reported-by: Peter Eisentraut <petere@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Tue, 17 Apr 2012 09:52:47 +0000 (11:52 +0200)]
lsb-base: Enhance documentation of fancy output [....] messages in README.Debian.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Tue, 17 Apr 2012 09:43:58 +0000 (11:43 +0200)]
lsb-base: Move information from NEWS.Debian to README.Debian.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Tue, 17 Apr 2012 09:57:26 +0000 (11:57 +0200)]
Merge branch 'master-experimental'
Didier Raboud [Mon, 16 Apr 2012 08:09:09 +0000 (10:09 +0200)]
pidofproc(): Make sure to try /bin/pidof when no pidfile is specified.
Move the pidof-using block inside the conditional to have it run when we know
that the pidfile doesn't exist but before assuming that the program was indeed
using one.
Closes: #668958
Reported-by: Adrian Fita <adrian.fita@gmail.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Wed, 11 Apr 2012 10:12:26 +0000 (12:12 +0200)]
lsb 4.1+Debian0+fancy1 Debian experimental release.
Didier Raboud [Wed, 4 Apr 2012 12:45:43 +0000 (14:45 +0200)]
Fancy output: prepend [info] blocks to log_action_msg calls.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sat, 31 Mar 2012 15:53:39 +0000 (17:53 +0200)]
lsb 4.1+Debian0+fancy0 Debian experimental release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sat, 31 Mar 2012 15:48:19 +0000 (17:48 +0200)]
Update lsb-base.README.Debian.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Fri, 30 Mar 2012 12:48:42 +0000 (14:48 +0200)]
Make the init.d scripts messages fancier by prepending them a [....] block.
== Implementation ==
* The logging functions assign the status block as "[....]" when
printing the log message.
Concerned functions:
- log_daemon_msg
- log_action_begin_msg
- log_begin_msg (despite not being a documented interface)
* The log message conclusion functions replace the status block by
either a green [ ok ], a yellow [warn] or a red [FAIL] by
Concerned functions:
- log_end_msg
This is implemented as _pre/_post functions.
== Documentation ==
* lsb-base.README.Debian is updated with the new _pre/_post functions.
* lsb-base.NEWS gets a new entry with information meant for experimental
users and init.d scripts maintainers.
== Pseudo-headers ==
Closes: #416485
Reported-by: Alessio <alga777@gmail.com>
Not-used-but-useful-patch-by: Alessio <alga777@gmail.com>
Not-used-but-useful-patch-by: Nico Golde <nion@debian.org>
Idea-by: Mehdi Dogguy <mehdi@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 26 Mar 2012 20:55:08 +0000 (22:55 +0200)]
lsb 4.1+Debian0 Debian release.
Didier Raboud [Mon, 26 Mar 2012 09:26:31 +0000 (11:26 +0200)]
Drop lsb suggests, obsoleted by dependencies changes.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 26 Mar 2012 09:13:49 +0000 (11:13 +0200)]
Merge the experimental branch, release 4.1+Debian0~exp2.
Didier Raboud [Mon, 19 Mar 2012 16:09:40 +0000 (17:09 +0100)]
Make init-functions' status_of_proc return the LSB-documented 3 on inexistant pidfiles.
This enhances the
13f38d30a823afc5841fd17ee405c6ebff2af1ac commit by
additionally taking the potential inexistance of pidfiles into account.
Closes: #664621
Reported-by: Michael Prokop <mika@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 15 Mar 2012 17:45:57 +0000 (18:45 +0100)]
Add lsb-languages to lsb Depends.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 15 Mar 2012 10:09:44 +0000 (11:09 +0100)]
lsb 4.1+Debian0~exp2 Debian experimental release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 15 Mar 2012 09:47:02 +0000 (10:47 +0100)]
Bump Standards-Version to 3.9.3 without changes needed.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 15 Mar 2012 09:29:37 +0000 (10:29 +0100)]
Rewrite debian/copyright using the copyright-format 1.0.
- Also correct the FSF address on the python files.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 15 Mar 2012 09:14:44 +0000 (10:14 +0100)]
Add libpod-plainer-perl to lsb-languages depends.
This is deprecated in LSB4.1 but still mandatory.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 12 Mar 2012 14:41:55 +0000 (15:41 +0100)]
Update package relationships to match LSB 4.1:
- Add lsb-security to lsb-core Depends.
- Add lsb-multimedia to lsb-desktop Depends.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 12 Mar 2012 14:40:14 +0000 (15:40 +0100)]
Tighten more dependencies between lsb packages.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Wed, 7 Mar 2012 09:56:25 +0000 (10:56 +0100)]
lsb-base.README.Debian: Document status_of_proc.
Closes: #565631
Reported-by: Thomas Koch <thomas@koch.ro>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sun, 11 Mar 2012 16:37:32 +0000 (17:37 +0100)]
lsb 4.1+Debian0~exp1 Debian experimental release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Wed, 7 Mar 2012 12:26:01 +0000 (13:26 +0100)]
In killproc(), re-add a '--retry 5' to s-s-d when no signal is specified.
According to the letter of the LSB:
killproc:"If a signal is specified, (...) the program is sent that signal.
Otherwise, a SIGTERM followed by a SIGKILL after an unspecified
number of seconds shall be sent."
According to start-stop-daemon manpage, that's what `--retry 5` does, with `5
seconds` being the `unspecified` of LSB, hence the `--retry 5` is only added
in the case where no signal is specified.
Closes: #650584
Reported-by: Daniel Nelson <torham@connect2.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sun, 11 Mar 2012 15:50:03 +0000 (16:50 +0100)]
Merge branch 'master' into master-experimental
Didier Raboud [Sun, 11 Mar 2012 14:07:47 +0000 (15:07 +0100)]
lsb 3.2+Debian31 Debian release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sun, 11 Mar 2012 13:59:18 +0000 (14:59 +0100)]
Fix both unused and undeclared local variables in pidofproc.
This fixes:
- one bug introduced by the fix for #327405 in 3.0-6, which stopped using the
`line` variable;
- one bug introduced in 3.2-20, which started to use the `base` variable
without declaring it in local.
Closes: #663351
Reported-by: Liu Yubao <yubao.liu@gmail.com>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Thu, 8 Mar 2012 10:12:37 +0000 (11:12 +0100)]
Tighten dependencies between lsb-* packages.
This ensures that e.g. one cannot have lsb-desktop 4.1 and lsb-core 3.2 while
expecting "full" lsb 4.1".
Signed-off-by: Didier Raboud <odyx@debian.org>
Peter Eisentraut [Wed, 7 Mar 2012 10:33:43 +0000 (11:33 +0100)]
Handle non-world-readable pid files.
Closes: #653598
Reported-by: Peter Eisentraut <petere@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Tue, 6 Mar 2012 12:45:31 +0000 (13:45 +0100)]
Promote lsb-release to Priority: optional.
Currently, 15 packages of priority "optional" depend on lsb-release and this
promotion fixes the override disparity between the archive and the package.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 5 Mar 2012 21:55:21 +0000 (22:55 +0100)]
Merge branch 'master' into master-experimental
Didier Raboud [Mon, 5 Mar 2012 21:22:53 +0000 (22:22 +0100)]
Correct a bug number in the 3.2+Debian30 upload.
It was supposed to close #642076, not #642079.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Mon, 5 Mar 2012 21:42:21 +0000 (22:42 +0100)]
lsb 4.1+Debian0~exp0 Debian experimental release.
Signed-off-by: Didier Raboud <odyx@debian.org>
Didier Raboud [Sun, 19 Feb 2012 15:31:56 +0000 (16:31 +0100)]
Upgrade to support LSB 4.1.
LSB changes:
- Bump Depends:
- on libglib2.0-0 to >= 2.12.13;
- on fontconfig to >= 2.6.0;
- on libglib2.0-0 to >= 2.12.13;
- on libatk1.0-0 to >= 1.10.3;
- on libpango1.0-0 to >= 1.10.4;
- on libgtk2.0-0 to >= 2.10.14;
- Add Depends:
- on libglu1;
- on libcairo2 to >= 1.2.0;
- on libxtst6;
- on ghostscript-cups;
- In lsb, bump lsb-printing from Suggests to Depends.
- Add the lsb-security package.
- Drop the now-obsolete lsb-qt4 package.
Debian changes:
- libgl1-mesa-glx is the first alternative for libgl1;
- Make sure all packages have ${misc:Depends}.
Closes: #586191
LP: #385606
LP: #386128
Signed-off-by: Didier Raboud <odyx@debian.org>
Till Kamppeter [Sun, 19 Feb 2012 14:52:06 +0000 (15:52 +0100)]
Add the "lsb-invalid-mta" package, with a fake sendmail.
This allows the installation of LSB packages to not pull in an MTA any more,
which once adds awkward configuration questions to the installation process
and second adds an often unnneeded daemon to the system.
LP: #141641
Signed-off-by: Didier Raboud <odyx@debian.org>