[-]
[+]
|
Deleted |
whois-5.0.15-no.patch
|
@@ -1,11 +0,0 @@
---- po/Makefile.orig 2011-10-09 19:24:02.000000000 +0200
-+++ po/Makefile 2012-04-06 11:20:30.606065286 +0200
-@@ -6,7 +6,7 @@
-
- PACKAGE = whois
-
--CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo no.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
-+CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo nb.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
-
- POTFILES=../whois.c ../mkpasswd.c
-
|
[-]
[+]
|
Deleted |
whois_5.0.26.tar.bz2/po/no.po
^
|
@@ -1,330 +0,0 @@
-# Oversatt fra whois.pot.
-# Egil Kvaleberg <egil@kvaleberg.no>, 1999.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: whois 4.4.5\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-04-10 04:23+0200\n"
-"PO-Revision-Date: 1999-12-18 14:00:00\n"
-"Last-Translator: Egil Kvaleberg <egil@kvaleberg.no>\n"
-"Language-Team: Norwegian <no@li.org>\n"
-"Language: no\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=n != 1;\n"
-
-#: ../whois.c:148
-#, c-format
-msgid ""
-"Version %s.\n"
-"\n"
-"Report bugs to %s.\n"
-msgstr ""
-
-#: ../whois.c:202 ../whois.c:255 ../whois.c:261 ../whois.c:291
-#, c-format
-msgid "Using server %s.\n"
-msgstr "Bruker tjener %s.\n"
-
-#: ../whois.c:240
-msgid "This TLD has no whois server, but you can access the whois database at"
-msgstr ""
-
-#: ../whois.c:245
-msgid "This TLD has no whois server."
-msgstr ""
-
-#: ../whois.c:248
-msgid "No whois server is known for this kind of object."
-msgstr ""
-
-#: ../whois.c:251
-#, fuzzy
-msgid "Unknown AS number or IP network. Please upgrade this program."
-msgstr "Ukjent AS-nummer. Vennligst oppdater programmet."
-
-#: ../whois.c:267
-#, c-format
-msgid ""
-"\n"
-"Querying for the IPv4 endpoint %s of a 6to4 IPv6 address.\n"
-"\n"
-msgstr ""
-
-#: ../whois.c:273
-#, c-format
-msgid ""
-"\n"
-"Querying for the IPv4 endpoint %s of a Teredo IPv6 address.\n"
-"\n"
-msgstr ""
-
-#: ../whois.c:292
-#, c-format
-msgid ""
-"Query string: \"%s\"\n"
-"\n"
-msgstr ""
-"Forespørsel: \"%s\"\n"
-"\n"
-
-#: ../whois.c:302
-#, fuzzy, c-format
-msgid ""
-"\n"
-"\n"
-"Found a referral to %s.\n"
-"\n"
-msgstr ""
-"\n"
-"Fant InterNIC-referanse til %s.\n"
-"\n"
-
-#: ../whois.c:344 ../whois.c:347
-#, c-format
-msgid "Cannot parse this line: %s"
-msgstr ""
-
-#: ../whois.c:516
-#, fuzzy
-msgid "Warning: RIPE flags used with a traditional server."
-msgstr "Merk: RIPE-flaggene ignoreres for en tradisjonell tjener."
-
-#: ../whois.c:675 ../whois.c:773
-#, fuzzy
-msgid ""
-"Catastrophic error: disclaimer text has been changed.\n"
-"Please upgrade this program.\n"
-msgstr ""
-"Alvorlig feil: INTERNIC har endret standardtekst.\n"
-"Vennligst oppdater programmet.\n"
-
-#: ../whois.c:828
-#, c-format
-msgid "Host %s not found."
-msgstr "Finner ikke verten %s."
-
-#: ../whois.c:838
-#, c-format
-msgid "%s/tcp: unknown service"
-msgstr "%s/tcp: ukjent port"
-
-#: ../whois.c:913
-msgid "Timeout."
-msgstr ""
-
-#: ../whois.c:919
-#, c-format
-msgid "Interrupted by signal %d..."
-msgstr "Avbrudt av signal %d..."
-
-#: ../whois.c:1189
-#, c-format
-msgid ""
-"Usage: whois [OPTION]... OBJECT...\n"
-"\n"
-"-h HOST, --host HOST connect to server HOST\n"
-"-p PORT, --port PORT connect to PORT\n"
-"-H hide legal disclaimers\n"
-" --verbose explain what is being done\n"
-" --help display this help and exit\n"
-" --version output version information and exit\n"
-"\n"
-"These flags are supported by whois.ripe.net and some RIPE-like servers:\n"
-"-l find the one level less specific match\n"
-"-L find all levels less specific matches\n"
-"-m find all one level more specific matches\n"
-"-M find all levels of more specific matches\n"
-"-c find the smallest match containing a mnt-irt "
-"attribute\n"
-"-x exact match\n"
-"-b return brief IP address ranges with abuse contact\n"
-"-B turn off object filtering (show email addresses)\n"
-"-G turn off grouping of associated objects\n"
-"-d return DNS reverse delegation objects too\n"
-"-i ATTR[,ATTR]... do an inverse look-up for specified ATTRibutes\n"
-"-T TYPE[,TYPE]... only look for objects of TYPE\n"
-"-K only primary keys are returned\n"
-"-r turn off recursive look-ups for contact information\n"
-"-R force to show local copy of the domain object even\n"
-" if it contains referral\n"
-"-a also search all the mirrored databases\n"
-"-s SOURCE[,SOURCE]... search the database mirrored from SOURCE\n"
-"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n"
-"-t TYPE request template for object of TYPE\n"
-"-v TYPE request verbose template for object of TYPE\n"
-"-q [version|sources|types] query specified server info\n"
-msgstr ""
-
-#: ../mkpasswd.c:84
-msgid "standard 56 bit DES-based crypt(3)"
-msgstr ""
-
-#: ../mkpasswd.c:165
-#, c-format
-msgid "Invalid method '%s'.\n"
-msgstr ""
-
-#: ../mkpasswd.c:174 ../mkpasswd.c:184
-#, c-format
-msgid "Invalid number '%s'.\n"
-msgstr ""
-
-#: ../mkpasswd.c:201
-#, c-format
-msgid "Try '%s --help' for more information.\n"
-msgstr ""
-
-#: ../mkpasswd.c:242
-#, c-format
-msgid "Wrong salt length: %d byte when %d expected.\n"
-msgid_plural "Wrong salt length: %d bytes when %d expected.\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: ../mkpasswd.c:247
-#, c-format
-msgid "Wrong salt length: %d byte when %d <= n <= %d expected.\n"
-msgid_plural "Wrong salt length: %d bytes when %d <= n <= %d expected.\n"
-msgstr[0] ""
-msgstr[1] ""
-
-#: ../mkpasswd.c:256
-#, c-format
-msgid "Illegal salt character '%c'.\n"
-msgstr ""
-
-#: ../mkpasswd.c:306 ../mkpasswd.c:322
-#, c-format
-msgid "Password: "
-msgstr ""
-
-#: ../mkpasswd.c:340
-#, c-format
-msgid "Method not supported by crypt(3).\n"
-msgstr ""
-
-#: ../mkpasswd.c:419
-#, c-format
-msgid ""
-"Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n"
-"Crypts the PASSWORD using crypt(3).\n"
-"\n"
-msgstr ""
-
-#: ../mkpasswd.c:422
-#, c-format
-msgid ""
-" -m, --method=TYPE select method TYPE\n"
-" -5 like --method=md5\n"
-" -S, --salt=SALT use the specified SALT\n"
-" -R, --rounds=NUMBER use the specified NUMBER of rounds\n"
-" -P, --password-fd=NUM read the password from file descriptor NUM\n"
-" instead of /dev/tty\n"
-" -s, --stdin like --password-fd=0\n"
-" -h, --help display this help and exit\n"
-" -V, --version output version information and exit\n"
-"\n"
-"If PASSWORD is missing then it is asked interactively.\n"
-"If no SALT is specified, a random one is generated.\n"
-"If TYPE is 'help', available methods are printed.\n"
-"\n"
-"Report bugs to %s.\n"
-msgstr ""
-
-#: ../mkpasswd.c:452
-#, c-format
-msgid "Available methods:\n"
-msgstr ""
-
-#, fuzzy
-#~ msgid ""
-#~ "Usage: whois [OPTION]... OBJECT...\n"
-#~ "\n"
-#~ "-l one level less specific lookup [RPSL only]\n"
-#~ "-L find all Less specific matches\n"
-#~ "-m find first level more specific matches\n"
-#~ "-M find all More specific matches\n"
-#~ "-c find the smallest match containing a mnt-irt "
-#~ "attribute\n"
-#~ "-x exact match [RPSL only]\n"
-#~ "-d return DNS reverse delegation objects too [RPSL "
-#~ "only]\n"
-#~ "-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n"
-#~ "-T TYPE[,TYPE]... only look for objects of TYPE\n"
-#~ "-K only primary keys are returned [RPSL only]\n"
-#~ "-r turn off recursive lookups for contact "
-#~ "information\n"
-#~ "-R force to show local copy of the domain object "
-#~ "even\n"
-#~ " if it contains referral\n"
-#~ "-a search all databases\n"
-#~ "-s SOURCE[,SOURCE]... search the database from SOURCE\n"
-#~ "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to "
-#~ "LAST\n"
-#~ "-t TYPE request template for object of TYPE\n"
-#~ "-v TYPE request verbose template for object of TYPE\n"
-#~ "-q [version|sources|types] query specified server info [RPSL only]\n"
-#~ "-F fast raw output (implies -r)\n"
-#~ "-h HOST connect to server HOST\n"
-#~ "-p PORT connect to PORT\n"
-#~ "-H hide legal disclaimers\n"
-#~ " --verbose explain what is being done\n"
-#~ " --help display this help and exit\n"
-#~ " --version output version information and exit\n"
-#~ msgstr ""
-#~ "Bruk: whois [OPSJONER]... OBJEKTER...\n"
-#~ "\n"
-#~ "-a søk i alle databaser\n"
-#~ "-F full utskrift (impliserer -r)\n"
-#~ "-g KILDE:FØRSTE-SISTE finn oppdateringer fra KILDE fra serie FØRSTE til "
-#~ "SISTE\n"
-#~ "-h VERT koble til tjener VERT\n"
-#~ "-i ATTR[,ATTR]... gjør reversoppslag for attributtene ATTR\n"
-#~ "-L finn alle mindre spesifike treff\n"
-#~ "-M finn alle mer spesifike treff\n"
-#~ "-m finn første nivå av mer spesifike treff\n"
-#~ "-r ikke foreta rekursive oppslag\n"
-#~ "-p PORT koble til PORT\n"
-#~ "-R vis lokal kopi av objektet selv om det inneholder\n"
-#~ " en referanse\n"
-#~ "-S be tjeneren utelate syntaktisk \"sukker\"\n"
-#~ "-s KILDE[,KILDE]... søk i databasen fra KILDE\n"
-#~ "-T TYPE[,TYPE]... se bare på objekttype TYPE\n"
-#~ "-t TYPE be om mal for objekttype TYPE ('all' gir en "
-#~ "liste)\n"
-#~ "-v TYPE be om utførlig mal for objekttype TYPE\n"
-#~ "-V forklarer hva som skjer\n"
-#~ "\n"
-#~ "Versjon %s. Rapporter feil til %s.\n"
-
-#~ msgid "Using default server %s.\n"
-#~ msgstr "Bruker standardtjener %s.\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "\n"
-#~ "Found referral to %s.\n"
-#~ "\n"
-#~ msgstr ""
-#~ "\n"
-#~ "Fant InterNIC-referanse til %s.\n"
-#~ "\n"
-
-#~ msgid "Detected referral to %s on %s.\n"
-#~ msgstr "Referanse til %s vedrørende %s.\n"
-
-#~ msgid ""
-#~ "I don't know where this IP has been delegated.\n"
-#~ "I'll try ARIN and hope for the best..."
-#~ msgstr ""
-#~ "Vet ikke hvor denne IP-adressen har blitt delegert.\n"
-#~ "Prøver ARIN og håper det beste..."
-
-#~ msgid "I guess it's a netblock name but I don't know where to look it up."
-#~ msgstr "Gjetter at det er et netblock-navn, men vet ikke hvor det finnes."
-
-#~ msgid "I guess it's a domain but I don't know where to look it up."
-#~ msgstr "Gjetter at det er er domene, men vet ikke hvor det finnes."
|
[-]
[+]
|
Deleted |
whois_5.0.26.tar.bz2/whois.spec
^
|
@@ -1,62 +0,0 @@
-Summary: Enhanced WHOIS client
-Name: whois
-Version: 5.0.26
-Release: 1
-License: GPL
-Vendor: Marco d'Itri <md@linux.it>
-Group: Applications/Internet
-Source: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.xz
-BuildRoot: /var/tmp/%{name}-root
-Prefix: /usr
-
-%description
-This is a new whois (RFC 954) client rewritten from scratch.
-It is derived from and compatible with the usual BSD and RIPE whois(1)
-programs.
-It is intelligent and can automatically select the appropriate whois
-server for most queries.
-
-%prep
-%setup
-
-%build
-make CFLAGS="$RPM_OPT_FLAGS" HAVE_LIBIDN=1 HAVE_ICONV=1
-
-%install
-rm -rf ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}/usr/bin
-mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
-make install BASEDIR=${RPM_BUILD_ROOT} prefix=%{prefix}/
-gzip ${RPM_BUILD_ROOT}%{_mandir}/man?/*
-
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
-%files
-%defattr(-,root,root)
-%{prefix}/bin/whois
-%{prefix}/bin/mkpasswd
-%doc %{prefix}/share/man/man1/whois.1.gz
-%doc %{prefix}/share/man/man1/mkpasswd.1.gz
-%lang(cs) %{prefix}/share/locale/cs/LC_MESSAGES/whois.mo
-%lang(da) %{prefix}/share/locale/da/LC_MESSAGES/whois.mo
-%lang(de) %{prefix}/share/locale/de/LC_MESSAGES/whois.mo
-%lang(el) %{prefix}/share/locale/el/LC_MESSAGES/whois.mo
-%lang(es) %{prefix}/share/locale/es/LC_MESSAGES/whois.mo
-%lang(eu) %{prefix}/share/locale/eu/LC_MESSAGES/whois.mo
-%lang(fi) %{prefix}/share/locale/fi/LC_MESSAGES/whois.mo
-%lang(fr) %{prefix}/share/locale/fr/LC_MESSAGES/whois.mo
-%lang(it) %{prefix}/share/locale/it/LC_MESSAGES/whois.mo
-%lang(ja) %{prefix}/share/locale/ja/LC_MESSAGES/whois.mo
-%lang(no) %{prefix}/share/locale/no/LC_MESSAGES/whois.mo
-%lang(pl) %{prefix}/share/locale/pl/LC_MESSAGES/whois.mo
-%lang(pt_BR) %{prefix}/share/locale/pt_BR/LC_MESSAGES/whois.mo
-%lang(ru) %{prefix}/share/locale/ru/LC_MESSAGES/whois.mo
-%lang(zh_CN) %{prefix}/share/locale/zh_CN/LC_MESSAGES/whois.mo
-
-%changelog
-* Sun Jul 13 2003 Paul Mundt <lethal@linux-sh.org>
-- Updated spec for 4.6.6, fixed up doc/lang references.
-* Fri Feb 23 2001 Oren Tirosh <oren@hishome.net>
-- Initial spec based on skelgnu.spec
-
|
|
Deleted |
whois_5.1.0.tar.bz2
^
|
|
Deleted |
whois_5.1.1.tar.bz2
^
|
|
Deleted |
whois_5.1.2.tar.bz2
^
|
|
Deleted |
whois_5.1.3.tar.bz2
^
|
|
Deleted |
whois_5.1.4.tar.bz2
^
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/Makefile
^
|
@@ -69,23 +69,29 @@
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD) $(LIBS)
##############################################################################
+version.h: debian/changelog make_version_h.pl
+ $(PERL) make_version_h.pl $< > $@
+
as_del.h: as_del_list make_as_del.pl
- $(PERL) -w make_as_del.pl < $< > $@
+ $(PERL) make_as_del.pl < $< > $@
as32_del.h: as32_del_list make_as32_del.pl
- $(PERL) -w make_as32_del.pl < $< > $@
+ $(PERL) make_as32_del.pl < $< > $@
ip_del.h: ip_del_list make_ip_del.pl
- $(PERL) -w make_ip_del.pl < $< > $@
+ $(PERL) make_ip_del.pl < $< > $@
ip6_del.h: ip6_del_list make_ip6_del.pl
- $(PERL) -w make_ip6_del.pl < $< > $@
+ $(PERL) make_ip6_del.pl < $< > $@
+
+new_gtlds.h: new_gtlds_list make_new_gtlds.pl
+ $(PERL) make_new_gtlds.pl < $< > $@
tld_serv.h: tld_serv_list make_tld_serv.pl
- $(PERL) -w make_tld_serv.pl < $< > $@
+ $(PERL) make_tld_serv.pl < $< > $@
servers_charset.h: servers_charset_list make_servers_charset.pl
- $(PERL) -w make_servers_charset.pl < $< > $@
+ $(PERL) make_servers_charset.pl < $< > $@
##############################################################################
install: install-whois install-mkpasswd install-pos
@@ -123,3 +129,5 @@
$(CC) $(CPPFLAGS) $(CFLAGS) -MM -MG *.c > $@
-include Makefile.depend
+
+.DELETE_ON_ERROR:
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/as32_del_list
^
|
@@ -2,9 +2,18 @@
# actually I listed here also the unallocated space reserved for each RIR
+131077 131086 whois.nic.ad.jp
+131092 131101 whois.nic.or.kr
+131152 131161 whois.nic.ad.jp
+131791 131890 whois.nic.or.kr
+131893 131992 whois.nic.ad.jp
+
2.0 2.65535 apnic
3.0 3.65535 ripe
4.0 4.65535 lacnic
5.0 5.65535 afrinic
6.0 6.65535 arin
+# private ASN block
+4200000000 4294967294 ripe
+
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/as_del_list
^
|
@@ -29,26 +29,27 @@
9840 9871 whois.nic.or.kr
9943 9982 whois.nic.or.kr
9990 10021 whois.nic.ad.jp
-9216 10067 apnic
10034 10073 whois.nic.or.kr
10154 10198 whois.nic.or.kr
-10074 10239 apnic
+9216 10239 apnic
12288 13311 ripe
15360 16383 ripe
17503 17534 whois.nic.ad.jp
17567 17616 whois.nic.or.kr
17673 17704 whois.nic.ad.jp
-17832 17880 whois.nic.or.kr
-17408 18431 apnic
+17832 17881 whois.nic.or.kr
17930 17961 whois.nic.ad.jp
18067 18098 whois.nic.ad.jp
18121 18152 whois.nic.ad.jp
18259 18290 whois.nic.ad.jp
-18259 18290 whois.nic.ad.jp
+18294 18343 whois.nic.or.kr
+17408 18431 apnic
20480 21503 ripe
-23552 24575 apnic
23552 23601 whois.nic.or.kr
23612 23643 whois.nic.ad.jp
+23773 23836 whois.nic.ad.jp
+24248 24297 whois.nic.ad.jp
+23552 24575 apnic
24576 25599 ripe
26592 26623 lacnic
27648 28671 lacnic
@@ -58,18 +59,36 @@
34515 34519 afrinic
33792 35839 ripe
36864 37887 afrinic
+37888 37927 whois.nic.ad.jp
+38086 38135 whois.nic.or.kr
+38387 38436 whois.nic.or.kr
+38627 38656 whois.nic.ad.jp
+38660 38709 whois.nic.or.kr
37888 38911 apnic
38912 39935 ripe
40960 45055 ripe
+45360 45409 whois.nic.or.kr
+45672 45691 whois.nic.ad.jp
+45963 46012 whois.nic.or.kr
45056 46079 apnic
47104 52223 ripe
52224 53247 lacnic
+55372 55396 whois.nic.ad.jp
+55584 55633 whois.nic.or.kr
+55888 55912 whois.nic.ad.jp
55296 56319 apnic
56320 58367 ripe
+58645 58654 whois.nic.ad.jp
+58784 58793 whois.nic.ad.jp
+59091 59130 whois.nic.ad.jp
58368 59391 apnic
59392 61439 ripe
61440 61951 lacnic
-
+61952 62463 ripe
# catch all: everything else comes from ARIN
1 63487 arin
+63488 63999 apnic
+
+# documentation and private ASN block
+64496 65534 ripe
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/config.h
^
|
@@ -1,6 +1,3 @@
-/* Program version */
-#define VERSION "5.0.26"
-
/* Configurable features */
/* Always hide legal disclaimers */
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/data.h
^
|
@@ -29,7 +29,7 @@
const char *hide_strings[] = {
"NOTICE AND TERMS OF USE: You", "", /* NetSol */
- "TERMS OF USE: You are not", "", /* crsnic */
+ "NOTICE: The expiration date", "reserves the right", /* crsnic */
"The data in Register", "", /* Register.Com */
"The Data in the Tucows", "RECORD DOES NOT",
"The information in this whois database", "", /* DOTSTER */
@@ -40,7 +40,7 @@
"Access to America Online", "time. By accessing", /* AOL */
"# Access and use restricted", "", /* GANDI */
"% The data in the WHOIS database of 1&1 Internet", "",
- "The data in this whois database is", "", /* enom */
+ "The data in this whois database is", NULL, /* enom, activeregistrar.com */
"The Data in Moniker's WHOIS database", "of Moniker.",
"The Data in OnlineNIC", " By starting this query",
"Interdomain's WHOIS", "DOES NOT SIGNIFY",
@@ -48,6 +48,11 @@
"; This data is provided by domaindiscount24.com", "",
"%% NOTICE: Access to this information is provided", "%% By submitting", /* bookmyname.com */
"% NOTICE: Access to the domains information", "% this query", /* CORE */
+ "The Data in MarkMonitor.com's", "--", /* MarkMonitor */
+ "Corporation Service Company(c) (CSC) The Trusted Partner", "Register your domain name at", /* CSC */
+ "The data in Networksolutions.com's", "By submitting this query", /* Networksolutions */
+ "% Copyright (c)2003 by Deutsche Telekom AG", "% DOMAIN full", /* Deutsche Telekom */
+ "# Welcome to the OVH WHOIS Server", "# soumettant une", /* ovh */
/* gTLDs */
"Access to .AERO WHOIS information", "",
@@ -55,7 +60,7 @@
"The .coop registry WHOIS", "VERIFICATION, NOR DO",
"%% puntCAT Whois Server", "%% any time.",
"This Registry database contains ONLY .EDU", "type: help", /* edu */
- "Access to INFO WHOIS information is provided", "", /* Afilias */
+ "Access to AFILIAS WHOIS information is provided", "", /* .info */
"mTLD WHOIS LEGAL STATEMENT", "integrity of the database.", /* .mobi */
"Access to .ORG WHOIS information", "",
"Access to RegistryPro's Whois", "All rights", /* .pro */
@@ -63,10 +68,21 @@
"Tralliance, Inc., the Registry", "", /* .travel */
"Access to .XXX ICM REGISTRY WHOIS", "", /* .xxx */
+ /* new gTLDs */
+ "Terms of Use: Users accessing the Donuts WHOIS", NULL,
+ "Terms of Use: Users accessing the United TLD WHOIS", NULL,
+ "Access to WHOIS information is provided", "", /* Afilias */
+ "The WHOIS information provided on this page", NULL, /* uniregistry.net */
+ "The whois information provided on this site", "", /* mm-registry.com */
+ "; This data is provided by ", NULL, /* ksregistry.net */
+ "This whois service is provided by CentralNic Ltd", "",
+
/* ccTLDs */
"Access to CCTLD WHOIS information is provided", "", /* Afilias */
"Access to ASNIC", "by this policy.", /* as */
- "% The WHOIS service offered", "% of the database", /* eu */
+ "% The WHOIS service offered by DNS.be", "% protect the privacy", /* be */
+ "% The WHOIS service offered by EURid", "% of the database", /* eu */
+ "% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS", "", /* sx */
"NeuStar, Inc., the Registry", "OF THE AVAILABILITY", /* us */
NULL, NULL
@@ -95,6 +111,7 @@
};
const struct ip_del ip_assign[] = {
+#include "ip_del_recovered.h"
#include "ip_del.h"
{ 0, 0, NULL }
};
@@ -132,6 +149,11 @@
{ 0, 0, NULL }
};
+const char *new_gtlds[] = {
+#include "new_gtlds.h"
+ NULL
+};
+
const char *tld_serv[] = {
#include "tld_serv.h"
NULL, NULL
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/debian/changelog
^
|
@@ -1,3 +1,63 @@
+whois (5.1.5) unstable; urgency=medium
+
+ * Updated the list of new gTLDs.
+ * Added some disclaimer suppression strings for the new gTLDs' servers.
+ * Updated one or more translations. (Closes: #756231)
+
+ -- Marco d'Itri <md@linux.it> Sat, 02 Aug 2014 03:41:44 +0200
+
+whois (5.1.4) unstable; urgency=medium
+
+ * Added the charset for whois.lacnic.net.
+ * Updated the list of new gTLDs.
+ * Updated one or more translations.
+
+ -- Marco d'Itri <md@linux.it> Mon, 30 Jun 2014 04:22:21 +0200
+
+whois (5.1.3) unstable; urgency=medium
+
+ * Use the IANA recovered address space list.
+ * Updated the list of new gTLDs.
+ * Support hiding disclaimers until the end of the output.
+ * Fix a disclaimer hiding string. (Closes: #748363)
+
+ -- Marco d'Itri <md@linux.it> Mon, 26 May 2014 04:19:41 +0200
+
+whois (5.1.2) unstable; urgency=medium
+
+ * Always query whois.nic.$TLD for the "new" gTLDs, because the ICANN
+ contract requires that it works.
+ * Added the .aw and .zm TLD servers.
+ * Updated the .mk, .tc and .vu TLD servers.
+ * Added more ASN entries for Japan and Korea.
+ * Fixed some invalid ASN and networks entries which would never be
+ matched, reported by Henry Stern.
+ * mkpasswd ported to Solaris/Dyson, patch courtesy of Igor Pashev.
+
+ -- Marco d'Itri <md@linux.it> Fri, 02 May 2014 04:15:08 +0200
+
+whois (5.1.1) unstable; urgency=medium
+
+ * Added the servers for 29 "new" gTLDs.
+
+ -- Marco d'Itri <md@linux.it> Sat, 11 Jan 2014 00:51:05 +0100
+
+whois (5.1.0) unstable; urgency=low
+
+ * Added the .ga, .ml, .pf, .xn--l1acc (.МОН, Mongolia) and
+ .xn--mgba3a4f16a (.ﺍیﺭﺎﻧ, Iran) TLD servers.
+ * Added the servers for 54 "new" gTLDs.
+ * Updated the .bw, .gd, .hn, .sb, .xn--j1amh and .xn--mgberp4a5d4ar
+ TLD servers.
+ * Added new RIPE and APNIC ASN allocations.
+ * Removed the .ck TLD server.
+ * Updated one or more translations.
+ * Applied multiple small fixes contributed by Petr Písař of Red Hat.
+ * Correctly hide the disclaimers for .be and .sx. (Closes: #729366)
+ * Direct queries for private ASN blocks to RIPE. (Closes: #724661)
+
+ -- Marco d'Itri <md@linux.it> Thu, 26 Dec 2013 10:05:43 +0100
+
whois (5.0.26) unstable; urgency=low
* Added the .cf TLD server.
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/debian/control
^
|
@@ -2,7 +2,7 @@
Section: net
Priority: standard
Maintainer: Marco d'Itri <md@linux.it>
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
Build-Depends: debhelper (>= 5), gettext, libidn11-dev
Vcs-Git: git://github.com/rfc1036/whois.git
Vcs-Browser: https://github.com/rfc1036/whois
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/debian/rules
^
|
@@ -13,8 +13,6 @@
D := $(CURDIR)/debian/whois
-VERSION := $(shell dpkg-parsechangelog | sed -n 's/~*ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p')
-
build:
dh_testdir
$(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1 HAVE_ICONV=1
@@ -30,9 +28,6 @@
dh_testdir
dh_clean
- # sanity check
- egrep -q '^#define VERSION "$(VERSION)"$$' config.h
-
dh_installdirs usr/bin
$(MAKE) install BASEDIR=$D
dh_installman whois.1 mkpasswd.1
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/ip_del_list
^
|
@@ -187,7 +187,7 @@
210.61.0.0/16 twnic
210.62.252.0/22 twnic
210.65.0.0/16 twnic
-210.71.128.0/16 twnic
+210.71.128.0/17 twnic
210.90.0.0/15 whois.nic.or.kr
210.92.0.0/14 whois.nic.or.kr
210.96.0.0/11 whois.nic.or.kr # => 210.127.255.255
@@ -202,7 +202,7 @@
210.224.0.0/12 whois.nic.ad.jp # => 210.239.255.255
# some more TWNIC blocks are scattered here
210.240.0.0/16 twnic
-210.241.0.0/15 twnic
+210.241.0.0/18 twnic
210.241.224.0/19 twnic
210.242.0.0/15 twnic
210.248.0.0/13 whois.nic.ad.jp
@@ -244,7 +244,8 @@
220.103.0.0/16 whois.nic.or.kr
220.104.0.0/13 whois.nic.ad.jp
220.149.0.0/16 whois.nic.or.kr
-221.138.0.0/13 whois.nic.or.kr
+221.138.0.0/15 whois.nic.or.kr
+221.140.0.0/14 whois.nic.or.kr
221.144.0.0/12 whois.nic.or.kr
221.160.0.0/13 whois.nic.or.kr
222.96.0.0/12 whois.nic.or.kr
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/ip_del_recovered.h
^
|
@@ -0,0 +1,18 @@
+{ 736100352UL, 736624639UL, "whois.apnic.net" },
+{ 736886784UL, 737411071UL, "whois.apnic.net" },
+{ 737476608UL, 738000895UL, "whois.apnic.net" },
+{ 738066432UL, 738197503UL, "whois.apnic.net" },
+{ 757071872UL, 759169023UL, "whois.arin.net" },
+{ 759169024UL, 759238655UL, "whois.apnic.net" },
+{ 763363328UL, 765460479UL, "whois.ripe.net" },
+{ 765460480UL, 767557631UL, "whois.lacnic.net" },
+{ 767557632UL, 769589247UL, "whois.afrinic.net" },
+{ 2523594752UL, 2523660287UL, "whois.apnic.net" },
+{ 2525036544UL, 2525102079UL, "whois.apnic.net" },
+{ 2532442112UL, 2532507647UL, "whois.apnic.net" },
+{ 2584739840UL, 2584805375UL, "whois.afrinic.net" },
+{ 2737767424UL, 2737771263UL, "whois.apnic.net" },
+{ 2737771520UL, 2737772031UL, "whois.apnic.net" },
+{ 2737774592UL, 2737778175UL, "whois.apnic.net" },
+{ 2737778432UL, 2737831935UL, "whois.apnic.net" },
+{ 2738159616UL, 2738225151UL, "whois.apnic.net" },
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_as32_del.pl
^
|
@@ -3,19 +3,25 @@
use warnings;
use strict;
-while (<STDIN>) {
+while (<>) {
chomp;
- s/^\s*(.+)\s*$/$1/;
- s/\s*#.*$//;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
next if /^$/;
- my ($fh, $fl, $lh, $ll, $s) = /^(\d+)\.(\d+)\s+(\d+)\.(\d+)\s+([\w\.-]+)$/;
- die "format error: $_" unless $s;
+ my ($fh, $fl, $lh, $ll, $s, $f, $l);
+ if (($fh, $fl, $lh, $ll, $s) =
+ /^(\d+)\.(\d+)\s+(\d+)\.(\d+)\s+([\w\.-]+)$/) {
+ $f = ($fh << 16) + $fl;
+ $l = ($lh << 16) + $ll;
- my $f = ($fh << 16) + $fl;
- my $l = ($lh << 16) + $ll;
- my $server = ($s =~ /\./) ? $s : "whois.$s.net";
-
- print qq({ $f, $l,\t"$server" },\t/* $fh.$fl $lh.$ll */\n);
+ my $server = ($s =~ /\./) ? $s : "whois.$s.net";
+ print qq|{ ${f}u, ${l}u,\t"$server" },\t/* $fh.$fl $lh.$ll */\n|;
+ } elsif (($f, $l, $s) = /^(\d+)\s+(\d+)\s+([\w\.-]+)$/) {
+ my $server = ($s =~ /\./) ? $s : "whois.$s.net";
+ print qq|{ ${f}u, ${l}u,\t"$server" },\n|;
+ } else {
+ die "format error: $_";
+ }
}
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_as_del.pl
^
|
@@ -1,20 +1,28 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
+use warnings;
use strict;
+my $last_l = 0;
+
while (<>) {
chomp;
- s/^\s*(.*)\s*$/$1/;
- s/\s*#.*$//;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
next if /^$/;
- die "format error: $_" unless (/^([\d\.]+)\s+([\d\.]+)\s+([\w\.]+)$/);
- my $f=$1; my $l=$2; my $s=$3;
+
+ die "format error: $_" if not (/^([\d\.]+)\s+([\d\.]+)\s+([\w\.]+)$/);
+ my $f = $1; my $l = $2; my $s = $3;
+
+ die "constraint violated: $l < $last_l" if $l < $last_l;
+ $last_l = $l;
+
print "{ ${f}, ${l}, \"";
if ($s =~ /\./) {
print "$s";
} else {
print "whois.$s.net";
}
- print "\" },\n";
+ print qq(" },\n);
}
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_ip6_del.pl
^
|
@@ -1,14 +1,15 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
+use warnings;
use strict;
while (<>) {
chomp;
- s/^\s*(.*)\s*$/$1/;
- s/\s*#.*$//;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
next if /^$/;
- die "invalid line:\n$_\n"
+ die "format error:\n$_\n"
if not m#^([\da-fA-F]{4}):([\da-fA-F]{1,4})::/(\d+)\s+([\w\.]+)$#;
my $len = $3; my $s = $4;
my $i1 = $1; my $i2 = $2;
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_ip_del.pl
^
|
@@ -1,15 +1,17 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
+use warnings;
use strict;
while (<>) {
chomp;
- s/^\s*(.*)\s*$/$1/;
- s/\s*#.*$//;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
next if /^$/;
die "format error: $_" if not /^([\d\.]+)\/(\d+)\s+([\w\.]+)$/;
my $m = $2; my $s = $3;
+
my ($i1, $i2, $i3, $i4) = split(/\./, $1);
print '{ ' . (($i1 << 24) + ($i2 << 16) + ($i3 << 8) + $i4) . 'UL, '.
((~(0xffffffff >> $m)) & 0xffffffff) . 'UL, "';
@@ -22,6 +24,6 @@
} else {
print "whois.$s.net";
}
- print '" },' . "\n";
+ print qq|" },\n|;
}
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/make_ip_del_recovered.pl
^
|
@@ -0,0 +1,31 @@
+#!/usr/bin/perl
+# https://www.iana.org/assignments/ipv4-recovered-address-space/ipv4-recovered-address-space-2.csv
+
+use warnings;
+use strict;
+use autodie;
+
+use Text::CSV;
+
+my $csv = Text::CSV->new;
+
+open(my $in, '<', 'ipv4-recovered-address-space-2.csv');
+open(my $out, '>', 'ip_del_recovered.h');
+
+while (my $row = $csv->getline($in)) {
+ next if $row->[0] eq 'Start address';
+ next if $row->[5] ne 'ALLOCATED';
+
+ my ($b1, $b2, $b3, $b4) = split(/\./, $row->[0]);
+ my ($e1, $e2, $e3, $e4) = split(/\./, $row->[1]);
+ die if not defined $b4 or not defined $e4;
+
+ print $out '{ ' .
+ (($b1 << 24) + ($b2 << 16) + ($b3 << 8) + $b4) . 'UL, ' .
+ (($e1 << 24) + ($e2 << 16) + ($e3 << 8) + $e4) . 'UL, ' .
+ '"' . $row->[4] . qq|" },\n|;
+}
+
+close($in);
+close($out);
+
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/make_new_gtlds.pl
^
|
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+while (<>) {
+ chomp;
+ s/#.*$//;
+ s/^\s+//; s/\s+$//;
+ next if /^$/;
+
+ die "format error: $_" if not /^((?:xn--)?[a-z0-9]+)$/;
+
+ print qq| ".$_",\n|;
+}
+
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_servers_charset.pl
^
|
@@ -9,13 +9,13 @@
s/^\s+//; s/\s+$//;
next if /^$/;
- die "format error: $_" unless
+ die "format error: $_" if not
(my ($a, $b, $c) = /^([a-z0-9.-]+)\s+([a-z0-9-]+)(?:\s+(.+))?$/);
if ($c) {
- print qq( { "$a",\t"$b",\t"$c" },\n);
+ print qq| { "$a",\t"$b",\t"$c" },\n|;
} else {
- print qq( { "$a",\t"$b",\tNULL },\n);
+ print qq| { "$a",\t"$b",\tNULL },\n|;
}
}
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/make_tld_serv.pl
^
|
@@ -9,14 +9,14 @@
s/^\s+//; s/\s+$//;
next if /^$/;
- die "format error: $_" unless
+ die "format error: $_" if not
(my ($a, $b) = /^([\w\d\.-]+)\s+([\w\d\.:-]+|[A-Z]+\s+.*)$/);
$b =~ s/^W(?:EB)?\s+/\\x01/;
- $b =~ s/^VERISIGN\s+/\\x04/;
+ $b =~ s/^VERISIGN\s+/\\x04" "/;
$b = "\\x03" if $b eq 'NONE';
$b = "\\x08" if $b eq 'AFILIAS';
$b = "\\x0C" if $b eq 'ARPA';
- print qq( "$a",\t"$b",\n);
+ print qq| "$a",\t"$b",\n|;
}
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/make_version_h.pl
^
|
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+my $changelog = $ARGV[0] or die "Usage: $0 debian/changelog\n";
+
+open(my $fh, '<', $changelog) or die "open($changelog): $!";
+my $line = <$fh>;
+close($fh) or die "close($changelog): $!";
+
+my ($ver) = $line =~ /^whois \s+ \( ( [^\)]+ ) \) \s+ \S+/x;
+die "Version number not found in $changelog!\n" if not $ver;
+
+$ver =~ s/ ( ~bpo\d+\+\d+ | ~deb\d+.* | ubuntu\d+ | \+dyson\d+ ) $//x;
+
+# The version number must not deviate from this format or the -V option
+# to RIPE-like servers will break. If needed, update the previous regexp.
+die "Invalid version number in $changelog!\n"
+ unless $ver =~ /^ \d+\.\d+ ( \.\d+ )? $/x;
+
+print qq|#define VERSION "$ver"\n|;
+
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/mkpasswd.c
^
|
@@ -17,8 +17,9 @@
*/
/* for crypt, snprintf and strcasecmp */
-#define _XOPEN_SOURCE
-#define _BSD_SOURCE
+#define _XOPEN_SOURCE 500
+#define _BSD_SOURCE 1
+#define __EXTENSIONS__ 1
/* System library */
#include <stdio.h>
@@ -45,6 +46,7 @@
#endif
/* Application-specific */
+#include "version.h"
#include "utils.h"
/* Global variables */
@@ -179,11 +181,14 @@
case 'R':
{
char *p;
- rounds = strtol(optarg, &p, 10);
- if (p == NULL || *p != '\0' || rounds < 0) {
+ long r;
+
+ r = strtol(optarg, &p, 10);
+ if (p == NULL || *p != '\0' || r < 0) {
fprintf(stderr, _("Invalid number '%s'.\n"), optarg);
exit(1);
}
+ rounds = r;
}
break;
case 's':
@@ -267,10 +272,9 @@
strcat(salt, salt_arg);
} else {
#ifdef HAVE_SOLARIS_CRYPT_GENSALT
-#error "This code path is untested on Solaris. Please send a patch."
salt = crypt_gensalt(salt_prefix, NULL);
if (!salt)
- perror(stderr, "crypt_gensalt");
+ perror("crypt_gensalt");
#elif defined HAVE_LINUX_CRYPT_GENSALT
void *entropy = get_random_bytes(64);
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/new_gtlds.h
^
|
@@ -0,0 +1,348 @@
+ ".academy",
+ ".accountants",
+ ".active",
+ ".actor",
+ ".agency",
+ ".airforce",
+ ".archi",
+ ".army",
+ ".associates",
+ ".attorney",
+ ".auction",
+ ".audio",
+ ".autos",
+ ".axa",
+ ".bar",
+ ".bargains",
+ ".bayern",
+ ".beer",
+ ".berlin",
+ ".best",
+ ".bid",
+ ".bike",
+ ".bio",
+ ".black",
+ ".blackfriday",
+ ".blue",
+ ".bmw",
+ ".boutique",
+ ".brussels",
+ ".build",
+ ".builders",
+ ".buzz",
+ ".bzh",
+ ".cab",
+ ".camera",
+ ".camp",
+ ".cancerresearch",
+ ".capetown",
+ ".capital",
+ ".cards",
+ ".care",
+ ".career",
+ ".careers",
+ ".cash",
+ ".catering",
+ ".center",
+ ".ceo",
+ ".cheap",
+ ".christmas",
+ ".church",
+ ".citic",
+ ".city",
+ ".claims",
+ ".cleaning",
+ ".clinic",
+ ".clothing",
+ ".club",
+ ".codes",
+ ".coffee",
+ ".college",
+ ".cologne",
+ ".com",
+ ".community",
+ ".company",
+ ".computer",
+ ".condos",
+ ".construction",
+ ".consulting",
+ ".contractors",
+ ".cooking",
+ ".cool",
+ ".country",
+ ".credit",
+ ".creditcard",
+ ".cruises",
+ ".cuisinella",
+ ".dance",
+ ".dating",
+ ".deals",
+ ".degree",
+ ".democrat",
+ ".dental",
+ ".dentist",
+ ".desi",
+ ".diamonds",
+ ".digital",
+ ".direct",
+ ".directory",
+ ".discount",
+ ".dnp",
+ ".domains",
+ ".durban",
+ ".education",
+ ".email",
+ ".engineer",
+ ".engineering",
+ ".enterprises",
+ ".equipment",
+ ".estate",
+ ".eus",
+ ".events",
+ ".exchange",
+ ".expert",
+ ".exposed",
+ ".fail",
+ ".farm",
+ ".feedback",
+ ".finance",
+ ".financial",
+ ".fish",
+ ".fishing",
+ ".fitness",
+ ".flights",
+ ".florist",
+ ".foo",
+ ".foundation",
+ ".frogans",
+ ".fund",
+ ".furniture",
+ ".futbol",
+ ".gal",
+ ".gallery",
+ ".gent",
+ ".gift",
+ ".gives",
+ ".glass",
+ ".global",
+ ".globo",
+ ".gmo",
+ ".gop",
+ ".graphics",
+ ".gratis",
+ ".green",
+ ".gripe",
+ ".guide",
+ ".guitars",
+ ".guru",
+ ".hamburg",
+ ".haus",
+ ".hiphop",
+ ".hiv",
+ ".holdings",
+ ".holiday",
+ ".homes",
+ ".horse",
+ ".host",
+ ".house",
+ ".immobilien",
+ ".industries",
+ ".info",
+ ".ink",
+ ".institute",
+ ".insure",
+ ".international",
+ ".investments",
+ ".jetzt",
+ ".joburg",
+ ".juegos",
+ ".kaufen",
+ ".kim",
+ ".kitchen",
+ ".kiwi",
+ ".koeln",
+ ".krd",
+ ".kred",
+ ".lacaixa",
+ ".land",
+ ".lawyer",
+ ".lease",
+ ".lgbt",
+ ".life",
+ ".lighting",
+ ".limited",
+ ".limo",
+ ".link",
+ ".loans",
+ ".london",
+ ".lotto",
+ ".luxe",
+ ".luxury",
+ ".maison",
+ ".management",
+ ".mango",
+ ".market",
+ ".marketing",
+ ".media",
+ ".meet",
+ ".melbourne",
+ ".menu",
+ ".miami",
+ ".mini",
+ ".moda",
+ ".moe",
+ ".monash",
+ ".mortgage",
+ ".moscow",
+ ".motorcycles",
+ ".nagoya",
+ ".navy",
+ ".net",
+ ".neustar",
+ ".ngo",
+ ".nhk",
+ ".ninja",
+ ".nra",
+ ".nrw",
+ ".nyc",
+ ".okinawa",
+ ".onl",
+ ".org",
+ ".organic",
+ ".ovh",
+ ".paris",
+ ".partners",
+ ".parts",
+ ".photo",
+ ".photography",
+ ".photos",
+ ".physio",
+ ".pics",
+ ".pictures",
+ ".pink",
+ ".place",
+ ".plumbing",
+ ".praxi",
+ ".press",
+ ".productions",
+ ".properties",
+ ".pub",
+ ".qpon",
+ ".quebec",
+ ".recipes",
+ ".red",
+ ".rehab",
+ ".reise",
+ ".reisen",
+ ".ren",
+ ".rentals",
+ ".repair",
+ ".report",
+ ".republican",
+ ".rest",
+ ".reviews",
+ ".rich",
+ ".rio",
+ ".rocks",
+ ".rodeo",
+ ".ruhr",
+ ".ryukyu",
+ ".saarland",
+ ".scb",
+ ".schmidt",
+ ".schule",
+ ".scot",
+ ".services",
+ ".sexy",
+ ".shiksha",
+ ".shoes",
+ ".singles",
+ ".social",
+ ".software",
+ ".sohu",
+ ".solar",
+ ".solutions",
+ ".soy",
+ ".space",
+ ".spiegel",
+ ".supplies",
+ ".supply",
+ ".support",
+ ".surf",
+ ".surgery",
+ ".suzuki",
+ ".systems",
+ ".tattoo",
+ ".tax",
+ ".technology",
+ ".tienda",
+ ".tips",
+ ".tirol",
+ ".today",
+ ".tokyo",
+ ".tools",
+ ".town",
+ ".toys",
+ ".trade",
+ ".training",
+ ".university",
+ ".uno",
+ ".vacations",
+ ".vegas",
+ ".ventures",
+ ".versicherung",
+ ".vet",
+ ".viajes",
+ ".villas",
+ ".vision",
+ ".vlaanderen",
+ ".vodka",
+ ".vote",
+ ".voting",
+ ".voto",
+ ".voyage",
+ ".wang",
+ ".watch",
+ ".webcam",
+ ".website",
+ ".wed",
+ ".whoswho",
+ ".wien",
+ ".wiki",
+ ".works",
+ ".wtc",
+ ".wtf",
+ ".xn--3bst00m",
+ ".xn--3ds443g",
+ ".xn--4gbrim",
+ ".xn--55qw42g",
+ ".xn--55qx5d",
+ ".xn--6frz82g",
+ ".xn--6qq986b3xl",
+ ".xn--80adxhks",
+ ".xn--80asehdb",
+ ".xn--80aswg",
+ ".xn--c1avg",
+ ".xn--cg4bki",
+ ".xn--czr694b",
+ ".xn--czru2d",
+ ".xn--d1acj3b",
+ ".xn--fiq228c5hs",
+ ".xn--fiq64b",
+ ".xn--i1b6b1a6a2e",
+ ".xn--io0a7i",
+ ".xn--kput3i",
+ ".xn--mgbab2bd",
+ ".xn--ngbc5azd",
+ ".xn--nqv7f",
+ ".xn--nqv7fs00ema",
+ ".xn--q9jyb4c",
+ ".xn--rhqv96g",
+ ".xn--ses554g",
+ ".xn--unup4y",
+ ".xn--zfr164b",
+ ".xyz",
+ ".yachts",
+ ".yandex",
+ ".yokohama",
+ ".zone",
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/new_gtlds_list
^
|
@@ -0,0 +1,358 @@
+# If a TLD is listed in this file then queries will go to whois.nic.$TLD.
+# All "new" gTLDs are mandated by the ICANN contract to provide port 43 and
+# web-based whois service on this standard domain.
+# Any exceptions can be handled in tld_serv_list as usual, since it will
+# be checked first.
+
+academy
+accountants
+active
+actor
+agency
+airforce
+archi
+army
+associates
+attorney
+auction
+audio
+autos
+axa
+bar
+bargains
+bayern
+beer
+berlin
+best
+bid
+bike
+bio
+black
+blackfriday
+blue
+bmw
+boutique
+brussels
+build
+builders
+buzz
+bzh
+cab
+camera
+camp
+cancerresearch
+capetown
+capital
+cards
+care
+career
+careers
+cash
+catering
+center
+ceo
+cheap
+christmas
+church
+citic
+city
+claims
+cleaning
+clinic
+clothing
+club
+codes
+coffee
+college
+cologne
+com
+community
+company
+computer
+condos
+construction
+consulting
+contractors
+cooking
+cool
+country
+credit
+creditcard
+cruises
+cuisinella
+dance
+dating
+deals
+degree
+democrat
+dental
+dentist
+desi
+diamonds
+digital
+direct
+directory
+discount
+dnp
+domains
+durban
+education
+email
+engineer
+engineering
+enterprises
+equipment
+estate
+eus
+events
+exchange
+expert
+exposed
+fail
+farm
+feedback
+finance
+financial
+fish
+fishing
+fitness
+flights
+florist
+foo
+foundation
+frogans
+fund
+furniture
+futbol
+gal
+gallery
+gent
+gift
+gives
+glass
+global
+globo
+gmo
+gop
+graphics
+gratis
+green
+gripe
+guide
+guitars
+guru
+hamburg
+haus
+healthcare
+hiphop
+hiv
+holdings
+holiday
+homes
+horse
+host
+house
+immobilien
+industries
+info
+ink
+institute
+insure
+international
+investments
+jetzt
+joburg
+juegos
+kaufen
+kim
+kitchen
+kiwi
+koeln
+krd
+kred
+lacaixa
+land
+lawyer
+lease
+lgbt
+life
+lighting
+limited
+limo
+link
+loans
+london
+lotto
+luxe
+luxury
+maison
+management
+mango
+market
+marketing
+media
+meet
+melbourne
+menu
+miami
+mini
+moda
+moe
+monash
+mortgage
+moscow
+motorcycles
+nagoya
+navy
+net
+neustar
+ngo
+nhk
+ninja
+nra
+nrw
+nyc
+okinawa
+ong
+onl
+org
+organic
+ovh
+paris
+partners
+parts
+photo
+photography
+photos
+physio
+pics
+pictures
+pink
+place
+plumbing
+praxi
+press
+productions
+properties
+pub
+qpon
+quebec
+realtor
+recipes
+red
+rehab
+reise
+reisen
+ren
+rentals
+repair
+report
+republican
+rest
+reviews
+rich
+rio
+rocks
+rodeo
+ruhr
+ryukyu
+saarland
+scb
+schmidt
+schule
+scot
+services
+sexy
+shiksha
+shoes
+singles
+social
+software
+sohu
+solar
+solutions
+soy
+space
+spiegel
+supplies
+supply
+support
+surf
+surgery
+suzuki
+systems
+tattoo
+tax
+technology
+tienda
+tips
+tirol
+today
+tokyo
+tools
+town
+toys
+trade
+training
+university
+uno
+vacations
+vegas
+ventures
+versicherung
+vet
+viajes
+villas
+vision
+vlaanderen
+vodka
+vote
+voting
+voto
+voyage
+wang
+watch
+webcam
+website
+wed
+whoswho
+wien
+wiki
+williamhill
+works
+wtc
+wtf
+xn--3bst00m
+xn--3ds443g
+xn--4gbrim
+xn--55qw42g
+xn--55qx5d
+xn--6frz82g
+xn--6qq986b3xl
+xn--80adxhks
+xn--80asehdb
+xn--80aswg
+xn--c1avg
+xn--cg4bki
+xn--czr694b
+xn--czru2d
+xn--d1acj3b
+xn--fiq228c5hs
+xn--fiq64b
+xn--i1b6b1a6a2e
+xn--io0a7i
+xn--kput3i
+xn--mgbab2bd
+xn--ngbc5azd
+xn--nqv7f
+xn--nqv7fs00ema
+xn--q9jyb4c
+xn--rhqv96g
+xn--ses554g
+xn--unup4y
+xn--zfr164b
+xyz
+yachts
+yandex
+yokohama
+zone
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/po/Makefile
^
|
@@ -6,7 +6,7 @@
PACKAGE = whois
-CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo no.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
+CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo nb.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
POTFILES=../whois.c ../mkpasswd.c
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/po/es.po
^
|
@@ -8,6 +8,7 @@
#
# - Updates
# Francisco Javier Cuadrado <fcocuadrado@gmail.com>, 2010
+# Matías A. Bellone <matiasbellone+debian@gmail.com>, 2014
#
# Traductores, si no conocen el formato PO, merece la pena leer la
# documentación de gettext, especialmente las secciones dedicadas a este
@@ -32,10 +33,10 @@
"Project-Id-Version: whois 5.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-10 04:23+0200\n"
-"PO-Revision-Date: 2010-01-29 09:16+0100\n"
-"Last-Translator: Francisco Javier Cuadrado <fcocuadrado@gmail.com>\n"
+"PO-Revision-Date: 2014-07-11 20:40-0300\n"
+"Last-Translator: Matías A. Bellone <matiasbellone+debian@gmail.com>\n"
"Language-Team: Debian l10n Spanish <debian-l10n-spanish@lists.debian.org>\n"
-"Language: \n"
+"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -122,7 +123,7 @@
#: ../whois.c:344 ../whois.c:347
#, c-format
msgid "Cannot parse this line: %s"
-msgstr "No se pudo procesar esta linea: %s"
+msgstr "No se pudo procesar esta línea: %s"
#: ../whois.c:516
msgid "Warning: RIPE flags used with a traditional server."
@@ -139,7 +140,7 @@
#: ../whois.c:828
#, c-format
msgid "Host %s not found."
-msgstr "El servidor %s no se ha encontrado."
+msgstr "No se ha encontrado el servidor %s."
#: ../whois.c:838
#, c-format
@@ -192,6 +193,42 @@
"-v TYPE request verbose template for object of TYPE\n"
"-q [version|sources|types] query specified server info\n"
msgstr ""
+"Utilización: whois [OPCION]... OBJETO...\n"
+"\n"
+"-h EQUIPO, --host EQUIPO conectar con el servidor EQUIPO\n"
+"-p PUERTO, --port PUERTO conectar al PUERTO\n"
+"-H no mostrar avisos legales\n"
+" --verbose mostrar lo que está haciendo\n"
+" --help mostrar este mensaje de ayuda y finalizar\n"
+" --version mostrar información de la versión y finalizar\n"
+"\n"
+"Estas opciones son compatibles con whois.ripe.net y algunos servidores\n"
+"similares a RIPE:\n"
+"-l buscar la coincidencia un nivel menos específica\n"
+"-L buscar coincidencias de niveles menos específicos\n"
+"-m buscar coincidencias del primer nivel más específico\n"
+"-M buscar coincidencias de niveles más específicos\n"
+"-c buscar la coincidencia más pequeña que contenga\n"
+" un atributo «mnt-irt»\n"
+"-x coincidencia exacta\n"
+"-b mostrar rangos IP breves y contacto en caso de abuso\n"
+"-B no filtrar objetos (mostrar direcciones de correo)\n"
+"-G no agrupar objetos asociados\n"
+"-d mostrar objetos de delegación de DNS reverso también\n"
+"-i ATRIB[,ATRIB]... búsqueda inversa del ATRIButo indicado\n"
+"-T TIPO[,TIPO]... sólo buscar objetos del TIPO indicado\n"
+"-K mostrar sólo claves primarias\n"
+"-r no buscar información de contacto de forma recursiva\n"
+"-R mostrar la copia local del objeto del dominio incluso\n"
+" si contiene una referencia\n"
+"-a buscar también en todas las réplicas de base de datos\n"
+"-s ORIGEN[,ORIGEN]... buscar en la base de datos replicada desde ORIGEN\n"
+"-g ORIGEN:PRIMERO-ÚLTIMO buscar actualizaciones desde ORIGEN en la serie\n"
+" PRIMERO a ÚLTIMO\n"
+"-t TIPO solicitar plantilla para el objeto del TIPO indicado\n"
+"-v TIPO solicitar plantilla detallada para el objeto del TIPO\n"
+" indicado\n"
+"-q [versión|orígenes|tipos] consultar información con el servidor indicado\n"
#: ../mkpasswd.c:84
msgid "standard 56 bit DES-based crypt(3)"
@@ -205,7 +242,7 @@
#: ../mkpasswd.c:174 ../mkpasswd.c:184
#, c-format
msgid "Invalid number '%s'.\n"
-msgstr "El numero «%s» no es valido.\n"
+msgstr "El número «%s» no es válido.\n"
#: ../mkpasswd.c:201
#, c-format
@@ -216,8 +253,8 @@
#, c-format
msgid "Wrong salt length: %d byte when %d expected.\n"
msgid_plural "Wrong salt length: %d bytes when %d expected.\n"
-msgstr[0] "Longitud del «salt» incorrecta: %d byte en lugar de %d.\n"
-msgstr[1] "Longitud del «salt» incorrecta: %d bytes en lugar de %d.\n"
+msgstr[0] "Longitud de sal («salt») incorrecta: %d byte en lugar de %d.\n"
+msgstr[1] "Longitud de sal («salt») incorrecta: %d bytes en lugar de %d.\n"
#: ../mkpasswd.c:247
#, c-format
@@ -241,7 +278,7 @@
#: ../mkpasswd.c:340
#, c-format
msgid "Method not supported by crypt(3).\n"
-msgstr "crypt(3) no puede usar el método.\n"
+msgstr "crypt(3) no admite este método.\n"
#: ../mkpasswd.c:419
#, c-format
@@ -251,7 +288,7 @@
"\n"
msgstr ""
"Uso: mkpasswd [OPCIONES]... [CONTRASEÑA [SALT]]\n"
-"Cifra CONTRASEÑA utilizando crypt(3).\n"
+"Cifra la CONTRASEÑA utilizando crypt(3).\n"
"\n"
#: ../mkpasswd.c:422
@@ -293,89 +330,3 @@
#, c-format
msgid "Available methods:\n"
msgstr "Métodos disponibles:\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Usage: whois [OPTION]... OBJECT...\n"
-#~ "\n"
-#~ "-l one level less specific lookup [RPSL only]\n"
-#~ "-L find all Less specific matches\n"
-#~ "-m find first level more specific matches\n"
-#~ "-M find all More specific matches\n"
-#~ "-c find the smallest match containing a mnt-irt "
-#~ "attribute\n"
-#~ "-x exact match [RPSL only]\n"
-#~ "-d return DNS reverse delegation objects too [RPSL "
-#~ "only]\n"
-#~ "-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n"
-#~ "-T TYPE[,TYPE]... only look for objects of TYPE\n"
-#~ "-K only primary keys are returned [RPSL only]\n"
-#~ "-r turn off recursive lookups for contact "
-#~ "information\n"
-#~ "-R force to show local copy of the domain object "
-#~ "even\n"
-#~ " if it contains referral\n"
-#~ "-a search all databases\n"
-#~ "-s SOURCE[,SOURCE]... search the database from SOURCE\n"
-#~ "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to "
-#~ "LAST\n"
-#~ "-t TYPE request template for object of TYPE\n"
-#~ "-v TYPE request verbose template for object of TYPE\n"
-#~ "-q [version|sources|types] query specified server info [RPSL only]\n"
-#~ "-F fast raw output (implies -r)\n"
-#~ "-h HOST connect to server HOST\n"
-#~ "-p PORT connect to PORT\n"
-#~ "-H hide legal disclaimers\n"
-#~ " --verbose explain what is being done\n"
-#~ " --help display this help and exit\n"
-#~ " --version output version information and exit\n"
-#~ msgstr ""
-#~ "Uso: whois [OPCIONES]... OBJETO...\n"
-#~ "\n"
-#~ "-l se realiza una búsqueda un nivel menos "
-#~ "específica\n"
-#~ " [sólo RPSL]\n"
-#~ "-L busca las correspondencias menos especificas\n"
-#~ "-m busca las correspondencias del primer nivel "
-#~ "más\n"
-#~ " específico\n"
-#~ "-M busca las correspondencias más especificas\n"
-#~ "-c busca la correspondencia más pequeña que "
-#~ "contenga\n"
-#~ " un atributo mnt-irt\n"
-#~ "-x busca la correspondencia exacta [sólo RPSL]\n"
-#~ "-d también devuelve la delegacion inversa del "
-#~ "DNS\n"
-#~ " [solo RPSL]\n"
-#~ "-i ATRIB[,ATRIB]... realiza una búsqueda inversa para el atributo\n"
-#~ " (ATRIB) indicado\n"
-#~ "-T TIPO[,TIPO]... sólo busca los objetos del tipo (TIPO) "
-#~ "indicado\n"
-#~ "-K sólo se devuelven las claves primarias\n"
-#~ " [sólo RPSL]\n"
-#~ "-r desactiva las búsquedas recursivas de la \n"
-#~ " información de contacto\n"
-#~ "-R muestra la copia local del objeto del dominio\n"
-#~ " incluso si contiene una referencia\n"
-#~ "-a busca en todas las bases de datos\n"
-#~ "-s ORIGEN[,ORIGEN]... busca en la base de datos desde ORIGEN\n"
-#~ "-g ORIGEN:PRIMERO-ÚLTIMO busca las actualizaciones desde ORIGEN en la\n"
-#~ " serie PRIMERO a ÚLTIMO\n"
-#~ "-t TIPO pide la plantilla de un objeto del tipo "
-#~ "(TIPO)\n"
-#~ " indicado («all» para una lista)\n"
-#~ "-v TIPO pide una plantilla detallada de un objeto del\n"
-#~ " tipo (TIPO) indicado\n"
-#~ "-q [versión|origenes|tipos] consulta la información con el servidor\n"
-#~ " indicado [sólo RPSL]\n"
-#~ "-F salida en bruto rápida (implica -r)\n"
-#~ "-h SERVIDOR conecta con el servidor (SERVIDOR) indicado\n"
-#~ "-p PUERTO conecta con el puerto (PUERTO) indicado\n"
-#~ "-H oculta los avisos legales\n"
-#~ " --verbose muestra lo qué está haciendo\n"
-#~ " --help muestra este mensaje de ayuda y finaliza\n"
-#~ " --version muestra la información de la versión y "
-#~ "finaliza\n"
-
-#~ msgid "Illegal password character '0x%hhx'.\n"
-#~ msgstr "El carácter «0x%hhx» no es válido en la contraseña.\n"
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/po/fi.po
^
|
@@ -7,14 +7,15 @@
"Project-Id-Version: whois 5.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-10 04:23+0200\n"
-"PO-Revision-Date: 2010-01-27 15:31+0100\n"
+"PO-Revision-Date: 2014-06-09 15:27-0000\n"
"Last-Translator: Sami Kerola <kerolasa@iki.fi>\n"
"Language-Team: \n"
-"Language: \n"
+"Language: fi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Poedit 1.6.4\n"
#: ../whois.c:148
#, c-format
@@ -34,8 +35,7 @@
#: ../whois.c:240
msgid "This TLD has no whois server, but you can access the whois database at"
-msgstr ""
-"Tälla TLD:llä ei ole whois palvelinta, tiedot ovat nakyvissä osoitteessa"
+msgstr "Tälla TLD:llä ei ole whois palvelinta, voit hakea tiedot osoitteesta"
#: ../whois.c:245
msgid "This TLD has no whois server."
@@ -57,7 +57,7 @@
"\n"
msgstr ""
"\n"
-"Kysytään IPv4 ulostulona %s IPv6:n IPv4 avaruudesta.\n"
+"Kysytään IPv4 ulostuloa %s IPv6:n IPv4 avaruudesta.\n"
"\n"
#: ../whois.c:273
@@ -68,7 +68,7 @@
"\n"
msgstr ""
"\n"
-"Kysytään IPv4 ulostulona %s Teredo IPv6 tunneliosoitetta.\n"
+"Kysytään IPv4 ulostuloa %s Teredo IPv6 tunneliosoitetta.\n"
"\n"
#: ../whois.c:292
@@ -96,7 +96,7 @@
#: ../whois.c:344 ../whois.c:347
#, c-format
msgid "Cannot parse this line: %s"
-msgstr "Ohjelma ei kykene tulkitsemaan riviä: %s"
+msgstr "Ohjelma ei ymmärrä riviä: %s"
#: ../whois.c:516
msgid "Warning: RIPE flags used with a traditional server."
@@ -166,20 +166,53 @@
"-v TYPE request verbose template for object of TYPE\n"
"-q [version|sources|types] query specified server info\n"
msgstr ""
+"Käyttö: whois [VALITSIN]... OBJEKTI...\n"
+"\n"
+"-h PALVELIN, --host PALVELIN ota yhteys PALVELIMEEN\n"
+"-p PORTTI, --port PORTTI käytä PORTTIA\n"
+"-H piilota ilmoitukset\n"
+" --verbose näytä mitä on tekeillä\n"
+" --help näytä tämä teksti\n"
+" --version näytä versio\n"
+"\n"
+"Seuraavat optiot ovat tuettuja whois.ripe.net palvelimella:\n"
+"-l etsi välittömiä tietueita\n"
+"-L etsi kaikkia vastaavia tietueita\n"
+"-m etsi kaikki samantasoiset tai erityisemmät tietueet\n"
+"-M etsi kaikkien tasojen erityiset tietueet\n"
+"-c etsi vähin osuma joka liittyy mnt-irt atribuuttiin\n"
+"-x täysosuma\n"
+"-b palauta lyhyt osoiteavaruus ja abuse-tietue\n"
+"-B poista objektifiltteröinti (näytä "
+"sähköpostiosoitteet)\n"
+"-G poista objektien ryhmittely\n"
+"-d näytä DNS delekointiobjektit\n"
+"-i ATTR[,ATTR]... tee käänteishaku käyttäen ATTRbuutteja\n"
+"-T TYYP[,TYYP]... hae ainoastaan tietyn TYYPisiä objekteja\n"
+"-K palauta ainoastaan pääavain\n"
+"-r älä käytä rekursiota kontaktitiedoille\n"
+"-R pakota näyttämään paikallinen objekti vaikka se\n"
+" sisältäisi viitteen\n"
+"-a etsi myös tietokantakopioista\n"
+"-s KOP[,KOP]... käytä KOPioita\n"
+"-g KOP:EKA-VIKA hae päivityksiä KOPioista sarjoista EKAsta VIKAaan.\n"
+"-t TYYPPI hae mallinne objektille TYYPPI\n"
+"-v TYYPPI hae pitkämallinne objektille TYYPPI\n"
+".q [versio|lähde|tyyppi] hae erityisiä palvelin tietoja\n"
#: ../mkpasswd.c:84
msgid "standard 56 bit DES-based crypt(3)"
-msgstr "Standardi 56 bittinen DES-salaus ks crypt(3)"
+msgstr "Standardi 56-bittinen DES-salaus katso crypt(3)"
#: ../mkpasswd.c:165
#, c-format
msgid "Invalid method '%s'.\n"
-msgstr "Väärä metodi '%s'.\n"
+msgstr "Kelvoton metodi '%s'.\n"
#: ../mkpasswd.c:174 ../mkpasswd.c:184
#, c-format
msgid "Invalid number '%s'.\n"
-msgstr "Väärä numero '%s'.\n"
+msgstr "Kelvoton numero '%s'.\n"
#: ../mkpasswd.c:201
#, c-format
@@ -191,19 +224,19 @@
msgid "Wrong salt length: %d byte when %d expected.\n"
msgid_plural "Wrong salt length: %d bytes when %d expected.\n"
msgstr[0] "Väärä suolan pituus: %d tavu, kun %d odotettiin.\n"
-msgstr[1] "Väärä suolan pituus: %d tavu, kun %d odotettiin.\n"
+msgstr[1] "Väärä suolan pituus: %d tavua, kun %d odotettiin.\n"
#: ../mkpasswd.c:247
#, c-format
msgid "Wrong salt length: %d byte when %d <= n <= %d expected.\n"
msgid_plural "Wrong salt length: %d bytes when %d <= n <= %d expected.\n"
-msgstr[0] "Väärä suolan pituus: %d tavua, kun %d <= n <= %d odotettiin.\n"
+msgstr[0] "Väärä suolan pituus: %d tavu, kun %d <= n <= %d odotettiin.\n"
msgstr[1] "Väärä suolan pituus: %d tavua, kun %d <= n <= %d odotettiin.\n"
#: ../mkpasswd.c:256
#, c-format
msgid "Illegal salt character '%c'.\n"
-msgstr "Suolassa laiton merkki '%c'.\n"
+msgstr "Laiton merkki suolassa '%c'.\n"
#: ../mkpasswd.c:306 ../mkpasswd.c:322
#, c-format
@@ -213,7 +246,7 @@
#: ../mkpasswd.c:340
#, c-format
msgid "Method not supported by crypt(3).\n"
-msgstr "Toiminto ei ole tuettu crypt(3) funktiossa.\n"
+msgstr "Functio crypt(3) ei tue toimintoa.\n"
#: ../mkpasswd.c:419
#, c-format
@@ -223,7 +256,7 @@
"\n"
msgstr ""
"Käyttö: mkpasswd [OPTIO] ... [SALASANA] [SUOLA]]\n"
-"Salaa salasanan crypt(3) funktiolla.\n"
+"Salaa SALASANA crypt(3) funktiolla.\n"
"\n"
#: ../mkpasswd.c:422
@@ -265,74 +298,3 @@
#, c-format
msgid "Available methods:\n"
msgstr "Käytettävissä olevat toiminnot:\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Usage: whois [OPTION]... OBJECT...\n"
-#~ "\n"
-#~ "-l one level less specific lookup [RPSL only]\n"
-#~ "-L find all Less specific matches\n"
-#~ "-m find first level more specific matches\n"
-#~ "-M find all More specific matches\n"
-#~ "-c find the smallest match containing a mnt-irt "
-#~ "attribute\n"
-#~ "-x exact match [RPSL only]\n"
-#~ "-d return DNS reverse delegation objects too [RPSL "
-#~ "only]\n"
-#~ "-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n"
-#~ "-T TYPE[,TYPE]... only look for objects of TYPE\n"
-#~ "-K only primary keys are returned [RPSL only]\n"
-#~ "-r turn off recursive lookups for contact "
-#~ "information\n"
-#~ "-R force to show local copy of the domain object "
-#~ "even\n"
-#~ " if it contains referral\n"
-#~ "-a search all databases\n"
-#~ "-s SOURCE[,SOURCE]... search the database from SOURCE\n"
-#~ "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to "
-#~ "LAST\n"
-#~ "-t TYPE request template for object of TYPE\n"
-#~ "-v TYPE request verbose template for object of TYPE\n"
-#~ "-q [version|sources|types] query specified server info [RPSL only]\n"
-#~ "-F fast raw output (implies -r)\n"
-#~ "-h HOST connect to server HOST\n"
-#~ "-p PORT connect to PORT\n"
-#~ "-H hide legal disclaimers\n"
-#~ " --verbose explain what is being done\n"
-#~ " --help display this help and exit\n"
-#~ " --version output version information and exit\n"
-#~ msgstr ""
-#~ "Käyttö: whois [OPTIO]... OBJEKTI...\n"
-#~ "\n"
-#~ "-l tasoa epätarkempi osuma [ainoastaan RPSL]\n"
-#~ "-L etsi kaikki epätarkemmat osumat\n"
-#~ "-m etsi yhtä tasoa tarkemmat osumat\n"
-#~ "-M etsi kaikki tarkemmat osumat\n"
-#~ "-c etsi vähäisin, joka vastaa mnt-irt attribuuttia\n"
-#~ "-x täydellinen osuma [ainoastaan RPSL]\n"
-#~ "-d palauta ainoastaan käänteisdomainit [ainoastan "
-#~ "RPSL]\n"
-#~ "-i ATTR[,ATTR]... käänteiskysely ATTRibuutin perusteella\n"
-#~ "-T TYPE[,TYPE]... etsi ainoastaan määritetyn tyyppisiä objekteja\n"
-#~ "-K palauta ainoastan hakuavaimet [ainoastan RPSL]\n"
-#~ "-r älä käytä rekursiivista kontaktietohakua\n"
-#~ "-R pakota käyttämään paikallista kopiota domain\n"
-#~ " objektista, vaikka se sisältäisi viitteitä\n"
-#~ "-a etsi kaikista tietokannoista\n"
-#~ "-s SOURCE[,SOURCE]... etsi tietokannoista SOURCE\n"
-#~ "-g SOURCE:FIRST-LAST löytö päivittää lähteen SOURCE järjestysnumeron\n"
-#~ " FIRST:stä LAST:iin\n"
-#~ "-t TYPE pyydä mallinne TYPE objektille ('all' näyttää "
-#~ "tyyppilistan)\n"
-#~ "-v TYPE monisanainen mallinne TYPE objektille\n"
-#~ "-q [version|sources|types] erityinen palvelintieto [ainostaan RPSL]\n"
-#~ "-F nopea tuloste (sisältää -r valitsimen)\n"
-#~ "-h HOST kysy palvelimelta HOST\n"
-#~ "-p PORT käytä TCP-porttia PORT\n"
-#~ "-H älä tulosta käyttöehtoja\n"
-#~ " --verbose näytä mitä tapahtuu\n"
-#~ " --help tulosta tämä ruutu\n"
-#~ " --version tulosta versio\n"
-
-#~ msgid "Illegal password character '0x%hhx'.\n"
-#~ msgstr "Laiton merkki salasanassa '0x%hhx'.\n"
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/po/nb.po
^
|
@@ -0,0 +1,330 @@
+# Oversatt fra whois.pot.
+# Egil Kvaleberg <egil@kvaleberg.no>, 1999.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: whois 4.4.5\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2013-04-10 04:23+0200\n"
+"PO-Revision-Date: 1999-12-18 14:00:00\n"
+"Last-Translator: Egil Kvaleberg <egil@kvaleberg.no>\n"
+"Language-Team: Norwegian <no@li.org>\n"
+"Language: nb\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#: ../whois.c:148
+#, c-format
+msgid ""
+"Version %s.\n"
+"\n"
+"Report bugs to %s.\n"
+msgstr ""
+
+#: ../whois.c:202 ../whois.c:255 ../whois.c:261 ../whois.c:291
+#, c-format
+msgid "Using server %s.\n"
+msgstr "Bruker tjener %s.\n"
+
+#: ../whois.c:240
+msgid "This TLD has no whois server, but you can access the whois database at"
+msgstr ""
+
+#: ../whois.c:245
+msgid "This TLD has no whois server."
+msgstr ""
+
+#: ../whois.c:248
+msgid "No whois server is known for this kind of object."
+msgstr ""
+
+#: ../whois.c:251
+#, fuzzy
+msgid "Unknown AS number or IP network. Please upgrade this program."
+msgstr "Ukjent AS-nummer. Vennligst oppdater programmet."
+
+#: ../whois.c:267
+#, c-format
+msgid ""
+"\n"
+"Querying for the IPv4 endpoint %s of a 6to4 IPv6 address.\n"
+"\n"
+msgstr ""
+
+#: ../whois.c:273
+#, c-format
+msgid ""
+"\n"
+"Querying for the IPv4 endpoint %s of a Teredo IPv6 address.\n"
+"\n"
+msgstr ""
+
+#: ../whois.c:292
+#, c-format
+msgid ""
+"Query string: \"%s\"\n"
+"\n"
+msgstr ""
+"Forespørsel: \"%s\"\n"
+"\n"
+
+#: ../whois.c:302
+#, fuzzy, c-format
+msgid ""
+"\n"
+"\n"
+"Found a referral to %s.\n"
+"\n"
+msgstr ""
+"\n"
+"Fant InterNIC-referanse til %s.\n"
+"\n"
+
+#: ../whois.c:344 ../whois.c:347
+#, c-format
+msgid "Cannot parse this line: %s"
+msgstr ""
+
+#: ../whois.c:516
+#, fuzzy
+msgid "Warning: RIPE flags used with a traditional server."
+msgstr "Merk: RIPE-flaggene ignoreres for en tradisjonell tjener."
+
+#: ../whois.c:675 ../whois.c:773
+#, fuzzy
+msgid ""
+"Catastrophic error: disclaimer text has been changed.\n"
+"Please upgrade this program.\n"
+msgstr ""
+"Alvorlig feil: INTERNIC har endret standardtekst.\n"
+"Vennligst oppdater programmet.\n"
+
+#: ../whois.c:828
+#, c-format
+msgid "Host %s not found."
+msgstr "Finner ikke verten %s."
+
+#: ../whois.c:838
+#, c-format
+msgid "%s/tcp: unknown service"
+msgstr "%s/tcp: ukjent port"
+
+#: ../whois.c:913
+msgid "Timeout."
+msgstr ""
+
+#: ../whois.c:919
+#, c-format
+msgid "Interrupted by signal %d..."
+msgstr "Avbrudt av signal %d..."
+
+#: ../whois.c:1189
+#, c-format
+msgid ""
+"Usage: whois [OPTION]... OBJECT...\n"
+"\n"
+"-h HOST, --host HOST connect to server HOST\n"
+"-p PORT, --port PORT connect to PORT\n"
+"-H hide legal disclaimers\n"
+" --verbose explain what is being done\n"
+" --help display this help and exit\n"
+" --version output version information and exit\n"
+"\n"
+"These flags are supported by whois.ripe.net and some RIPE-like servers:\n"
+"-l find the one level less specific match\n"
+"-L find all levels less specific matches\n"
+"-m find all one level more specific matches\n"
+"-M find all levels of more specific matches\n"
+"-c find the smallest match containing a mnt-irt "
+"attribute\n"
+"-x exact match\n"
+"-b return brief IP address ranges with abuse contact\n"
+"-B turn off object filtering (show email addresses)\n"
+"-G turn off grouping of associated objects\n"
+"-d return DNS reverse delegation objects too\n"
+"-i ATTR[,ATTR]... do an inverse look-up for specified ATTRibutes\n"
+"-T TYPE[,TYPE]... only look for objects of TYPE\n"
+"-K only primary keys are returned\n"
+"-r turn off recursive look-ups for contact information\n"
+"-R force to show local copy of the domain object even\n"
+" if it contains referral\n"
+"-a also search all the mirrored databases\n"
+"-s SOURCE[,SOURCE]... search the database mirrored from SOURCE\n"
+"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n"
+"-t TYPE request template for object of TYPE\n"
+"-v TYPE request verbose template for object of TYPE\n"
+"-q [version|sources|types] query specified server info\n"
+msgstr ""
+
+#: ../mkpasswd.c:84
+msgid "standard 56 bit DES-based crypt(3)"
+msgstr ""
+
+#: ../mkpasswd.c:165
+#, c-format
+msgid "Invalid method '%s'.\n"
+msgstr ""
+
+#: ../mkpasswd.c:174 ../mkpasswd.c:184
+#, c-format
+msgid "Invalid number '%s'.\n"
+msgstr ""
+
+#: ../mkpasswd.c:201
+#, c-format
+msgid "Try '%s --help' for more information.\n"
+msgstr ""
+
+#: ../mkpasswd.c:242
+#, c-format
+msgid "Wrong salt length: %d byte when %d expected.\n"
+msgid_plural "Wrong salt length: %d bytes when %d expected.\n"
+msgstr[0] ""
+msgstr[1] ""
+
+#: ../mkpasswd.c:247
+#, c-format
+msgid "Wrong salt length: %d byte when %d <= n <= %d expected.\n"
+msgid_plural "Wrong salt length: %d bytes when %d <= n <= %d expected.\n"
+msgstr[0] ""
+msgstr[1] ""
+
+#: ../mkpasswd.c:256
+#, c-format
+msgid "Illegal salt character '%c'.\n"
+msgstr ""
+
+#: ../mkpasswd.c:306 ../mkpasswd.c:322
+#, c-format
+msgid "Password: "
+msgstr ""
+
+#: ../mkpasswd.c:340
+#, c-format
+msgid "Method not supported by crypt(3).\n"
+msgstr ""
+
+#: ../mkpasswd.c:419
+#, c-format
+msgid ""
+"Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n"
+"Crypts the PASSWORD using crypt(3).\n"
+"\n"
+msgstr ""
+
+#: ../mkpasswd.c:422
+#, c-format
+msgid ""
+" -m, --method=TYPE select method TYPE\n"
+" -5 like --method=md5\n"
+" -S, --salt=SALT use the specified SALT\n"
+" -R, --rounds=NUMBER use the specified NUMBER of rounds\n"
+" -P, --password-fd=NUM read the password from file descriptor NUM\n"
+" instead of /dev/tty\n"
+" -s, --stdin like --password-fd=0\n"
+" -h, --help display this help and exit\n"
+" -V, --version output version information and exit\n"
+"\n"
+"If PASSWORD is missing then it is asked interactively.\n"
+"If no SALT is specified, a random one is generated.\n"
+"If TYPE is 'help', available methods are printed.\n"
+"\n"
+"Report bugs to %s.\n"
+msgstr ""
+
+#: ../mkpasswd.c:452
+#, c-format
+msgid "Available methods:\n"
+msgstr ""
+
+#, fuzzy
+#~ msgid ""
+#~ "Usage: whois [OPTION]... OBJECT...\n"
+#~ "\n"
+#~ "-l one level less specific lookup [RPSL only]\n"
+#~ "-L find all Less specific matches\n"
+#~ "-m find first level more specific matches\n"
+#~ "-M find all More specific matches\n"
+#~ "-c find the smallest match containing a mnt-irt "
+#~ "attribute\n"
+#~ "-x exact match [RPSL only]\n"
+#~ "-d return DNS reverse delegation objects too [RPSL "
+#~ "only]\n"
+#~ "-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n"
+#~ "-T TYPE[,TYPE]... only look for objects of TYPE\n"
+#~ "-K only primary keys are returned [RPSL only]\n"
+#~ "-r turn off recursive lookups for contact "
+#~ "information\n"
+#~ "-R force to show local copy of the domain object "
+#~ "even\n"
+#~ " if it contains referral\n"
+#~ "-a search all databases\n"
+#~ "-s SOURCE[,SOURCE]... search the database from SOURCE\n"
+#~ "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to "
+#~ "LAST\n"
+#~ "-t TYPE request template for object of TYPE\n"
+#~ "-v TYPE request verbose template for object of TYPE\n"
+#~ "-q [version|sources|types] query specified server info [RPSL only]\n"
+#~ "-F fast raw output (implies -r)\n"
+#~ "-h HOST connect to server HOST\n"
+#~ "-p PORT connect to PORT\n"
+#~ "-H hide legal disclaimers\n"
+#~ " --verbose explain what is being done\n"
+#~ " --help display this help and exit\n"
+#~ " --version output version information and exit\n"
+#~ msgstr ""
+#~ "Bruk: whois [OPSJONER]... OBJEKTER...\n"
+#~ "\n"
+#~ "-a søk i alle databaser\n"
+#~ "-F full utskrift (impliserer -r)\n"
+#~ "-g KILDE:FØRSTE-SISTE finn oppdateringer fra KILDE fra serie FØRSTE til "
+#~ "SISTE\n"
+#~ "-h VERT koble til tjener VERT\n"
+#~ "-i ATTR[,ATTR]... gjør reversoppslag for attributtene ATTR\n"
+#~ "-L finn alle mindre spesifike treff\n"
+#~ "-M finn alle mer spesifike treff\n"
+#~ "-m finn første nivå av mer spesifike treff\n"
+#~ "-r ikke foreta rekursive oppslag\n"
+#~ "-p PORT koble til PORT\n"
+#~ "-R vis lokal kopi av objektet selv om det inneholder\n"
+#~ " en referanse\n"
+#~ "-S be tjeneren utelate syntaktisk \"sukker\"\n"
+#~ "-s KILDE[,KILDE]... søk i databasen fra KILDE\n"
+#~ "-T TYPE[,TYPE]... se bare på objekttype TYPE\n"
+#~ "-t TYPE be om mal for objekttype TYPE ('all' gir en "
+#~ "liste)\n"
+#~ "-v TYPE be om utførlig mal for objekttype TYPE\n"
+#~ "-V forklarer hva som skjer\n"
+#~ "\n"
+#~ "Versjon %s. Rapporter feil til %s.\n"
+
+#~ msgid "Using default server %s.\n"
+#~ msgstr "Bruker standardtjener %s.\n"
+
+#, fuzzy
+#~ msgid ""
+#~ "\n"
+#~ "Found referral to %s.\n"
+#~ "\n"
+#~ msgstr ""
+#~ "\n"
+#~ "Fant InterNIC-referanse til %s.\n"
+#~ "\n"
+
+#~ msgid "Detected referral to %s on %s.\n"
+#~ msgstr "Referanse til %s vedrørende %s.\n"
+
+#~ msgid ""
+#~ "I don't know where this IP has been delegated.\n"
+#~ "I'll try ARIN and hope for the best..."
+#~ msgstr ""
+#~ "Vet ikke hvor denne IP-adressen har blitt delegert.\n"
+#~ "Prøver ARIN og håper det beste..."
+
+#~ msgid "I guess it's a netblock name but I don't know where to look it up."
+#~ msgstr "Gjetter at det er et netblock-navn, men vet ikke hvor det finnes."
+
+#~ msgid "I guess it's a domain but I don't know where to look it up."
+#~ msgstr "Gjetter at det er er domene, men vet ikke hvor det finnes."
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/po/zh_CN.po
^
|
@@ -8,15 +8,16 @@
"Project-Id-Version: whois\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-10 04:23+0200\n"
-"PO-Revision-Date: 2009-10-24 03:59+0000\n"
-"Last-Translator: Feng Liu (Maxim) <maximliu@googlemail.com>\n"
+"PO-Revision-Date: 2013-12-25 17:40+0800\n"
+"Last-Translator: Terence Ng <pheotiman@gmail.com>\n"
"Language-Team: Chinese (China) <zh_CN@li.org>\n"
-"Language: \n"
+"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-11-10 02:44+0000\n"
-"X-Generator: Launchpad (build Unknown)\n"
+"X-Generator: Poedit 1.5.7\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
#: ../whois.c:148
#, c-format
@@ -27,7 +28,7 @@
msgstr ""
"版本 %s。\n"
"\n"
-"将 bugs 提交到 %s。\n"
+"向 %s 报告漏洞。\n"
#: ../whois.c:202 ../whois.c:255 ../whois.c:261 ../whois.c:291
#, c-format
@@ -167,6 +168,38 @@
"-v TYPE request verbose template for object of TYPE\n"
"-q [version|sources|types] query specified server info\n"
msgstr ""
+"用法: whois 【选项】 …… 对象 …… \n"
+"\n"
+"-h HOST, --host HOST 连接到服务器 HOST\n"
+"-p PORT, --port PORT 连接到端口 PORT\n"
+"-H 隐藏法律声明 \n"
+" --verbose 解释正在做什么 \n"
+" --help 显示帮助并退出 \n"
+" --version 输出版本信息并退出 \n"
+"\n"
+"这些标志是由 whois.ript.net 和 RIPE-like 服务器支持的: \n"
+" -l 寻找有更少具体匹配的一个级别 \n"
+"-L 寻找所有更少具体匹配的级别 \n"
+"-m 寻找有更加具体匹配的一个级别 \n"
+"-M 寻找有更加具体的匹配的所有级别 \n"
+"-c 寻找包含 mnt-irt 属性的最小匹配 \n"
+"-x 精确匹配 \n"
+"-b return brief IP address ranges with abuse contact\n"
+"-B 关闭对象过滤(显示 email 地址) \n"
+"-G 关闭相关联对象的分组 \n"
+"-d 返回 DNS 反解授权对象 \n"
+"-i ATTR[,ATTR]... 对特定的属性( ATTR )进行逆向查询 \n"
+"-T TYPE[,TYPE]... 只寻找 TYPE 的对象 \n"
+"-K 只返回主键 \n"
+"-r 关闭联系信息的递归查询 \n"
+"-R 强制显示域对象的本地副本,即使 \n"
+" 它包含引用 \n"
+"-a 一并搜索所有的数据库镜像 \n"
+"-s SOURCE[,SOURCE]... 从 SOURCE 中搜索数据库镜像 \n"
+"-g SOURCE:FIRST-LAST 从串行的 FIRST 到 LAST 的 SOURCE 中查找更新 \n"
+"-t TYPE 请求 TYPE 对象的模板 \n"
+"-v TYPE 请求 TYPE 对象的详细模板 \n"
+"-q [version|sources|types] 询问制定服务器信息 \n"
#: ../mkpasswd.c:84
msgid "standard 56 bit DES-based crypt(3)"
@@ -188,22 +221,19 @@
msgstr "尝试用 '%s --help' 获取更多的信息。\n"
#: ../mkpasswd.c:242
-#, fuzzy, c-format
+#, c-format
msgid "Wrong salt length: %d byte when %d expected.\n"
msgid_plural "Wrong salt length: %d bytes when %d expected.\n"
-msgstr[0] "错误的随机字符(salt) 长度: 当前为 %d 字节,预期长度为 %d 字节。\n"
-msgstr[1] "错误的随机字符(salt) 长度: 当前为 %d 字节,预期长度为 %d 字节。\n"
+msgstr[0] ""
+"错误的随即字符 ( salt ) 长度:当前为 %d 字节,预期长度为 %d 字节。\n"
#: ../mkpasswd.c:247
-#, fuzzy, c-format
+#, c-format
msgid "Wrong salt length: %d byte when %d <= n <= %d expected.\n"
msgid_plural "Wrong salt length: %d bytes when %d <= n <= %d expected.\n"
msgstr[0] ""
"错误的随机字符(salt) 长度: 当前为 %d 字节,预期长度范围为 %d <= n <= %d 字"
"节。\n"
-msgstr[1] ""
-"错误的随机字符(salt) 长度: 当前为 %d 字节,预期长度范围为 %d <= n <= %d 字"
-"节。\n"
#: ../mkpasswd.c:256
#, c-format
@@ -213,7 +243,7 @@
#: ../mkpasswd.c:306 ../mkpasswd.c:322
#, c-format
msgid "Password: "
-msgstr "密码: "
+msgstr "密码:"
#: ../mkpasswd.c:340
#, c-format
@@ -232,7 +262,7 @@
"\n"
#: ../mkpasswd.c:422
-#, fuzzy, c-format
+#, c-format
msgid ""
" -m, --method=TYPE select method TYPE\n"
" -5 like --method=md5\n"
@@ -252,7 +282,7 @@
msgstr ""
" -m, --method=TYPE \t选择使用 TYPE 的方法\n"
" -S, --salt=SALT \t\t使用指定随机字符\n"
-" -R, --rounds=NUMBER \t使用指定的循环次数\n"
+" -R, --rounds=NUMBER \t使用指定的循环次数 NUMBER \n"
" -P, --password-fd=NUM \t从文件描述符 NUM 中读取密码来\n"
"\t\t\t\t替代从 /dev/tty 中获取密码\n"
" -s, --stdin \t\t同 --password-fd=0\n"
@@ -269,73 +299,3 @@
#, c-format
msgid "Available methods:\n"
msgstr "可用方式:\n"
-
-#, fuzzy
-#~ msgid ""
-#~ "Usage: whois [OPTION]... OBJECT...\n"
-#~ "\n"
-#~ "-l one level less specific lookup [RPSL only]\n"
-#~ "-L find all Less specific matches\n"
-#~ "-m find first level more specific matches\n"
-#~ "-M find all More specific matches\n"
-#~ "-c find the smallest match containing a mnt-irt "
-#~ "attribute\n"
-#~ "-x exact match [RPSL only]\n"
-#~ "-d return DNS reverse delegation objects too [RPSL "
-#~ "only]\n"
-#~ "-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n"
-#~ "-T TYPE[,TYPE]... only look for objects of TYPE\n"
-#~ "-K only primary keys are returned [RPSL only]\n"
-#~ "-r turn off recursive lookups for contact "
-#~ "information\n"
-#~ "-R force to show local copy of the domain object "
-#~ "even\n"
-#~ " if it contains referral\n"
-#~ "-a search all databases\n"
-#~ "-s SOURCE[,SOURCE]... search the database from SOURCE\n"
-#~ "-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to "
-#~ "LAST\n"
-#~ "-t TYPE request template for object of TYPE\n"
-#~ "-v TYPE request verbose template for object of TYPE\n"
-#~ "-q [version|sources|types] query specified server info [RPSL only]\n"
-#~ "-F fast raw output (implies -r)\n"
-#~ "-h HOST connect to server HOST\n"
-#~ "-p PORT connect to PORT\n"
-#~ "-H hide legal disclaimers\n"
-#~ " --verbose explain what is being done\n"
-#~ " --help display this help and exit\n"
-#~ " --version output version information and exit\n"
-#~ msgstr ""
-#~ "用法: whois [选项]... 对象...\n"
-#~ "\n"
-#~ "-l 将精确度降低一级的查询 [仅 RPSL]\n"
-#~ "-L 找到所有低精确度匹配\n"
-#~ "-m 找到第一级较高精确度匹配\n"
-#~ "-M 找到所有较高精确度匹配\n"
-#~ "-c 找到最小的包含一个 mnt-irt 属性的匹配\n"
-#~ "-x 精确匹配 [仅 RPSL]\n"
-#~ "-d 同时返回 DNS 反向查询的代理对象[仅 RPSL]\n"
-#~ "-i ATTR[,ATTR]... 为指定的属性(ATTRibutes)进行一次反向查询\n"
-#~ "-T TYPE[,TYPE]... 仅查找指定类型(TYPE)的对象\n"
-#~ "-K 只返回主键(primary keys) [RPSL only]\n"
-#~ "-r 查询联系信息(contact information)时关闭递归查询\n"
-#~ "-R 强制显示本地域名对象(domain object)副本\n"
-#~ " 即使它包含转介(referral)\n"
-#~ "-a 搜寻所有数据库\n"
-#~ "-s SOURCE[,SOURCE]... 从指定 SOURCE 中搜寻数据库\n"
-#~ "-g SOURCE:FIRST-LAST 从 SOURCE 中查找更新,按照从开始到结束的序列\n"
-#~ "-t TYPE 为指定类型(TYPE)对象请求模板(template) ('all'为一个"
-#~ "列表)\n"
-#~ "-v TYPE 为指定类型(TYPE)对象请求冗余信息模板(verbose "
-#~ "template) \n"
-#~ "-q [version|sources|types] 查询特定的服务器信息[仅 RPSL]\n"
-#~ "-F 快速输出原始数据(raw) (隐含 -r)\n"
-#~ "-h HOST 连接到指定 HOST 服务器\n"
-#~ "-p PORT 连接到指定 PORT 端口\n"
-#~ "-H 隐藏法律声明内容\n"
-#~ " --verbose 输出冗余的处理信息\n"
-#~ " --help 显示这个帮助并退出\n"
-#~ " --version 输出版本信息并退出\n"
-
-#~ msgid "Illegal password character '0x%hhx'.\n"
-#~ msgstr "非法的密码字符 '0x%hhx'。\n"
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/servers_charset_list
^
|
@@ -1,11 +1,15 @@
# server name charset optional parameters
-whois.corenic.net utf-8 -C UTF-8
whois.cat utf-8 -C UTF-8
+whois.conac.cn utf-8
+whois.corenic.net utf-8 -C UTF-8
+whois.online.rs.corenic.net utf-8 -C UTF-8
+whois.site.rs.corenic.net utf-8 -C UTF-8
+whois.lacnic.net iso-8859-1
whois.museum utf-8 -C UTF-8
whois.aeda.net.ae utf-8
whois.ax iso-8859-1
-whois.nic.br iso-8859-1
+whois.registro.br iso-8859-1
whois.cira.ca iso-8859-1
whois.nic.ch utf-8
whois.nic.cl iso-8859-1
@@ -17,7 +21,7 @@
whois.dk-hostmaster.dk utf-8 --charset=utf-8
whois.eenet.ee iso-8859-1
whois.eu utf-8
-whois.ficora.fi iso-8859-1
+whois.fi iso-8859-1
whois.nic.fo utf-8
whois.nic.fr utf-8
whois.hkirc.hk utf-8
@@ -38,18 +42,25 @@
whois.dns.lu iso-8859-1
whois.nic.mu utf-8
whois.norid.no iso-8859-1
-whois.nic.nu utf-8
+whois.iis.nu utf-8
+whois.registry.pf utf-8
whois.dns.pt iso-8859-1
whois.registry.qa utf-8
+whois.nic.re utf-8
whois.rnids.rs utf-8
+whois.nic.net.sa utf-8
whois.iis.se utf-8
-whois.nic.net.sg utf-8
+whois.sgnic.sg utf-8
whois.tld.sy utf-8
whois.thnic.co.th utf-8
-whois.nic.tr utf-8
+whois.ati.tn windows-1252
+whois.nic.tr iso-8859-9
whois.twnic.net.tw utf-8
+whois.biz.ua utf-8
+whois.co.ua utf-8
whois.pp.ua utf-8
-whois.tn windows-1252
whois.ua utf-8
whois.nic.org.uy utf-8
+whois.nic.wf utf-8
+whois.nic.yt utf-8
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/simple_recode.c
^
|
@@ -94,6 +94,7 @@
{
size_t used = outp - result;
size_t newsize;
+ char *new_result;
if (outbuf_size < SIMPLE_RECODE_BUFFER_SIZE_2)
newsize = SIMPLE_RECODE_BUFFER_SIZE_2;
@@ -103,13 +104,17 @@
/* check if the newsize variable has overflowed */
if (newsize <= outbuf_size) {
+ free(result);
errno = ENOMEM;
return NULL;
}
outbuf_size = newsize;
- result = realloc(result, outbuf_size);
- if (!result)
+ new_result = realloc(result, outbuf_size);
+ if (!new_result) {
+ free(result);
return NULL;
+ }
+ result = new_result;
/* update the position in the new output stream */
outp = result + used;
@@ -119,6 +124,7 @@
}
default:
+ free(result);
return NULL;
}
} while (inbytes_remaining > 0);
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/tld_serv_list
^
|
@@ -13,6 +13,7 @@
.gb.net whois.centralnic.net
.gr.com whois.centralnic.net
.hu.com whois.centralnic.net
+.in.net whois.centralnic.net
.no.com whois.centralnic.net
.qc.com whois.centralnic.net
.ru.com whois.centralnic.net
@@ -27,17 +28,17 @@
.jpn.com whois.centralnic.net
.web.com whois.centralnic.net
-.com VERISIGN whois.crsnic.net
+.com VERISIGN whois.verisign-grs.com
.za.net whois.za.net
-.net VERISIGN whois.crsnic.net
+.net VERISIGN whois.verisign-grs.com
.eu.org whois.eu.org
.za.org whois.za.org
.org whois.pir.org
-.edu whois.educause.net
-.gov whois.nic.gov
+.edu whois.educause.edu
+.gov whois.dotgov.gov
.int whois.iana.org
.mil NONE
@@ -47,16 +48,16 @@
.aero whois.aero
.asia whois.nic.asia
-.biz whois.nic.biz
+.biz whois.biz
.cat whois.cat
.coop whois.nic.coop
-.info whois.afilias.info
+.info whois.afilias.net
.jobs VERISIGN jobswhois.verisign-grs.com
.mobi whois.dotmobiregistry.net
.museum whois.museum
.name whois.nic.name
.post whois.dotpostregistry.net
-.pro whois.registrypro.pro
+.pro whois.dotproregistry.net
.tel whois.nic.tel
.travel whois.nic.travel
.xxx whois.nic.xxx
@@ -68,7 +69,7 @@
.ag whois.nic.ag
.ai whois.ai
.al NONE # http://www.akep.al/en/kerkoni-domain
-.am whois.nic.am
+.am whois.amnic.net
.an NONE # being phased out. deletion planned for 2014-10-31
.ao NONE # www.dns.ao
.aq NONE # 2day.com
@@ -76,8 +77,8 @@
.as whois.nic.as
.priv.at whois.nic.priv.at # "unofficial" SLD
.at whois.nic.at
-.au whois.ausregistry.net.au
-.aw NONE # http://setar.aw/internet/domain-registration.html
+.au whois.audns.net.au
+.aw whois.nic.aw
.ax whois.ax # www.ax
.az WEB http://www.nic.az/
.ba WEB http://www.nic.ba/stream/whois/
@@ -94,22 +95,22 @@
.bn whois.bn # www.brunet.bn
.bo whois.nic.bo
#.bq
-.br whois.nic.br
+.br whois.registro.br
.bs WEB http://www.nic.bs/cgi-bin/search.pl
.bt WEB http://www.nic.bt/
.bv NONE # http://www.norid.no/domenenavnbaser/bv-sj.html
.by whois.cctld.by
-.bw WEB http://www.whois.bw/
+.bw whois.nic.net.bw
.bz AFILIAS
.co.ca whois.co.ca
.ca whois.cira.ca
-.cc VERISIGN whois.nic.cc
+.cc VERISIGN ccwhois.verisign-grs.com
.cd whois.nic.cd
.cf whois.dot.cf
.cg WEB http://www.nic.cg/cgi-bin/whois.pl
.ch whois.nic.ch
-.ci www.nic.ci
-.ck whois.nic.ck
+.ci whois.nic.ci
+.ck NONE
.cl whois.nic.cl
.cm whois.netcom.cm
.edu.cn whois.edu.cn
@@ -137,15 +138,15 @@
.es WEB https://www.nic.es/
.et NONE # http://www.ethionet.et/
.eu whois.eu
-.fi whois.ficora.fi
+.fi whois.fi
.fj whois.usp.ac.fj
.fk NONE # http://www.fidc.co.fk/
.fm WEB http://dot.fm/whois.html
.fo whois.nic.fo
.fr whois.nic.fr
-.ga NONE # whois.dot.ga NOT ACTIVE YET # www.nic.ga
+.ga whois.dot.ga # www.my.ga
.gb NONE
-.gd whois.adamsnames.tc
+.gd whois.nic.gd
.ge WEB http://www.registration.ge/
.gf WEB https://www.dom-enic.com/whois.html
.gg whois.gg
@@ -164,7 +165,7 @@
.gy whois.registry.gy
.hk whois.hkirc.hk
.hm whois.registry.hm
-.hn AFILIAS # www.nic.hn
+.hn whois.nic.hn
.hr whois.dns.hr
.ht whois.nic.ht
.hu whois.nic.hu
@@ -172,7 +173,7 @@
.ie whois.domainregistry.ie
.il whois.isoc.org.il
.im whois.nic.im
-.in whois.registry.in # afilias
+.in whois.inregistry.net # afilias
.io whois.nic.io
.iq whois.cmc.iq # http://www.cmc.iq/en/iq.html
.ir whois.nic.ir
@@ -196,7 +197,7 @@
.la whois.nic.la
.lb WEB http://www.aub.edu.lb/lbdr/
.lc AFILIAS
-.li whois.nic.ch
+.li whois.nic.li
.lk whois.nic.lk
.lr NONE # http://www.psg.com/dns/lr/
.ls WEB http://www.co.ls/co.asp
@@ -207,14 +208,14 @@
.ma whois.iam.net.ma # www.nic.ma
.mc NONE # www.nic.mc
.md WEB http://www.dns.md/wh1.php # whois.nic.md is restricted
-.me whois.meregistry.net # afilias
+.me whois.nic.me # afilias
#.mf
.mg whois.nic.mg
.mh NONE # www.nic.net.mh
-.mk WEB http://dns.marnet.net.mk/registar.php
-.ml NONE # whois.dot.ml NOT ACTIVE YET # www.point.ml
+.mk whois.marnet.mk
+.ml whois.dot.ml # www.point.ml
.mm NONE # www.nic.mm
-.mn AFILIAS
+.mn whois.nic.mn
.mo WEB http://www.monic.net.mo/ # whois.monic.mo is restricted
.mp NONE # get.mp
.mq WEB https://www.dom-enic.com/whois.html
@@ -224,11 +225,11 @@
.mu whois.nic.mu
.mv NONE # NIC? www.dhiraagu.com.mv
.mw WEB http://www.registrar.mw/
-.mx whois.nic.mx
+.mx whois.mx
.my whois.domainregistry.my
.mz NONE # NIC? www.uem.mz
.na whois.na-nic.com.na
-.nc whois.cctld.nc
+.nc whois.nc
.ne NONE # NIC? http://www.intnet.ne
.nf whois.nic.nf
.ng whois.nic.net.ng
@@ -237,18 +238,18 @@
.no whois.norid.no
.np WEB http://register.mos.com.np/userSearchInc.asp
.nr WEB http://www.cenpac.net.nr/dns/whois.html
-.nu whois.nic.nu
+.nu whois.iis.nu
.nz whois.srs.net.nz
.om whois.registry.om
.pa WEB http://www.nic.pa/
.pe kero.yachay.pe
-.pf NONE # http://www.opt.pf/home/
+.pf whois.registry.pf
.pg NONE # http://www.unitech.ac.pg/
.ph WEB http://www.dot.ph/whois
.pk WEB http://www.pknic.net.pk/
.co.pl whois.co.pl # "unofficial" SLD
.pl whois.dns.pl
-.pm whois.nic.fr
+.pm whois.nic.pm
.pn WEB http://www.pitcairn.pn/PnRegistry/
.pr whois.nic.pr
.ps whois.pnina.ps
@@ -256,18 +257,18 @@
.pw whois.nic.pw
.py WEB http://www.nic.py/consultas.html
.qa whois.registry.qa
-.re whois.nic.fr
+.re whois.nic.re
.ro whois.rotld.ro
.rs whois.rnids.rs
.edu.ru whois.informika.ru
.ru whois.tcinet.ru
.rw whois.ricta.org.rw # http://www.ricta.org.rw/
.sa whois.nic.net.sa
-.sb whois.coccaregistry.net
+.sb whois.nic.sb
.sc AFILIAS # www.nic.sc
.sd NONE # http://isoc.sd/sis/index.php/sd-domain
.se whois.iis.se
-.sg whois.nic.net.sg
+.sg whois.sgnic.sg
.sh whois.nic.sh
.si whois.arnes.si
.sj NONE # http://www.norid.no/domenenavnbaser/bv-sj.html
@@ -284,7 +285,7 @@
.sx whois.sx
.sy whois.tld.sy
.sz NONE # http://www.sispa.org.sz/
-.tc whois.adamsnames.tc
+.tc whois.meridiantld.net
.td WEB http://www.nic.td/
.tf whois.nic.tf
.tg WEB http://www.nic.tg/
@@ -293,12 +294,12 @@
.tk whois.dot.tk
.tl whois.nic.tl
.tm whois.nic.tm
-.tn whois.tn
+.tn whois.ati.tn
.to whois.tonic.to
.tp NONE # phase out in progress
.tr whois.nic.tr
.tt WEB http://www.nic.tt/cgi-bin/search.pl
-.tv VERISIGN whois.nic.tv
+.tv VERISIGN tvwhois.verisign-grs.com
.tw whois.twnic.net.tw
.tz whois.tznic.or.tz
.biz.ua whois.biz.ua
@@ -330,11 +331,11 @@
.vg whois.adamsnames.tc
.vi WEB http://www.nic.vi/whoisform.htm
.vn WEB http://www.vnnic.vn/en/domain
-.vu WEB http://www.vunic.vu/whois.html
-.wf whois.nic.fr
-.ws whois.samoanic.ws
+.vu vunic.vu
+.wf whois.nic.wf
+.ws whois.website.ws
.ye NONE # NIC? http://www.y.net.ye/services/domain_name.htm
-.yt whois.nic.fr
+.yt whois.nic.yt
.ac.za whois.ac.za
.alt.za whois.alt.za
.co.za whois.registry.net.za
@@ -343,44 +344,46 @@
.org.za WEB http://www.org.za/ # rwhois.org.za:4321 is restricted
.web.za whois.web.za
.za NONE # http://www.zadna.org.za/annexure-d.html
-.zm NONE # http://www.zamnet.zm/ http://www.coppernet.zm/
+.zm whois.nic.zm
.zw NONE # http://www.zispa.co.zw/
# AW means that I had to guess the whois server name, but I was not able
# to find any registered subdomains to verify it.
.xn--3e0b707e whois.kr # Korea, Republic of
-.xn--45brj9c whois.registry.in # India, Bengali AW
+.xn--45brj9c whois.inregistry.net # India, Bengali AW
.xn--80ao21a whois.nic.kz # Kazakhstan
.xn--90a3ac whois.rnids.rs # Serbia
-.xn--clchc0ea0b2g2a9gcd whois.nic.net.sg # Singapore, Tamil
+.xn--clchc0ea0b2g2a9gcd whois.sgnic.sg # Singapore, Tamil
.xn--fiqs8s cwhois.cnnic.cn # China, Simplified Chinese
.xn--fiqz9s cwhois.cnnic.cn # China, Traditional Chinese
-.xn--fpcrj9c3d whois.registry.in # India, Telugu AW
+.xn--fpcrj9c3d whois.inregistry.net # India, Telugu AW
.xn--fzc2c9e2c whois.nic.lk # Sri Lanka, Sinhala
-.xn--gecrj9c whois.registry.in # India, Gujarati AW
-.xn--h2brj9c whois.registry.in # India, Hindi AW
-.xn--j1amh whois.ua # Ukraine AW
+.xn--gecrj9c whois.inregistry.net # India, Gujarati AW
+.xn--h2brj9c whois.inregistry.net # India, Hindi AW
+.xn--j1amh whois.dotukr.com # Ukraine
.xn--j6w193g whois.hkirc.hk # Hong Kong
.xn--kprw13d whois.twnic.net.tw # Taiwan, Simplified Chinese
.xn--kpry57d whois.twnic.net.tw # Taiwan, Traditional Chinese
+.xn--l1acc whois.nic.mn # Mongolia AW
.xn--lgbbat1ad8j whois.nic.dz # Algeria
.xn--mgb9awbf whois.registry.om # Oman AW
+.xn--mgba3a4f16a whois.nic.ir # Iran
.xn--mgbaam7a8h whois.aeda.net.ae # United Arab Emirates
.xn--mgbayh7gpa WEB http://idn.jo/whois_a.aspx # Jordan
-.xn--mgbbh1a71e whois.registry.in # India, Urdu AW
+.xn--mgbbh1a71e whois.inregistry.net # India, Urdu AW
.xn--mgbc0a9azcg NONE # Morocco
-.xn--mgberp4a5d4ar WEB http://nic.sa/view/whois # Saudi Arabia
+.xn--mgberp4a5d4ar whois.nic.net.sa # Saudi Arabia
.xn--mgbx4cd0ab whois.domainregistry.my # Malaysia AW
.xn--o3cw4h whois.thnic.co.th # Thailand
.xn--ogbpf8fl whois.tld.sy # Syria
.xn--p1ai whois.tcinet.ru # Russian Federation
.xn--pgbs0dh NONE # Tunisia
-.xn--s9brj9c whois.registry.in # India, Punjabi AW
+.xn--s9brj9c whois.inregistry.net # India, Punjabi AW
.xn--wgbh1c whois.dotmasr.eg # Egypt
.xn--wgbl6a whois.registry.qa # Qatar
.xn--xkc2al3hye2a whois.nic.lk # Sri Lanka, Tamil
-.xn--xkc2dl3a5ee0h whois.registry.in # India, Tamil AW
-.xn--yfro4i67o whois.nic.net.sg # Singapore, Chinese
+.xn--xkc2dl3a5ee0h whois.inregistry.net # India, Tamil AW
+.xn--yfro4i67o whois.sgnic.sg # Singapore, Chinese
.xn--ygbi2ammx whois.pnina.ps # Palestinian Territory
-dom whois.networksolutions.com
@@ -392,8 +395,7 @@
-lacnic whois.lacnic.net
-afrinic whois.afrinic.net
-ap whois.apnic.net
--ar whois.aunic.net
--cn whois.cnnic.net.cn
+-cn whois.cnnic.cn
-cz whois.nic.cz
-dk whois.dk-hostmaster.dk
-il whois.isoc.org.il
@@ -402,18 +404,19 @@
-ti whois.telstra.net
-tw whois.twnic.net.tw
-coop whois.nic.coop
--cknic whois.nic.ck
-frnic whois.nic.fr
-gandi whois.gandi.net
-kenic whois.kenic.or.ke
-lrms whois.afilias.info
--metu whois.metu.edu.tr
+-metu whois.nic.tr
-nicat whois.nic.at
+-nicci whois.nic.ci
-nicir whois.nic.ir
-norid whois.norid.no
-rotld whois.rotld.ro
--sgnic whois.nic.net.sg
+-sgnic whois.sgnic.sg
-tel whois.nic.tel
-uanic whois.ua
--uynic www.rau.edu.uy
+-cunic whois.cunic.ua
+-uynic whois.nic.org.uy
-sixxs whois.sixxs.net
|
[-]
[+]
|
Added |
whois_5.1.5.tar.bz2/version.h
^
|
@@ -0,0 +1 @@
+#define VERSION "5.1.5"
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/whois.1
^
|
@@ -131,7 +131,7 @@
Return the template for a object of \fITYPE\fP.
.TP 8
.B \-T TYPE[,TYPE]...
-Restrict the search to objects of \fITYPE\fP. Multiple types are separeted by
+Restrict the search to objects of \fITYPE\fP. Multiple types are separated by
a comma.
.TP 8
.B -v TYPE
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/whois.c
^
|
@@ -39,6 +39,7 @@
#endif
/* Application-specific */
+#include "version.h"
#include "data.h"
#include "whois.h"
#include "utils.h"
@@ -133,6 +134,7 @@
break;
case 'V':
client_tag = optarg;
+ break;
case 'H':
hide_discl = HIDE_NOT_STARTED; /* enable disclaimers hiding */
break;
@@ -219,7 +221,7 @@
int handle_query(const char *hserver, const char *hport,
const char *query, const char *flags)
{
- const char *server = NULL, *port = NULL;
+ char *server = NULL, *port = NULL;
char *p, *query_string;
if (hport) {
@@ -234,7 +236,7 @@
switch (server[0]) {
case 0:
if (!(server = getenv("WHOIS_SERVER")))
- server = DEFAULTSERVER;
+ server = strdup(DEFAULTSERVER);
break;
case 1:
puts(_("This TLD has no whois server, but you can access the "
@@ -254,28 +256,33 @@
if (verb)
printf(_("Using server %s.\n"), server + 1);
sockfd = openconn(server + 1, NULL);
+ free(server);
server = query_crsnic(sockfd, query);
break;
case 8:
if (verb)
printf(_("Using server %s.\n"), "whois.afilias-grs.info");
sockfd = openconn("whois.afilias-grs.info", NULL);
+ free(server);
server = query_afilias(sockfd, query);
break;
case 0x0A:
p = convert_6to4(query);
printf(_("\nQuerying for the IPv4 endpoint %s of a 6to4 IPv6 address.\n\n"), p);
+ free(server);
server = guess_server(p);
query = p;
goto retry;
case 0x0B:
p = convert_teredo(query);
printf(_("\nQuerying for the IPv4 endpoint %s of a Teredo IPv6 address.\n\n"), p);
+ free(server);
server = guess_server(p);
query = p;
goto retry;
case 0x0C:
p = convert_inaddr(query);
+ free(server);
server = guess_server(p);
free(p);
goto retry;
@@ -379,9 +386,9 @@
#endif
/* Parses an user-supplied string and tries to guess the right whois server.
- * Returns a statically allocated buffer.
+ * Returns a dinamically allocated buffer.
*/
-const char *guess_server(const char *s)
+char *guess_server(const char *s)
{
unsigned long ip, as32;
unsigned int i;
@@ -394,45 +401,45 @@
/* RPSL hierarchical objects */
if (strncaseeq(s, "as", 2)) {
if (isasciidigit(s[2]))
- return whereas(atol(s + 2));
+ return strdup(whereas(atol(s + 2)));
else
- return "";
+ return strdup("");
}
v6prefix = strtol(s, NULL, 16);
if (v6prefix == 0)
- return "\x05"; /* unknown */
+ return strdup("\x05"); /* unknown */
v6net = (v6prefix << 16) + strtol(colon + 1, NULL, 16);/* second u16 */
for (i = 0; ip6_assign[i].serv; i++) {
if ((v6net & (~0UL << (32 - ip6_assign[i].masklen)))
== ip6_assign[i].net)
- return ip6_assign[i].serv;
+ return strdup(ip6_assign[i].serv);
}
- return "\x06"; /* unknown allocation */
+ return strdup("\x06"); /* unknown allocation */
}
/* email address */
if (strchr(s, '@'))
- return "\x05";
+ return strdup("\x05");
/* no dot and no hyphen means it's a NSI NIC handle or ASN (?) */
if (!strpbrk(s, ".-")) {
if (strncaseeq(s, "as", 2) && /* it's an AS */
(isasciidigit(s[2]) || s[2] == ' '))
- return whereas(atol(s + 2));
+ return strdup(whereas(atol(s + 2)));
if (*s == '!') /* NSI NIC handle */
- return "whois.networksolutions.com";
+ return strdup("whois.networksolutions.com");
else
- return "\x05"; /* probably a unknown kind of nic handle */
+ return strdup("\x05"); /* probably a unknown kind of nic handle */
}
/* ASN32? */
if (strncaseeq(s, "as", 2) && s[2] && (as32 = asn32_to_long(s + 2)) != 0)
- return whereas32(as32);
+ return strdup(whereas32(as32));
/* smells like an IP? */
#ifdef HAVE_INET_PTON
@@ -443,28 +450,43 @@
#endif
for (i = 0; ip_assign[i].serv; i++)
if ((ip & ip_assign[i].mask) == ip_assign[i].net)
- return ip_assign[i].serv;
- return "\x05"; /* not in the unicast IPv4 space */
+ return strdup(ip_assign[i].serv);
+ return strdup("\x05"); /* not in the unicast IPv4 space */
}
/* check the TLDs list */
for (i = 0; tld_serv[i]; i += 2)
if (domcmp(s, tld_serv[i]))
- return tld_serv[i + 1];
+ return strdup(tld_serv[i + 1]);
+
+ /* use the default server name for "new" gTLDs */
+ if (is_new_gtld(s)) {
+ char *server;
+ const char *p, *tld = NULL;
+
+ for (p = s; *p; p++) /* look for the TLD */
+ if (*p == '.')
+ tld = p;
+
+ server = malloc(strlen("whois.nic") + strlen(tld) + 1);
+ strcpy(server, "whois.nic");
+ strcat(server, tld);
+ return(server);
+ }
/* no dot but hyphen */
if (!strchr(s, '.')) {
/* search for strings at the start of the word */
for (i = 0; nic_handles[i]; i += 2)
if (strncaseeq(s, nic_handles[i], strlen(nic_handles[i])))
- return nic_handles[i + 1];
+ return strdup(nic_handles[i + 1]);
/* it's probably a network name */
- return "";
+ return strdup("");
}
/* has dot and maybe a hyphen and it's not in tld_serv[], WTF is it? */
/* either a TLD or a NIC handle we don't know about yet */
- return "\x05";
+ return strdup("\x05");
}
const char *whereas32(const unsigned long asn)
@@ -528,6 +550,12 @@
}
break;
}
+
+ /* Use UTF-8 by default for "new" gTLDs */
+ if (!simple_recode_input_charset && /* was not in the database */
+ !strchr(query, ' ') && /* and has no parameters */
+ is_new_gtld(query)) /* and is a "new" gTLD: */
+ simple_recode_input_charset = "utf-8"; /* then try UTF-8 */
#endif
#ifdef HAVE_LIBIDN
@@ -586,12 +614,17 @@
{
int i;
- if (*hiding == HIDE_DISABLED) {
+ if (*hiding == HIDE_TO_THE_END) {
+ return 1;
+ } else if (*hiding == HIDE_DISABLED) {
return 0;
} else if (*hiding == HIDE_NOT_STARTED) { /* looking for smtng to hide */
for (i = 0; hide_strings[i] != NULL; i += 2) {
if (strneq(line, hide_strings[i], strlen(hide_strings[i]))) {
- *hiding = i; /* start hiding */
+ if (hide_strings[i + 1] == NULL)
+ *hiding = HIDE_TO_THE_END; /* all the remaining output */
+ else
+ *hiding = i; /* start hiding */
return 1; /* and hide this line */
}
}
@@ -615,7 +648,7 @@
}
/* returns a string which should be freed by the caller, or NULL */
-const char *do_query(const int sock, const char *query)
+char *do_query(const int sock, const char *query)
{
char *temp, *p, buf[2000];
FILE *fi;
@@ -671,14 +704,14 @@
err_sys("fgets");
fclose(fi);
- if (hide > HIDE_NOT_STARTED)
+ if (hide > HIDE_NOT_STARTED && hide != HIDE_TO_THE_END)
err_quit(_("Catastrophic error: disclaimer text has been changed.\n"
"Please upgrade this program.\n"));
return referral_server;
}
-const char *query_crsnic(const int sock, const char *query)
+char *query_crsnic(const int sock, const char *query)
{
char *temp, *p, buf[2000];
FILE *fi;
@@ -728,7 +761,7 @@
return referral_server;
}
-const char *query_afilias(const int sock, const char *query)
+char *query_afilias(const int sock, const char *query)
{
char *temp, *p, buf[2000];
FILE *fi;
@@ -769,7 +802,7 @@
err_sys("fgets");
fclose(fi);
- if (hide > HIDE_NOT_STARTED)
+ if (hide > HIDE_NOT_STARTED && hide != HIDE_TO_THE_END)
err_quit(_("Catastrophic error: disclaimer text has been changed.\n"
"Please upgrade this program.\n"));
@@ -950,6 +983,17 @@
return 0;
}
+int is_new_gtld(const char *s)
+{
+ int i;
+
+ for (i = 0; new_gtlds[i]; i++)
+ if (domcmp(s, new_gtlds[i]))
+ return 1;
+
+ return 0;
+}
+
/*
* Attempt to normalize a query by removing trailing dots and whitespace,
* then convert the domain to punycode.
@@ -1008,7 +1052,7 @@
/* server and port have to be freed by the caller */
void split_server_port(const char *const input,
- const char **server, const char **port) {
+ char **server, char **port) {
char *p;
if (*input == '[' && (p = strchr(input, ']'))) { /* IPv6 */
@@ -1117,7 +1161,7 @@
{
char *new;
char *endptr;
- unsigned int a, b = 0, c = 0;
+ long int a, b = 0, c = 0;
errno = 0;
@@ -1141,7 +1185,7 @@
}
new = malloc(sizeof("255.255.255.255"));
- sprintf(new, "%d.%d.%d.0", c, b, a);
+ sprintf(new, "%ld.%ld.%ld.0", c, b, a);
return new;
}
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/whois.conf.5
^
|
@@ -31,6 +31,10 @@
# Hangul Korean TLD
.br
\\.xn--3e0b707e$ whois.kr
+.br
+# Private ASNs
+.br
+^as645(1[2-9]|2[0-9]|3[0-4])$ whois.example.net
.SH "FILES"
/etc/whois.conf
|
[-]
[+]
|
Changed |
whois_5.1.5.tar.bz2/whois.h
^
|
@@ -3,22 +3,22 @@
/* String sent to RIPE servers - MUST NOT BE LONGER THAN FIVE CHARACTERS! */
/* Do *NOT* change it if you don't know what you are doing! */
-#define IDSTRING "Md5.0"
+#define IDSTRING "Md5.1"
-#define HIDE_DISABLED -2
+#define HIDE_TO_THE_END -3
+#define HIDE_DISABLED -2
#define HIDE_NOT_STARTED -1
/* prototypes */
-const char *guess_server(const char *);
+char *guess_server(const char *);
const char *match_config_file(const char *);
const char *whereas(const unsigned long);
const char *whereas32(const unsigned long);
char *queryformat(const char *, const char *, const char *);
int hide_line(int *hiding, const char *const line);
-const char *do_query(const int, const char *);
-const char *query_crsnic(const int, const char *);
-const char *query_pir(const int, const char *);
-const char *query_afilias(const int, const char *);
+char *do_query(const int, const char *);
+char *query_crsnic(const int, const char *);
+char *query_afilias(const int, const char *);
int openconn(const char *, const char *);
int connect_with_timeout(int, const struct sockaddr *, socklen_t, int);
void usage(int error);
@@ -29,6 +29,7 @@
unsigned long asn32_to_long(const char *);
int isasciidigit(const char);
int domcmp(const char *, const char *);
+int is_new_gtld(const char *);
int domfind(const char *, const char *[]);
char *normalize_domain(const char *);
char *convert_6to4(const char *);
@@ -36,8 +37,7 @@
char *convert_inaddr(const char *);
int handle_query(const char *server, const char *port,
const char *qstring, const char *fstring);
-void split_server_port(const char *const input, const char **server,
- const char **port);
+void split_server_port(const char *const input, char **server, char **port);
/* flags for RIPE-like servers */
|