Your message dated Sun, 31 Aug 2008 11:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#496936: fixed in vdr-plugin-live 0.2.0-4
has caused the Debian Bug report #496936,
regarding [vdr-plugin-live] refuses to pass IPv6 addresses for listening to 
tntnet
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.)


-- 
496936: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496936
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: vdr-plugin-live
Version: 0.2.0-3.1
Severity: important
Tags: patch

TNTnet can listen on IPv6, but the setup routine of vdr-plugin-live refuses to 
pass them to the autogenerated TNTnet config file.

Attached patch expands the IP check to also allow IPv6 addresses and changes 
the default address from 0.0.0.0 to ::.

I'd like to have this in lenny as IPv6 support is release goal.


Timo


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.16.62

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 testing         www.debian-multimedia.org 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-=============
libc6                      (>= 2.7-1) | 2.7-13
libcxxtools6                          | 1.4.8-2
libgcc1                  (>= 1:4.1.1) | 1:4.3.1-2
libstdc++6                 (>= 4.2.1) | 4.3.1-2
libtntnet8                            | 1.6.3-3
vdr-abi-1.6.0-debian                  | 

--- a/setup.cpp	2008-04-23 01:01:53.000000000 +0200
+++ b/setup.cpp	2008-08-28 16:50:14.000000000 +0200
@@ -151,16 +151,20 @@
 
 bool Setup::CheckServerIps()
 {
+	struct in6_addr buf;
+
 	if ( m_serverIps.empty() ) {
-		m_serverIps.push_back( "0.0.0.0" );
+		m_serverIps.push_back( "::" );
 		return true;
 	}
 
 	for ( IpList::const_iterator ip = m_serverIps.begin(); ip != m_serverIps.end(); ++ip ) {
 		if ( inet_addr( ip->c_str() ) == static_cast< in_addr_t >( -1 ) ) {
-			esyslog( "ERROR: live server ip %s is not a valid ip address", ip->c_str() );
-			cerr << "ERROR: live server ip " << *ip << " is not a valid ip address" << endl;
-			return false;
+			if ( ! inet_pton( AF_INET6, ip->c_str(), &buf ) ) {
+				esyslog( "ERROR: live server ip %s is not a valid ip address", ip->c_str() );
+				cerr << "ERROR: live server ip " << *ip << " is not a valid ip address" << endl;
+				return false;
+			}
 		}
 	}
 	return true;

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: vdr-plugin-live
Source-Version: 0.2.0-4

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

vdr-plugin-live_0.2.0-4.diff.gz
  to pool/main/v/vdr-plugin-live/vdr-plugin-live_0.2.0-4.diff.gz
vdr-plugin-live_0.2.0-4.dsc
  to pool/main/v/vdr-plugin-live/vdr-plugin-live_0.2.0-4.dsc
vdr-plugin-live_0.2.0-4_i386.deb
  to pool/main/v/vdr-plugin-live/vdr-plugin-live_0.2.0-4_i386.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.
Tobias Grimm <[EMAIL PROTECTED]> (supplier of updated vdr-plugin-live 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, 30 Aug 2008 21:28:37 +0200
Source: vdr-plugin-live
Binary: vdr-plugin-live
Architecture: source i386
Version: 0.2.0-4
Distribution: unstable
Urgency: low
Maintainer: Debian VDR Team <[EMAIL PROTECTED]>
Changed-By: Tobias Grimm <[EMAIL PROTECTED]>
Description: 
 vdr-plugin-live - Web administration plugin for VDR
Closes: 496936
Changes: 
 vdr-plugin-live (0.2.0-4) unstable; urgency=low
 .
   * Added 01_ipv6 to allow usage of IPV6 addresses (Closes: #496936)
Checksums-Sha1: 
 f3f9dcd31e1919724567c8d09346e0ce47015ba9 1470 vdr-plugin-live_0.2.0-4.dsc
 de024cec1cc2d52f06c411ea482aa815d95465ce 9567 vdr-plugin-live_0.2.0-4.diff.gz
 942f8f216581a9dbe922926a6618b7ee1b280070 964370 
vdr-plugin-live_0.2.0-4_i386.deb
Checksums-Sha256: 
 2c4720c3d51a75e609f272e22c92f18dfeb215f22dbeb965508874520f2b690d 1470 
vdr-plugin-live_0.2.0-4.dsc
 769e65fa48d4e84a7089e8c71de61038cf323475890f25ec00c14837c35d2f3c 9567 
vdr-plugin-live_0.2.0-4.diff.gz
 2d213c8e025ad2303aefde587468259b247601f6847c677b3f81730eba5008fd 964370 
vdr-plugin-live_0.2.0-4_i386.deb
Files: 
 9864428f5242794ad63eab9b82d52079 1470 misc extra vdr-plugin-live_0.2.0-4.dsc
 8f37bf7abf5d63b32c761e07d5477553 9567 misc extra 
vdr-plugin-live_0.2.0-4.diff.gz
 f7de16e76dfb6cad0cc39171fe3bf785 964370 misc extra 
vdr-plugin-live_0.2.0-4_i386.deb

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

iEYEARECAAYFAki6f6AACgkQc9+NqwoydlJz8wCgtZigrpDA/iGm2hpi411TEEs6
LPcAn0FscyjZZ0Dcsrpw1/NtC1TX5Z9l
=UIPx
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to