Debian Bug report logs - #439561
dh-make: Enhancements to provided init.d template and a new LSB-compliant init.d script

version graph

Package: dh-make; Maintainer for dh-make is Craig Small <csmall@debian.org>; Source for dh-make is src:dh-make (PTS, buildd, popcon).

Reported by: Javier Fernández-Sanguino Peña <jfs@computer.org>

Date: Sat, 25 Aug 2007 17:39:01 UTC

Severity: wishlist

Tags: patch

Found in version dh-make/0.43

Fixed in version dh-make/0.44

Done: Craig Small <csmall@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Craig Small <csmall@debian.org>:
Bug#439561; Package dh-make. (full text, mbox, link).


Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
New Bug report received and forwarded. Copy sent to Craig Small <csmall@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: submit@bugs.debian.org
Subject: dh-make: Enhancements to provided init.d template and a new LSB-compliant init.d script
Date: Sat, 25 Aug 2007 19:35:33 +0200
[Message part 1 (text/plain, inline)]
Package: dh-make
Version: 0.43
Priority: wishlist
Tags: patch

I've made some changes to the default template provided for init.d scripts:

 - make time to wait for server to die configurable (DODTIME)
 - check if the server really started after 'start'
 - add a new 'status' check to the init.d script
 - added a new 'force-stop' action to the init.d script

I've also written a new init.d script which I believe could be included
as part of the templates that dh-make provides. This new init.d script
provides the following features:

  - LSB-compliant: includes an LSB header and uses lsb-style messages
    (notice that LSB is a release goal for us)
  - Adds the possibility to run the server as a non-root user (through
    DAEMONUSER)
  - Start / Stop / Reload code are separate functions
  - Add proper checks to all actions to see if the daemon actually
    started or stopped.
  - Add a new 'status' check
  - PIDFILE location is now configurable
  - Added a new force-stop
  - Aded a sample 'reload' action for when the server does not support it,
    enhance the (commented) 'reload' action with some additional checks

Hope you find these enhancements useful and include them in the dh-make
package.

Thanks

Javier
[dh-make_init_improvements.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Craig Small <csmall@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 439561-close@bugs.debian.org (full text, mbox, reply):

From: Craig Small <csmall@debian.org>
To: 439561-close@bugs.debian.org
Subject: Bug#439561: fixed in dh-make 0.44
Date: Mon, 10 Sep 2007 04:32:02 +0000
Source: dh-make
Source-Version: 0.44

We believe that the bug you reported is fixed in the latest version of
dh-make, which is due to be installed in the Debian FTP archive:

dh-make_0.44.dsc
  to pool/main/d/dh-make/dh-make_0.44.dsc
dh-make_0.44.tar.gz
  to pool/main/d/dh-make/dh-make_0.44.tar.gz
dh-make_0.44_all.deb
  to pool/main/d/dh-make/dh-make_0.44_all.deb



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 439561@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <csmall@debian.org> (supplier of updated dh-make 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 01 Aug 2007 09:56:02 +1000
Source: dh-make
Binary: dh-make
Architecture: source all
Version: 0.44
Distribution: unstable
Urgency: low
Maintainer: Craig Small <csmall@debian.org>
Changed-By: Craig Small <csmall@debian.org>
Description: 
 dh-make    - tool that converts source archives into Debian package source
Closes: 40887 353520 415795 438907 439561 439758
Changes: 
 dh-make (0.44) unstable; urgency=low
 .
   * Locates bzip in multiple directories Closes: #40887
   * Remove unsuded CFLAGS defs Closes: #353520
   * Fixed typo in debianm/rules Closes: #439758
   * Fixed up init.d and added an lsb example from JFS Closes: #439561
   * Updated menu example Closes: #438907
   * Changed 822-date to date -R Closes: #415795
   * Remove
Files: 
 b44c2f67a240aba0167ae2b456087f35 482 devel optional dh-make_0.44.dsc
 e13767fc5c25117e083bd8938be4db5b 34899 devel optional dh-make_0.44.tar.gz
 0f5377ab2e8d9f4b4c1defcc4be066d6 36326 devel optional dh-make_0.44_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG5MRBx2zlrBLK36URAvo8AJ42+d1vbGf9BAx8DrZOboanUOCRegCfbocp
3HJHB5c8uqMcoq+cyz96u4M=
=LNYC
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 19 Oct 2007 07:29:38 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 19:43:19 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.