Your message dated Sat, 13 Sep 2008 18:47:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466063: fixed in ngircd 0.12.1-1
has caused the Debian Bug report #466063,
regarding ngircd: [PATCH] Add short options -h and -V
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.)
--
466063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466063
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ngircd
Version: 0.10.3-2
Severity: wishlist
Attached a patch that adds -h and -V chort options (to complement the
usage).
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=ISO-8859-1) (ignored:
LC_ALL set to en_US)
Shell: /bin/sh linked to /bin/dash
>From 0d806d2ad09dd3bb88fd3420c2b64b4c8fa95b92 Mon Sep 17 00:00:00 2001
From: Jari Aalto <[EMAIL PROTECTED]>
Date: Fri, 15 Feb 2008 21:29:24 +0200
Subject: [PATCH] src/ngircd/ngircd.c: Add -V, -h options. man/ngircd.8:
Document new options
Signed-off-by: Jari Aalto <[EMAIL PROTECTED]>
---
man/ngircd.8 | 4 ++--
src/ngircd/ngircd.c | 19 +++++++++++++++++--
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/man/ngircd.8 b/man/ngircd.8
index 18b5f16..5e73858 100644
--- a/man/ngircd.8
+++ b/man/ngircd.8
@@ -49,10 +49,10 @@ CONNECT later on as IRC Operator to link this ngIRCd to
other servers.
\fB\-t\fR, \fB\-\-configtest\fR
Read, validate and display the configuration; then exit.
.TP
-\fB\-\-version\fR
+\fB\-V\fR, \fB\-\-version\fR
Output version information and exit.
.TP
-\fB\-\-help\fR
+\fB\-h\fR, \fB\-\-help\fR
Display a brief help text and exit.
.SH FILES
.I /usr/local/etc/ngircd.conf
diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
index 2fe858c..a101be3 100644
--- a/src/ngircd/ngircd.c
+++ b/src/ngircd/ngircd.c
@@ -188,6 +188,15 @@ main( int argc, const char *argv[] )
ok = true;
}
}
+
+ if( argv[i][n] == 'h' )
+ {
+ Show_Version( );
+ puts( "" ); Show_Help( ); puts( "" );
+ exit( 1 );
+ ok = true;
+ }
+
if( argv[i][n] == 'n' )
{
NGIRCd_NoDaemon = true;
@@ -211,6 +220,12 @@ main( int argc, const char *argv[] )
ok = true;
}
+ if( argv[i][n] == 'v' )
+ {
+ Show_Version( );
+ exit( 1 );
+ }
+
if( ! ok )
{
printf( "%s: invalid option
\"-%c\"!\n", PACKAGE_NAME, argv[i][n] );
@@ -571,8 +586,8 @@ Show_Help( void )
puts( " -s, --sniffer enable network sniffer and display all IRC
traffic" );
#endif
puts( " -t, --configtest read, validate and display configuration;
then exit" );
- puts( " --version output version information and exit" );
- puts( " --help display this help and exit" );
+ puts( " -V, --version output version information and exit" );
+ puts( " -h, --help display this help and exit" );
} /* Show_Help */
--
1.5.3.8
--- End Message ---
--- Begin Message ---
Source: ngircd
Source-Version: 0.12.1-1
We believe that the bug you reported is fixed in the latest version of
ngircd, which is due to be installed in the Debian FTP archive:
ngircd_0.12.1-1.diff.gz
to pool/main/n/ngircd/ngircd_0.12.1-1.diff.gz
ngircd_0.12.1-1.dsc
to pool/main/n/ngircd/ngircd_0.12.1-1.dsc
ngircd_0.12.1-1_i386.deb
to pool/main/n/ngircd/ngircd_0.12.1-1_i386.deb
ngircd_0.12.1.orig.tar.gz
to pool/main/n/ngircd/ngircd_0.12.1.orig.tar.gz
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.
Mario Iseli <[EMAIL PROTECTED]> (supplier of updated ngircd 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: Sat, 13 Sep 2008 16:47:32 +0200
Source: ngircd
Binary: ngircd
Architecture: source i386
Version: 0.12.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian IRC Team <[EMAIL PROTECTED]>
Changed-By: Mario Iseli <[EMAIL PROTECTED]>
Description:
ngircd - Next generation IRC Server
Closes: 452028 465815 466063 478338
Changes:
ngircd (0.12.1-1) unstable; urgency=low
.
* New upstream release (Closes: #465815, #466063).
* Maintainer set to Debian IRC Team.
* Added Vcs-* fields in debian/control.
* Added Homepage field in debian/control.
* Removed Homepage from description field in debian/control.
* Bumped policy version to 3.8.0.
* Enabled syslog (Closes: #452028).
* New init-script derived from actual dh-templates. (Closes: #478338).
Checksums-Sha1:
92e61e07ebfc4e9751889ec0e353976538a4ee90 1127 ngircd_0.12.1-1.dsc
4ad42011b8ec49aa3fc6ed2fc70f91894944d1ce 353935 ngircd_0.12.1.orig.tar.gz
0738500bd08e1b857581cc0fc4fa2f3d19b4f48c 10353 ngircd_0.12.1-1.diff.gz
020c32768045af99f0c7553da267de0331145396 90350 ngircd_0.12.1-1_i386.deb
Checksums-Sha256:
061eb294a7ead2a7128d5cc447190fa0308ad4d0ad56594228d8cc0e62dc312e 1127
ngircd_0.12.1-1.dsc
3a90c6ef9ed7922fae3fdd1d2e9d8ed6de772cf8048d53cb9deacd01a22eab47 353935
ngircd_0.12.1.orig.tar.gz
2c952e990d155561cf079a33319a6aa0312c77b8fc7df15dff3ce846ed92a743 10353
ngircd_0.12.1-1.diff.gz
b43f62e7f8f9d06e5909f18adf898a7fcbbeae4b5ddd61293fc7d1e957b1115c 90350
ngircd_0.12.1-1_i386.deb
Files:
c4f0c4818ec53facb6cb6b7f82de01a5 1127 net optional ngircd_0.12.1-1.dsc
db8618877a4dd5fb2be50402a2cb4a14 353935 net optional ngircd_0.12.1.orig.tar.gz
7efe39bb10e7fdee28f54cdb1df00018 10353 net optional ngircd_0.12.1-1.diff.gz
399246070d5ce8470ac09a7017a75022 90350 net optional ngircd_0.12.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjMB6YACgkQJ9EDSN0bDvcTxQCZASWzxzq5FsE2ARCUsrykIf2y
8AgAoI/oRV7e+QLgl4JomWo9ZFE1ad09
=1lkd
-----END PGP SIGNATURE-----
--- End Message ---