diff -Nru lsb-9.20160110/debian/changelog lsb-9.20160110ubuntu1/debian/changelog --- lsb-9.20160110/debian/changelog 2016-01-10 09:33:45.000000000 -0200 +++ lsb-9.20160110ubuntu1/debian/changelog 2016-05-12 15:25:45.000000000 -0300 @@ -1,3 +1,14 @@ +lsb (9.20160110ubuntu1) yakkety; urgency=medium + + * Re-added LSB compatibility packages, so that auto-downloadable + LSB-based printer driver packages work. + * Added Breaks:/Replaces: cups-filters-invalid-mta to the lsb-invalid-mta + binary package and Breaks:/Replaces: cups-filters-lsb to all LSB + compatibility binary packages. This way users who have followed the + Xenial development cycle can smoothly update to the new LSB package. + + -- Till Kamppeter Thu, 12 May 2016 13:34:06 -0300 + lsb (9.20160110) unstable; urgency=medium * Merge the last Ubuntu diff diff -Nru lsb-9.20160110/debian/control lsb-9.20160110ubuntu1/debian/control --- lsb-9.20160110/debian/control 2016-01-10 09:32:40.000000000 -0200 +++ lsb-9.20160110ubuntu1/debian/control 2016-05-12 15:20:13.000000000 -0300 @@ -6,15 +6,322 @@ Build-Depends: debhelper (>> 9.0), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10), - python3-all, + python-all-dev (>= 2.6.6-6~), + python3-all-dev, dh-python, - distro-info-data, + distro-info-data +X-Python-Version: >= 2.6 X-Python3-Version: >= 3.4 Standards-Version: 3.9.6 Homepage: http://www.linuxfoundation.org/collaborate/workgroups/lsb Vcs-Git: git://anonscm.debian.org/collab-maint/lsb.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/lsb.git +Package: lsb-core +Architecture: any +Multi-Arch: foreign +Depends: lsb-release (>= ${source:Version}), + ${glibc}, + libz1, + libncurses5, + libpam0g, + lsb-invalid-mta (>= ${source:Version}) | mail-transport-agent, + at, + bc, + binutils, + bsdmainutils, + bsdutils, + cpio, + cron | cron-daemon, + 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), + python3, + ${python3:Depends}, + ${misc:Depends}, + ${depends}, + lsb-base (>= ${source:Version}), + lsb-security (>= ${source:Version}), + time +Provides: lsb-core-noarch, ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 core support package + 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 provides an implementation of the core of version 4.1 of + the Linux Standard Base for Debian on the Intel x86, Intel ia64 + (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux + kernel. Future revisions of the specification and this package may + support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-graphics +Architecture: any +Depends: lsb-core (>= ${source:Version}), + libgl1-mesa-glx | libgl1, + libglu1-mesa | libglu1, + libx11-6 | xlibs, + ${misc:Depends} +Provides: lsb-graphics-noarch, ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 graphics support package + 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 provides an implementation of version 4.1 of the Linux + Standard Base graphics specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-cxx +Architecture: any +Depends: lsb-core (>= ${source:Version}), + libstdc++6, + ${misc:Depends} +Provides: lsb-cxx-noarch, + ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 C++ support package + 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 provides an implementation of version 4.1 of the Linux + Standard Base C++ (CXX) specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-desktop +Architecture: any +Depends: lsb-graphics (>= ${source:Version}), + lsb-multimedia (>= ${source:Version}), + fontconfig (>= 2.6.0), + libfontconfig1 (>= 2.6.0), + libpng12-0, + libjpeg62, + libglib2.0-0 (>= 2.12.13), + libatk1.0-0 (>= 1.10.3), + libpango1.0-0 (>= 1.10.4), + libgtk2.0-0 (>= 2.10.14), + libcairo2 (>= 1.2.0), + libqtcore4, + libqtgui4, + libqt4-xml, + libqt4-opengl, + libqt4-sql, + libqt4-svg, + libqt4-network, + libqt4-sql-sqlite, + libxml2, + libfreetype6, + libxrender1, + libxtst6, + libxft2, + xdg-utils, + libnss3, + ${misc:Depends} +# libqt4-sql-sqlite is Not strictly needed by LSB, but the tests want a valid database handler +Recommends: libqt3-mt (>= 3:3.3.6) +Provides: lsb-desktop-noarch, lsb-qt4, lsb-qt4-noarch, ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 Desktop support package + 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 provides an implementation of version 4.1 of the Linux + Standard Base Desktop specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies with the Linux + Standard Base, and should not be construed as a statement that Debian + is LSB-compliant. + +Package: lsb-languages +Architecture: any +Depends: lsb-core (>= ${source:Version}), + python (>= 2.4), + perl (>= 5.8.8), + perl (<< 6), +# Already deprecated in LSB4.1, but still required. + libpod-plainer-perl, + ${misc:Depends} +Provides: lsb-languages-noarch, ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 Runtime Languages package + 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 provides an implementation of version 4.1 of the Linux + Standard Base Languages specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-multimedia +Architecture: any +Depends: lsb-core (>= ${source:Version}), + libasound2, + ${misc:Depends} +Provides: lsb-multimedia-noarch, + ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 Multimedia package + 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 provides an implementation of version 4.1 of the Linux + Standard Base Multimedia specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-printing +Architecture: any +Depends: lsb-core (>= ${source:Version}), + libcups2, + libcupsimage2, + foomatic-filters, + ghostscript, + cups-filters (>= 1.0.36) | ghostscript-cups, + ${misc:Depends} +Provides: lsb-printing-noarch, ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 Printing package + 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 provides an implementation of version 4.1 of the Linux + Standard Base Printing specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb-security +Architecture: any +Depends: libnss3, + libnspr4, + ${misc:Depends} +Recommends: lsb-core (>= ${source:Version}), +Provides: lsb-security-noarch, + ${provides} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 Security package + 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 provides an implementation of version 4.1 of the Linux + Standard Base Security specification for Debian on the Intel x86, + Intel ia64 (Itanium), IBM S390, and PowerPC 32-bit architectures with + the Linux kernel. Future revisions of the specification and this + package may support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + +Package: lsb +Architecture: all +Depends: lsb-core (>= ${source:Version}), + lsb-graphics (>= ${source:Version}), + lsb-cxx (>= ${source:Version}), + lsb-desktop (>= ${source:Version}), + lsb-printing (>= ${source:Version}), + lsb-languages (>= ${source:Version}), + ${misc:Depends} +Breaks: cups-filters-lsb +Replaces: cups-filters-lsb +Description: Linux Standard Base 4.1 support package + 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 provides an implementation of all modules of version 4.1 + of the Linux Standard Base for Debian on the Intel x86, Intel ia64 + (Itanium), IBM S390, and PowerPC 32-bit architectures with the Linux + kernel. Future revisions of the specification and this package may + support the LSB on additional architectures and kernels. + . + The intent of this package is to provide a best current practice way + of installing and running LSB packages on Debian GNU/Linux. Its + presence does not imply that Debian fully complies + with the Linux Standard Base, and should not be construed as a + statement that Debian is LSB-compliant. + Package: lsb-base Architecture: all Multi-Arch: foreign @@ -23,7 +330,7 @@ Replaces: upstart (<< 1.12.1-0ubuntu8) Breaks: upstart (<< 1.12.1-0ubuntu8) Priority: required -Description: Linux Standard Base init script functionality +Description: Linux Standard Base 4.1 init script functionality The Linux Standard Base (http://www.linuxbase.org/) is a standard core system that third-party applications written for Linux can depend upon. @@ -38,7 +345,7 @@ Multi-Arch: foreign Depends: ${python3:Depends}, ${misc:Depends}, - distro-info-data, + distro-info-data Recommends: apt Suggests: lsb Description: Linux Standard Base version reporting utility @@ -54,3 +361,33 @@ 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 +Depends: ${misc:Depends} +Suggests: lsb +Provides: mail-transport-agent +Conflicts: mail-transport-agent +Breaks: cups-filters-invalid-mta +Replaces: cups-filters-invalid-mta +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/sbin/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 desktop application or a printer driver, but the dependency on + LSB compliance pulls in an MTA with the installation. + . + The LSB requirement on /usr/sbin/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/sbin/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-9.20160110/debian/lsb-base.NEWS lsb-9.20160110ubuntu1/debian/lsb-base.NEWS --- lsb-9.20160110/debian/lsb-base.NEWS 2015-08-26 06:54:39.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-base.NEWS 2016-05-12 12:59:22.000000000 -0300 @@ -1,11 +1,3 @@ -lsb (9.20150826) unstable; urgency=low - - This update drops all lsb-* compatibility packages, and is therefore an - abandon of the pursuit of LSB compatibility for Debian. Only lsb-release and - lsb-base are kept as they continue to be used throughout the archive. - - -- Didier Raboud Wed, 26 Aug 2015 12:00:00 +0200 - lsb (4.1+Debian1) unstable; urgency=low This version implements a new "Fancy output" in the form of "[....] " diff -Nru lsb-9.20160110/debian/lsb-core.config lsb-9.20160110ubuntu1/debian/lsb-core.config --- lsb-9.20160110/debian/lsb-core.config 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.config 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule + +if [ ! -e /etc/shadow ]; then + db_input medium lsb/shadowconfig || true +fi +db_go + +#DEBHELPER# diff -Nru lsb-9.20160110/debian/lsb-core.dirs lsb-9.20160110ubuntu1/debian/lsb-core.dirs --- lsb-9.20160110/debian/lsb-core.dirs 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.dirs 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,3 @@ +usr/lib/lsb +var/lib/lsb +etc/profile.d diff -Nru lsb-9.20160110/debian/lsb-core.examples lsb-9.20160110ubuntu1/debian/lsb-core.examples --- lsb-9.20160110/debian/lsb-core.examples 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.examples 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1 @@ +test/init-skeleton diff -Nru lsb-9.20160110/debian/lsb-core.install lsb-9.20160110ubuntu1/debian/lsb-core.install --- lsb-9.20160110/debian/lsb-core.install 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.install 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,4 @@ +initdutils.py /usr/lib/lsb +install_initd /usr/lib/lsb +remove_initd /usr/lib/lsb +lsbinstall /usr/lib/lsb diff -Nru lsb-9.20160110/debian/lsb-core.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-core.lintian-overrides --- lsb-9.20160110/debian/lsb-core.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# The purpose of LSB is to ensure that those packages are present. Being explicit cannot hurt. +depends-on-essential-package-without-using-version depends: bsdutils diff -Nru lsb-9.20160110/debian/lsb-core.manpages lsb-9.20160110ubuntu1/debian/lsb-core.manpages --- lsb-9.20160110/debian/lsb-core.manpages 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.manpages 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1 @@ +lsb.8 diff -Nru lsb-9.20160110/debian/lsb-core.postinst lsb-9.20160110ubuntu1/debian/lsb-core.postinst --- lsb-9.20160110/debian/lsb-core.postinst 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.postinst 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,71 @@ +#!/bin/sh + +set -e + +setup_ldso_symlink () { + ARCH=$DPKG_MAINTSCRIPT_ARCH + if [ -z "$ARCH" ]; then + ARCH=$(dpkg --print-architecture) + fi + case "$ARCH" in + s390|ppc64|sparc|sparc64|alpha|hppa|m68k|mipsel) + ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.1 + ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.2 + ln -sf ld.so.1 /lib/ld-lsb-$ARCH.so.3 + ;; + powerpc) + ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.1 + ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.2 + ln -sf ld.so.1 /lib/ld-lsb-ppc32.so.3 + ;; + i386) + ln -sf ld-linux.so.2 /lib/ld-lsb.so.1 + ln -sf ld-linux.so.2 /lib/ld-lsb.so.2 + ln -sf ld-linux.so.2 /lib/ld-lsb.so.3 + ;; + amd64) + ln -sf ld-linux.so.2 /lib/ld-lsb.so.1 + ln -sf ld-linux.so.2 /lib/ld-lsb.so.2 + ln -sf ld-linux.so.2 /lib/ld-lsb.so.3 + ln -sf ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.2 + ln -sf ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3 + ;; + ia64) + ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.1 + ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.2 + ln -sf ld-linux-ia64.so.2 /lib/ld-lsb-ia64.so.3 + ;; + *) + echo "ld-lsb-*.so.1 symlink for $ARCH is unknown!" + ;; + esac +} + +PATH=/sbin:/usr/sbin:$PATH +export PATH + +. /usr/share/debconf/confmodule + +case "$1" in + configure) + if [ ! -e /etc/shadow ]; then + db_get lsb/shadowconfig + if [ "$RET" = "true" ]; then + shadowconfig on >&2 || true + fi + fi + if dpkg --compare-versions "$2" lt "3.2+Debian30" ; then + [ -L /lib/ld-lsb-x86-64.so.2 ] && rm /lib/ld-lsb-x86-64.so.2 || true + [ -L /lib/ld-lsb-x86-64.so.3 ] && rm /lib/ld-lsb-x86-64.so.3 || true + fi + setup_ldso_symlink + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff -Nru lsb-9.20160110/debian/lsb-core.prerm lsb-9.20160110ubuntu1/debian/lsb-core.prerm --- lsb-9.20160110/debian/lsb-core.prerm 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.prerm 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,47 @@ +#!/bin/sh + +set -e + +remove_ldso_symlink () { + ARCH=$DPKG_MAINTSCRIPT_ARCH + if [ -z "$ARCH" ]; then + ARCH=$(dpkg --print-architecture) + fi + case "$ARCH" in + s390|ia64|ppc64|sparc|sparc64|alpha|hppa|m68k|mipsel) + rm -f /lib/ld-lsb-$ARCH.so.[123] + ;; + powerpc) + rm -f /lib/ld-lsb-ppc32.so.[123] + ;; + i386) + rm -f /lib/ld-lsb.so.[123] + ;; + amd64) + rm -f /lib/ld-lsb.so.[123] /lib64/ld-lsb-x86-64.so.[23] + ;; + *) + echo "ld-lsb-*.so.1 symlink for $ARCH is unknown; not removed." + ;; + esac +} + +PATH=/sbin:/usr/sbin:$PATH +export PATH + +case "$1" in + remove) + remove_ldso_symlink + rm -f /var/lib/lsb/facilities + rm -f /var/lib/lsb/depends + ;; + failed-upgrade|upgrade|deconfigure) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# diff -Nru lsb-9.20160110/debian/lsb-core.templates lsb-9.20160110ubuntu1/debian/lsb-core.templates --- lsb-9.20160110/debian/lsb-core.templates 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-core.templates 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,25 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# for an advice to debian-l10n-english@lists.debian.org +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: lsb/shadowconfig +Type: boolean +Default: true +_Description: Enable shadow passwords? + The Linux Standard Base requires that certain features of adduser(8) + be available to conforming applications (such as password + aging). These features are only provided when shadow passwords are + enabled, while this system has them disabled. + . + Most LSB applications will work fine with either setting, but complete + conformance requires shadow passwords to be enabled. + . + Generally speaking, it is considered good practice to enable shadow + passwords. However, there are some situations in which shadow passwords + may not work properly (most notably, if non-root users need to + check passwords against /etc/passwd). diff -Nru lsb-9.20160110/debian/lsb-cxx.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-cxx.lintian-overrides --- lsb-9.20160110/debian/lsb-cxx.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-cxx.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-desktop.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-desktop.lintian-overrides --- lsb-9.20160110/debian/lsb-desktop.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-desktop.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-desktop.NEWS lsb-9.20160110ubuntu1/debian/lsb-desktop.NEWS --- lsb-9.20160110/debian/lsb-desktop.NEWS 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-desktop.NEWS 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,15 @@ +lsb (4.0-0ubuntu24) quantal; urgency=low + +  From its 4.0-0ubuntu24 version on, lsb-desktop doesn't depend on Qt3 + anymore. This is an explicit and Debian/Ubuntu-specific derogation from the + LSB 4.1 specification. + + Qt3 is superseded by Qt4 since 2005 and has been considered "end of life" + since July 2007 by their upstream developers (Trolltech, then Nokia). Its + support is also marked deprecated in the LSB specification since its 3.2 + version (Jan 2008). As such, it is going to be removed from Debian soon. + + Please refer to /usr/share/doc/lsb-desktop/README.Debian for instructions to + install Qt3 from unsupported sources. + + -- Scott Kitterman Fri, 28 Sep 2012 20:32:15 -0400 diff -Nru lsb-9.20160110/debian/lsb-desktop.README.Debian lsb-9.20160110ubuntu1/debian/lsb-desktop.README.Debian --- lsb-9.20160110/debian/lsb-desktop.README.Debian 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-desktop.README.Debian 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,19 @@ +LSB-DESKTOP AND QT3 + +From its 4.1+Debian7 version, lsb-desktop doesn't depend on Qt3 +anymore. This is an explicit and Debian-specific derogation from the LSB +4.1 specification needed because Qt3 is going to be removed from Debian. + +In case it might still be needed, Qt3 can be installed on Debian from +the Debian Archive Snapshot service: + + http://snapshot.debian.org/ + +The instructions to get past packages installed on Debian are available +from its homepage. + +The full list of past Qt3 versions is available from: + + http://snapshot.debian.org/package/qt-x11-free/ + + -- Didier Raboud   Mon, 28 May 2012 11:31:12 +0200 diff -Nru lsb-9.20160110/debian/lsb-graphics.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-graphics.lintian-overrides --- lsb-9.20160110/debian/lsb-graphics.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-graphics.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-invalid-mta.install lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.install --- lsb-9.20160110/debian/lsb-invalid-mta.install 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.install 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1 @@ +sendmail /usr/sbin/ diff -Nru lsb-9.20160110/debian/lsb-invalid-mta.links lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.links --- lsb-9.20160110/debian/lsb-invalid-mta.links 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.links 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1 @@ +usr/sbin/sendmail usr/lib/sendmail diff -Nru lsb-9.20160110/debian/lsb-invalid-mta.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.lintian-overrides --- lsb-9.20160110/debian/lsb-invalid-mta.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-invalid-mta.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# Dummy sendmail needs no manpage +binary-without-manpage usr/sbin/sendmail diff -Nru lsb-9.20160110/debian/lsb-languages.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-languages.lintian-overrides --- lsb-9.20160110/debian/lsb-languages.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-languages.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb.lintian-overrides --- lsb-9.20160110/debian/lsb.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-multimedia.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-multimedia.lintian-overrides --- lsb-9.20160110/debian/lsb-multimedia.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-multimedia.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-printing.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-printing.lintian-overrides --- lsb-9.20160110/debian/lsb-printing.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-printing.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/lsb-security.lintian-overrides lsb-9.20160110ubuntu1/debian/lsb-security.lintian-overrides --- lsb-9.20160110/debian/lsb-security.lintian-overrides 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/lsb-security.lintian-overrides 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,2 @@ +# LSB packages are empty on purpose +empty-binary-package diff -Nru lsb-9.20160110/debian/README.Debian lsb-9.20160110ubuntu1/debian/README.Debian --- lsb-9.20160110/debian/README.Debian 2015-08-26 06:54:39.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/README.Debian 2016-05-12 12:59:22.000000000 -0300 @@ -1,12 +1,49 @@ lsb for Debian -------------- -This package used to provide the Linux Standard Base on Debian systems. -The LSB is a specification for allowing the same binary package to be used -on multiple distributions. +This package provides the Linux Standard Base on Debian systems. The +LSB is a specification for allowing the same binary package to be used +on multiple distributions. -Since version 9.20150826, this package stopped providing the compatibility -LSB packages and only provides two otherwise important packages: +INSTALLING LSB PACKAGES + +The "alien" package supports LSB packages on Debian. For example, to +install an LSB package "lsb-mozilla-1.2-1_i386.rpm", type (as root): + +alien -i lsb-mozilla-1.2-1_i386.rpm + +Ideally, the package should be converted to a Debian package and then +installed by dpkg. If this fails, there may be a problem with either +the lsb package (most likely) or alien (less likely), and you should +contact the vendor of the lsb package to resolve the problem. + +PACKAGE LAYOUT + +The LSB implementation in Debian is currently divided into eight +packages: + +* The "lsb-core" package depends on the Debian packages that are + required to comply with the LSB-Core 4.1 specification. It also + includes some subroutines that are used by LSB-compliant applications + when they are being installed or removed. + +* The "lsb-graphics" package depends on the X11 libraries required for + the LSB-Graphics 4.1 specification. + +* The "lsb-cxx" package depends on libstdc++6, required for the + LSB-CXX (LSB-C++) 4.1 specification. + +* The "lsb-desktop" package depends on the Gtk+ and Qt libraries required + for the LSB-Desktop 4.1 specification. + +* The "lsb-languages" package depends on Python 2.4 and Perl 5.8.8 or later. + +* The "lsb-multimedia" package depends on libasound2. + +* The "lsb-printing" package depends on the CUPS libraries (libcups2 + and libcupsimage2), foomatic-filters, and Ghostscript. + +* The "lsb" package depends on all of the above packages. * The "lsb-base" package includes a number of functions used by init.d scripts in some LSB packages. @@ -16,3 +53,145 @@ * The "lsb-release" package includes the lsb_release command, which provides information about the installed LSB modules and the underlying distribution. + +The LSB module packages are architecture-specific because of +differences in the requirements of the LSB on various binary +architectures. In particular, each package provides +lsb-{module}-noarch and lsb-{module}-{arch} virtual packages. + +IMPLEMENTATION ISSUES + +This package attempts to implement the core LSB specification. Much +of the implementation is drawn on a talk by Wichert Akkerman +(http://www.liacs.nl/~wichert/talks/LSBDistro/html/) and Matt +Taggart's discussion of LSB 1.0 and Debian. Matt has also produced a +slideshow on LSB in Debian, which can be found at: +http://people.debian.org/~taggart/debconf2/ + +This package implements the LSB specification by: + +- depending upon packages that implement OS services required by the + LSB, including libraries and programs. + +- including the correct symlink to the dynamic linker. + +- providing the LSB init script functionality. Some of the LSB init + functionality cannot be implemented without cooperation from other + packages or changes in policy for sarge+1; however, the remainder is + provided here. + +The intent of this package is to provide a best current practice way +of installing LSB packages on Debian using the Intel and PowerPC +32-bit architectures with the Linux kernel ("ia32" and "ppc32"). Its +presence does not imply that I or the Debian project believe that +Debian fully complies with the Linux Standard Base, and should not be +construed as a statement that Debian is LSB-compliant. + +The specification is available at http://www.linuxbase.org/spec/ + +DEVIATIONS FROM LSB + +The package and its dependencies implement all of LSB on Debian, with +these exceptions: + +- LSB 3.2 doesn't fully specify what the init_functions should do. I + have chosen to implement them in a way that is consistent with + Debian current practice, using the start-stop-daemon utility and the + echo command. For sarge+1, I expect a nicer init logging facility + that could be used. + +- LSB specifies no way for a binary to request that a pid file be + created for it, and the spec is ambiguous about whether start_daemon + should create the pid file, therefore I assume the binary will + produce its own /var/run/basename.pid file. + +- Debian only implements certain features of adduser if shadow + passwords are enabled. The lsb package will prompt the user to + enable shadow passwords if they appear to be disabled; however, it + does not force this choice on the administrator. Administrators who + disable shadow passwords may find that some LSB applications fail to + operate correctly as a result. + + (We do not consider this a bug in the package.) + +- The LSB specifies that several X libraries must be available on the + system, but does not specify the presence of either an X server or + any X clients. However, many LSB packages may expect these things + to be present, despite their absence from the spec. + + Similarly, the printing specification requires the CUPS libraries + but no CUPS binaries; hence, printing may be impossible unless you + actually install the cupsys package. + + (This may be a deficiency in the spec. However, we comply as-written.) + +- The LSB specifies that cron scripts can be placed in cron.daily and + other directories; however, Debian's run-parts appears to ignore + these scripts if they contain a dot in their names. (See #118646) + You can work around this problem by editing /etc/crontab and + specifying the --lsbsysinit option; it is hoped that eventually + Debian will include this option by default. + + (This is a known deficiency in debianutils, and is required for + backwards compatibility with expected behavior on earlier systems.) + +- /etc/profile.d scripts aren't executed on shell startup by default + on Debian systems (see Debian Policy section 9.9 for an explanation). + LSB 3.2 is ambiguous on this requirement; /bin/sh is *not* required + to execute these scripts, according to its description, but the + lsbinstall documentation says that it is. + + Debian policy forbids the use of /etc/profile.d by Debian packages, + so it is unlikely this will change (as it might be seen as + encouragement for Debian developers to do use it.) + +There may be other deviations from the spec; they are bugs in this +package and should be reported as such using Debian's bug tracking +system: see reportbug(1) or your favorite bug reporting tool. (The +aforementioned deviations are generally bugs in the package that +cannot be easily fixed, or are bugs in the specification itself that +we hope to resolve in the near future.) + +For more discussion of these deviations, see: + +http://lists.debian.org/lsb-spec/2001/lsb-spec-200107/msg00002.html + (a discussion of deficiencies in LSB 1.0, mostly resolved) + +DESIGN DECISIONS + +- I implemented the LSB init dependencies based on Debian policy's + update-rc.d support. A registry of package-provided facilities and + their start and stop priorities is retained in + /var/lib/lsb/facilities. Priorities are assigned to the system + facilities as found on my sid systems as of today; perhaps system + facilities should be registered by the appropriate packages, and not + managed by the lsb package, but that is a sarge+1 policy decision. + +- As of 1.3-1, a second registry of init script dependencies is + retained in /var/lib/lsb/depends. This is used to ensure that an + LSB package will not be removed if it provides an LSB facility that is + used by another LSB package. (If you rely on this functionality and + are upgrading from the 1.2 series, you will need to manually reinstall + all of your LSB packages.) + +- As of 3.0-2, a third registry of files installed by lsbinstall is + retained in /var/lib/lsb/lsbinstall. Unlike the other two registries, + it is not designed to be human-readable. + +- The facility handling scripts are written in Python. I am not + particularly attached to them being written in Python, but at the + same time I do not forsee rewriting them in $language_of_choice. + +COMPLIANCE TESTING + +I have been unable to locate any LSB package that tests the init +script functionality of the spec. I am therefore unable to say +whether this package actually works as advertised. I would appreciate +any reports of its success or failure. + +An example init script that tests some of these features is provided +as /usr/share/doc/lsb/examples/init-skeleton. + + -- Chris Lawrence , Sun, 2 Mar 2008 02:20:47 -0600 + + LocalWords: LSB diff -Nru lsb-9.20160110/debian/rules lsb-9.20160110ubuntu1/debian/rules --- lsb-9.20160110/debian/rules 2015-08-26 06:44:34.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/rules 2016-05-12 14:31:41.000000000 -0300 @@ -2,10 +2,11 @@ derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no") +PY2VERSIONS=$(shell pyversions -vr) PY3VERSIONS=$(shell [ -x /usr/bin/py3versions ] && py3versions -vr) %: - dh $@ --with python3 + dh $@ --with python2,python3 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) @@ -46,24 +47,34 @@ dh_clean rm -f *.py[co] rm -f debian/lsb-base.maintscript - rm -rf __pycache__ - rm -rf test/__pycache__ override_dh_auto_test: $(PY3VERSIONS:%=test-python%) test-python%: PATH=test/:$${PATH} PYTHONPATH=. python$* test/test_lsb_release.py -vv PYTHONPATH=. python$* test/test_initdutils.py -vv - rm -rf __pycache__ - rm -rf test/__pycache__ - rm -f test/debian_version_* - -override_dh_python3: - dh_python3 - dh_python3 /usr/lib/lsb + +override_dh_python2: + dh_python2 override_dh_install: dh_install + + mkdir -p debian/lsb-release/usr/lib/python3/dist-packages + cp -p lsb_release.py debian/lsb-release/usr/lib/python3/dist-packages + + : # make python scripts starting with '#!' executable + for i in `find debian/lsb-core/usr/lib/lsb debian/lsb-release/usr/bin debian/lsb-release/usr/share/python3/dist-packages -type f`; do \ + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ + $$i > $$i.temp; \ + if cmp --quiet $$i $$i.temp; then \ + rm -f $$i.temp; \ + else \ + mv -f $$i.temp $$i; \ + chmod 755 $$i; \ + echo "fixed interpreter: $$i"; \ + fi; \ + done ifeq ($(derives_from_ubuntu),yes) ifneq (,$(findstring lsb-base, $(shell dh_listpackages))) cp -p init-functions.d/50-ubuntu-logging debian/lsb-base/lib/lsb/init-functions.d/ @@ -85,6 +96,6 @@ @echo >> debian/lsb-languages.substvars "provides=lsb-languages-${lsbarch}" @echo >> debian/lsb-printing.substvars "provides=lsb-printing-${lsbarch}" @echo >> debian/lsb-security.substvars "provides=lsb-security-${lsbarch}" - @[ ${DEB_HOST_ARCH} = 'amd64' ] && echo >> debian/lsb-core.substvars "depends=libc6:i386 | libc6-i386, zlib1g:i386 | lib32z1" || true - @[ ${DEB_HOST_ARCH} = 'kfreebsd-amd64' ] && echo >> debian/lsb-core.substvars "depends=libc0.1:kfreebsd-i386 | libc0.1-i386, zlib1g:kfreebsd-i386 | lib32z1" || true + @[ ${DEB_HOST_ARCH} = 'amd64' ] && echo >> debian/lsb-core.substvars "depends=libc6-i386, lib32z1" || true + @[ ${DEB_HOST_ARCH} = 'kfreebsd-amd64' ] && echo >> debian/lsb-core.substvars "depends=libc0.1-i386, lib32z1" || true dh_gencontrol diff -Nru lsb-9.20160110/debian/TODO lsb-9.20160110ubuntu1/debian/TODO --- lsb-9.20160110/debian/TODO 1969-12-31 21:00:00.000000000 -0300 +++ lsb-9.20160110ubuntu1/debian/TODO 2016-05-12 12:59:22.000000000 -0300 @@ -0,0 +1,6 @@ +A quickie TODO list for lsb*: + +* Finish lsbinstall +* Move dynamic linker symlinks from postinst into package itself. (?) +* Only build lsb-* for LSB architectures in Ubuntu. +* Make lsb stuff available in a Python package. diff -Nru lsb-9.20160110/init-functions lsb-9.20160110ubuntu1/init-functions --- lsb-9.20160110/init-functions 2014-08-28 20:04:48.000000000 -0300 +++ lsb-9.20160110ubuntu1/init-functions 2016-05-12 12:59:22.000000000 -0300 @@ -85,9 +85,7 @@ pidfile="/var/run/$base.pid" fi - if [ -n "${pidfile:-}" ]; then - if [ -e "$pidfile" ]; then - if [ -r "$pidfile" ]; then + if [ -n "${pidfile:-}" -a -r "$pidfile" ]; then read pid < "$pidfile" if [ -n "${pid:-}" ]; then if $(kill -0 "${pid:-}" 2> /dev/null); then @@ -100,24 +98,21 @@ return 1 # program is dead and /var/run pid file exists fi fi - else - return 4 # pid file not readable, hence status is unknown. - fi - else - # pid file doesn't exist, try to find the pid nevertheless - if [ -x /bin/pidof ] && [ ! "$specified" ]; then - status="0" - /bin/pidof -o %PPID -x $1 || status="$?" - if [ "$status" = 1 ]; then - return 3 # program is not running - fi - return 0 - fi - return 3 # specified pid file doesn't exist, program probably stopped - fi fi - if [ "$specified" ]; then - return 3 # almost certain it's not running + if [ -n "$specified" ]; then + if [ -e "$pidfile" -a ! -r "$pidfile" ]; then + return 4 # pidfile exists, but unreadable, return unknown + else + return 3 # pidfile specified, but contains no PID to test + fi + fi + if [ -x /bin/pidof ]; then + status="0" + /bin/pidof -o %PPID -x $1 || status="$?" + if [ "$status" = 1 ]; then + return 3 # program is not running + fi + return 0 fi return 4 # Unable to determine status }