Your message dated Fri, 01 May 2009 13:17:02 +0000
with message-id <[email protected]>
and subject line Bug#494739: fixed in help2man 1.36.4+nmu1
has caused the Debian Bug report #494739,
regarding help2man: support for programs that don't have --version option
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 [email protected]
immediately.)
--
494739: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494739
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: help2man
Version: 1.36.4
Severity: wishlist
Tags: patch
Here is a patch that adds support for programs that don't have a
--version option, in the form of a --version-string option which
specifies the string to be used as version of the program.
diff -Nru help2man-1.36.4/ChangeLog help2man-1.36.4.0/ChangeLog
--- help2man-1.36.4/ChangeLog 2006-02-27 14:44:53.000000000 +0100
+++ help2man-1.36.4.0/ChangeLog 2008-08-11 21:18:55.000000000 +0200
@@ -1,3 +1,9 @@
+help2man (1.36.4.0) unstable; urgency=low
+
+ * Add --version-string option
+
+ -- Lionel Elie Mamane <[email protected]> Mon, 11 Aug 2008 21:18:55 +0200
+
help2man (1.36.4) unstable; urgency=low
* Add sv translation from Daniel Nylander (closes: #349568).
diff -Nru help2man-1.36.4/debian/changelog help2man-1.36.4.0/debian/changelog
--- help2man-1.36.4/debian/changelog 2006-02-27 14:44:53.000000000 +0100
+++ help2man-1.36.4.0/debian/changelog 2008-08-11 21:18:55.000000000 +0200
@@ -1,3 +1,9 @@
+help2man (1.36.4.0) unstable; urgency=low
+
+ * Add --version-string option
+
+ -- Lionel Elie Mamane <[email protected]> Mon, 11 Aug 2008 21:18:55 +0200
+
help2man (1.36.4) unstable; urgency=low
* Add sv translation from Daniel Nylander (closes: #349568).
diff -Nru help2man-1.36.4/help2man.info help2man-1.36.4.0/help2man.info
--- help2man-1.36.4/help2man.info 2006-02-27 15:05:54.000000000 +0100
+++ help2man-1.36.4.0/help2man.info 2008-08-11 21:22:16.000000000 +0200
@@ -146,6 +146,10 @@
`--version-option=OPTION'
version option string
+`--version-string=OPTION'
+ Do not run the program with --version, but use OPTION as version
+ string.
+
File: help2man.info, Node: --help recommendations, Next: Makefile usage, Prev: Including text, Up: Top
diff -Nru help2man-1.36.4/help2man.PL help2man-1.36.4.0/help2man.PL
--- help2man-1.36.4/help2man.PL 2005-10-16 17:38:47.000000000 +0200
+++ help2man-1.36.4.0/help2man.PL 2008-08-11 22:20:24.000000000 +0200
@@ -163,6 +163,7 @@
-h, --help-option=STRING help option string
-v, --version-option=STRING version option string
+ --version-string=STRING version string
Report bugs to <[email protected]>.
EOT
@@ -173,7 +174,7 @@
my $locale = 'C';
my $help_option = '--help';
my $version_option = '--version';
-my ($opt_name, @opt_include, $opt_output, $opt_info, $opt_no_info);
+my ($opt_name, @opt_include, $opt_output, $opt_info, $opt_no_info, $version_string);
my %opt_def = (
'n|name=s' => \$opt_name,
@@ -188,6 +189,7 @@
'N|no-info' => \$opt_no_info,
'h|help-option=s' => \$help_option,
'v|version-option=s' => \$version_option,
+ 'version-string=s' => \$version_string,
);
# Parse options.
@@ -297,11 +299,26 @@
}
# Grab help and version info from executable.
-my ($help_text, $version_text) = map {
+my ($help_text) = map {
join '', map { s/ +$//; expand $_ } `$ARGV[0] $_ 2>/dev/null`
or kark N_("%s: can't get `%s' info from %s"), $this_program,
$_, $ARGV[0]
-} $help_option, $version_option;
+} $help_option;
+
+my $version_text;
+
+if ($version_string)
+{
+ $version_text = $version_string . "\n";
+}
+else
+{
+ ($version_text) = map {
+ join '', map { s/ +$//; expand $_ } `$ARGV[0] $_ 2>/dev/null`
+ or kark N_("%s: can't get `%s' info from %s"), $this_program,
+ $_, $ARGV[0]
+ } $version_option;
+}
my $date = strftime "%B %Y", localtime;
(my $program = $ARGV[0]) =~ s!.*/!!;
--- End Message ---
--- Begin Message ---
Source: help2man
Source-Version: 1.36.4+nmu1
We believe that the bug you reported is fixed in the latest version of
help2man, which is due to be installed in the Debian FTP archive:
help2man_1.36.4+nmu1.dsc
to pool/main/h/help2man/help2man_1.36.4+nmu1.dsc
help2man_1.36.4+nmu1.tar.gz
to pool/main/h/help2man/help2man_1.36.4+nmu1.tar.gz
help2man_1.36.4+nmu1_amd64.deb
to pool/main/h/help2man/help2man_1.36.4+nmu1_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Zacchiroli <[email protected]> (supplier of updated help2man 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 17 Apr 2009 12:35:34 +0200
Source: help2man
Binary: help2man
Architecture: source amd64
Version: 1.36.4+nmu1
Distribution: unstable
Urgency: low
Maintainer: Stefano Zacchiroli <[email protected]>
Changed-By: Stefano Zacchiroli <[email protected]>
Description:
help2man - Automatic manpage generator
Closes: 494739
Changes:
help2man (1.36.4+nmu1) unstable; urgency=low
.
* Non-maintainer upload.
* Bump debhelper compatibility level to 5 (4 is deprecated now), move
the setting to debian/compat
* Add missing dependency on ${shlibs:Depends}, neede by the .so file
shipped by help2man
* Add --version-string option to support programs which are missing some
sort of --version option. Thanks to Lionel Elie Mamane for the patch.
(Closes: #494739)
Checksums-Sha1:
0417190cb6426085cd6328ec3b292461c2fc9b1b 779 help2man_1.36.4+nmu1.dsc
443306443d27269d8e5600dbb4359ed7b60969f9 89113 help2man_1.36.4+nmu1.tar.gz
0ee6d5aa764aa652a2b9eec6bc189671dfe40e88 42384 help2man_1.36.4+nmu1_amd64.deb
Checksums-Sha256:
d8ee14949c533222b52f25d06d9c1c075645755c12a9438a5873fade1a5659ad 779
help2man_1.36.4+nmu1.dsc
5ebef685b2a96d474c981011022c3510176c3aee30546e706d755a34952e2cbf 89113
help2man_1.36.4+nmu1.tar.gz
d14187c78445cbaa2b28720ff8b164181d17a30f20798c935237f0246a524c7a 42384
help2man_1.36.4+nmu1_amd64.deb
Files:
d63ae0efbf068522e0fa0e0e043bb2ba 779 devel optional help2man_1.36.4+nmu1.dsc
f55def3f664163e2b4cfb258e0295b74 89113 devel optional
help2man_1.36.4+nmu1.tar.gz
c4135699e668bc1dc2c507b80764a259 42384 devel optional
help2man_1.36.4+nmu1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFJ6HRi1cqbBPLEI7wRAr1jAKDHheLAE+19mvoTyY7mb6EO+U/eLwCfSABa
3dlilbsFxsK3NjEWtJDDDcI=
=xd0m
-----END PGP SIGNATURE-----
--- End Message ---