Didier Raboud [Sun, 16 Oct 2016 12:01:32 +0000 (14:01 +0200)]
Cherry-pick the lsb-core package from 4.1+Debian14
Didier Raboud [Wed, 29 Jun 2016 16:13:15 +0000 (18:13 +0200)]
lsb 9.
20160629 Debian release
Helge Deller [Wed, 29 Jun 2016 16:12:43 +0000 (18:12 +0200)]
Update lsb_release.py to cope with the new Debian Ports' release label
Closes: #827137
Changed-by: Didier Raboud <odyx@debian.org> to have tests for both the old and the new versions
Didier Raboud [Wed, 1 Jun 2016 06:46:56 +0000 (08:46 +0200)]
lsb 9.
20160601 Debian release
Didier Raboud [Wed, 1 Jun 2016 06:44:59 +0000 (08:44 +0200)]
Bump Standards-Version to 3.9.8 without changes needed
Didier Raboud [Wed, 1 Jun 2016 06:38:03 +0000 (08:38 +0200)]
Revert "Add 01-upstart-lsb from the upstart package, and make executing rc.d scripts no-op if there is an upstart job for that script"
This reverts commit
3ce3a48572b780c9ee3162d117762725bdf325d8.
The upstart package should have shipped this file in the first place.
Upstart is now removed from Debian.
This file should probably be adopted by any future (or other-distro) upstart package.
Closes: #825946
Thanks-To: Michael Biebl <biebl@debian.org>
Didier Raboud [Sun, 10 Jan 2016 11:32:59 +0000 (12:32 +0100)]
lsb 9.
20160110 Debian release
Stéphane Graber [Sun, 10 Jan 2016 11:31:15 +0000 (12:31 +0100)]
Add 01-upstart-lsb from the upstart package, and make executing rc.d scripts no-op if there is an upstart job for that script
Changed-By: Dimitri John Ledkov <xnox@ubuntu.com> Fri, 30 May 2014 11:38:47 +0200
Didier Raboud [Thu, 17 Sep 2015 08:10:29 +0000 (10:10 +0200)]
lsb 9.
20150917 Debian release
Didier Raboud [Thu, 17 Sep 2015 08:00:33 +0000 (10:00 +0200)]
Demote Build-Depends from python3-all-dev to python3-all
Thanks-To: Scott Kitterman <debian@kitterman.com>
Closes: #799210
Didier Raboud [Wed, 26 Aug 2015 10:00:00 +0000 (12:00 +0200)]
lsb 9.
20150826 Debian release
Didier Raboud [Wed, 12 Aug 2015 13:06:14 +0000 (15:06 +0200)]
Drop all the LSB compatibility packages besides lsb-release and lsb-base
- Drop packages-availability checking in lsb-release
- Truncate README.Debian to a minimum
- Document this in lsb-base.NEWS
This was discussed on the debian-lsb and debian-devel lists in the following thread:
https://lists.debian.org/
4526217.myWFlvm1rM@gyllingar
In particular, the following was the plan:
https://lists.debian.org/
4682310.7LIWdV4Lar@gyllingar
Didier Raboud [Wed, 12 Aug 2015 15:09:55 +0000 (17:09 +0200)]
lsb 4.1+Debian14 Debian release
Didier Raboud [Wed, 12 Aug 2015 12:37:37 +0000 (14:37 +0200)]
Bump Standards-Version to 3.9.6 without changes needed
Didier Raboud [Wed, 12 Aug 2015 12:20:15 +0000 (14:20 +0200)]
Fix comparison of testing codename
Closes: #691744
Didier Raboud [Wed, 12 Aug 2015 12:17:16 +0000 (14:17 +0200)]
Actuall ignore suites when guessing the release from apt
Didier Raboud [Wed, 12 Aug 2015 12:09:52 +0000 (14:09 +0200)]
Make sure '-proposed-updates' don't sort before unstable
Didier Raboud [Wed, 12 Aug 2015 10:51:09 +0000 (12:51 +0200)]
Rework the releases codename handling:
- Depend and Build-Depend on distro-info-data, and populate the RELEASES_CODENAME_LOOKUP from that reference
- Drop meaningless tests trying to compare random release names
Gbp-Dch: Full
Didier Raboud [Wed, 12 Aug 2015 11:32:39 +0000 (13:32 +0200)]
Add gbp.conf
Alexandre Detiste [Thu, 28 May 2015 19:32:51 +0000 (21:32 +0200)]
Port to python3, keep compatibility symlink for lsb_release.py
Closes: #719063
Mert Dirik [Fri, 8 Aug 2014 19:51:03 +0000 (22:51 +0300)]
Add Turkish translation of lsb debconf messages
Closes: #757509
Alexandre Detiste [Thu, 28 May 2015 19:32:51 +0000 (21:32 +0200)]
Convert packaging to Debhelper 9
Ondřej Surý [Mon, 20 Oct 2014 09:43:22 +0000 (11:43 +0200)]
lsb 4.1+Debian13+nmu1
Ondřej Surý [Mon, 20 Oct 2014 09:38:23 +0000 (11:38 +0200)]
lsb 4.1+Debian13.1
Ondřej Surý [Mon, 20 Oct 2014 09:37:53 +0000 (11:37 +0200)]
Change libjpeg62 dependency to libjpeg62-turbo (Closes: #766023)
Didier Raboud [Mon, 9 Jun 2014 06:07:23 +0000 (08:07 +0200)]
lsb 4.1+Debian13 Debian release.
Didier Raboud [Mon, 9 Jun 2014 06:06:34 +0000 (08:06 +0200)]
Allow multiarch alternatives of libc6-i386 and lib32z1
Thanks: Michael Biebl
Closes: #748426
Marcel Partap [Wed, 28 May 2014 16:36:04 +0000 (18:36 +0200)]
In lsb_release, don't forget CODENAME when it's testing; therefore stop calling apt-cache policy again
Closes: #747413
Didier Raboud [Wed, 28 May 2014 16:28:12 +0000 (18:28 +0200)]
Revert "Fix the remaining problems of initdutils.py python3 compatibility"
This reverts commit
f4ed7f08600d633c3daba9f494997f1c35555aed.
Thanks-To: Aaron Sowry
Closes: #743903
Adam Conrad [Sun, 13 Apr 2014 09:51:19 +0000 (11:51 +0200)]
Allow lsb-printing to depend on cups-filters | ghostscript-cups
Colin Watson [Sun, 13 Apr 2014 09:49:56 +0000 (11:49 +0200)]
Test fileob and strob against None in RFC822Parser.__init__ rather than testing their truth value, to avoid a misleading error in the case of a file with no LSB headers
Colin Watson [Sun, 13 Apr 2014 09:49:33 +0000 (11:49 +0200)]
Use open() rather than file() in initdutils.py, for Python 3 compatibility (see LP #
1035136)
Steve Langasek [Tue, 21 May 2013 10:13:08 +0000 (12:13 +0200)]
test/test_lsb_release.py: also, make lsb_release ignore dpkg origins for the test, otherwise the test fails on derivatives.
Didier Raboud [Wed, 5 Jun 2013 10:30:53 +0000 (12:30 +0200)]
lsb 4.1+Debian12 Debian release.
Didier Raboud [Wed, 5 Jun 2013 10:27:33 +0000 (12:27 +0200)]
Fix lsb_release to correctly work with stable release updates incrementing the second digit from Wheezy on.
Also fix the test cases to cover that.
Closes: #711174
Didier Raboud [Sun, 2 Jun 2013 20:59:33 +0000 (22:59 +0200)]
Drop one more unnecessary use of /bin/echo -n
Rationale was listed in commit
3d998a9ef130cf67baa4be977fdf505d6a3e4c9e
but this commit forgot the remaining one in init-functions.d/.
Colin Watson [Sat, 18 May 2013 23:15:34 +0000 (00:15 +0100)]
Depend directly on libnss3 and libnspr4 rather than via the transitional packages libnss3-1d and libnspr4-0d.
Didier Raboud [Wed, 15 May 2013 20:15:05 +0000 (22:15 +0200)]
lsb 4.1+Debian11 Debian release.
Didier Raboud [Wed, 15 May 2013 19:49:47 +0000 (21:49 +0200)]
Correct lsb-desktop.NEWS syntax errors
Didier Raboud [Wed, 15 May 2013 19:40:05 +0000 (21:40 +0200)]
Bump Standards-Version to 3.9.4 without changes needed
Didier Raboud [Wed, 15 May 2013 19:27:53 +0000 (21:27 +0200)]
Get Distributor ID from /etc/dpkg/origins/default if existant
This helps Debian derivatives to avoid forking the lsb package.
Closes: #703677
Didier Raboud [Wed, 15 May 2013 16:39:12 +0000 (18:39 +0200)]
Add jessie to the release codenames lookup table
Also amend lsb-release.README.Debian to make it not too outdated.
Steve Langasek [Wed, 15 May 2013 19:34:25 +0000 (19:34 +0000)]
debian/rules: fix the build on Ubuntu derivatives when building only the arch-dependent packages.
Steve Langasek [Wed, 15 May 2013 18:05:41 +0000 (13:05 -0500)]
Correct duplicate reference to log_action_end_msg_post in debian/lsb-base.README.Debian.
Steve Langasek [Wed, 15 May 2013 18:04:21 +0000 (13:04 -0500)]
Fix debian/copyright to list the correct Canonical copyright for the Ubuntu logging functions.
Steve Langasek [Wed, 15 May 2013 17:40:59 +0000 (12:40 -0500)]
add -Es to the lsb_release python shebang, as discussed in <https://lists.debian.org/debian-python/2012/10/msg00021.html>.
Didier Raboud [Wed, 15 May 2013 09:06:44 +0000 (11:06 +0200)]
lsb 4.1+Debian10 Debian release.
Didier Raboud [Wed, 15 May 2013 09:06:36 +0000 (11:06 +0200)]
Compress source with xz
Steve Langasek [Wed, 15 May 2013 08:47:03 +0000 (10:47 +0200)]
Revert unnecessary use of /bin/echo -n
In response to bug #602038, the init-functions scripts in lsb-base have been
changed to use /bin/echo -n instead of echo -n. This results in a lot of
added forks which are unnecessary and inappropriate: 'echo -n' is guaranteed
by Debian policy to be supported by the shell.
Closes: #708337
Steve Langasek [Wed, 15 May 2013 08:45:39 +0000 (10:45 +0200)]
Fix the remaining problems of initdutils.py python3 compatibility
The latest version of lsb is almost compatible with python3 at build-time.
Just one test still fails under python3.x, because initdutils.py has not
been ported to python3. It's fairly easy to fix this up for python3
compatibility (via 2to3 or otherwise).
Closes: #673586
Didier Raboud [Wed, 15 May 2013 08:40:56 +0000 (10:40 +0200)]
Merge branch 'master-wheezy'
Conflicts:
debian/changelog
Didier Raboud [Mon, 12 Nov 2012 07:58:04 +0000 (08:58 +0100)]
lsb 4.1+Debian9 Debian release.
Jeff Licquia [Sat, 10 Nov 2012 15:26:30 +0000 (10:26 -0500)]
Sanity-check pidofproc parameters
Closes: #691422.
Didier Raboud [Sat, 10 Nov 2012 16:00:30 +0000 (17:00 +0100)]
lsb 4.1+Debian8+exp0 Debian experimental release.
Jeff Licquia [Sat, 10 Nov 2012 15:26:30 +0000 (10:26 -0500)]
Sanity-check pidofproc parameters
Closes: #691422.
Jeff Licquia [Sun, 15 Jul 2012 19:09:37 +0000 (15:09 -0400)]
Fix initdutils for Python 3 compatibility.
Didier Raboud [Mon, 5 Nov 2012 11:03:33 +0000 (12:03 +0100)]
lsb 4.1+Debian8 Debian release.
Didier Raboud [Mon, 5 Nov 2012 11:03:15 +0000 (12:03 +0100)]
Revert "Fix initdutils for Python 3 compatibility."
This reverts commit
2a5bb842665d68772dd45c1a25b43412737aa810.
Didier Raboud [Sun, 29 Jul 2012 11:41:36 +0000 (13:41 +0200)]
Hide the stderr output of $(initctl version) in init_is_upstart.
Closes: #682032
Reported-By: Michael Biebl <biebl@debian.org>
Jeff Licquia [Sun, 15 Jul 2012 19:09:37 +0000 (15:09 -0400)]
Fix initdutils for Python 3 compatibility.
Didier Raboud [Thu, 5 Jul 2012 22:08:07 +0000 (16:08 -0600)]
Fix libqt3-mt missing epoch.
Thanks-To: Jakub Wilk <jwilk@debian.org>
Didier Raboud [Sun, 10 Jun 2012 21:18:07 +0000 (23:18 +0200)]
lsb 4.1+Debian7 Debian release.
Didier Raboud [Sun, 10 Jun 2012 21:15:34 +0000 (23:15 +0200)]
Merge branch 'qt3_drop'
Didier Raboud [Mon, 4 Jun 2012 18:13:44 +0000 (20:13 +0200)]
Accept utf-8 in `apt-cache policy` and `dpkg-query` outputs.
Reported-by: Frédéric Brière <fbriere@fbriere.net>
Closes: #675618
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 [Mon, 28 May 2012 12:57:32 +0000 (14:57 +0200)]
lsb-desktop: Demote Qt3 dependency to a Recommends.
- Add a README.Debian to lsb-desktop to document the possibility to
install Qt3 from snapshot.debian.org;
- Add a NEWS.Debian to lsb-desktop to document the derogation to the LSB
4.1 specification.
Closes: #604360
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.