Imported Debian version 4.7.27

This commit is contained in:
Marco d'Itri 2008-07-17 00:54:55 +02:00
parent e90424d179
commit ce5e346d70
14 changed files with 103 additions and 83 deletions

View File

@ -1,42 +1,50 @@
prefix = /usr/local prefix = /usr/local
OPTS := -O2 CFLAGS = -g -O2
PERL = perl
# Solaris # Solaris
#whois_LDADD += -lnsl -lsocket #whois_LDADD += -lnsl -lsocket
# FreeBSD # FreeBSD
#LDFLAGS=-L/usr/local/lib -lgnugetopt -lintl #LIBS += -L/usr/local/lib -lintl
#CFLAGS=-I/usr/local/include #INCLUDES += -I/usr/local/include
# OS/2 EMX # OS/2 EMX
#LDFLAGS=-lsocket -Zexe -Dstrncasecmp=strnicmp #whois_LDADD += -lsocket
#LDFLAGS += -Zexe -Dstrncasecmp=strnicmp
ifdef CONFIG_FILE
DEFS += -DCONFIG_FILE=\"$(CONFIG_FILE)\"
endif
ifdef HAVE_LIBIDN ifdef HAVE_LIBIDN
whois_LDADD += -lidn whois_LDADD += -lidn
CFLAGS += -DHAVE_LIBIDN DEFS += -DHAVE_LIBIDN
endif endif
ifdef HAVE_XCRYPT ifdef HAVE_XCRYPT
mkpasswd_LDADD += -lxcrypt mkpasswd_LDADD += -lxcrypt
CFLAGS += -DHAVE_XCRYPT DEFS += -DHAVE_XCRYPT
else else
mkpasswd_LDADD += -lcrypt mkpasswd_LDADD += -lcrypt
endif endif
PERL := perl
all: Makefile.depend whois mkpasswd #pos all: Makefile.depend whois mkpasswd #pos
whois_OBJECTS := whois.o utils.o
mkpasswd_OBJECTS := mkpasswd.o utils.o
############################################################################## ##############################################################################
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) $(OPTS) -c $< $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) -c $<
whois: whois.o utils.o whois: $(whois_OBJECTS)
$(CC) $(LDFLAGS) $(whois_LDADD) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(whois_LDADD) $(LIBS)
mkpasswd: mkpasswd.o utils.o mkpasswd: $(mkpasswd_OBJECTS)
$(CC) $(LDFLAGS) $(mkpasswd_LDADD) -o $@ $^ $(CC) $(LDFLAGS) -o $@ $^ $(mkpasswd_LDADD) $(LIBS)
############################################################################## ##############################################################################
as_del.h: as_del_list make_as_del.pl as_del.h: as_del_list make_as_del.pl
@ -55,12 +63,13 @@ tld_serv.h: tld_serv_list make_tld_serv.pl
$(PERL) -w make_tld_serv.pl < tld_serv_list > $@ $(PERL) -w make_tld_serv.pl < tld_serv_list > $@
############################################################################## ##############################################################################
install: whois install: install-whois install-mkpasswd install-pos
install-whois: whois
install -d $(BASEDIR)$(prefix)/bin/ install -d $(BASEDIR)$(prefix)/bin/
install -d $(BASEDIR)$(prefix)/share/man/man1/ install -d $(BASEDIR)$(prefix)/share/man/man1/
install -m 0755 whois $(BASEDIR)$(prefix)/bin/ install -m 0755 whois $(BASEDIR)$(prefix)/bin/
install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/ install -m 0644 whois.1 $(BASEDIR)$(prefix)/share/man/man1/
cd po && $(MAKE) $@
install-mkpasswd: mkpasswd install-mkpasswd: mkpasswd
install -d $(BASEDIR)$(prefix)/bin/ install -d $(BASEDIR)$(prefix)/bin/
@ -68,6 +77,9 @@ install-mkpasswd: mkpasswd
install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/ install -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/ install -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
install-pos:
cd po && $(MAKE) $@
distclean: clean distclean: clean
rm -f po/whois.pot rm -f po/whois.pot
@ -76,17 +88,11 @@ clean:
*.o whois mkpasswd *.o whois mkpasswd
rm -f po/*.mo rm -f po/*.mo
test:
open -- sh -c "while nc -l -p 43 127.0.0.1; do echo END; done"
gnu:
tar czvvf gnu-whois.tgz Makefile* README *list *.h whois.*
pos: pos:
cd po && $(MAKE) cd po && $(MAKE)
depend: Makefile.depend depend: Makefile.depend
Makefile.depend: Makefile.depend:
$(CC) $(CFLAGS) -MM -MG *.c > $@ $(CC) $(DEFS) $(INCLUDES) $(CFLAGS) -MM -MG *.c > $@
-include Makefile.depend -include Makefile.depend

View File

@ -61,7 +61,8 @@
38912 39935 ripe 38912 39935 ripe
40960 45055 ripe 40960 45055 ripe
45056 46079 apnic 45056 46079 apnic
47104 48127 ripe
# catch all: everything else comes from ARIN # catch all: everything else comes from ARIN
1 40959 arin 1 47103 arin

View File

@ -1,6 +1,5 @@
/* Program version */ /* Program version */
/* not for the inetutils version */ #define VERSION "4.7.27"
#define VERSION "4.7.26"
/* Configurable features */ /* Configurable features */
@ -15,6 +14,7 @@
#define CONFIG_FILE "/etc/whois.conf" #define CONFIG_FILE "/etc/whois.conf"
*/ */
/* autoconf in cpp macros */ /* autoconf in cpp macros */
#ifdef linux #ifdef linux
# define ENABLE_NLS # define ENABLE_NLS
@ -34,6 +34,10 @@
# define HAVE_GETADDRINFO # define HAVE_GETADDRINFO
#endif #endif
#if defined __APPLE__ && defined __MACH__
# define HAVE_GETADDRINFO
#endif
#if defined __GLIBC__ #if defined __GLIBC__
# define HAVE_GETOPT_LONG # define HAVE_GETOPT_LONG
# if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 # if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
@ -44,17 +48,11 @@
# endif # endif
#endif #endif
/* Linux, Solaris 5, FreeBSD 5.x. What else? */
#if defined _POSIX_VERSION && _POSIX_VERSION >= 200112L
# define HAVE_WORDEXP
#endif
#if defined _POSIX2_VERSION #if defined _POSIX2_VERSION
# define HAVE_REGEXEC # define HAVE_REGEXEC
#endif #endif
/* system features */
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
# ifndef NLS_CAT_NAME # ifndef NLS_CAT_NAME
# define NLS_CAT_NAME "whois" # define NLS_CAT_NAME "whois"

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
whois (4.7.27) unstable; urgency=medium
* Updated the .md and .me TLD servers.
* Added a new ASN allocation.
* Added a new IPv4 allocation.
* Updated the Polish and Czech translations.
-- Marco d'Itri <md@linux.it> Thu, 17 Jul 2008 00:54:55 +0200
whois (4.7.26) unstable; urgency=medium whois (4.7.26) unstable; urgency=medium
* Added support for passing command line options in the environment * Added support for passing command line options in the environment

7
debian/control vendored
View File

@ -2,18 +2,17 @@ Source: whois
Section: net Section: net
Priority: standard Priority: standard
Maintainer: Marco d'Itri <md@linux.it> Maintainer: Marco d'Itri <md@linux.it>
Standards-Version: 3.7.3 Standards-Version: 3.8.0
Build-Depends: debhelper (>= 4), gettext, libidn11-dev Build-Depends: debhelper (>= 4), gettext, libidn11-dev
Package: whois Package: whois
Architecture: any Architecture: any
Depends: ${shlibs:Depends} Depends: ${shlibs:Depends}
Replaces: bsdmainutils (<= 4.5.1), bsdutils (<< 3.0-0) Description: an intelligent whois client
Description: the GNU whois client
This is a new whois (RFC 3912) client rewritten from scratch. This is a new whois (RFC 3912) client rewritten from scratch.
It is inspired from and compatible with the usual BSD and RIPE whois(1) It is inspired from and compatible with the usual BSD and RIPE whois(1)
programs. programs.
It is intelligent and can automatically select the appropriate whois It is intelligent and can automatically select the appropriate whois
server for most queries. server for most queries.
. .
The package also contains mkpasswd, a simple front end to crypt(3). The package also contains mkpasswd, a features-rich front end to crypt(3).

5
debian/rules vendored
View File

@ -9,9 +9,7 @@ VERSION := $(shell dpkg-parsechangelog | sed -n 's/\+.*$$//; /^Version/s/.* //p'
build: build:
dh_testdir dh_testdir
$(MAKE) \ $(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1
OPTS="-O2 -g -DCONFIG_FILE=\\\"/etc/whois.conf\\\"" \
HAVE_LIBIDN=1
cd po && $(MAKE) whois.pot cd po && $(MAKE) whois.pot
touch $@ touch $@
@ -40,6 +38,7 @@ binary-arch: checkroot build
dh_shlibdeps dh_shlibdeps
dh_installdeb dh_installdeb
dh_gencontrol dh_gencontrol
dh_md5sums
dh_builddeb dh_builddeb
binary: binary-arch binary: binary-arch

View File

@ -23,9 +23,8 @@
77.0.0.0/8 ripe 77.0.0.0/8 ripe
78.0.0.0/7 ripe 78.0.0.0/7 ripe
80.0.0.0/4 ripe # => 95.255.255.255 80.0.0.0/4 ripe # => 95.255.255.255
96.0.0.0/6 arin 96.0.0.0/6 arin # => 99.255.255.255
114.0.0.0/7 apnic 112.0.0.0/5 apnic
116.0.0.0/6 apnic
121.128.0.0/10 whois.nic.or.kr 121.128.0.0/10 whois.nic.or.kr
125.128.0.0/11 whois.nic.or.kr 125.128.0.0/11 whois.nic.or.kr
120.0.0.0/6 apnic 120.0.0.0/6 apnic
@ -83,7 +82,7 @@
169.208.0.0/12 apnic 169.208.0.0/12 apnic
171.16.0.0/12 ripe 171.16.0.0/12 ripe
171.32.0.0/15 ripe 171.32.0.0/15 ripe
# 173 -> 185 reserved # 175 -> 185 reserved
186.0.0.0/7 lacnic 186.0.0.0/7 lacnic
188.0.0.0/8 ripe # transferred from ARIN to to RIPE 188.0.0.0/8 ripe # transferred from ARIN to to RIPE
189.0.0.0/8 lacnic 189.0.0.0/8 lacnic

View File

@ -31,7 +31,6 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <sys/types.h> #include <sys/types.h>
/*#define HAVE_XCRYPT 0*/
#ifdef HAVE_XCRYPT #ifdef HAVE_XCRYPT
#include <xcrypt.h> #include <xcrypt.h>
#include <sys/stat.h> #include <sys/stat.h>
@ -378,7 +377,7 @@ void display_help(void)
void display_version(void) void display_version(void)
{ {
printf("GNU mkpasswd %s\n\n", VERSION); printf("mkpasswd %s\n\n", VERSION);
puts("Copyright (C) 2001-2008 Marco d'Itri\n" puts("Copyright (C) 2001-2008 Marco d'Itri\n"
"This is free software; see the source for copying conditions. There is NO\n" "This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.");

View File

@ -3,10 +3,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: whois 4.7.24\n" "Project-Id-Version: whois 4.7.26\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-03-23 22:06+0100\n" "POT-Creation-Date: 2008-03-23 22:06+0100\n"
"PO-Revision-Date: 2008-01-29 00:38+0100\n" "PO-Revision-Date: 2008-07-01 09:40+0200\n"
"Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n" "Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n" "Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -170,7 +170,7 @@ msgstr ""
"\n" "\n"
"-l o jednu úroveň širší dotaz [jen RPSL]\n" "-l o jednu úroveň širší dotaz [jen RPSL]\n"
"-L nalezne všechny širší shody\n" "-L nalezne všechny širší shody\n"
"-m nalezne nejbližší širší shody\n" "-m nalezne nejbližší ší shody\n"
"-M nalezne všechny užší shody\n" "-M nalezne všechny užší shody\n"
"-c nalezne nejužší shodu obsahující atribut mnt-irt\n" "-c nalezne nejužší shodu obsahující atribut mnt-irt\n"
"-x přesná shoda [jen RPSL]\n" "-x přesná shoda [jen RPSL]\n"
@ -189,8 +189,9 @@ msgstr ""
"-t TYP požaduje šablonu pro objekt druhu TYP („all“ pro " "-t TYP požaduje šablonu pro objekt druhu TYP („all“ pro "
"seznam)\n" "seznam)\n"
"-v TYP požaduje podrobnou šablonu pro objekt druhu TYP\n" "-v TYP požaduje podrobnou šablonu pro objekt druhu TYP\n"
"-q [verze|zdroje|typy]\n" "-q [version|sources|types]\n"
" dotáže se na zadané informace o serveru [jen RPSL]\n" " dotáže se na zadané informace o serveru [jen RPSL]\n"
" („version“verze, „sources“zdroje, „types“typy)\n"
"-F rychlý neopracovaný výstup (implikuje -r)\n" "-F rychlý neopracovaný výstup (implikuje -r)\n"
"-h STROJ připojí se na server STROJ\n" "-h STROJ připojí se na server STROJ\n"
"-p PORT připojí se na PORT\n" "-p PORT připojí se na PORT\n"
@ -200,14 +201,13 @@ msgstr ""
" --version vypíše informace o verzi a skončí\n" " --version vypíše informace o verzi a skončí\n"
#: ../mkpasswd.c:65 #: ../mkpasswd.c:65
#, fuzzy
msgid "standard 56 bit DES-based crypt(3)" msgid "standard 56 bit DES-based crypt(3)"
msgstr "\tstandardní crypt(3) založený na 56bitové šifře DES" msgstr "standardní crypt(3) založený na 56bitové šifře DES"
#: ../mkpasswd.c:134 #: ../mkpasswd.c:134
#, fuzzy, c-format #, c-format
msgid "Invalid method '%s'.\n" msgid "Invalid method '%s'.\n"
msgstr "Neplatné číslo „%s“.\n" msgstr "Neplatná metoda „%s“.\n"
#: ../mkpasswd.c:143 ../mkpasswd.c:153 #: ../mkpasswd.c:143 ../mkpasswd.c:153
#, c-format #, c-format
@ -242,7 +242,7 @@ msgstr "Zakázaný znak v hesle „0x%hhx“.\n"
#: ../mkpasswd.c:297 #: ../mkpasswd.c:297
#, c-format #, c-format
msgid "Method not supported by crypt(3).\n" msgid "Method not supported by crypt(3).\n"
msgstr "" msgstr "Metoda není podporována funkcí crypt(3).\n"
#: ../mkpasswd.c:360 #: ../mkpasswd.c:360
#, c-format #, c-format
@ -256,7 +256,7 @@ msgstr ""
"\n" "\n"
#: ../mkpasswd.c:363 #: ../mkpasswd.c:363
#, fuzzy, c-format #, c-format
msgid "" msgid ""
" -m, --method=TYPE select method TYPE\n" " -m, --method=TYPE select method TYPE\n"
" -S, --salt=SALT use the specified SALT\n" " -S, --salt=SALT use the specified SALT\n"
@ -275,13 +275,14 @@ msgid ""
msgstr "" msgstr ""
" -H, --hash=DRUH vybere DRUHhashe\n" " -H, --hash=DRUH vybere DRUHhashe\n"
" -S, --salt=SŮL použije zadanou SŮL\n" " -S, --salt=SŮL použije zadanou SŮL\n"
" -R, --rounds=POČET použije zadaný POČET kol\n"
" -P, --password-fd=Č přečte heslo z deskriptoru souboru Č\n" " -P, --password-fd=Č přečte heslo z deskriptoru souboru Č\n"
" místo z /dev/tty\n" " místo z /dev/tty\n"
" -s, --stdin jako --password-fd=0\n" " -s, --stdin jako --password-fd=0\n"
" -h, --help zobrazí tuto nápovědu a skončí\n" " -h, --help zobrazí tuto nápovědu a skončí\n"
" -V, --version vypíše informace o verzi a skončí\n" " -V, --version vypíše informace o verzi a skončí\n"
"\n" "\n"
"Chybí-li HESLO, bude na něj požádáno interaktivně.\n" "Chybí-li HESLO, bude o něj požádáno interaktivně.\n"
"Nebude-li zadána SŮL, vygeneruje se náhodná.\n" "Nebude-li zadána SŮL, vygeneruje se náhodná.\n"
"Bude-li DRUH „help“, vypíšou se dostupné algoritmy.\n" "Bude-li DRUH „help“, vypíšou se dostupné algoritmy.\n"
"\n" "\n"
@ -289,9 +290,18 @@ msgstr ""
"<translation-team-cs@lists.sourceforge.net> (česky).\n" "<translation-team-cs@lists.sourceforge.net> (česky).\n"
#: ../mkpasswd.c:391 #: ../mkpasswd.c:391
#, fuzzy, c-format #, c-format
msgid "Available methods:\n" msgid "Available methods:\n"
msgstr "Dostupné algoritmy:\n" msgstr "Dostupné metody:\n"
#~ msgid "Invalid hash type '%s'.\n" #~ msgid "Invalid hash type '%s'.\n"
#~ msgstr "Neplatný druh hashe „%s“.\n" #~ msgstr "Neplatný druh hashe „%s“.\n"
#~ msgid "Connecting to whois.crsnic.net."
#~ msgstr "Připojuji se k whois.crsnic.net."
#~ msgid "Connecting to whois.publicinterestregistry.net."
#~ msgstr "Připojuji se k whois.publicinterestregistry.net."
#~ msgid "Connecting to whois.nic.cc."
#~ msgstr "Připojuji se k whois.nic.cc."

View File

@ -1,14 +1,14 @@
# Polish translation for whois. # Polish translation for whois.
# Micha³ 'CeFeK' Nazarewicz <cefek@career.pl>, 1999 # Micha³ 'CeFeK' Nazarewicz <cefek@career.pl>, 1999
# Przemys³aw Knycz <djrzulf@pld.org.pl>, 2003 # Przemys³aw Knycz <djrzulf@pld.org.pl>, 2003
# Jakub Bogusz <qboosh@pld-linux.org>, 2003-2007 # Jakub Bogusz <qboosh@pld-linux.org>, 2003-2008
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: whois 4.7.21\n" "Project-Id-Version: whois 4.7.26\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-03-23 22:06+0100\n" "POT-Creation-Date: 2008-03-23 22:06+0100\n"
"PO-Revision-Date: 2007-04-07 14:32+0200\n" "PO-Revision-Date: 2008-05-18 19:40+0200\n"
"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n" "Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n" "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -205,14 +205,13 @@ msgstr ""
"dzia³ania\n" "dzia³ania\n"
#: ../mkpasswd.c:65 #: ../mkpasswd.c:65
#, fuzzy
msgid "standard 56 bit DES-based crypt(3)" msgid "standard 56 bit DES-based crypt(3)"
msgstr "\tstandardowa 56-bitowa, oparta o DES funkcja crypt(3)" msgstr "standardowa 56-bitowa, oparta o DES funkcja crypt(3)"
#: ../mkpasswd.c:134 #: ../mkpasswd.c:134
#, fuzzy, c-format #, c-format
msgid "Invalid method '%s'.\n" msgid "Invalid method '%s'.\n"
msgstr "Nieprawid³owa liczba '%s'.\n" msgstr "Nieprawidłowa metoda '%s'.\n"
#: ../mkpasswd.c:143 ../mkpasswd.c:153 #: ../mkpasswd.c:143 ../mkpasswd.c:153
#, c-format #, c-format
@ -248,7 +247,7 @@ msgstr "B
#: ../mkpasswd.c:297 #: ../mkpasswd.c:297
#, c-format #, c-format
msgid "Method not supported by crypt(3).\n" msgid "Method not supported by crypt(3).\n"
msgstr "" msgstr "Metoda nie obsługiwana przez crypt(3).\n"
#: ../mkpasswd.c:360 #: ../mkpasswd.c:360
#, c-format #, c-format
@ -262,7 +261,7 @@ msgstr ""
"\n" "\n"
#: ../mkpasswd.c:363 #: ../mkpasswd.c:363
#, fuzzy, c-format #, c-format
msgid "" msgid ""
" -m, --method=TYPE select method TYPE\n" " -m, --method=TYPE select method TYPE\n"
" -S, --salt=SALT use the specified SALT\n" " -S, --salt=SALT use the specified SALT\n"
@ -279,8 +278,9 @@ msgid ""
"\n" "\n"
"Report bugs to %s.\n" "Report bugs to %s.\n"
msgstr "" msgstr ""
" -H, --hash=TYP wybór skrótu TYP\n" " -m, --method=TYP wybór metody TYP\n"
" -S, --salt=ZARODEK u¿ycie podanego ZARODKA\n" " -S, --salt=ZARODEK u¿ycie podanego ZARODKA\n"
" -R, --rounds=LICZBA użycie podanej LICZBY cykli\n"
" -P, --password-fd=NUM odczyt has³a z deskryptora pliku NUM zamiast\n" " -P, --password-fd=NUM odczyt has³a z deskryptora pliku NUM zamiast\n"
" z /dev/tty\n" " z /dev/tty\n"
" -s, --stdin to samo co --password-fd=0\n" " -s, --stdin to samo co --password-fd=0\n"
@ -290,14 +290,11 @@ msgstr ""
"\n" "\n"
"Je¶li nie podano HAS£A, pobierane jest interaktywnie.\n" "Je¶li nie podano HAS£A, pobierane jest interaktywnie.\n"
"Je¶li nie podano ZARODKA, generowany jest losowy.\n" "Je¶li nie podano ZARODKA, generowany jest losowy.\n"
"Je¶li podano TYP 'help', wypisywane s± dostêpne algorytmy.\n" "Jeśli podano TYP 'help', wypisywane są dostępne metody.\n"
"\n" "\n"
"B³êdy proszê zg³aszaæ na adres %s.\n" "B³êdy proszê zg³aszaæ na adres %s.\n"
#: ../mkpasswd.c:391 #: ../mkpasswd.c:391
#, fuzzy, c-format #, c-format
msgid "Available methods:\n" msgid "Available methods:\n"
msgstr "Dostêpne algorytmy:\n" msgstr "Dostępne metody:\n"
#~ msgid "Invalid hash type '%s'.\n"
#~ msgstr "Nieprawid³owy rodzaj skrótu '%s'.\n"

View File

@ -194,8 +194,8 @@
.ly WEB http://www.lydomains.com/ .ly WEB http://www.lydomains.com/
.ma whois.iam.net.ma # www.nic.ma .ma whois.iam.net.ma # www.nic.ma
.mc whois.ripe.net .mc whois.ripe.net
.md WEB http://www.dns.md/whois.html .md WEB http://www.dns.md/wh1.php
.me WEB http://whois.nic.me/ .me whois.meregistry.net
.mg NONE # www.nic.mg .mg NONE # www.nic.mg
.mh NONE # www.nic.net.mh .mh NONE # www.nic.net.mh
.mk NONE # NIC? http://www.mpt.com.mk .mk NONE # NIC? http://www.mpt.com.mk
@ -205,7 +205,7 @@
.mo WEB http://www.monic.net.mo/ .mo WEB http://www.monic.net.mo/
.mp NONE # www.nic.mp .mp NONE # www.nic.mp
.mq whois.nic.mq .mq whois.nic.mq
.mr NONE # http://www.univ-nkc.mr/nic_mr.html www.nic.mr ? .mr NONE # www.nic.mr
.ms whois.adamsnames.tc .ms whois.adamsnames.tc
.mt WEB http://www.nic.org.mt/dir/home.html .mt WEB http://www.nic.org.mt/dir/home.html
.mu WEB http://www.nic.mu/whois.jsp .mu WEB http://www.nic.mu/whois.jsp

View File

@ -114,12 +114,8 @@ int main(int argc, char *argv[])
verb = 1; verb = 1;
break; break;
case 1: case 1:
#ifdef VERSION
fprintf(stderr, _("Version %s.\n\nReport bugs to %s.\n"), fprintf(stderr, _("Version %s.\n\nReport bugs to %s.\n"),
VERSION, "<md+whois@linux.it>"); VERSION, "<md+whois@linux.it>");
#else
fprintf(stderr, "%s %s\n", inetutils_package, inetutils_version);
#endif
exit(0); exit(0);
default: default:
usage(); usage();

View File

@ -1,4 +1,4 @@
# GNU whois configuration file # whois configuration file
# #
# This file can contain details of alternative whois servers to use if # This file can contain details of alternative whois servers to use if
# the compiled in servers are not suitable. Each entry is a single # the compiled in servers are not suitable. Each entry is a single
@ -6,5 +6,5 @@
# the whois server to be used for it, separated by blank space. # the whois server to be used for it, separated by blank space.
# #
# Eg: # Eg:
# .nz nz.whois-servers.net # \.nz$ nz.whois-servers.net
# #

View File

@ -1,6 +1,6 @@
Summary: Enhanced WHOIS client Summary: Enhanced WHOIS client
Name: whois Name: whois
Version: 4.7.26 Version: 4.7.27
Release: 1 Release: 1
License: GPL License: GPL
Vendor: Marco d'Itri <md@linux.it> Vendor: Marco d'Itri <md@linux.it>
@ -35,14 +35,21 @@ rm -rf ${RPM_BUILD_ROOT}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{prefix}/bin/whois %{prefix}/bin/whois
%{prefix}/bin/mkpasswd
%doc %{prefix}/share/man/man1/whois.1.gz %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(de) %{prefix}/share/locale/de/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(el) %{prefix}/share/locale/el/LC_MESSAGES/whois.mo
%lang(es) %{prefix}/share/locale/es/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(fr) %{prefix}/share/locale/fr/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(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(no) %{prefix}/share/locale/no/LC_MESSAGES/whois.mo
%lang(pl) %{prefix}/share/locale/pl/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
%changelog %changelog
* Sun Jul 13 2003 Paul Mundt <lethal@linux-sh.org> * Sun Jul 13 2003 Paul Mundt <lethal@linux-sh.org>