Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Tony Finch
60214b7ff6
whois: add an option to query the PeeringDB
2015-05-14 11:37:36 +00:00
Tony Finch
315c9c163c
Update whois(1) synopsis.
2015-05-14 11:33:31 +00:00
Tony Finch
a95cb27ce0
Bump whois(1) date.
...
(Thanks to bz@ for the reminder!)
2015-05-14 11:25:18 +00:00
Tony Finch
dfef6b156d
whois: alphabetize whois server list
2015-05-14 10:33:51 +00:00
Tony Finch
35859f3a2f
whois: do not clobber command-line flags when tweaking O_NONBLOCK
...
This can make whois fail to follow referrals when it should.
The bug was introduced in r281959.
2015-05-14 10:33:33 +00:00
Tony Finch
1326bf51e6
whois: try whois.nic.TLD if TLD.whois-servers.net does not exist
...
Based on an idea from OpenBSD.
2015-05-14 10:33:01 +00:00
Tony Finch
0279f129c6
whois: check WHOIS_SERVER as well as RA_SERVER environment variables
...
WHOIS_SERVER is used by Debian's whois client.
2015-05-14 10:32:35 +00:00
Tony Finch
298383b080
whois: code cleanup
...
Remove deprecated options.
Use pedantically correct types.
2015-05-14 10:32:05 +00:00
Tony Finch
c343f06104
whois: special case certain query suffixes
...
This extends the existing support for -NORID handles
to include -NICAT, -ARIN, and -RIPE handles.
The suffix machinery is also used to work around a problem with
lack of referrals from the Nominet server for .uk: names under
.ac.uk need to be queried directly at JANET's whois server.
2015-05-14 10:31:37 +00:00
Tony Finch
8b6444e7e4
Clean up whois manual.
...
Document the RA_SERVER environment variable.
Remove the obsolete -R option, and discourage people from trying
to use the Network Solutions server.
Describe the default behaviour in the DESCRIPTION section,
not buried in the options.
2015-05-14 10:30:37 +00:00
Xin LI
3cddd28ef1
Try alternate addresses more agressively.
...
Attempt to connect to alternate addresses if the connect doesn't
succeed in 180ms, and cut wait time between connection attempts
in half for each additional, if no connection was established.
Take the first connection to succeed and close the others.
This makes whois more responsive when e.g. IPv6 service took long
time or fail to respond.
PR: 158125
Submitted by: Mark Andrews <marka isc org> (with changes from me)
MFC after: 2 weeks
2015-04-25 00:51:44 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Hajimu UMEMOTO
f35f40c51f
Introduce $RA_SERVER to set default whois server.
...
Requested by: nork
Reviewed by: nork
MFC after: 1 week
2014-06-25 15:39:08 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Joel Dahl
7e700c30d2
mdoc: minor paragraph fixes.
2014-02-08 13:37:02 +00:00
Kevin Lo
372ab06ee7
The whois() function is called in a loop so make sure we close the
...
socket to the whois server before returning.
Obtained from: OpenBSD
2014-01-04 15:51:52 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Glen Barber
2fccbf04cc
General mdoc(7) and typo fixes.
...
PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days
2012-05-10 02:07:00 +00:00
Ed Schouten
e5ec905575
Mark global functions and/or variables in whois(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:33 +00:00
Joel Dahl
da52b4caaf
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
2010-12-11 08:32:16 +00:00
Edwin Groothuis
04961257f8
Make whois capable of searching for IPv6 addresses just like it can
...
do for IPv4 addresses without having to explicetly specify that the
ARIN server should be used to get the initial information
PR: bin/128725
Submitted by: "Matt D. Harris" <mdh_lists@yahoo.com>
MFC after: 1 week
2010-01-14 10:56:54 +00:00
Edwin Groothuis
3b81fe7712
Remove -d option, whois.nic.mil doesn't exist anymore.
...
PR: bin/142507
Submitted by: Dan Mahoney <danm@prime.gushi.org>
MFC after: 1 week
2010-01-14 10:40:54 +00:00
Doug Barton
85f67d6972
The 6bone was decommissioned on 6/6/06, so remove references to it.
2009-10-03 02:37:21 +00:00
Andrey A. Chernov
b79aefd3e9
Use proper type cast for ctype macro
2007-04-14 14:32:48 +00:00
Poul-Henning Kamp
64b4073914
Make DK-HOSTMASTER show contact info for .dk domains.
...
Submitted by: Søren Hansen <shan@soeren-hansen.dk>
2007-01-19 08:13:17 +00:00
Ruslan Ermilov
cb29445a92
Markup fixes.
2006-09-29 15:20:48 +00:00
John Hay
23639a23a8
Add AfriNIC as a RIR.
...
PR: 80421
Submitted by: Adrian Frith <adrian at frith.homelinux.org>
MFC after: 6 days
2006-01-23 13:49:39 +00:00
Philippe Charnier
a8cf0aaf75
Reduce compiler warning: variable might be used uninitialized, by giving
...
an initial value.
2005-05-29 15:49:53 +00:00
Ceri Davies
8693799f41
Bump document date before ru gets me.
2004-12-11 13:14:54 +00:00
Ceri Davies
876b0a88dd
Add a -k flag for querying whois.krnic.net (the National Internet
...
Development Agency of Korea) which hold details of IP address
allocations within Korea.
Approved by: bms
2004-12-11 13:14:07 +00:00
Martin Blapp
be460b9467
Add special case for the german whois nameserver. Without the
...
'-T dn,ace -C US-ASCII' option one does only get:
$ whois nic.de
domain: nic.de
status: connect
More information available on:
http://www.denic.de/en/domains/technik/denic_whois-server/index.html
MFC: 3 days
2004-08-25 15:34:44 +00:00
Bruce M Simpson
7714734ac9
Add -b to usage.
...
Pointed out by: ceri
Pointy hat to: bms
2004-06-14 19:29:37 +00:00
Bruce M Simpson
fb6dad913a
Add whois.abuse.net to whois(1).
...
Submitted by: ceri (with cleanups)
2004-06-14 17:30:46 +00:00
Bruce M Simpson
939fca9bea
Date bump.
...
Nudged by: ru
Pointy hat: bms
2004-06-14 14:49:44 +00:00
Bruce M Simpson
7138e3fe15
Add whois.iana.org to the whois(1) utility, under the -I option.
...
PR: bin/48914
Submitted by: James Raftery
2004-06-14 14:03:10 +00:00
Andrey A. Chernov
e5637075a3
Back out .SU workaround - people at whois-servers.net set up
...
su.whois-servers.net
2003-06-29 23:56:31 +00:00
Andrey A. Chernov
1d07f642df
While there is no su.whois-servers.net, use fallback to
...
ru.whois-servers.net for su domain or country
2003-06-24 15:08:24 +00:00
Mike Barcroft
e86c7447c2
Drop maintainership of whois(1). If someone needs a review they can
...
find me in the whois.c revision history.
2003-06-12 02:46:47 +00:00
Eivind Eklund
058543317c
Add support for identifying NORID (norwegian top level registry) handles.
...
Reviewed by: mike (with slight changes based on feedback afterwards)
2003-03-25 17:00:03 +00:00
Mike Barcroft
80473671e8
Fix style bugs in previous commit.
2003-02-24 17:10:32 +00:00
Ollivier Robert
96db12517f
The newly appointed .org registrar has a pecular output format so
...
whois doesn't follow the link to the authoritative registrar. Fix it.
PR: bin/47770
Submitted by: Alain Thivillon <at@rominet.net>
MFC after: 7 days
2003-01-31 21:57:10 +00:00
Ruslan Ermilov
06e482e60a
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
Mike Barcroft
a5d96e6d20
Add support for the Latin American and Caribbean IP address Regional
...
Registry (LACNIC) with the -l option and support for recursive IP
address searches.
PR: 44448
Submitted by: David Wolfskill <david@catwhisker.org>
MFC after: 1 week
2002-11-10 16:58:56 +00:00