+lsb (3.2-13) unstable; urgency=low
+
+ * Include status_of_proc() function from Ubuntu's lsb-base.
+ Thanks to Dustin Kirkland. (Closes: #483285)
+ * This patch also allows pidofproc to work on other users' processes.
+ (Closes: #452992)
+ * Fix output of lsb_release -h to properly describe what -s does.
+ (Closes: #479542)
+ * Add Slovak translation. (Closes: #489265)
+ * Fix dependencies to not use >>. (Closes: #461340)
+ * Document init-functions license in debian/copyright.
+ (Closes: #481281)
+ * Also fix text of init-functions license to remove the reference to
+ "the Regents," who didn't author any of init-functions.
+
+ -- Chris Lawrence <lawrencc@debian.org> Tue, 08 Jul 2008 22:03:10 -0500
+
lsb (3.2-12) unstable; urgency=medium
* Fix reversed test in killproc(). (Closes: #478871)
Priority: extra
Maintainer: Chris Lawrence <lawrencc@debian.org>
Build-Depends: debhelper (>= 5.0.37.2), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10), python-central (>= 0.5), python-all-dev
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
XS-Python-Version: current
Homepage: http://www.linux-foundation.org/en/LSB
Architecture: any
Depends: lsb-release, ${glibc}, libz1, libncurses5, libpam0g, exim4 | mail-transport-agent, at, bc, binutils, bsdmainutils, bsdutils, cpio, cron, ed, file, libc6-dev | libc-dev, locales, lpr, lprng | cupsys-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
Provides: lsb-core-noarch, ${provides}
-Conflicts: python (>> 2.6), lsb (<< 2.0-2)
+Conflicts: python (>= 2.6), lsb (<< 2.0-2)
Replaces: lsb (<< 2.0-2)
XB-Python-Version: ${python:Versions}
Description: Linux Standard Base 3.2 core support package
Package: lsb-desktop
Architecture: any
-Depends: lsb-graphics, fontconfig (>> 2.3.0), libfontconfig1 (>> 2.3.0), libpng12-0, libjpeg62, libglib2.0-0 (>> 2.6.2), libatk1.0-0 (>> 1.9.0), libpango1.0-0 (>> 1.8.0), libgtk2.0-0 (>> 2.6.2), libqt3-mt (>> 3.3.6), libqt4-gui (>= 4.2), libxml2, libfreetype6, libxrender1, libxft2, xdg-utils, ${misc:Depends}
+Depends: lsb-graphics, fontconfig (>= 2.3.0), libfontconfig1 (>= 2.3.0), libpng12-0, libjpeg62, libglib2.0-0 (>= 2.6.2), libatk1.0-0 (>= 1.9.0), libpango1.0-0 (>= 1.8.0), libgtk2.0-0 (>= 2.6.2), libqt3-mt (>= 3.3.6), libqt4-gui (>= 4.2), libxml2, libfreetype6, libxrender1, libxft2, xdg-utils, ${misc:Depends}
Provides: lsb-desktop-noarch, lsb-qt4, lsb-qt4-noarch, ${provides}
Description: Linux Standard Base 3.2 Desktop support package
The Linux Standard Base (http://www.linuxbase.org/) is a standard
The HTML files in html/ were written by Matt Taggart <taggart@debian.org>
Copyright:
- Copyright 2002-08 Chris Lawrence and Matt Taggart
+ Copyright © 2002-08 Chris Lawrence and Matt Taggart
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
On Debian systems, the complete text of the GNU General Public License
can be found in `/usr/share/common-licenses/GPL'.
+
+The file /lib/lsb/init-functions is licensed under a permissive
+"BSD-style" license as follows:
+
+Copyright © 2002-08 Chris Lawrence
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+3. Neither the name of the author nor the names of other contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- /dev/null
+# Slovak translation of lsb.
+# Copyright (C) 2005 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the lsb package.
+# Ivan Masár <helix84@centrum.sk>, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: lsb\n"
+"Report-Msgid-Bugs-To: lawrencc@debian.org\n"
+"POT-Creation-Date: 2007-05-13 09:16+0200\n"
+"PO-Revision-Date: 2008-07-04 17:08+0100\n"
+"Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
+"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "Enable shadow passwords?"
+msgstr "Zapnúť tieňové heslá?"
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "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."
+msgstr "Linux Standard Base požaduje dostupnosť istých vlastnosti adduser(8) (napr. zastaranie hesiel) pre aplikácie zodpovedajúce štandardu. Tieto vlastnosti budú poskytnuté iba ak je podpora tieňových hesiel zapnutá, tento systém ju však má vypnutú."
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "Most LSB applications will work fine with either setting, but complete conformance requires shadow passwords to be enabled."
+msgstr "Väčšina LSB aplikácií bude fungovať správne s oboma voľbami, no na úplné splnenie štandardu musia byť tieňové heslá zapnuté."
+
+#. Type: boolean
+#. Description
+#: ../templates:2001
+msgid "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)."
+msgstr "Vo všeobecnosti sa považuje za vhodné zapnúť tieňové heslá. Existujú však určité situácie, kedy tieňové heslá nemusia fungovať správne (predovšetkým ak kontrolu hesiel voči /etc/passwd požadujú iní používatelia ako root)."
+
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
-#THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-#ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-#IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-#ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-#FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-#DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-#OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-#HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-#LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-#OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-#SUCH DAMAGE.
+#THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+#IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+#ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
+#LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+#CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+#SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+#BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+#WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+#OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+#EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
start_daemon () {
local force nice pidfile exec i
return 0
}
+# Return LSB status
+status_of_proc () {
+ local daemon name status
+ daemon="$1"
+ name="$2"
+ status="0"
+ if [ -x /bin/pidof ]; then
+ /bin/pidof -o %PPID "$daemon" >/dev/null || status="$?"
+ if [ "$status" = 0 ]; then
+ log_success_msg "$name is running."
+ else
+ log_failure_msg "$name is not running."
+ fi
+ else
+ log_failure_msg "/bin/pidof not available."
+ status="1"
+ fi
+ return "$status"
+}
+
log_use_fancy_output () {
TPUT=/usr/bin/tput
EXPR=/usr/bin/expr
help="show all of the above information")
parser.add_option('-s', '--short', dest='short',
action='store_true', default=False,
- help="show all of the above information in short format")
+ help="show requested information in short format")
(options, args) = parser.parse_args()
if args: