Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26634 closed enhancement (fixed)

whois @5.0.7 support idn/iconv

Reported by: roland@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: whois

Description (last modified by ryandesign (Ryan Carsten Schmidt))

To be able to use the idn and iconv features of whois, especially when working with .de domain names, whois needs to be compiled with HAVE_IDN and HAVE_ICONV options set.

see the following files in the upstream distribution:

  • Makefile
  • whois.c

(this also requires LIBS and INCLUDES set in the Makefile)

Personally, I would like to have both set by default.

Change History (8)

comment:1 Changed 14 years ago by roland@…

Cc: roland@… added

Cc Me!

comment:2 Changed 14 years ago by roland@…

After additional research, please upgrade priority!

Reason:

DENIC recently upgraded its WHOIS servers. Due to strict, explicit US-ASCII calls that whois does, when not configureed with IDN/ICONV support, currently ALL QUERIES FAIL when the response data contains any UTF-8 (e.g. Umlauts in the contact information which is very common).

Examples

rmoriz@Delbarestivale:~$ whois web.de --verbose
Using server whois.denic.de.
Query string: "-T dn -C US-ASCII web.de"

% Error: 55000000013 Invalid charset for response

whois configured with idn/iconv support on debian/ubuntu:

whois web.de --verbose
Using server whois.denic.de.
Query string: "-T dn,ace web.de"

% Copyright (c) 2010 by DENIC
% Version: 2.0
% 
% Restricted rights.
% 
% Terms and Conditions of Use
…
(correct whois information skipped)

comment:3 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: roland@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Replying to roland@…:

Personally, I would like to have both set by default.

Gute Idee.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I'm having a little trouble making this compile; if someone already has a patch please let me know.

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks, I think I was making it harder than it needed to be. Updated in r71950.

comment:7 Changed 14 years ago by roland@…

one update:

it should be enough just to patch with this: http://github.com/rmoriz/seaplane/blob/master/net/whois/files/patch-idn-iconv.diff

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Thank you; simplified in r71955.

Note: See TracTickets for help on using tickets.