diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.am | 21 | ||||
-rw-r--r-- | as_del_list | 10 | ||||
-rw-r--r-- | config.h | 2 | ||||
-rw-r--r-- | data.h | 31 | ||||
-rw-r--r-- | debian/changelog | 17 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | ip_del_list | 47 | ||||
-rw-r--r-- | mkpasswd.1 | 4 | ||||
-rw-r--r-- | po/de.po | 98 | ||||
-rw-r--r-- | po/el.po | 98 | ||||
-rw-r--r-- | po/es.po | 124 | ||||
-rw-r--r-- | po/it.po | 132 | ||||
-rw-r--r-- | po/no.po | 97 | ||||
-rw-r--r-- | po/pl.po | 97 | ||||
-rw-r--r-- | tld_serv_list | 10 | ||||
-rw-r--r-- | whois.c | 65 | ||||
-rw-r--r-- | whois.h | 2 | ||||
-rw-r--r-- | whois.spec | 6 |
19 files changed, 444 insertions, 421 deletions
@@ -35,7 +35,7 @@ tld_serv.h: tld_serv_list make_tld_serv.pl install: whois install -m 0755 whois $(BASEDIR)$(prefix)/bin/ strip $(BASEDIR)$(prefix)/bin/whois - install -m 0644 whois.1 $(BASEDIR)$(prefix)/man/man1/ + install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/ cd po && $(MAKE) $@ diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 8963bd0..0000000 --- a/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -AUTOMAKE_OPTIONS = ../ansi2knr - -bin_PROGRAMS = @BUILD_WHOIS@ - -EXTRA_PROGRAMS = whois - -whois_SOURCES = whois.c - -whois_DEPENDENCIES = as_del_list ip_del_list tld_serv_list - -CLEANFILES = as_del.h ip_del.h tld_serv.h - -as_del.h: as_del_list make_as_del.pl - perl make_as_del.pl < as_del_list > as_del.h - -ip_del.h: ip_del_list make_ip_del.pl - perl make_ip_del.pl < ip_del_list > ip_del.h - -tld_serv.h: tld_serv_list make_tld_serv.pl - perl make_tld_serv.pl < tld_serv_list > tld_serv.h - diff --git a/as_del_list b/as_del_list index bf94da5..67f1980 100644 --- a/as_del_list +++ b/as_del_list @@ -14,13 +14,21 @@ 7467 7722 apnic 8192 9215 ripe 9591 9622 whois.nic.ad.jp +9628 9647 whois.nic.or.kr +9683 9712 whois.nic.or.kr +9753 9784 whois.nic.or.kr +9840 9871 whois.nic.or.kr +9943 9982 whois.nic.or.kr 9990 10021 whois.nic.ad.jp 9261 10067 apnic -10068 10073 whois.nic.or.kr +10034 10073 whois.nic.or.kr +10154 10198 whois.nic.or.kr 10074 10239 apnic 12288 13311 ripe 15360 16383 ripe 16384 17407 arin +17567 17616 whois.nic.or.kr +17832 17880 whois.nic.or.kr 17408 18431 apnic 18432 19455 arin 19456 20479 arin @@ -1,6 +1,6 @@ /* Program version */ /* not for the inetutils version */ -#define VERSION "4.5.29" +#define VERSION "4.5.31" /* Configurable features */ @@ -16,25 +16,24 @@ const char *ripe_servers[] = { "whois.aunic.net", "whois.connect.com.au", /* 3.0.0b1 */ "whois.nic.fr", + "whois.nic.it", + "whois.cw.net", "whois.telstra.net", "whois.nic.net.sg", "whois.metu.edu.tr", "whois.restena.lu", "rr.level3.net", /* 3.0.0a13 */ + "whois.ripn.net", "whois.arnes.si", "www.registry.co.ug", "whois.nic.ir", + "whois.nic.ck", NULL }; /* servers which do not accept the new syntax */ const char *ripe_servers_old[] = { "whois.ra.net", - "whois.nic.it", - "whois.ans.net", - "whois.cw.net", - "whois.ripn.net", - "whois.nic.ck", "whois.domain.kg", NULL }; @@ -50,21 +49,21 @@ const char *rwhois_servers[] = { #endif const char *hide_strings[] = { - "The Data in the VeriSign", "terms at any time.", - "The data in Register", "By submitting", - "The Data in the Tucows", "RECORD DOES NOT", - " The data contained in Dotster", "Please limit your", + "The Data in the VeriSign", "terms at any time.", /* VERISIGN */ + "The data in Register", "By submitting", /* REGISTER.COM */ + "The Data in the Tucows", "RECORD DOES NOT", /* OPENSRS */ + " The data contained in Dotster", "Please limit your", /* DOTSTER */ "This whois service currently only", "top-level domains.", "Signature Domains' Whois Service", "agree to abide by the above", - "Access to ASNIC", "by this policy.", - "* Copyright (C) 1998 by SGNIC", "* modification.", + "Access to ASNIC", "by this policy.", /* as */ + "**************", "**************", /* sg */ "The Data in Gabia", "you agree to abide", - "NeuLevel, Inc., the Registry Operator", "whatsoever, you agree", - "NOTICE: Access to .INFO WHOIS", "time. By submitting", + "The data contained in Go Daddy", "is not the owner", /* NEUSTAR */ + "NOTICE: Access to .INFO WHOIS", "time. By submitting", /* info */ "Disclaimer: The Global Name Registry", "for any commercial", - "Access to America Online", "time. By accessing", - "Access and use restricted", "http://www.icann", /* GANDI */ - "NeuStar, Inc., the Registry", "whatsoever, you agree", /* us */ + "Access to America Online", "time. By accessing", /* AOL */ + "% Access and use restricted", "% http://www.icann", /* GANDI */ + "NeuStar, Inc., the Registry", "rules. For details", /* us */ NULL, NULL }; diff --git a/debian/changelog b/debian/changelog index 5ea8a48..782f1bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,20 @@ +whois (4.5.31) unstable; urgency=medium + + * Added undocumented -V command line option. + + -- Marco d'Itri <md@linux.it> Fri, 11 Oct 2002 17:35:18 +0200 + +whois (4.5.30) unstable; urgency=medium + + * Added support for -c flag. + * Updated .aero, .dk, .ee, .gr and .in TLD servers. + * Updated spanish translation. + * Updated whois query code for the new ARIN server (Closes: #160693). + * Reviewed all hide_strings[] (Closes: #161462). + * Added many Korean IP and ASN allocations. + + -- Marco d'Itri <md@linux.it> Fri, 11 Oct 2002 14:24:25 +0200 + whois (4.5.29) unstable; urgency=medium * Fixed mkpasswd -H (Closes: #149071). diff --git a/debian/control b/debian/control index b617c3c..6d53a23 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: whois Section: net Priority: standard Maintainer: Marco d'Itri <md@linux.it> -Standards-Version: 3.5.6.0 +Standards-Version: 3.5.7 Build-Depends: debhelper, gettext Package: whois diff --git a/ip_del_list b/ip_del_list index f79b148..1bd4959 100644 --- a/ip_del_list +++ b/ip_del_list @@ -1,5 +1,14 @@ +# WARNING! Netblocks 128.0.0.0/2, 192.0.0.0/8, 196.0.0.0/8 and 198.0.0.0/8 +# contain historical allocations now scattered among all the RIRs. +# Do not even try submitting such networks for inclusion in this list +# unless they are very big and contains multiple assignments to different +# customers. +# 24.192.0.0/14 apnic 24.132.0.0/14 ripe +61.72.0.0/13 whois.nic.or.kr +61.80.0.0/14 whois.nic.or.kr +61.84.0.0/15 whois.nic.or.kr 61.112.0.0/12 whois.nic.ad.jp 61.192.0.0/12 whois.nic.ad.jp # => 61.207 61.208.0.0/13 whois.nic.ad.jp # => 61.215 @@ -9,8 +18,6 @@ # 63.208.0.0/13 rr.level3.net 80.0.0.0/7 ripe 0.0.0.0/2 arin # all other A classes are managed by ARIN -## The B classes space is a mess :-( - something could still be missing -## I add here only netblocks allocated to multiple LIRs by the RIRs. 133.0.0.0/8 whois.nic.ad.jp 139.20.0.0/14 ripe 139.24.0.0/14 ripe @@ -74,6 +81,7 @@ 202.13.0.0/16 whois.nic.ad.jp 202.15.0.0/16 whois.nic.ad.jp 202.16.0.0/14 whois.nic.ad.jp +202.20.128.0/17 whois.nic.or.kr 202.23.0.0/16 whois.nic.ad.jp 202.24.0.0/15 whois.nic.ad.jp 202.26.0.0/16 whois.nic.ad.jp @@ -82,20 +90,7 @@ 202.48.0.0/16 whois.nic.ad.jp 202.39.128.0/17 twnic 202.208.0.0/12 whois.nic.ad.jp -202.224.0.0/11 whois.nic.ad.jp # => 202.255 -#203.27.128.0/18 telstra -#203.35.0.0/16 telstra -#203.36.0.0/14 telstra -#203.40.0.0/13 telstra -#203.48.0.0/14 telstra -#203.52.0.0/15 telstra -#203.54.0.0/16 telstra -#203.58.128.0/17 telstra -#203.58.32.0/19 telstra -#203.58.64.0/19 telstra -## 203.0.0.0/10 has been moved from aunic to apnic, but the records in -## the telstra database appears to be more detailed. -## See http://www.apnic.net/db/aunic/ for details. +202.224.0.0/11 whois.nic.ad.jp # => 202.255.255.255 203.0.0.0/10 apnic 203.66.0.0/16 twnic 203.69.0.0/16 twnic @@ -104,7 +99,7 @@ 203.140.0.0/15 whois.nic.ad.jp 203.178.0.0/15 whois.nic.ad.jp 203.180.0.0/14 whois.nic.ad.jp -203.232.0.0/13 whois.nic.or.kr +203.224.0.0/11 whois.nic.or.kr # => 203.255.255.255 202.0.0.0/7 apnic 204.0.0.0/6 arin 208.0.0.0/7 arin @@ -115,13 +110,10 @@ 210.71.128.0/16 twnic 210.90.0.0/15 whois.nic.or.kr 210.92.0.0/14 whois.nic.or.kr -210.96.0.0/13 whois.nic.or.kr -210.104.0.0/13 whois.nic.or.kr -210.112.0.0/13 whois.nic.or.kr -210.120.0.0/14 whois.nic.or.kr # => 210.123.255.255 +210.96.0.0/11 whois.nic.or.kr # => 210.127.255.255 210.128.0.0/11 whois.nic.ad.jp 210.160.0.0/12 whois.nic.ad.jp -210.178.0.0/15 whois.nic.or.kr +210.178.0.0/14 whois.nic.or.kr 210.180.0.0/14 whois.nic.or.kr 210.188.0.0/14 whois.nic.ad.jp 210.196.0.0/14 whois.nic.ad.jp @@ -153,7 +145,16 @@ 214.0.0.0/7 arin # DoD 216.0.0.0/8 arin 217.0.0.0/8 ripe +218.36.0.0/14 whois.nic.or.kr 218.40.0.0/13 whois.nic.ad.jp -218.47.0.0/13 whois.nic.or.kr +218.48.0.0/13 whois.nic.or.kr +218.144.0.0/12 whois.nic.or.kr +218.232.0.0/13 whois.nic.or.kr 218.0.0.0/7 apnic +219.240.0.0/15 whois.nic.or.kr +219.248.0.0/13 whois.nic.or.kr +220.64.0.0/13 whois.nic.or.kr +220.72.0.0/13 whois.nic.or.kr +220.80.0.0/14 whois.nic.or.kr +220.84.0.0/15 whois.nic.or.kr 220.0.0.0/7 apnic @@ -1,4 +1,4 @@ -.TH MKPASSWD 1 "5 June 2001" "Marco d'Itri" "Debian GNU/Linux" +.TH MKPASSWD 1 "11 October 2002" "Marco d'Itri" "Debian GNU/Linux" .SH NAME mkpasswd \- Overfeatured front end to crypt(3) .SH SYNOPSIS @@ -14,7 +14,7 @@ libc function using the given salt. .SH OPTIONS .TP .B -S, --salt=STRING -Use the \fISTRING\fP as salt. +Use the \fISTRING\fP as salt. It must not contain prefixes like \fI$1$\fP. .TP .B -H, --hash=TYPE Compute the password using the \fITYPE\fP algorithm. @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: whois 4.4.13\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" +"POT-Creation-Date: 2002-10-11 17:42+0200\n" "PO-Revision-Date: 2001-07-04 15:15+01:00\n" "Last-Translator: Simon Richter <Simon.Richter@in.tum.de>\n" "Language-Team: German <de@li.org>\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -24,30 +24,30 @@ msgstr "" "\n" "Senden sie Bugreports an %s.\n" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "Benutze Server %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Benutze voreingestellten Server %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "Diese TLD hat keinen whois-Server, aber eine whois-Datenbank unter" -#: ../whois.c:172 +#: ../whois.c:170 msgid "This TLD has no whois server." msgstr "Diese TLD hat keinen whois-Server." -#: ../whois.c:176 +#: ../whois.c:174 #, fuzzy msgid "Connecting to whois.crsnic.net." msgstr "Verbinde zu whois.internic.net." -#: ../whois.c:182 +#: ../whois.c:180 #, fuzzy, c-format msgid "" "\n" @@ -58,7 +58,7 @@ msgstr "" "InterNIC verweist auf %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -67,12 +67,12 @@ msgstr "" "Suche nach: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -80,32 +80,32 @@ msgstr "" "Es lieί sich nicht feststellen, wer diese IP vergeben hat.\n" "Versuche ARIN..." -#: ../whois.c:341 +#: ../whois.c:339 msgid "I guess it's a netblock name but I don't know where to look it up." msgstr "" "Vermutlich ist dies ein Netblock-Name, aber es gibt keinen\n" "voreingestellten Server." -#: ../whois.c:348 +#: ../whois.c:346 msgid "I guess it's a domain but I don't know where to look it up." msgstr "" "Vermutlich ist dies ein Domainname, aber es gibt keinen\n" "voreingestellten Server." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "Unbekannte AS-Nummer. Bitte upgraden Sie dieses Programm." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "Warnung: RIPE-Flags wurden ignoriert (\"traditioneller\" Server)." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Verweis auf %s gefunden bei %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 msgid "" "Catastrophic error: disclaimer text has been changed.\n" "Please upgrade this program.\n" @@ -113,51 +113,53 @@ msgstr "" "Schwerer Fehler: Haftungsausschlusstext wurde geaendert.\n" "Bitte upgraden sie dieses Programm.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Host %s nicht gefunden." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: unbekannter Dienst" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Erhielt Signal %d, unterbrochen..." -#: ../whois.c:613 +#: ../whois.c:611 +#, fuzzy msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 "" @@ -192,52 +194,52 @@ msgstr "" " --help zeige diese Hilfe\n" " --version zeige Version\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" msgstr "" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "" -#: ../mkpasswd.c:107 +#: ../mkpasswd.c:105 #, c-format msgid "Invalid number '%s'.\n" msgstr "" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "" -#: ../mkpasswd.c:154 +#: ../mkpasswd.c:152 #, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "" -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" "\n" msgstr "" -#: ../mkpasswd.c:235 +#: ../mkpasswd.c:233 #, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" @@ -255,6 +257,6 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: whois 4.5.3\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" +"POT-Creation-Date: 2002-10-11 17:42+0200\n" "PO-Revision-Date: 2001-02-23 16:07:57+0900\n" "Last-Translator: Simos Xenitellis <simos@hellug.gr>\n" "Language-Team: Greek <nls@tux.hellug.gr>\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Type: text/plain; charset=iso-8859-7\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -24,32 +24,32 @@ msgstr "" "\n" "Αναφέρατε σφάλματα στο %s.\n" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "Γίνεται χρήση του εξυπηρετητή %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Χρήση εξ' ορισμού εξυπηρετητή %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "" "Αυτό το TLD δεν έχει εξυπηρετητή whois, ωστόσο μπορείτε να προσπελάσετε την " "βάση whois στο" -#: ../whois.c:172 +#: ../whois.c:170 msgid "This TLD has no whois server." msgstr "Αυτό το TLD δεν έχει εξυπηρετητή whois." -#: ../whois.c:176 +#: ../whois.c:174 #, fuzzy msgid "Connecting to whois.crsnic.net." msgstr "Γίνεται σύνδεση στο whois.internic.net." -#: ../whois.c:182 +#: ../whois.c:180 #, fuzzy, c-format msgid "" "\n" @@ -60,7 +60,7 @@ msgstr "" "Βρέθηκε αναφορά από το InterNIC στο %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -69,12 +69,12 @@ msgstr "" "Αλφαριθμητικό ερώτησης: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -82,30 +82,30 @@ msgstr "" "Δε γνωρίζε σε ποιον έχει αποδοθεί ευθύνη για αυτήν την διεύθυνση IP.\n" "Θα δοκιμάσω το ARIN και εύχομε για το καλύτερο..." -#: ../whois.c:341 +#: ../whois.c:339 msgid "I guess it's a netblock name but I don't know where to look it up." msgstr "" "Πιστεύω ότι είναι όνομα μπλοκ δικτύου αλλά δε γνωρίζω που να το αναζητήσω." -#: ../whois.c:348 +#: ../whois.c:346 msgid "I guess it's a domain but I don't know where to look it up." msgstr "Πιστεύω ότι είναι ένα επίθημα αλλά δε γνωρίζω που να το αναζητήσω." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "¶γνωστος αριθμός AS. Παρακαλώ ενημερώστε αυτό το πρόγραμμα." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "" "Προειδοποίηση: Η σημαίες του RIPE αγνοούνται σε έναν παραδοσιακό εξυπηρετητή." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Ανιχνεύθηκε αναφορά του %s στο %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 msgid "" "Catastrophic error: disclaimer text has been changed.\n" "Please upgrade this program.\n" @@ -113,51 +113,53 @@ msgstr "" "Καταστροφικό σφάλμα: το κείμενο της αποποίησης ευθυνών έχει τροποποιηθεί.\n" "Παρακαλώ αναβαθμίστε το πρόγραμμα.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Το σύστημα %s δε βρέθηκε." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: άγνωστη υπηρεσία" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Διακοπή από το σήμα %d..." -#: ../whois.c:613 +#: ../whois.c:611 +#, fuzzy msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 "" @@ -199,52 +201,52 @@ msgstr "" " --help εμφάνιση αυτής της βοήθειας και έξοδος\n" " --version εμφάνιση της έκδοσης και έξοδος\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" msgstr "" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "" -#: ../mkpasswd.c:107 +#: ../mkpasswd.c:105 #, c-format msgid "Invalid number '%s'.\n" msgstr "" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "" -#: ../mkpasswd.c:154 +#: ../mkpasswd.c:152 #, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "" -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" "\n" msgstr "" -#: ../mkpasswd.c:235 +#: ../mkpasswd.c:233 #, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" @@ -262,6 +264,6 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "" @@ -4,16 +4,16 @@ # msgid "" msgstr "" -"Project-Id-Version: whois 4.5.12\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" -"PO-Revision-Date: 2001-06-07 17:21+02:00\n" +"Project-Id-Version: whois 4.5.29\n" +"POT-Creation-Date: 2002-10-11 17:42+0200\n" +"PO-Revision-Date: 2002-08-24 16:22+0200\n" "Last-Translator: Francisco Monteagudo <francisco@monteagudo.net>\n" "Language-Team: Spanish <es@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -24,43 +24,42 @@ msgstr "" "\n" "Informar de bugs a %s.\n" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "Usando el servidor %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Usando el servidor predefinido %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "" "Este TLD no dispone de servidor whois, pero puede acceder a la informacion " "de whois en" -#: ../whois.c:172 +#: ../whois.c:170 msgid "This TLD has no whois server." msgstr "No existe servidor whois para este TLD." -#: ../whois.c:176 -#, fuzzy +#: ../whois.c:174 msgid "Connecting to whois.crsnic.net." -msgstr "Conectando a whois.internic.net." +msgstr "Conectando a whois.crsnic.net." -#: ../whois.c:182 -#, fuzzy, c-format +#: ../whois.c:180 +#, c-format msgid "" "\n" "Found crsnic referral to %s.\n" "\n" msgstr "" "\n" -"Se ha encontrado en InterNIC una referencia a %s.\n" +"Se ha encontrado en crsnic una referencia a %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -69,12 +68,12 @@ msgstr "" "Consulta: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "No puedo procesar esta linea: %s" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -82,30 +81,30 @@ msgstr "" "Ignoro a quien a sido delegada esta direccion IP.\n" "Voy a probar con ARIN a ver si hay suerte..." -#: ../whois.c:341 +#: ../whois.c:339 msgid "I guess it's a netblock name but I don't know where to look it up." msgstr "" "Aparentemente, es el nombre de un netblock, pero ignoro donde buscarlo." -#: ../whois.c:348 +#: ../whois.c:346 msgid "I guess it's a domain but I don't know where to look it up." msgstr "Aparentemente, es un nombre de dominio, pero ignoro donde buscarlo." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "Numero AS desconocido. Por favor, actualice este programa." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "" "Atencion: Los flags RIPE son ignorados por los servidores tradicionales." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Detectada una referencia a %s en %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 msgid "" "Catastrophic error: disclaimer text has been changed.\n" "Please upgrade this program.\n" @@ -113,51 +112,53 @@ msgstr "" "Error catastrofico: el texto de las condiciones de uso ha sido cambiado.\n" "Actualize este programa.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Host %s no encontrado." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: servicio desconocido" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Interrumpido por la seρal %d..." -#: ../whois.c:613 +#: ../whois.c:611 +#, fuzzy msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 "" @@ -194,45 +195,45 @@ msgstr "" " --help muestra esta pantalla de ayuda y finaliza\n" " --version muestra la version del programa y finaliza\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" -msgstr "" +msgstr "\tcrypt(3) basado en DES de 56 bits" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "La funcion de hash '%s' no es valida.\n" -#: ../mkpasswd.c:107 -#, fuzzy, c-format +#: ../mkpasswd.c:105 +#, c-format msgid "Invalid number '%s'.\n" -msgstr "La funcion de hash '%s' no es valida.\n" +msgstr "El numero '%s' no es valido.\n" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "%s --help para mas informacion.\n" -#: ../mkpasswd.c:154 -#, fuzzy, c-format +#: ../mkpasswd.c:152 +#, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "Tamaρo de semilla incorrecto: %d bytes en lugar de %d.\n" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "El caracter '%c' ilegal en la semilla.\n" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "Clave: " -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "El caracter '0x%hhx' es ilegal en la clave.\n" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" @@ -242,8 +243,8 @@ msgstr "" "Encripta CLAVE utilizando crypt(3).\n" "\n" -#: ../mkpasswd.c:235 -#, fuzzy, c-format +#: ../mkpasswd.c:233 +#, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" " -S, --salt=SALT use the specified SALT\n" @@ -261,15 +262,18 @@ msgid "" msgstr "" " -H, --hash=TIPO selecciona la funcion hash TIPO\n" " -S, --salt=SEMILLA utiliza la SEMILLA indicada\n" -" -s, --stdin lee la clave de stdin en lugar de /dev/tty\n" +" -P, --password-fd=NUM Lee la clave del descriptor NUM en vez de /dev/" +"tty\n" +" -s, --stdin lee la clave de stdin en vez de /dev/tty\n" " -h, --help muestra este mensaje de ayuda\n" " -v, --version muestra la version del programa\n" "\n" "Si la CLAVE no es especificada, se pedira una de forma interactiva.\n" "Si no se especifica la SEMILLA, se generara una aleatoriamente.\n" +"Si no especifica TIPO, se imprimiran los algoritmos disponibles.\n" "\n" "Informar de bugs a: %s.\n" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "Algoritmos disponibles:\n" @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: whois 4.4.13\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" +"POT-Creation-Date: 2002-10-11 17:42+0200\n" "PO-Revision-Date: 2002-04-26 04:09+0200\n" "Last-Translator: Marco d'Itri <md@linux.it>\n" "Language-Team: Italian <it@li.org>\n" @@ -13,7 +13,7 @@ msgstr "" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -24,30 +24,30 @@ msgstr "" "\n" "Segnalare i bug a %s.\n" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "Uso il server %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Uso il server predefinito %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "" "Questo TLD non ha un server whois, ma si puς accedere al database tramite" -#: ../whois.c:172 +#: ../whois.c:170 msgid "This TLD has no whois server." msgstr "Per questo TLD non esiste un server whois." -#: ../whois.c:176 +#: ../whois.c:174 msgid "Connecting to whois.crsnic.net." msgstr "Mi sto connettendo a whois.crsnic.net." -#: ../whois.c:182 +#: ../whois.c:180 #, c-format msgid "" "\n" @@ -58,7 +58,7 @@ msgstr "" "Trovato un riferimento di CRSNIC a %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -67,12 +67,12 @@ msgstr "" "Richiesta: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "Impossibile interpretare questa riga: %s" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -80,28 +80,28 @@ msgstr "" "Non so a chi θ stato delegato questo IP.\n" "Proverς con ARIN sperando per il meglio..." -#: ../whois.c:341 +#: ../whois.c:339 msgid "I guess it's a netblock name but I don't know where to look it up." msgstr "Credo che sia il nome di un netblock ma non so dove cercarlo." -#: ../whois.c:348 +#: ../whois.c:346 msgid "I guess it's a domain but I don't know where to look it up." msgstr "Credo che sia un dominio ma non so dove cercarlo." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "Numero dell'AS sconosciuto. Per favore aggiorna il programma." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "Attenzione: i flag RIPE sono ignorati dai server tradizionali." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Trovato un riferimento a %s su %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 msgid "" "Catastrophic error: disclaimer text has been changed.\n" "Please upgrade this program.\n" @@ -109,125 +109,127 @@ msgstr "" "Errore catastrofico: il testo di avvertenze θ cambiato.\n" "Aggiorna questo programma.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Host %s non trovato." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: servizio sconosciuto" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Interrotto dal segnale %d..." -#: ../whois.c:613 +#: ../whois.c:611 msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 [OPZIONE]... OGGETTO...\n" "\n" -"-a cerca in tutti i database\n" -"-F output grezzo veloce (implica -r)\n" -"-g SOURCE:FIRST-LAST trova gli aggiornamenti di SOURCE dal seriale F a L\n" -"-h HOST si connette al server HOST\n" -"-H nasconde le avvertenze legali\n" -"-i ATTR[,ATTR]... fa una ricerca inversa per l'ATTRibuto specificato\n" -"-x trova le corrispondenze esatte [solo RPSL]\n" "-l trova le corrispondenze un livello meno specifiche " "[RPSL]\n" "-L trova le corrispondenze meno specifiche\n" -"-M trova le corrispondenze piω specifiche\n" "-m trova le corrispondenze di primo livello piω specifiche\n" +"-M trova le corrispondenze piω specifiche\n" +"-c trova le corrispondenze piω specifica contenente un\n" +" attributo mnt-irt [solo RPSL]\n" +"-x trova solo la corrispondenza esatta [solo RPSL]\n" +"-d restituisce anche gli oggetti della delega del DNS " +"[RPSL]\n" +"-i ATTR[,ATTR]... fa una ricerca inversa per l'ATTRibuto specificato\n" +"-T TIPO[,TIPO]... cerca solo oggetti del TIPO\n" +"-K restituisce solo le chiavi primarie [solo RPSL]\n" "-r disabilita le ricerche ricorsive\n" -"-p PORTA si connette alla PORTA\n" "-R mostra la copia locale dell'oggetto domain anche se\n" " contiene un riferimento\n" -"-S dice al server di non usare zucchero sintattico\n" +"-a cerca in tutti i database\n" "-s SOURCE[,SOURCE]... cerca il database da SOURCE\n" -"-T TIPO[,TIPO]... cerca solo oggetti del TIPO\n" +"-g SOURCE:FIRST-LAST trova gli aggiornamenti di SOURCE dal seriale F a L\n" "-t TIPO chiede il template per un oggetto del TIPO ('all' per una " "lista)\n" "-v TIPO chiede il template prolisso per un oggetto del TIPO\n" "-q [version|sources] chiede al server le informazioni indicate [solo RPSL]\n" -"-d restituisce anche gli oggetti per la delega inversa del DNS " -"[RPSL]\n" -"-K restituisce solo le chiavi primarie [solo RPSL]\n" -"-V --verbose spiega cosa sta facendo\n" -" --help mostra questo aiuto ed esce\n" -" --version stampa le informazioni sulla versione ed esce\n" +"-F output grezzo veloce (implica -r)\n" +"-h HOST si connette al server HOST\n" +"-p PORTA si connette alla PORTA\n" +"-H nasconde le avvertenze legali\n" +" --verbose spiega cosa sta facendo\n" +" --help mostra questo aiuto ed esce\n" +" --version stampa le informazioni sulla versione ed esce\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" msgstr "\tcrypt(3) standard a 56 bit basata su DES" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "Il tipo di hash '%s' non θ valido.\n" -#: ../mkpasswd.c:107 +#: ../mkpasswd.c:105 #, c-format msgid "Invalid number '%s'.\n" msgstr "Il numero '%s' non θ valido.\n" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "Per maggior informazioni prova '%s --help'.\n" -#: ../mkpasswd.c:154 +#: ../mkpasswd.c:152 #, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "Lunghezza del sale sbagliata: %d byte invece di %d.\n" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "Il carattere '%c' non θ valido in un sale.\n" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "Password: " -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "Il carattere '0x%hhx' non θ valido in una password.\n" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" @@ -237,7 +239,7 @@ msgstr "" "Cifra la PASSWORD usando crypt(3).\n" "\n" -#: ../mkpasswd.c:235 +#: ../mkpasswd.c:233 #, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" @@ -269,6 +271,6 @@ msgstr "" "\n" "Segnalare i bug a %s.\n" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "Algoritmi disponibili:\n" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: whois 4.4.5\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" +"POT-Creation-Date: 2002-10-11 17:42+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" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -22,30 +22,30 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "Bruker tjener %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Bruker standardtjener %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "" -#: ../whois.c:172 +#: ../whois.c:170 msgid "This TLD has no whois server." msgstr "" -#: ../whois.c:176 +#: ../whois.c:174 #, fuzzy msgid "Connecting to whois.crsnic.net." msgstr "Kobler opp mot whois.internic.net." -#: ../whois.c:182 +#: ../whois.c:180 #, fuzzy, c-format msgid "" "\n" @@ -56,7 +56,7 @@ msgstr "" "Fant InterNIC-referanse til %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -65,12 +65,12 @@ msgstr "" "Forespψrsel: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -78,28 +78,28 @@ msgstr "" "Vet ikke hvor denne IP-adressen har blitt delegert.\n" "Prψver ARIN og hεper det beste..." -#: ../whois.c:341 +#: ../whois.c:339 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." -#: ../whois.c:348 +#: ../whois.c:346 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." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "Ukjent AS-nummer. Vennligst oppdater programmet." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "Merk: RIPE-flaggene ignoreres for en tradisjonell tjener." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Referanse til %s vedrψrende %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 #, fuzzy msgid "" "Catastrophic error: disclaimer text has been changed.\n" @@ -108,52 +108,53 @@ msgstr "" "Alvorlig feil: INTERNIC har endret standardtekst.\n" "Vennligst oppdater programmet.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Finner ikke verten %s." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: ukjent port" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Avbrudt av signal %d..." -#: ../whois.c:613 +#: ../whois.c:611 #, fuzzy msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 "" @@ -181,52 +182,52 @@ msgstr "" "\n" "Versjon %s. Rapporter feil til %s.\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" msgstr "" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "" -#: ../mkpasswd.c:107 +#: ../mkpasswd.c:105 #, c-format msgid "Invalid number '%s'.\n" msgstr "" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "" -#: ../mkpasswd.c:154 +#: ../mkpasswd.c:152 #, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "" -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" "\n" msgstr "" -#: ../mkpasswd.c:235 +#: ../mkpasswd.c:233 #, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" @@ -244,6 +245,6 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: whois 4.4.5\n" -"POT-Creation-Date: 2002-04-26 04:09+0200\n" +"POT-Creation-Date: 2002-10-11 17:42+0200\n" "PO-Revision-Date: 1999-12-18 14:00:00\n" "Last-Translator: Micha³ 'CeFeK' Nazarewicz <cefek@career.pl>\n" "Language-Team: Polish <pl@li.org>\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=iso-8859-2\n" "Content-Transfer-Encoding: 8bit\n" -#: ../whois.c:106 +#: ../whois.c:104 #, c-format msgid "" "Version %s.\n" @@ -22,31 +22,31 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../whois.c:149 ../whois.c:186 +#: ../whois.c:147 ../whois.c:184 #, c-format msgid "Using server %s.\n" msgstr "UΏywam serwera %s.\n" -#: ../whois.c:163 +#: ../whois.c:161 #, c-format msgid "Using default server %s.\n" msgstr "Uzywam domy¶lnego serwera %s.\n" -#: ../whois.c:166 +#: ../whois.c:164 msgid "This TLD has no whois server, but you can access the whois database at" msgstr "" -#: ../whois.c:172 +#: ../whois.c:170 #, fuzzy msgid "This TLD has no whois server." msgstr "Nie ma serwera whois dla tej domeny." -#: ../whois.c:176 +#: ../whois.c:174 #, fuzzy msgid "Connecting to whois.crsnic.net." msgstr "£±czenie z hostem whois.internic.net." -#: ../whois.c:182 +#: ../whois.c:180 #, fuzzy, c-format msgid "" "\n" @@ -57,7 +57,7 @@ msgstr "" "Znaleziono odniesienie z InterNIC do %s.\n" "\n" -#: ../whois.c:195 +#: ../whois.c:193 #, c-format msgid "" "Query string: \"%s\"\n" @@ -66,12 +66,12 @@ msgstr "" "Zapytanie: \"%s\"\n" "\n" -#: ../whois.c:245 ../whois.c:248 +#: ../whois.c:243 ../whois.c:246 #, c-format msgid "Cannot parse this line: %s" msgstr "" -#: ../whois.c:324 +#: ../whois.c:322 msgid "" "I don't know where this IP has been delegated.\n" "I'll try ARIN and hope for the best..." @@ -79,28 +79,28 @@ msgstr "" "Nie moΏna ustaliζ, do kogo ten adres IP zosta³ oddelegowany.\n" "Sprσbujκ ARIN i mam nadziejκ, Ώe siκ uda..." -#: ../whois.c:341 +#: ../whois.c:339 msgid "I guess it's a netblock name but I don't know where to look it up." msgstr "To nazwa bloku sieciowego, ale nie wiem, pod jak± nazw± szukaζ." -#: ../whois.c:348 +#: ../whois.c:346 msgid "I guess it's a domain but I don't know where to look it up." msgstr "To nazwa domeny, ale nie wiem, gdzie jej szukaζ." -#: ../whois.c:358 +#: ../whois.c:356 msgid "Unknown AS number. Please upgrade this program." msgstr "Nieznany numer AS. Zainstaluj nowsz± wersjκ programu." -#: ../whois.c:388 +#: ../whois.c:386 msgid "Warning: RIPE flags ignored for a traditional server." msgstr "Uwaga: flagi RIPE s± ignorowane dla starszych serwerσw." -#: ../whois.c:452 +#: ../whois.c:448 #, c-format msgid "Detected referral to %s on %s.\n" msgstr "Wykryto odniesienie do %s na %s.\n" -#: ../whois.c:469 +#: ../whois.c:465 msgid "" "Catastrophic error: disclaimer text has been changed.\n" "Please upgrade this program.\n" @@ -108,52 +108,53 @@ msgstr "" "Katastrofa! Tekst disclaimera zosta³ zmieniony.\n" "¦ci±gnij nowsz± wersjκ programu.\n" -#: ../whois.c:543 +#: ../whois.c:539 #, c-format msgid "Host %s not found." msgstr "Serwer %s nie zosta³ znaleziony." -#: ../whois.c:553 +#: ../whois.c:549 #, c-format msgid "%s/tcp: unknown service" msgstr "%s/tcp: us³uga nieznana" -#: ../whois.c:570 +#: ../whois.c:566 #, c-format msgid "Interrupted by signal %d..." msgstr "Przerwanie na sygna³ %d..." -#: ../whois.c:613 +#: ../whois.c:611 #, fuzzy msgid "" "Usage: whois [OPTION]... OBJECT...\n" "\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a " "list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL " -"only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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 "" @@ -178,52 +179,52 @@ msgstr "" "\n" "Wersja %s. Informacje o b³κdach kieruj do %s. T³umaczenie: cefek.\n" -#: ../mkpasswd.c:57 +#: ../mkpasswd.c:55 msgid "\tstandard 56 bit DES-based crypt(3)" msgstr "" -#: ../mkpasswd.c:98 +#: ../mkpasswd.c:96 #, c-format msgid "Invalid hash type '%s'.\n" msgstr "" -#: ../mkpasswd.c:107 +#: ../mkpasswd.c:105 #, c-format msgid "Invalid number '%s'.\n" msgstr "" -#: ../mkpasswd.c:125 +#: ../mkpasswd.c:123 #, c-format msgid "Try '%s --help' for more information.\n" msgstr "" -#: ../mkpasswd.c:154 +#: ../mkpasswd.c:152 #, c-format msgid "Wrong salt length: %d byte(s) when %d expected.\n" msgstr "" -#: ../mkpasswd.c:160 +#: ../mkpasswd.c:158 #, c-format msgid "Illegal salt character '%c'.\n" msgstr "" -#: ../mkpasswd.c:174 ../mkpasswd.c:201 +#: ../mkpasswd.c:172 ../mkpasswd.c:199 msgid "Password: " msgstr "" -#: ../mkpasswd.c:195 +#: ../mkpasswd.c:193 #, c-format msgid "Illegal password character '0x%hhx'.\n" msgstr "" -#: ../mkpasswd.c:232 +#: ../mkpasswd.c:230 msgid "" "Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" "Crypts the PASSWORD using crypt(3).\n" "\n" msgstr "" -#: ../mkpasswd.c:235 +#: ../mkpasswd.c:233 #, c-format msgid "" " -H, --hash=TYPE select hash TYPE\n" @@ -241,6 +242,6 @@ msgid "" "Report bugs to %s.\n" msgstr "" -#: ../mkpasswd.c:262 +#: ../mkpasswd.c:260 msgid "Available algorithms:\n" msgstr "" diff --git a/tld_serv_list b/tld_serv_list index f00f3a8..4b9a25d 100644 --- a/tld_serv_list +++ b/tld_serv_list @@ -26,8 +26,7 @@ .gov whois.nic.gov .int whois.icann.org .mil whois.nic.mil -# whois server not yet available, see also http://www.nic.aero/whoswho.php -.aero whois.nic.aero +.aero WEB http://www.nic.aero/whois.php .biz whois.nic.biz .coop whois.nic.coop .info whois.afilias.info @@ -101,7 +100,7 @@ .do WEB http://www.nic.do .dz NONE .ec WEB http://www.nic.ec -.ee WEB http://www.eenet.ee/info/ +.ee whois.eenet.ee .eg NONE # http://www.ise.org.eg/domain.htm #.eh .er NONE # NO NIC http://www.afridns.org/er/ @@ -127,7 +126,7 @@ .gn NONE # http://www.psg.com/dns/gn/ #.gp # www.nic.gp - broken like mq #.gq # NO NIC http://www.intnet.gq -.gr WEB http://www.hostmaster.gr/cgi-bin/webwhois +.gr WEB https://grweb.ics.forth.gr/english/index.html .gs whois.adamsnames.tc .gt WEB http://www.gt/whois.htm .gu WEB http://gadao.gov.gu/Scripts/wwsquery/wwsquery.dll?hois=guamquery @@ -143,7 +142,8 @@ .ie whois.domainregistry.ie .il whois.isoc.org.il .im WEB http://www.nic.im/exist.html -.in whois.ncst.ernet.in +#broken .in whois.ncst.ernet.in +.in WEB http://domain.ncst.ernet.in/search.php .io WEB http://www.io.io/whois.html #.iq # NIC? .ir whois.nic.ir @@ -26,8 +26,6 @@ #include <errno.h> #include <signal.h> -#undef ENABLE_NLS - /* Application-specific */ #include "data.h" #include "whois.h" @@ -41,11 +39,13 @@ int hide_discl = 0; int hide_discl = 2; #endif +char *client_tag = (char *)IDSTRING; + #ifdef HAVE_GETOPT_LONG static struct option longopts[] = { {"help", no_argument, NULL, 0 }, {"version", no_argument, NULL, 1 }, - {"verbose", no_argument, NULL, 'V'}, + {"verbose", no_argument, NULL, 2 }, {"server", required_argument, NULL, 'h'}, {"host", required_argument, NULL, 'h'}, {"port", required_argument, NULL, 'p'}, @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) textdomain(NLS_CAT_NAME); #endif - while ((ch = GETOPT_LONGISH(argc, argv, "acFg:h:Hi:lLmMp:q:rRs:St:T:v:Vx", + while ((ch = GETOPT_LONGISH(argc, argv, "acdFg:h:Hi:KlLmMp:q:rRs:St:T:v:V:x", longopts, 0)) > 0) { /* RIPE flags */ if (strchr(ripeflags, ch)) { @@ -92,13 +92,15 @@ int main(int argc, char *argv[]) port = p + 1; *q = '\0'; break; + case 'V': + client_tag = optarg; case 'H': hide_discl = 0; /* enable disclaimers hiding */ break; case 'p': port = optarg; break; - case 'V': + case 2: verb = 1; break; case 1: @@ -354,9 +356,9 @@ const char *whereas(int asn, struct as_del aslist[]) { int i; - if (asn > 25599) + if (asn > 27647) puts(_("Unknown AS number. Please upgrade this program.")); - for (i = 0; aslist[i].serv; i++) + else for (i = 0; aslist[i].serv; i++) if (asn >= aslist[i].first && asn <= aslist[i].last) return aslist[i].serv; return "whois.arin.net"; @@ -368,18 +370,23 @@ char *queryformat(const char *server, const char *flags, const char *query) int i, isripe = 0; /* +10 for CORE; +2 for \r\n; +1 for NULL */ - buf = malloc(strlen(flags) + strlen(query) + 10 + 2 + 1); + buf = malloc(strlen(flags) + strlen(query) + strlen(client_tag) + 4 + + 10 + 2 + 1); *buf = '\0'; for (i = 0; ripe_servers[i]; i++) if (strcmp(server, ripe_servers[i]) == 0) { - strcat(buf, "-V " IDSTRING " "); + strcat(buf, "-V "); + strcat(buf, client_tag); + strcat(buf, " "); isripe = 1; break; } if (!isripe) for (i = 0; ripe_servers_old[i]; i++) if (strcmp(server, ripe_servers_old[i]) == 0) { - strcat(buf, "-V" IDSTRING " "); + strcat(buf, "-V"); + strcat(buf, client_tag); + strcat(buf, " "); isripe = 1; break; } @@ -389,12 +396,10 @@ char *queryformat(const char *server, const char *flags, const char *query) else strcat(buf, flags); } - if (!isripe && - (strcmp(server, "whois.arin.net") == 0 || - strcmp(server, "whois.nic.mil") == 0) && + if (!isripe && strcmp(server, "whois.nic.mil") == 0 && strncasecmp(query, "AS", 2) == 0 && query[2] >= '0' && query[2] <= '9') - sprintf(buf, "AS %s", query + 2); /* fix query for ARIN */ + sprintf(buf, "AS %s", query + 2); /* fix query for DDN */ else if (!isripe && strcmp(server, "whois.corenic.net") == 0) sprintf(buf, "--machine %s", query); /* machine readable output */ else if (!isripe && strcmp(server, "whois.ncst.ernet.in") == 0 && @@ -607,34 +612,36 @@ unsigned long myinet_aton(const char *s) return (a << 24) + (b << 16) + (c << 8) + d; } +/* http://www.ripe.net/ripe/docs/databaseref-manual.html */ + void usage(void) { fprintf(stderr, _( "Usage: whois [OPTION]... OBJECT...\n\n" -"-a search all databases\n" -"-F fast raw output (implies -r)\n" -"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" -"-h HOST connect to server HOST\n" -"-H hide legal disclaimers\n" -"-i ATTR[,ATTR]... do an inverse lookup for specified ATTRibutes\n" -"-x exact match [RPSL only]\n" "-l one level less specific lookup [RPSL only]\n" "-L find all Less specific matches\n" -"-M find all More specific matches\n" "-m find first level more specific matches\n" -"-r turn off recursive lookups\n" -"-p PORT connect to PORT\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" -"-S tell server to leave out syntactic sugar\n" +"-a search all databases\n" "-s SOURCE[,SOURCE]... search the database from SOURCE\n" -"-T TYPE[,TYPE]... only look for objects of TYPE\n" +"-g SOURCE:FIRST-LAST find updates from SOURCE from serial FIRST to LAST\n" "-t TYPE request template for object of TYPE ('all' for a list)\n" "-v TYPE request verbose template for object of TYPE\n" "-q [version|sources] query specified server info [RPSL only]\n" -"-d return DNS reverse delegation objects too [RPSL only]\n" -"-K only primary keys are returned [RPSL only]\n" -"-V --verbose explain what is being done\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" )); @@ -26,6 +26,6 @@ void err_sys(const char *,...); /* flags for RIPE-like servers */ -const char *ripeflags="acFlLmMrRSx"; +const char *ripeflags="acFKlLmMrRSx"; const char *ripeflagsp="gisTtvq"; @@ -1,6 +1,6 @@ Summary: Enhanced WHOIS client Name: whois -Version: 4.5.29 +Version: 4.5.30 Release: 1 License: GPL Vendor: Marco d'Itri <md@linux.it> @@ -25,9 +25,9 @@ make OPTS="$RPM_OPT_FLAGS" %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}/usr/bin -mkdir -p ${RPM_BUILD_ROOT}/usr/man/man1 +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 make install BASEDIR=${RPM_BUILD_ROOT} prefix=%{prefix}/ -gzip ${RPM_BUILD_ROOT}%{prefix}/man/man?/* +gzip ${RPM_BUILD_ROOT}%{_mandir}/man?/* find $RPM_BUILD_ROOT ! -type d | sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-filelist |