svn commit: r308762 - head/usr.bin/whois

2016-11-17 Thread Tony Finch
Author: fanf Date: Thu Nov 17 15:19:06 2016 New Revision: 308762 URL: https://svnweb.freebsd.org/changeset/base/308762 Log: More robust handling of whois referrals from RIRs. An example problem case is 163.1.0.0 (University of Oxford) which is in an APNIC ERX address range. Previously we

svn commit: r300678 - head/usr.bin/whois

2016-05-25 Thread Tony Finch
Author: fanf Date: Wed May 25 13:09:06 2016 New Revision: 300678 URL: https://svnweb.freebsd.org/changeset/base/300678 Log: Send whois queries for gov.uk names to JANET. Modified: head/usr.bin/whois/whois.c Modified: head/usr.bin/whois/whois.c

svn commit: r298581 - head/usr.bin/whois

2016-04-25 Thread Tony Finch
Author: fanf Date: Mon Apr 25 15:46:42 2016 New Revision: 298581 URL: https://svnweb.freebsd.org/changeset/base/298581 Log: Example RIPE whois query with options and spaces. Since it is used in the example, mention the -- option in the synopsis even though it is a universal standard, and

svn commit: r297708 - head/usr.bin/whois

2016-04-08 Thread Tony Finch
Author: fanf Date: Fri Apr 8 11:43:22 2016 New Revision: 297708 URL: https://svnweb.freebsd.org/changeset/base/297708 Log: Handle whois referrals between RIRs This is rather ugly, because the RIPE and APNIC whois servers do not provide referrals for address blocks that they do not manage

svn commit: r297449 - head/usr.bin/whois

2016-03-31 Thread Tony Finch
Author: fanf Date: Thu Mar 31 12:13:01 2016 New Revision: 297449 URL: https://svnweb.freebsd.org/changeset/base/297449 Log: Fix whois queries for ARIN AS numbers. The ARIN whois server likes AS number queries to be in the form "a 8075" rather than "as7085". Modified: head/usr.bin/whois

svn commit: r294613 - head/usr.bin/whois

2016-01-22 Thread Tony Finch
Author: fanf Date: Sat Jan 23 01:20:58 2016 New Revision: 294613 URL: https://svnweb.freebsd.org/changeset/base/294613 Log: Fix a regression in the .de and .dk whois special cases Ensure the special cases trigger whether we come via a referral or via the -c option. Match host names case-i

svn commit: r294611 - head/usr.bin/whois

2016-01-22 Thread Tony Finch
Author: fanf Date: Sat Jan 23 00:28:18 2016 New Revision: 294611 URL: https://svnweb.freebsd.org/changeset/base/294611 Log: A lot of the cleverness in whois is no longer needed! The IANA whois server has the right referral information for domain names, IP addresses, and AS numbers, so who

svn commit: r294591 - head/usr.bin/whois

2016-01-22 Thread Tony Finch
Author: fanf Date: Fri Jan 22 19:06:43 2016 New Revision: 294591 URL: https://svnweb.freebsd.org/changeset/base/294591 Log: Update whois synopsis and usage with new options Modified: head/usr.bin/whois/whois.1 head/usr.bin/whois/whois.c Modified: head/usr.bin/whois/whois.1

Re: svn commit: r294579 - head/usr.bin/whois

2016-01-22 Thread Tony Finch
Benjamin Kaduk wrote: > Bump .Dd after r294575 Thanks :-) Tony. -- f.anthony.n.finchhttp://dotat.at/ Portland, Plymouth, Biscay, Fitzroy, Sole: West or southwest, backing south, 5 to 7, decreasing 3 or 4 at times. Moderate or rough, becoming mainly very rough, occasionally high at first

svn commit: r294575 - head/usr.bin/whois

2016-01-22 Thread Tony Finch
Author: fanf Date: Fri Jan 22 16:43:49 2016 New Revision: 294575 URL: https://svnweb.freebsd.org/changeset/base/294575 Log: A few `whois` usability improvements Look up AS numbers at ARIN. Handle more referral formats. Suppress spammy nameserver objects when querying the .com and

svn commit: r291697 - head/usr.bin/unifdef

2015-12-03 Thread Tony Finch
Author: fanf Date: Thu Dec 3 14:32:54 2015 New Revision: 291697 URL: https://svnweb.freebsd.org/changeset/base/291697 Log: Avoid -Wmissing-initializer Modified: head/usr.bin/unifdef/unifdef.c Modified: head/usr.bin/unifdef/unifdef.c ==

svn commit: r291696 - head/usr.bin/unifdef

2015-12-03 Thread Tony Finch
2015 (r291695) +++ head/usr.bin/unifdef/unifdef.1 Thu Dec 3 14:21:55 2015 (r291696) @@ -1,6 +1,6 @@ .\" Copyright (c) 1985, 1991, 1993 .\"The Regents of the University of California. All rights reserved. -.\" Copyright (c) 2002 - 2013 Tony Finch . All

svn commit: r282893 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 11:37:36 2015 New Revision: 282893 URL: https://svnweb.freebsd.org/changeset/base/282893 Log: whois: add an option to query the PeeringDB Modified: head/usr.bin/whois/whois.1 head/usr.bin/whois/whois.c Modified: head/usr.bin/whois/whois.1 =

svn commit: r282892 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 11:33:31 2015 New Revision: 282892 URL: https://svnweb.freebsd.org/changeset/base/282892 Log: Update whois(1) synopsis. Modified: head/usr.bin/whois/whois.1 Modified: head/usr.bin/whois/whois.1

svn commit: r282891 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 11:25:18 2015 New Revision: 282891 URL: https://svnweb.freebsd.org/changeset/base/282891 Log: Bump whois(1) date. (Thanks to bz@ for the reminder!) Modified: head/usr.bin/whois/whois.1 Modified: head/usr.bin/whois/whois.1 ===

svn commit: r282889 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:33:51 2015 New Revision: 282889 URL: https://svnweb.freebsd.org/changeset/base/282889 Log: whois: alphabetize whois server list Modified: head/usr.bin/whois/whois.c Modified: head/usr.bin/whois/whois.c =

svn commit: r282888 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:33:33 2015 New Revision: 282888 URL: https://svnweb.freebsd.org/changeset/base/282888 Log: 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. Mo

svn commit: r282887 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:33:01 2015 New Revision: 282887 URL: https://svnweb.freebsd.org/changeset/base/282887 Log: whois: try whois.nic.TLD if TLD.whois-servers.net does not exist Based on an idea from OpenBSD. Modified: head/usr.bin/whois/whois.1 head/usr.bin/whois/whois.c M

svn commit: r282886 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:32:35 2015 New Revision: 282886 URL: https://svnweb.freebsd.org/changeset/base/282886 Log: whois: check WHOIS_SERVER as well as RA_SERVER environment variables WHOIS_SERVER is used by Debian's whois client. Modified: head/usr.bin/whois/whois.1 head/usr.

svn commit: r282885 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:32:05 2015 New Revision: 282885 URL: https://svnweb.freebsd.org/changeset/base/282885 Log: whois: code cleanup Remove deprecated options. Use pedantically correct types. Modified: head/usr.bin/whois/whois.c Modified: head/usr.bin/whois/whois.c =

svn commit: r282884 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:31:37 2015 New Revision: 282884 URL: https://svnweb.freebsd.org/changeset/base/282884 Log: whois: special case certain query suffixes This extends the existing support for -NORID handles to include -NICAT, -ARIN, and -RIPE handles. The suffix machiner

svn commit: r282883 - head/usr.bin/whois

2015-05-14 Thread Tony Finch
Author: fanf Date: Thu May 14 10:30:37 2015 New Revision: 282883 URL: https://svnweb.freebsd.org/changeset/base/282883 Log: Clean up whois manual. Document the RA_SERVER environment variable. Remove the obsolete -R option, and discourage people from trying to use the Network Solution

svn commit: r248849 - head/usr.bin/unifdef

2013-03-28 Thread Tony Finch
2013 (r248849) @@ -1,6 +1,6 @@ .\" Copyright (c) 1985, 1991, 1993 .\"The Regents of the University of California. All rights reserved. -.\" Copyright (c) 2002 - 2010 Tony Finch . All rights reserved. +.\" Copyright (c) 2002 - 2013 Tony Finch . All rights reserved.

svn commit: r217698 - head/usr.bin/unifdef

2011-01-21 Thread Tony Finch
18:10:11 2011 (r217698) @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002 - 2010 Tony Finch + * Copyright (c) 2002 - 2011 Tony Finch * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -57,7 +57,7

Re: svn commit: r217550 - head/usr.bin/unifdef

2011-01-18 Thread Tony Finch
On Tue, 18 Jan 2011, Tony Finch wrote: > Log: > Update to upstream version 2.3 Er, that should have read version 2.5 Tony. -- f.anthony.n.finchhttp://dotat.at/ HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7, DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN

svn commit: r217550 - head/usr.bin/unifdef

2011-01-18 Thread Tony Finch
/unifdef.c Tue Jan 18 19:13:03 2011 (r217550) @@ -57,7 +57,7 @@ #include const char copyright[] = -"@(#) $Version: unifdef-2.3 $\n" +"@(#) $Version: unifdef-2.5 $\n" "@(#) $FreeBSD$\n" "@(#) $Author: Tony Finch (d...@dotat.at) $\n&quo

svn commit: r205089 - head/usr.bin/unifdef

2010-03-12 Thread Tony Finch
@@ #include #include -#ifdef __IDSTRING -__IDSTRING(dotat, "$dotat: unifdef/unifdef.c,v 1.198 2010/02/19 16:37:05 fanf2 Exp $"); -#endif -#ifdef __FBSDID -__FBSDID("$FreeBSD$"); -#endif +const char copyright[] = +"@(#) $Version: unifdef-2.3 $\n" +&quo

svn commit: r204092 - head/usr.bin/unifdef

2010-02-19 Thread Tony Finch
Author: fanf Date: Fri Feb 19 16:54:51 2010 New Revision: 204092 URL: http://svn.freebsd.org/changeset/base/204092 Log: Update to upstream version 1.338 Fix a long-standing cpp compatibility bug: The -DFOO argument (without an explicit value) should define FOO to 1 not to the empty stri