diff -Nru lsb-4.0/debian/changelog lsb-4.0/debian/changelog --- lsb-4.0/debian/changelog 2009-12-18 15:40:57.000000000 +0100 +++ lsb-4.0/debian/changelog 2010-02-23 11:03:57.000000000 +0100 @@ -1,3 +1,18 @@ +lsb (4.0-0ubuntu8) lucid; urgency=low + + * sendmail, debian/control, debian/rules, debian/lsb-invalid-mta.dirs: + Added new binary package "lsb-invalid-mta" containing a fake + /usr/bin/sendmail so that the installation of LSB packages does 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). + + * debian/control: The LSB requires the printing environment already + since version 3.2. Made lsb-printing required by the "lsb" package + not only suggested (LP: #386128). + + -- Till Kamppeter Mon, 22 Feb 2010 23:50:49 +0100 + lsb (4.0-0ubuntu7) lucid; urgency=low * Remove /usr/lib/pymodules/python2.6/lsb_release.py on upgrades; this might diff -Nru lsb-4.0/debian/control lsb-4.0/debian/control --- lsb-4.0/debian/control 2009-09-10 13:27:42.000000000 +0200 +++ lsb-4.0/debian/control 2010-02-23 10:59:18.000000000 +0100 @@ -10,7 +10,7 @@ Package: lsb-core Architecture: any -Depends: lsb-release, ${glibc}, libz1, libncurses5, libpam0g, postfix | mail-transport-agent, at, bc, binutils, bsdmainutils, bsdutils, cpio, cron, ed, file, libc6-dev | libc-dev, locales, cups-bsd | lpr, lprng | cups-client, m4, mailx | mailutils, make, man-db, mawk | gawk, ncurses-term, passwd, patch, pax, procps, psmisc, rsync, alien (>= 8.36), ${python:Depends}, ${misc:Depends}, ${depends}, lsb-base, time +Depends: lsb-release, ${glibc}, libz1, libncurses5, libpam0g, lsb-invalid-mta | mail-transport-agent, at, bc, binutils, bsdmainutils, bsdutils, cpio, cron, ed, file, libc6-dev | libc-dev, locales, cups-bsd | lpr, lprng | cups-client, m4, mailx | mailutils, make, man-db, mawk | gawk, ncurses-term, passwd, patch, pax, procps, psmisc, rsync, alien (>= 8.36), ${python:Depends}, ${misc:Depends}, ${depends}, lsb-base, time Provides: lsb-core-noarch, ${provides} Conflicts: lsb (<< 2.0-2) Replaces: lsb (<< 2.0-2) @@ -207,8 +207,8 @@ Package: lsb Architecture: all -Depends: lsb-core, lsb-graphics, lsb-cxx, lsb-desktop, ${misc:Depends} -Suggests: lsb-printing, lsb-multimedia, lsb-languages +Depends: lsb-core, lsb-graphics, lsb-cxx, lsb-desktop, lsb-printing, ${misc:Depends} +Suggests: lsb-multimedia, lsb-languages Description: Linux Standard Base 4.0 support package The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can @@ -260,3 +260,30 @@ While it is intended for use by LSB packages, this command may also be useful for programmatically distinguishing between a pure Debian installation and derived distributions. + +Package: lsb-invalid-mta +Architecture: all +Suggests: lsb +Provides: mail-transport-agent +Conflicts: mail-transport-agent +Description: Linux Standard Base sendmail dummy + The Linux Standard Base (http://www.linuxbase.org/) is a standard + core system that third-party applications written for Linux can + depend upon. + . + This package contains nothing else than a fake /usr/bin/sendmail + command to fulfill the LSB's requirement of providing this command without + requiring an MTA to get installed, which once introduces a daemon which + can cause security problems and second, users get asked questions about + how they want their MTA configured when in reality they simply wanted to + install a deskltop application or a printer driver, but the dependency on + LSB compliance pulls in an MTA with the installation. + . + The LSB requirement on /usr/bin/sendmail comes from old times where Linux + and Unix machines had all fixed IPs and did server tasks in data centers. + Today's typical desktop Linux machines do not do local e-mail any more as + users use external e-mail services. + . + The /usr/bin/sendmail always exits with exit status -1 (255) and sends a + warning message to stderr, so that if a program actually tries to send e-mail + via the sendmail command the user gets note. diff -Nru lsb-4.0/debian/lsb-invalid-mta.dirs lsb-4.0/debian/lsb-invalid-mta.dirs --- lsb-4.0/debian/lsb-invalid-mta.dirs 1970-01-01 01:00:00.000000000 +0100 +++ lsb-4.0/debian/lsb-invalid-mta.dirs 2010-02-23 09:42:48.000000000 +0100 @@ -0,0 +1 @@ +usr/sbin diff -Nru lsb-4.0/debian/rules lsb-4.0/debian/rules --- lsb-4.0/debian/rules 2009-08-21 17:16:10.000000000 +0200 +++ lsb-4.0/debian/rules 2010-02-23 09:42:22.000000000 +0100 @@ -87,6 +87,7 @@ cp -p lsb_release debian/lsb-release/usr/bin cp -p lsb_release.py debian/lsb-release/usr/share/pyshared/ cp -p debian/lsb-release.bugscript debian/lsb-release/usr/share/bug/lsb-release + cp -p sendmail debian/lsb-invalid-mta/usr/sbin # Build architecture-independent files here. binary-indep: build install diff -Nru lsb-4.0/sendmail lsb-4.0/sendmail --- lsb-4.0/sendmail 1970-01-01 01:00:00.000000000 +0100 +++ lsb-4.0/sendmail 2010-02-23 10:58:09.000000000 +0100 @@ -0,0 +1,3 @@ +#!/bin/sh +echo "Please install an MTA on this system if you want to use sendmail!" >&2 +exit 255