net/whois: Update to 5.5.7

Changes for 5.5.7[1]:
  * Implemented support for CIDR queries to whois.arin.net
    The old behaviour caused the server to return no results, now when
    querying for ip/length the server returns a result if there is an
    exact match
  * Added the .ao, .bh, .mm, and .xn--pgbs0dh (Tunisia) TLD servers
  * Added some .ru and .su SLD servers
  * Updated the .th and .xn--o3cw4h TLD servers
  * Updated the .cy, .jo, .lb, .np, .xn--mgbayh7gpa and .xn--qxam TLD URLs
  * Updated the charset for whois.ati.tn
  * Updated the list of new gTLDs

[1] 7f9fdae2a9

PR:		250275
Submitted by:	Juraj Lutter <juraj@lutter.sk>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26861
This commit is contained in:
Rainer Hurling 2020-10-20 16:45:10 +00:00
parent e9efd53b26
commit 452cdd454d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552830
7 changed files with 28 additions and 27 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= whois
DISTVERSIONPREFIX= v
DISTVERSION= 5.5.6
DISTVERSION= 5.5.7
CATEGORIES= net
MAINTAINER= coco@executive-computing.de
@ -12,6 +12,8 @@ COMMENT= Marco d'Itri whois client
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libidn2.so:dns/libidn2
USES= iconv gmake perl5 pkgconfig
USE_PERL5= build
MAKE_ARGS= BASEDIR="${STAGEDIR}"

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1586583966
SHA256 (rfc1036-whois-v5.5.6_GH0.tar.gz) = fa86a9da4b6e79b6a04b0110f7f4f46214d038a051fef3d0767a09b44e49e8c8
SIZE (rfc1036-whois-v5.5.6_GH0.tar.gz) = 103581
TIMESTAMP = 1602430665
SHA256 (rfc1036-whois-v5.5.7_GH0.tar.gz) = ae389c1486cdeae99f5f02940f98f5d7ff1f08ac0f96810365159b27b0189b5e
SIZE (rfc1036-whois-v5.5.7_GH0.tar.gz) = 102666

View file

@ -1,4 +1,4 @@
--- po/Makefile.orig 2019-12-31 02:05:47 UTC
--- po/Makefile.orig 2020-10-03 15:43:15 UTC
+++ po/Makefile
@@ -1,4 +1,7 @@
prefix = /usr
@ -15,11 +15,11 @@
-PACKAGE = whois
+PACKAGE = %%MWHOIS%%
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
CATALOGS = cs.mo da.mo de.mo el.mo es.mo eu.mo fi.mo fr.mo it.mo ja.mo pl.mo pt_BR.mo ru.mo zh_CN.mo
POTFILES=../whois.c ../mkpasswd.c
+.SUFFIXES: .po .mo
+.SUFFIXES: .po .mo
+
all: $(PACKAGE).pot $(CATALOGS)

View file

@ -2,13 +2,13 @@
+++ whois.1
@@ -1,8 +1,8 @@
-.TH "WHOIS" "1" "2019-12-30" "Marco d'Itri" "Debian GNU/Linux"
+.TH "MWHOIS" "1" "2019-12-30" "Marco d'Itri" "Debian GNU/Linux"
+.TH "%%MWHOIST%%" "1" "2019-12-30" "Marco d'Itri" "Debian GNU/Linux"
.SH NAME
-whois \- client for the whois directory service
+mwhois \- client for the whois directory service
+%%MWHOIS%% \- client for the whois directory service
.SH SYNOPSIS
-.B whois
+.B mwhois
+.B %%MWHOIS%%
[
.RB {\~ \-h \~|\~ \-\-host \~}
.I HOST
@ -17,30 +17,30 @@
.I OBJECT
-.B whois
+.B mwhois
+.B %%MWHOIS%%
.B \-q
.I KEYWORD
-.B whois
+.B mwhois
+.B %%MWHOIS%%
.B \-t
.I TYPE
-.B whois
+.B mwhois
+.B %%MWHOIS%%
.B \-v
.I TYPE
-.B whois \-\-help
+.B mwhois \-\-help
+.B %%MWHOIS%% \-\-help
-.B whois \-\-version
+.B mwhois \-\-version
+.B %%MWHOIS%% \-\-version
.PP
.SH DESCRIPTION
-.B whois
+.B mwhois
+.B %%MWHOIS%%
searches for an object in a
.I RFC 3912
database.
@ -49,7 +49,7 @@
.P
If the
-.I /etc/whois.conf
+.I /usr/local/etc/mwhois.conf
+.I %%MWHOISCONF%%
configuration file exists, it will be consulted
to find a server before applying the normal rules. Each line of the
file should contain a regular expression to be matched against the query
@ -58,7 +58,7 @@
current system locale and converted to the IDN ASCII Compatible Encoding.
.SH "FILES"
-/etc/whois.conf
+/usr/local/etc/mwhois.conf
+%%MWHOISCONF%%
.SH "ENVIRONMENT"
.IP LANG
When querying
@ -67,7 +67,7 @@
will be queried.
.SH "SEE ALSO"
-.IR whois.conf (5).
+.IR /usr/local/etc/mwhois.conf (5).
+.IR %%MWHOIS%%.conf (5).
.P
.IR "RFC 3912" :
WHOIS Protocol Specification.

View file

@ -2,15 +2,15 @@
+++ whois.conf.5
@@ -1,10 +1,10 @@
-.TH "WHOIS.CONF" "5" "2019-12-30" "Petr Písař" "Debian GNU/Linux"
+.TH "MWHOIS.CONF" "5" "2019-12-30" "Petr Písař" "Debian GNU/Linux"
+.TH "%%MWHOIST%%.CONF" "5" "2019-12-30" "Petr Písař" "Debian GNU/Linux"
.SH NAME
-whois.conf \- alternative WHOIS servers list for whois client
+mwhois.conf \- alternative WHOIS servers list for mwhois client
+%%MWHOIS%%.conf \- alternative WHOIS servers list for %%MWHOIS%% client
.SH SYNOPSIS
-.B /etc/whois.conf
+.B /usr/local/etc/mwhois.conf
+.B %%MWHOISCONF%%
.SH DESCRIPTION
This file contains a list of WHOIS servers which can augment or override
@ -19,7 +19,7 @@
considered.
-The pattern is case-insensitive extended regular expression if whois client
+The pattern is case-insensitive extended regular expression if mwhois client
+The pattern is case-insensitive extended regular expression if %%MWHOIS%% client
has been compiled with POSIX regular expressions support. Otherwise, simple
case-insensitive suffix comparison against WHOIS object identifier is used.
@ -28,11 +28,11 @@
.SH FILES
-/etc/whois.conf
+/usr/local/etc/mwhois.conf
+%%MWHOISCONF%%
.SH "SEE ALSO"
-.IR whois (1)
+.IR mwhois (1)
+.IR %%MWHOIS%% (1)
.SH AUTHOR
This manual page was written by Petr Písař

View file

@ -1,4 +1,4 @@
Why another whois client? Because the RIPE client is a mess of hacks and
#ifdefs and more complex programs lack features or are bloated.
WWW: http://www.linux.it/~md/software/
WWW: https://github.com/rfc1036/whois

View file

@ -13,7 +13,6 @@ man/man5/mwhois.conf.5.gz
%%NLS%%share/locale/fr/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/it/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/ja/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/nb/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/pl/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/mwhois.mo
%%NLS%%share/locale/ru/LC_MESSAGES/mwhois.mo