+lsb (3.2-5) unstable; urgency=low
+
+ * Fix init-functions with set -e. (Closes: #472794)
+ Patch from Matthias Klose.
+ * Downgrade optional LSB modules to suggestions from main "lsb" package
+ (core LSB dependency for LSB 1.x); remove obsolete lsb-qt4 from its
+ dependencies.
+ * lsb-desktop now provides lsb-qt4*, essentially making lsb-qt4 a dummy
+ package.
+ * lsb-cxx: Don't depend on libstdc++5 on armel.
+
+ -- Chris Lawrence <lawrencc@debian.org> Wed, 26 Mar 2008 10:26:53 -0500
+
lsb (3.2-4) unstable; urgency=high
* Reverse test in killproc(). (Closes: #469404)
Package: lsb-cxx
Architecture: any
-Depends: lsb-core, libstdc++5, libstdc++6, ${misc:Depends}
+Depends: lsb-core, libstdc++6, ${misc:Depends}, ${depends}
Provides: lsb-cxx-noarch, ${provides}
Description: Linux Standard Base 3.2 C++ support package
The Linux Standard Base (http://www.linuxbase.org/) is a standard
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}
-Provides: lsb-desktop-noarch, ${provides}
+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
core system that third-party applications written for Linux can
Package: lsb
Architecture: all
-Depends: lsb-core, lsb-graphics, lsb-cxx, lsb-desktop, lsb-qt4, lsb-printing, lsb-multimedia, lsb-languages
+Depends: lsb-core, lsb-graphics, lsb-cxx, lsb-desktop
+Suggests: lsb-printing, lsb-multimedia, lsb-languages
Description: Linux Standard Base 3.2 support package
The Linux Standard Base (http://www.linuxbase.org/) is a standard
core system that third-party applications written for Linux can
# dh_undocumented
dh_installchangelogs -a
@echo >> debian/lsb-core.substvars "glibc=${LIBC}"
+ @[ ${DEB_BUILD_ARCH_CPU} != 'armel' ] && echo >> debian/lsb-cxx.substvars "depends=libstdc++5" || true
@echo >> debian/lsb-core.substvars "provides=lsb-core-${lsbarch}"
@echo >> debian/lsb-cxx.substvars "provides=lsb-cxx-${lsbarch}"
@echo >> debian/lsb-graphics.substvars "provides=lsb-graphics-${lsbarch}"
- @echo >> debian/lsb-desktop.substvars "provides=lsb-desktop-${lsbarch}"
+ @echo >> debian/lsb-desktop.substvars "provides=lsb-qt4-${lsbarch}, lsb-desktop-${lsbarch}"
@echo >> debian/lsb-qt4.substvars "provides=lsb-qt4-${lsbarch}"
@echo >> debian/lsb-multimedia.substvars "provides=lsb-multimedia-${lsbarch}"
@echo >> debian/lsb-languages.substvars "provides=lsb-languages-${lsbarch}"
done
shift $(($OPTIND - 1))
- [ "$1" = '--' ] && shift
+ if [ "$1" = '--' ]; then
+ shift
+ fi
exec="$1"; shift
if [ -x /bin/pidof -a ! "$specified" ]; then
/bin/pidof -o %PPID $1
status="$?"
- [ "$status" = 1 ] && return 3 # program is not running
+ if [ "$status" = 1 ]; then
+ return 3 # program is not running
+ fi
return 0
fi
return 4 # program or service is unknown
sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/')
sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/')
- [ -n "$sig" -o "$sig" = 15 -o "$sig" = TERM ] && is_term_sig=yes
+ if [ -n "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then
+ is_term_sig=yes
+ fi
status=0
if [ ! "$is_term_sig" = yes ]; then
if [ -n "$sig" ]; then
/sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo $name_param || status="$?"
fi
if [ "$status" = 1 ]; then
- [ -n "$sig" ] && return 0
+ if [ -n "$sig" ]; then
+ return 0
+ fi
return 3 # program is not running
fi
# int log_end_message (int exitstatus)
log_end_msg () {
# If no arguments were passed, return
- [ -z "${1:-}" ] && return 1
+ if [ -z "${1:-}" ]; then
+ return 1
+ fi
# Only do the fancy stuff if we have an appropriate terminal
# and if /usr is already mounted