Your message dated Thu, 23 Nov 2006 06:47:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399628: fixed in erlang 1:11.b.2-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: erlang
Version: 1:11.b.2-1
Severity: important
Tags: patch

This patch adds support for IPv6 to inet:gethostbyname using gethostbyname2.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (750, 'testing'), (671, 'stable'), (500, 'testing'), (30, 
'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-vserver-k7
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
--- ./erts/etc/common/inet_gethost.c.orig       2006-05-03 10:01:23.000000000 
+0200
+++ ./erts/etc/common/inet_gethost.c    2006-11-20 23:22:54.000000000 +0100
@@ -1622,6 +1622,15 @@
                    he = NULL;
                    error_num = ERRCODE_NOTSUP;
                }               
+#elif defined(HAVE_GETHOSTBYNAME2)
+               if (proto == PROTO_IPV6) {
+                   he = gethostbyname2((char*)data, AF_INET6);
+                   error_num = he ? 0 : map_netdb_error(h_errno);
+               } else {
+                   /* Not supported... */
+                   he = NULL;
+                   error_num = ERRCODE_NOTSUP;
+               }
 #else
                /* Not supported... */
                he = NULL;
--- ./erts/configure.in.orig    2006-11-20 20:32:47.000000000 +0100
+++ ./erts/configure.in 2006-11-20 23:06:55.000000000 +0100
@@ -1049,7 +1049,7 @@
 
 dnl Check if we have these, in which case we'll try to build
 dnl inet_gethost with ipv6 support.
-AC_CHECK_FUNCS([getipnodebyname getipnodebyaddr])
+AC_CHECK_FUNCS([getipnodebyname getipnodebyaddr gethostbyname2])
 
 AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname 
dlopen \
                pread pwrite writev memmove strerror strerror_r strncasecmp \

--- End Message ---
--- Begin Message ---
Source: erlang
Source-Version: 1:11.b.2-2

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

erlang-base-hipe_11.b.2-2_i386.deb
  to pool/main/e/erlang/erlang-base-hipe_11.b.2-2_i386.deb
erlang-base_11.b.2-2_i386.deb
  to pool/main/e/erlang/erlang-base_11.b.2-2_i386.deb
erlang-dev_11.b.2-2_i386.deb
  to pool/main/e/erlang/erlang-dev_11.b.2-2_i386.deb
erlang-examples_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang-examples_11.b.2-2_all.deb
erlang-mode_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang-mode_11.b.2-2_all.deb
erlang-nox_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang-nox_11.b.2-2_all.deb
erlang-src_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang-src_11.b.2-2_all.deb
erlang-x11_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang-x11_11.b.2-2_all.deb
erlang_11.b.2-2.diff.gz
  to pool/main/e/erlang/erlang_11.b.2-2.diff.gz
erlang_11.b.2-2.dsc
  to pool/main/e/erlang/erlang_11.b.2-2.dsc
erlang_11.b.2-2_all.deb
  to pool/main/e/erlang/erlang_11.b.2-2_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Werner <[EMAIL PROTECTED]> (supplier of updated erlang 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.7
Date: Tue, 21 Nov 2006 22:07:56 +0300
Source: erlang
Binary: erlang-x11 erlang-base-hipe erlang-base erlang-nox erlang erlang-src 
erlang-dev erlang-mode erlang-examples
Architecture: source all i386
Version: 1:11.b.2-2
Distribution: unstable
Urgency: low
Maintainer: Erlang Packagers <[EMAIL PROTECTED]>
Changed-By: Torsten Werner <[EMAIL PROTECTED]>
Description: 
 erlang     - Concurrent, real-time, distributed functional language
 erlang-base - Concurrent, real-time, distributed functional language (virtual m
 erlang-base-hipe - Concurrent, real-time, distributed functional language 
(HiPE virt
 erlang-dev - Concurrent, real-time, distributed functional language (developme
 erlang-examples - Concurrent, real-time, distributed functional language 
(applicati
 erlang-mode - Concurrent, real-time, distributed functional language (editing m
 erlang-nox - Concurrent, real-time, distributed functional language (no X11 de
 erlang-src - Concurrent, real-time, distributed functional language (applicati
 erlang-x11 - Concurrent, real-time, distributed functional language (X11 deps)
Closes: 399628
Changes: 
 erlang (1:11.b.2-2) unstable; urgency=low
 .
   [ Sergei Golovan ]
   * Added IPv6 name resolution patch by Mikael Magnusson (closes: #399628)
Files: 
 58f4933ef452a3c5415ca492cf417075 845 interpreters optional erlang_11.b.2-2.dsc
 3b2fc06b833ed0988bee8399ce0b3497 33684 interpreters optional 
erlang_11.b.2-2.diff.gz
 5c14efa2abf97596f291a3d9a10f1fca 19479368 interpreters optional 
erlang-nox_11.b.2-2_all.deb
 cf78bac47bdfdd124faa5bfa7d070bb8 2328614 interpreters optional 
erlang-x11_11.b.2-2_all.deb
 f686b34ab53b33a403aeee72d7768119 5777980 interpreters optional 
erlang-src_11.b.2-2_all.deb
 7b75822efdfc077f8a85613a1bea330d 379214 interpreters optional 
erlang-examples_11.b.2-2_all.deb
 3ed36d3e9aab706425c954eb320ffd26 74304 interpreters optional 
erlang-mode_11.b.2-2_all.deb
 d95e612181e7787cf6a1491e11eae6a7 23412 interpreters optional 
erlang_11.b.2-2_all.deb
 e7a2c32c6869898cba0d0565f0cb2046 6451180 interpreters optional 
erlang-base_11.b.2-2_i386.deb
 ab600415d2fa98dcd3151cfe3cd9ec02 336754 interpreters optional 
erlang-dev_11.b.2-2_i386.deb
 16eba8425fd07df266798ab4cb9194e5 8205800 interpreters optional 
erlang-base-hipe_11.b.2-2_i386.deb

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

iD8DBQFFZTjXfY3dicTPjsMRAqOLAJ9Zpd2YjMwHsk1LaCrrswfA7Tq3kQCeNGbi
NIPkC99hGb4FqmEybj4Xk+o=
=4Nn+
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to