Your message dated Sun, 13 Aug 2017 04:34:13 +0000
with message-id <e1dgkbn-000cte...@fasolo.debian.org>
and subject line Bug#525677: fixed in gpm 1.20.7-1
has caused the Debian Bug report #525677,
regarding init.d status support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
525677: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525677
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gpm
Version: 1.20.4-3.2
Severity: wishlist
Tags: patch

Here is a patch to support the "status" action in the init.d script.
diff -u gpm-1.20.4/debian/gpm.init gpm-1.20.4/debian/gpm.init
--- gpm-1.20.4/debian/gpm.init
+++ gpm-1.20.4/debian/gpm.init
@@ -21,7 +21,7 @@
 
 . /lib/lsb/init-functions
 
-if [ "$(id -u)" != "0" ]
+if [ "$(id -u)" != "0" ] && [ "$1" != status ]
 then
   log_failure_msg "You must be root to start, stop or restart gpm."
   exit 1
@@ -93,8 +93,11 @@
      gpm_stop && sleep 3
      gpm_start || exit 1
      ;;
+  status)
+     status_of_proc $GPM gpm && exit 0 || exit $?
+     ;;
   *)
-     echo "Usage: /etc/init.d/gpm {start|stop|restart|force-reload|strace}"
+     echo "Usage: /etc/init.d/gpm {start|stop|restart|force-reload|strace|status}"
      exit 1
 esac
 
diff -u gpm-1.20.4/debian/control gpm-1.20.4/debian/control
--- gpm-1.20.4/debian/control
+++ gpm-1.20.4/debian/control
@@ -14,7 +14,7 @@
 Priority: optional
 Section: misc
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, debianutils (>= 1.7), ucf (>= 0.28), lsb-base
+Depends: ${shlibs:Depends}, ${misc:Depends}, debianutils (>= 1.7), ucf (>= 0.28), lsb-base (>= 3.2-13)
 Conflicts: libgpmg1
 Description: General Purpose Mouse interface
  This package provides a daemon that captures mouse events when the system

--- End Message ---
--- Begin Message ---
Source: gpm
Source-Version: 1.20.7-1

We believe that the bug you reported is fixed in the latest version of
gpm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 525...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated gpm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 13 Aug 2017 05:11:33 +0200
Source: gpm
Binary: gpm libgpm2 libgpm-dev
Architecture: source amd64
Version: 1.20.7-1
Distribution: experimental
Urgency: low
Maintainer: Axel Beckert <a...@debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Description:
 gpm        - General Purpose Mouse interface
 libgpm-dev - General Purpose Mouse - development files
 libgpm2    - General Purpose Mouse - shared library
Closes: 525677 852224
Changes:
 gpm (1.20.7-1) experimental; urgency=low
 .
   [ Samuel Thibault ]
   * Adopt package (Closes: Bug#852224)
   * control: Update maintainer mailing list.
 .
   [ Axel Beckert ]
   * Adding myself as Maintainer. (c.f. #852224)
   * Apply wrap-and-sort.
   * Update upstream download URL in debian/copyright. Issue found by DUCK.
   * Add not yet cleaned up build artifacts to debian/clean.
   * Switch to source format "3.0 (quilt)" and rewrite debian/rules as dh
     v7 style minimal rules file with debhelper compatibility level 10.
     + Bump versioned debhelper build-dependency accordingly.
     + Drop build-dependencies on quilt, autoconf and autotools-dev.
     + Refresh 021_libgpm_dev_gpmctl_debug_msg.patch to remove fuzz.
     + Use dh-exec and executable debian/*.install files instead of
       $(INSTALL_PROGRAM) and $(INSTALL_DATA) in debian/rules.
     + Add patch to fix FTBFS with -Wformat-security.
   * Enable all hardening build flags.
     + Update 014_has_mouse_control.patch to properly pass compile flags.
   * Add patch to fix spelling errors found by lintian.
   * Declare compliance with Debian Policy 4.0.1.
     + Use /run/ instead of /var/run/ in init script.
   * Import stable upstream release 1.20.7.
     + Refresh patches where necessary.
     + Manually extend 050_dont_link_libcurses to make package compile
       again independently of libncurses5-dev being installed or not.
     + Drop 020_daemon_quit_noverbose.patch,
       021_libgpm_dev_gpmctl_debug_msg.patch,
       022_libgpm_no_log_debug_msg.patch, 030_fd_set_negative_int.patch and
       040_no_OPEN_MAX.patch, applied upstream.
     + Update debian/libgpm2.install wrt. to minor SONAME version.
     + No more symlink config.{sub,guess}, call ./autogen.sh instead.
   * Add DEP-3 headers to all patches.
   * Add an initial symbols file.
 .
   [ Peter Eisentraut ]
   * Add init.d status support. (Closes: #525677)
Checksums-Sha1:
 89d2bb38f2dd4fb24af9938869de824d6e14de1a 1992 gpm_1.20.7-1.dsc
 3438de6d2be7cb6399bba54f15289ff148a5f11d 855027 gpm_1.20.7.orig.tar.gz
 520df097a809dd7ea9f675ff9da5269ad15adadf 81052 gpm_1.20.7-1.debian.tar.xz
 f68e13421ca3ed5f320074f3e3968b3d30359784 202222 gpm-dbgsym_1.20.7-1_amd64.deb
 9353f9a92336378b4d5efdda63339f778063835b 6528 gpm_1.20.7-1_amd64.buildinfo
 d275dc8d87cb81a8f037688a4f737462e1885912 202556 gpm_1.20.7-1_amd64.deb
 08041d5bab188cddda754280a887e482ff2df453 36360 libgpm-dev_1.20.7-1_amd64.deb
 f3fa7dbe7afa021d794b28ee5b56e94c98ec647e 20636 
libgpm2-dbgsym_1.20.7-1_amd64.deb
 baf39ab956420bf1b96418e0f4954a75a869e96e 34034 libgpm2_1.20.7-1_amd64.deb
Checksums-Sha256:
 64275a1bb5543a40f4246464bbd5b10808f709a34a71a7f8c0bd4c642ab4ef00 1992 
gpm_1.20.7-1.dsc
 c7e4661c24e05ae13547176b649bac8e3a0db2575f7dd57559f9e0b509f90f49 855027 
gpm_1.20.7.orig.tar.gz
 26c74c71ef42f801731dbcecef9bef195b0a620a683edf075f4c85fa035a15dc 81052 
gpm_1.20.7-1.debian.tar.xz
 d391d7bf74fb829dcf048f8a78ba861b9d2cdfc02e4f068caa13817623dbb9de 202222 
gpm-dbgsym_1.20.7-1_amd64.deb
 338b06af0cc1fe08cd01a41c68155c52702004fa62e5e228617c1e01e5d9ddc1 6528 
gpm_1.20.7-1_amd64.buildinfo
 7710b70035cd79718376baba3c0d2942aa7fc077d32c4c97a34fb7101d3e0f2f 202556 
gpm_1.20.7-1_amd64.deb
 b190f0e37e3687c63f7f3ffed42f99cb3dad28a879b3c888492178212fd67f62 36360 
libgpm-dev_1.20.7-1_amd64.deb
 605b40d2c1283c9da502916e664afcc7e8148418581f81084f41e003135ec858 20636 
libgpm2-dbgsym_1.20.7-1_amd64.deb
 b86b3e09c50770d6ba1570fe18ec9cc92b33653bb3ae80cd0ed285c67abbcb49 34034 
libgpm2_1.20.7-1_amd64.deb
Files:
 81f8946dbeadd68cd5ffcfcb97602910 1992 misc optional gpm_1.20.7-1.dsc
 e9a4ba2711753c89b37950aada7aed4a 855027 misc optional gpm_1.20.7.orig.tar.gz
 3f9801550158658aef984f8a00494d14 81052 misc optional gpm_1.20.7-1.debian.tar.xz
 b4ab8dd4852f0220cdcd079df41abe77 202222 debug extra 
gpm-dbgsym_1.20.7-1_amd64.deb
 ff0ec68c48ee663122e42da52fd30213 6528 misc optional 
gpm_1.20.7-1_amd64.buildinfo
 e2d9c573472385e8d088e38b9eb28cc8 202556 misc optional gpm_1.20.7-1_amd64.deb
 a09a8dcdc26a2818379aa42977960d29 36360 libdevel optional 
libgpm-dev_1.20.7-1_amd64.deb
 113d87673f7b92ea330543e95ea903ae 20636 debug extra 
libgpm2-dbgsym_1.20.7-1_amd64.deb
 a1cc94748f184d9fac460ae36311b4c9 34034 libs standard libgpm2_1.20.7-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAlmPzHQACgkQa+Zjx1o1
yXUoKQ/+Kd1g3toq6w7qxBeFBPtKE8nXbqePvxyTdrNae8SBtevDtXPxv4IQNAp/
RRe5+/y6siwvZW5K8+9v4/lIfVFfuPCu74t++tdyo1pTkLylO2ObElN1ImR0xayj
Fwa8mln8Qfo5LcA3V6LSp5f4SrYWjWGyAA/8Z/iB38czb4jPqCngc912bxjdJtEp
VCqKd8mf9paNigW4rY03TBWcN5G6rgZvHTyBrQ1R2yVG1EqJRWGLwHBhrPOn5Rd0
SDequXF55+KPkmqvCwKU7Bg0ZjYNBI5L4bQf3uNIXetjQnvJHEsAFeeXwWKP1rG+
6/+k/AgNbCKatIEhBE2uvGWQo+ZBtzwxpZt57gecn7zVVG6M9asL6N2lx3a5aw3n
JRJzjV+9fGqIrFKTCLhDxB8NxUnl41UcpEGXhmDCKzEWeIGW54jm1spCWJIjvSTE
XxivuhZMYCag0aI+zLdP99E6/IoJ4wb5jRoYbEDOYNYWjXHGr3ThXUERlVZ1+92A
6tLO/q6M7WbznNzxUVZhZ4W7c7vnU1X4NwHLilGhDO/lJ+uqCaoKpx1PiQeFoP9t
E5p8Wn78eYFteb7bJ3ijGyIwuvv1PxOqVthnLjXXh+YAs9GP8HwpfLhvpRjHkbkE
MyckXuOyujZyA0LE1KR18wl+L/B1uANBvOrl1sdIpezpILFs/nI=
=8uW6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to