#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 |
---|
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 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | roland@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
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:5 Changed 14 years ago by roland@…
comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Cc Me!