[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#625862: marked as done (tinyirc: does not support ports < 256)

Your message dated Fri, 24 Aug 2012 08:49:00 +0000
with message-id <E1T4pZc-0002MO-6W@franck.debian.org>
and subject line Bug#625862: fixed in tinyirc 1:1.1.dfsg.1-3
has caused the Debian Bug report #625862,
regarding tinyirc: does not support ports < 256
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 owner@bugs.debian.org

625862: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625862
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tinyirc
Version: 1:1.1.dfsg.1-1
Severity: normal

Hash: SHA1

Running tinyirc against a server on a low port does not work.  It just
falls back to the default port:

bjorn@nemi:/tmp/u$ tinyirc bjorn 255
TinyIRC 1.1 Copyright (C) 1991-1996 Nathan Laredo
This is free software with ABSOLUTELY NO WARRANTY.
For details please see the file COPYING.
*** User is Bjørn Mork
*** trying port 6667 of

*** refused connection, aborting

Looking at the code, the reason is obvious:  It's trying to guess whether the
arg is numeric, and therefore a port, by looking at the return value of atoi():

	    else if (atoi(argv[i]) > 255)
		IRCPORT = atoi(argv[i]);

I don't know how to fix this without rewriting the argument parsing from 
scratch.  Which probably should be done...

Anyway, you may want to document this fact so others aren't as surprised as
I was.


- -- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable'), (500, 'stable-updates'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tinyirc depends on:
ii  libc6                     2.11.2-10      Embedded GNU C Library: Shared lib
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand

tinyirc recommends no packages.

tinyirc suggests no packages.

- -- no debconf information

Version: GnuPG v1.4.10 (GNU/Linux)


--- End Message ---
--- Begin Message ---
Source: tinyirc
Source-Version: 1:1.1.dfsg.1-3

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

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

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

Debian distribution maintenance software
Jari Aalto <jari.aalto@cante.net> (supplier of updated tinyirc 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)

Hash: SHA1

Format: 1.8
Date: Wed, 22 Aug 2012 16:26:30 +0300
Source: tinyirc
Binary: tinyirc
Architecture: source amd64
Version: 1:1.1.dfsg.1-3
Distribution: unstable
Urgency: low
Maintainer: Jari Aalto <jari.aalto@cante.net>
Changed-By: Jari Aalto <jari.aalto@cante.net>
 tinyirc    - tiny IRC client
Closes: 499692 625862 660510
 tinyirc (1:1.1.dfsg.1-3) unstable; urgency=low
   * New maintainer (Closes: #660510).
     - Upgrade to packaging format "3.0 (quilt)".
   * debian/clean
     - New file.
   * debian/compat
     - Update from 4 to 9.
   * debian/control
     - (Build-Depends): Update to debhelper 9.
     - (Description): remove article (Lintian).
     - (Depends): Add ${shlibs:Depends}.
     - (Standards-Version): Update from 3.6.2 to 3.9.3.
     - (Vcs-*): Add new fields.
   * debian/copyright
     - Update to Format 1.0.
   * debian/install
     - New file.
   * debian/menu
     - (section): Update to Applications/Network/Communication.
   * debian/pod2man.mk
     - New file.
   * debian/patches
     - (20): New; argument handling. Allow any port number (Closes: #625862).
   * debian/rules
     - Convert to dh(1).
     - Use all hardened build flags.
   * debian/tinyirc.pod
     - Convert raw *.1 to maintainable *.pod format.
     - Clarify arguments (Closes: #499692).
   * debian/tinyirc.*
     - Simplify files by dropping tinyirc.* prefix.
       Like tinyirc.manpages => manpages.
   * debian/watch
     - New file.
   * Makfile, tinyirc.c
     - Restore original sources.
 684f4629f277dae524844fffa0319616a25b1808 1228 tinyirc_1.1.dfsg.1-3.dsc
 dbb5d15affcc6da1d90442ad56d720b783a99feb 10594 tinyirc_1.1.dfsg.1-3.debian.tar.gz
 ef96f15c905a14dc3c4af3fde2e650a9ff9440cb 35774 tinyirc_1.1.dfsg.1-3_amd64.deb
 719f8f3ff645e181f203e06fb2042b6242b3d2f58ebd9948b98038a198cd75c3 1228 tinyirc_1.1.dfsg.1-3.dsc
 c2087cb9af236a41e8130b76ba4ac28e95a7837d8092be58d32348cfdac30576 10594 tinyirc_1.1.dfsg.1-3.debian.tar.gz
 7009d8e33cdc92424471505ef99c3fbd2220bf51280b5501c7c6b21fe4d4a44b 35774 tinyirc_1.1.dfsg.1-3_amd64.deb
 b85117c71f51142eb4ff3f43b0a7e021 1228 net optional tinyirc_1.1.dfsg.1-3.dsc
 f588a4d955a1561af09de85942eafa20 10594 net optional tinyirc_1.1.dfsg.1-3.debian.tar.gz
 9596e4deb05bfacb9c275e0635940cdb 35774 net optional tinyirc_1.1.dfsg.1-3_amd64.deb

Version: GnuPG v1.4.11 (GNU/Linux)


--- End Message ---

Reply to: